Code

Added search placeholder
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 19 Apr 2010 14:55:34 +0000 (14:55 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 19 Apr 2010 14:55:34 +0000 (14:55 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17713 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_filter.inc

index c106cfd0e5ce290d8c58d0ebeeca2a573a2c0d0d..04de2dae2c5cb13fce48ef21f3638fe6ce823937 100644 (file)
@@ -155,7 +155,7 @@ class filter {
   {
     $size= 30;
     $maxlength= 30;
-    $result= "<input class='filter_textfield' id='$tag' name='$tag' type='text' size='$size' maxlength='{$maxlength}' value='".$value."'>";
+    $result= "<input class='filter_textfield' placeholder='"._("Search")."...' id='$tag' name='$tag' type='text' size='$size' maxlength='{$maxlength}' value='".$value."'>";
     if ($element && isset($element['autocomplete'])) {
       $frequency= "0.5";
       $characters= "1";