aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSimon L'nu <simon.lnu@gmail.com>2012-05-23 15:58:22 -0400
committerSimon L'nu <simon.lnu@gmail.com>2012-05-23 15:58:22 -0400
commit789063da399675575f61e150f11dbe534d7db3c5 (patch)
tree14ce8be3e103fc0574f717a6ab679c9a449a7a02 /include
parentbd12902d7b384c4ba38ae40c4fa1f34f7e5393b4 (diff)
downloadvolse-hubzilla-789063da399675575f61e150f11dbe534d7db3c5.tar.gz
volse-hubzilla-789063da399675575f61e150f11dbe534d7db3c5.tar.bz2
volse-hubzilla-789063da399675575f61e150f11dbe534d7db3c5.zip
add a placeholder attribute on search-text; dispy fixes
Signed-off-by: Simon L'nu <simon.lnu@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/text.php2
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') . '" />';