projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix rare FP rounding errors on void, RT#84904
[freeside.git]
/
rt
/
share
/
html
/
Elements
/
SimpleSearch
diff --git
a/rt/share/html/Elements/SimpleSearch
b/rt/share/html/Elements/SimpleSearch
index
533698d
..
b6f46ce
100755
(executable)
--- a/
rt/share/html/Elements/SimpleSearch
+++ b/
rt/share/html/Elements/SimpleSearch
@@
-2,7
+2,7
@@
%#
%# COPYRIGHT:
%#
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-201
2
Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-201
9
Best Practical Solutions, LLC
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
@@
-46,8
+46,12
@@
%#
%# END BPS TAGGED BLOCK }}}
<form action="<% RT->Config->Get('WebPath') %><% $SendTo %>" id="simple-search">
%#
%# END BPS TAGGED BLOCK }}}
<form action="<% RT->Config->Get('WebPath') %><% $SendTo %>" id="simple-search">
- <input size="12" name="q" a
utocomplete="off" accesskey="0" class="field" value="<&|/l&>Search</&>..." onfocus="if (this.value=='<&|/l&>Search</&>...') this.value=''
" />
+ <input size="12" name="q" a
ccesskey="0" class="field" value="<% $value %>" placeholder="<% $Placeholder %>...
" />
</form>
</form>
+<%init>
+my $value = defined $DECODED_ARGS->{q} ? $DECODED_ARGS->{q} : '';
+</%init>
<%ARGS>
$SendTo => '/Search/Simple.html'
<%ARGS>
$SendTo => '/Search/Simple.html'
+$Placeholder => loc('Search')
</%ARGS>
</%ARGS>