From 3b289dfbfd66fe63b1b596d9c451c848d1302840 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Mon, 31 Jan 2011 18:36:25 +0000 Subject: improved search page --- h-source/Application/Views/Search/form.php | 4 +- .../Application/Views/Search/lspci_results.php | 68 ++++++++++++++++++++++ h-source/Application/Views/Search/results.php | 2 +- 3 files changed, 71 insertions(+), 3 deletions(-) create mode 100644 h-source/Application/Views/Search/lspci_results.php (limited to 'h-source/Application/Views') diff --git a/h-source/Application/Views/Search/form.php b/h-source/Application/Views/Search/form.php index cd5b00a..58b33dd 100644 --- a/h-source/Application/Views/Search/form.php +++ b/h-source/Application/Views/Search/form.php @@ -45,7 +45,7 @@
- ">Home » search form + ">Home »
@@ -100,7 +100,7 @@ - + diff --git a/h-source/Application/Views/Search/lspci_results.php b/h-source/Application/Views/Search/lspci_results.php new file mode 100644 index 0000000..b460021 --- /dev/null +++ b/h-source/Application/Views/Search/lspci_results.php @@ -0,0 +1,68 @@ + + +. +?> + +
+ +
+ ">Home » "> » +
+ +
+ : +
+ +
+ + + +
+ ">back +
+ + + +
+
+ +
+
+ ".$row['hardware']['wifi_works'].""; + break; + case 'videocard': + echo gtext("does it work with free software?"). " ".gtext(Videocard::$videoReverse[$row['hardware']['video_card_works']]).""; + break; + case 'soundcard': + echo gtext("does it work with free software?"). " ".$row['hardware']['sound_card_works'].""; + break; + } + ?> +
+
+ + +
+ +
diff --git a/h-source/Application/Views/Search/results.php b/h-source/Application/Views/Search/results.php index 1b6a27d..dfe0ab9 100644 --- a/h-source/Application/Views/Search/results.php +++ b/h-source/Application/Views/Search/results.php @@ -23,7 +23,7 @@
- ">Home » ">search form » results + ">Home » "> »
-- cgit v1.2.3
:
lspci -vmmnn