diff options
author | Simon <simon@kisikew.org> | 2012-05-23 13:05:10 -0700 |
---|---|---|
committer | Simon <simon@kisikew.org> | 2012-05-23 13:05:10 -0700 |
commit | da672694680df9cd9447da4c65b9492150d41c23 (patch) | |
tree | 14ce8be3e103fc0574f717a6ab679c9a449a7a02 /include/text.php | |
parent | 61dba985c14ebcfd20d18b579aee9b781f98bc23 (diff) | |
parent | 789063da399675575f61e150f11dbe534d7db3c5 (diff) | |
download | volse-hubzilla-da672694680df9cd9447da4c65b9492150d41c23.tar.gz volse-hubzilla-da672694680df9cd9447da4c65b9492150d41c23.tar.bz2 volse-hubzilla-da672694680df9cd9447da4c65b9492150d41c23.zip |
Merge pull request #310 from simonlnu/master
add a placeholder attribute on #search-text; dispy fixes
Diffstat (limited to 'include/text.php')
-rw-r--r-- | include/text.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php index e93c24ef4..d6a9ef5d3 100644 --- a/include/text.php +++ b/include/text.php @@ -646,7 +646,7 @@ function search($s,$id='search-box',$url='/search',$save = false) { $a = get_app(); $o = '<div id="' . $id . '">'; $o .= '<form action="' . $a->get_baseurl((stristr($url,'network')) ? true : false) . $url . '" method="get" >'; - $o .= '<input type="text" name="search" id="search-text" value="' . $s .'" />'; + $o .= '<input type="text" name="search" id="search-text" placeholder="' . t('Search') . '" value="' . $s .'" />'; $o .= '<input type="submit" name="submit" id="search-submit" value="' . t('Search') . '" />'; if($save) $o .= '<input type="submit" name="save" id="search-save" value="' . t('Save') . '" />'; |