aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Views/Desktop/Search/form.php
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2012-02-18 00:07:50 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2012-02-18 00:07:50 +0000
commit14691cd854be3e9ee272c9619a6368c83d72267b (patch)
tree89215d53db8d6f01bb24a5c1d30d9dd4c8d7a5b9 /h-source/Application/Views/Desktop/Search/form.php
parenta2c0b2c4f80463a94e2dd87b59f193ab3aa925eb (diff)
upload new EasyGiant library and added added a new filter for the model name (part 2)
Diffstat (limited to 'h-source/Application/Views/Desktop/Search/form.php')
-rw-r--r--h-source/Application/Views/Desktop/Search/form.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/h-source/Application/Views/Desktop/Search/form.php b/h-source/Application/Views/Desktop/Search/form.php
index 22650f5..136c544 100644
--- a/h-source/Application/Views/Desktop/Search/form.php
+++ b/h-source/Application/Views/Desktop/Search/form.php
@@ -24,7 +24,7 @@
$(document).ready(function() {
- $(".search_form table").append("<tr><td><input id=\"search_action_input\" type=\"submit\" name=\"action\" value=\"search\"></td></tr>");
+ $(".search_form table").append("<tr><td><input id=\"search_action_input\" type=\"submit\" name=\"action\" value=\"<?php echo gtext('Search');?>\"></td></tr>");
$("#search_action_input").click(function(){
@@ -32,7 +32,7 @@
var s_model = $("#search_model_input").attr("value");
var s_action = $("#search_action_input").attr("value");
- var s_url = "1/" + s_action + "/" + s_type + "/" + s_model;
+ var s_url = "1/search/" + s_type + "/" + s_model;
location.href="<?php echo $this->baseUrl."/search/results/$lang/";?>"+s_url;
return false;
@@ -86,7 +86,7 @@
<td><?php echo Html_Form::input('pciid','','input_entry_search');?></td>
</tr>
<tr>
- <td><input type="submit" name="search_pci" value="search"></td>
+ <td><input type="submit" name="search_pci" value="<?php echo gtext('Search');?>"></td>
</tr>
</table>
</form>
@@ -103,7 +103,7 @@
<td><?php echo Html_Form::textarea('lspci',gtext('write here the output of lspci -vmmnn'),'textarea_entry_search');?></td>
</tr>
<tr>
- <td><input type="submit" name="search_pci" value="search"></td>
+ <td><input type="submit" name="search_pci" value="<?php echo gtext('Search');?>"></td>
</tr>
</table>
</form>