diff options
Diffstat (limited to 'h-source/Application/Views')
-rw-r--r-- | h-source/Application/Views/Search/results.php | 17 | ||||
-rw-r--r-- | h-source/Application/Views/header.php | 4 |
2 files changed, 11 insertions, 10 deletions
diff --git a/h-source/Application/Views/Search/results.php b/h-source/Application/Views/Search/results.php index dfe0ab9..2bc14f4 100644 --- a/h-source/Application/Views/Search/results.php +++ b/h-source/Application/Views/Search/results.php @@ -38,14 +38,19 @@ ?> <div class="search_result_item"> - <div> - <?php echo gtext("model name");?>: <b><a href="<?php echo $this->baseUrl."/".MyStrings::$reverse[$row['hardware']['type']]."/view/$lang/".$row['hardware']['id_hard']."/".encodeUrl($row['hardware']['model']);?>"><?php echo $row['hardware']['model'];?></a></b> + <div class="first_level"> + <div class="search_result_item_left"><?php echo gtext("model name");?>:</div> <div class="search_result_item_right"><b><a href="<?php echo $this->baseUrl."/".MyStrings::$reverse[$row['hardware']['type']]."/view/$lang/".$row['hardware']['id_hard']."/".encodeUrl($row['hardware']['model']);?>"><?php echo $row['hardware']['model'];?></a></b></div> </div> - <div> - <?php echo gtext("model type");?>: <b><?php echo $row['hardware']['type'];?></b> + <?php if ( strcmp($row['hardware']['other_names'],'') !== 0 ) { ?> + <div class="first_level"> + <div class="search_result_item_left"><?php echo gtext("possible other names of the device");?>:</div> <div class="search_result_item_right"><b><?php echo nl2br($row['hardware']['other_names']);?></b></div> </div> - <div> - <?php echo gtext("year of commercialization");?>: <b><?php echo $row['hardware']['comm_year'];?></b> + <?php } ?> + <div class="first_level"> + <div class="search_result_item_left"><?php echo gtext("model type");?>: </div> <div class="search_result_item_right"><b><?php echo $row['hardware']['type'];?></b></div> + </div> + <div class="first_level"> + <div class="search_result_item_left"><?php echo gtext("year of commercialization");?>: </div> <div class="search_result_item_right"><b><?php echo $row['hardware']['comm_year'];?></b></div> </div> </div> diff --git a/h-source/Application/Views/header.php b/h-source/Application/Views/header.php index e86006b..5247659 100644 --- a/h-source/Application/Views/header.php +++ b/h-source/Application/Views/header.php @@ -36,10 +36,6 @@ $currPos = $querySanitized ? $this->controller."/".$this->action : 'home/index'; <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl?>/Public/Css/main.css"> <link rel="Shortcut Icon" href="<?php echo $this->baseUrl?>/Public/Img/tab_icon_2.ico" type="image/x-icon"> - <!--[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]--> |