[Rt-commit] rt branch, 4.2/simplesearch-placeholder-text, created. rt-4.2.2-20-g2f2bb6a
Kevin Falcone
falcone at bestpractical.com
Fri Feb 7 17:57:17 EST 2014
The branch, 4.2/simplesearch-placeholder-text has been created
at 2f2bb6af5924d196e5ffbd8a0a9f533faeea1feb (commit)
- Log -----------------------------------------------------------------
commit 2f2bb6af5924d196e5ffbd8a0a9f533faeea1feb
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Fri Feb 7 12:15:00 2014 -0500
Add a Placeholder argument so simplesearch users can override Search...
This is a rewrite of 43f534acdb for 4.2 since we changed the code.
diff --git a/share/html/Elements/SimpleSearch b/share/html/Elements/SimpleSearch
index 78e9cb7..9b7ff38 100644
--- a/share/html/Elements/SimpleSearch
+++ b/share/html/Elements/SimpleSearch
@@ -46,11 +46,12 @@
%#
%# END BPS TAGGED BLOCK }}}
<form action="<% RT->Config->Get('WebPath') %><% $SendTo %>" id="simple-search">
- <input size="12" name="q" accesskey="0" class="field" value="<% $value %>" placeholder="<% loc('Search') %>..." />
+ <input size="12" name="q" accesskey="0" class="field" value="<% $value %>" placeholder="<% $Placeholder %>..." />
</form>
<%init>
my $value = defined $DECODED_ARGS->{q} ? $DECODED_ARGS->{q} : '';
</%init>
<%ARGS>
$SendTo => '/Search/Simple.html'
+$Placeholder => loc('Search')
</%ARGS>
-----------------------------------------------------------------------
More information about the rt-commit
mailing list