aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application')
-rw-r--r--h-source/Application/Controllers/GenericController.php2
-rw-r--r--h-source/Application/Views/Desktop/catalogue.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/h-source/Application/Controllers/GenericController.php b/h-source/Application/Controllers/GenericController.php
index b5bbb4c..3a9721a 100644
--- a/h-source/Application/Controllers/GenericController.php
+++ b/h-source/Application/Controllers/GenericController.php
@@ -502,7 +502,7 @@ class GenericController extends BaseController
$data['popupLabel'] = $this->mod->getPopupLabel($this->viewArgs);
- $data["search_string_form_value"] = strcmp($this->viewArgs['search_string'],Params::$nullQueryValue) === 0 ? gtext("model name") : $this->viewArgs['search_string'];
+ $data["search_string_form_value"] = strcmp($this->viewArgs['search_string'],Params::$nullQueryValue) === 0 ? "" : $this->viewArgs['search_string'];
//set search_string to undef to clean the model name filter
$this->viewArgs['search_string'] = "undef";
diff --git a/h-source/Application/Views/Desktop/catalogue.php b/h-source/Application/Views/Desktop/catalogue.php
index 25a79ef..ad00222 100644
--- a/h-source/Application/Views/Desktop/catalogue.php
+++ b/h-source/Application/Views/Desktop/catalogue.php
@@ -43,7 +43,7 @@
<div class="model_string_search_form">
<form action="<?php echo $this->currPage."/$lang".$clearViewStatus;?>" method="GET">
- <input type="text" value="<?php echo $search_string_form_value;?>" name="search_string">
+ <?php echo gtext("model name");?> <input type="text" value="<?php echo $search_string_form_value;?>" name="search_string">
<a href="<?php echo $this->currPage."/$lang".$clearViewStatus;?>"><img src="<?php echo $this->baseUrl."/Public/Img/Crystal/button_cancel.png";?>" /></a>
<input type="submit" value="<?php echo gtext('Search');?>" name="submit">
</form>