[Rt-commit] rt branch, 4.0/simplesearch-placeholder-text, created. rt-4.0.19-7-g125a451
Kevin Falcone
falcone at bestpractical.com
Wed Feb 5 14:41:02 EST 2014
The branch, 4.0/simplesearch-placeholder-text has been created
at 125a451f60101fde73bf0792fe15a9de765f93d2 (commit)
- Log -----------------------------------------------------------------
commit 125a451f60101fde73bf0792fe15a9de765f93d2
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Wed Feb 5 14:26:44 2014 -0500
Make it possible to use Simplesearch with a different placeholder text
While RT uses Search, RTIR wants to use Search incidents
diff --git a/share/html/Elements/SimpleSearch b/share/html/Elements/SimpleSearch
index bd8a876..2582113 100644
--- a/share/html/Elements/SimpleSearch
+++ b/share/html/Elements/SimpleSearch
@@ -46,8 +46,9 @@
%#
%# END BPS TAGGED BLOCK }}}
<form action="<% RT->Config->Get('WebPath') %><% $SendTo %>" id="simple-search">
- <input size="12" name="q" autocomplete="off" accesskey="0" class="field" value="<&|/l&>Search</&>..." onfocus="if (this.value=='<&|/l&>Search</&>...') this.value=''" />
+ <input size="12" name="q" autocomplete="off" accesskey="0" class="field" value="<% $Placeholder %>..." onfocus="if (this.value=='<&|/l&>Search</&>...') this.value=''" />
</form>
<%ARGS>
$SendTo => '/Search/Simple.html'
+$Placeholder => loc('Search')
</%ARGS>
-----------------------------------------------------------------------
More information about the rt-commit
mailing list