diff options
Diffstat (limited to 'h-source/Application/Views')
-rw-r--r-- | h-source/Application/Views/Search/form.php | 30 | ||||
-rw-r--r-- | h-source/Application/Views/header.php | 19 |
2 files changed, 36 insertions, 13 deletions
diff --git a/h-source/Application/Views/Search/form.php b/h-source/Application/Views/Search/form.php index 9303b81..cd5b00a 100644 --- a/h-source/Application/Views/Search/form.php +++ b/h-source/Application/Views/Search/form.php @@ -54,7 +54,7 @@ <div class="search_form"> <div class="search_form_label"> - <?php echo gtext("search by");?> <b><?php echo gtext("model name");?></b> + <img class="search_img" src="<?php echo $this->baseUrl;?>/Public/Img/Glaze/viewmag.png"> <span class="span_search_desc"><?php echo gtext("search by");?> <b><?php echo gtext("model name");?></b></span> </div> <noscript> <div class="noscript_notice"> @@ -75,15 +75,35 @@ </form> </div> - <div class="search_form_2"> + <div class="search_form_pciid"> <div class="search_form_label"> - <?php echo gtext("search by");?> <b>vendorid:productid</b> + <img class="search_img" src="<?php echo $this->baseUrl;?>/Public/Img/Glaze/viewmag.png"> <span class="span_search_desc"><?php echo gtext("search by");?> <b>vendorid:productid</b></span> </div> - <form method="GET"> + <form action="<?php echo $this->baseUrl."/search/pciid/".Lang::$current;?>" method="POST"> <table> <tr> <td><?php echo gtext("VendorID:ProductID code of the device");?>:</td> - <td><?php echo Html_Form::input('vendorid','','input_entry_search',"search_model_input");?></td> + <td><?php echo Html_Form::input('pciid','','input_entry_search');?></td> + </tr> + <tr> + <td><input type="submit" name="search_pci" value="search"></td> + </tr> + </table> + </form> + </div> + + <div class="search_form_lspci"> + <div class="search_form_label"> + <img class="search_img" src="<?php echo $this->baseUrl;?>/Public/Img/Glaze/viewmag.png"> <span class="span_search_desc"><?php echo gtext("analyze the output of the lspci command");?></span> + </div> + <form action="<?php echo $this->baseUrl."/search/lspci/".Lang::$current;?>" method="POST"> + <table> + <tr> + <td valign="top"><?php echo gtext("paste the output of the lspci command");?>:<div class="lspci_notice">lspci -vmmnn</div></td> + <td><?php echo Html_Form::textarea('lspci','insert the output of lspci -vmmnn','textarea_entry_search');?></td> + </tr> + <tr> + <td><input type="submit" name="search_pci" value="search"></td> </tr> </table> </form> diff --git a/h-source/Application/Views/header.php b/h-source/Application/Views/header.php index b7f094d..6b20ccc 100644 --- a/h-source/Application/Views/header.php +++ b/h-source/Application/Views/header.php @@ -1,5 +1,6 @@ <?php if (!defined('EG')) die('Direct access not allowed!'); ?> -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//IT"> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//IT" "http://www.w3.org/TR/html4/loose.dtd"> +<html> <?php // h-source, a web software to build a community of people that want to share their hardware information. // Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt) @@ -10,17 +11,16 @@ // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. -// +// // h-source is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. -// +// // You should have received a copy of the GNU General Public License // along with h-source. If not, see <http://www.gnu.org/licenses/>. ?> <?php $u = new UsersModel();?> -<html> <head> <title><?php echo $title;?></title> @@ -30,10 +30,13 @@ <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl?>/Public/Css/website.css"> <link rel="Shortcut Icon" href="<?php echo $this->baseUrl?>/Public/Img/tab_icon_2.ico" type="image/x-icon"> - - <!--[if IE]> - <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl?>/Public/Css/explorer.css"> - <![endif] --> + <!--[if IE 6]> + <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl;?>/Public/Css/explorer6.css"> + <![endif]--> + + <!--[if IE 7]> + <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl;?>/Public/Css/explorer7.css"> + <![endif]--> <script type="text/javascript" src="<?php echo $this->baseUrl;?>/Public/Js/jquery/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="<?php echo $this->baseUrl;?>/Public/Js/functions.js"></script> |