[Bps-public-commit] RT-Extension-rt_cpan_org branch, master, updated. 73be8e9a42ff6319b8ce96e302bf134d5440818a
Thomas Sibley
trs at bestpractical.com
Sat Jun 1 01:50:23 EDT 2013
The branch, master has been updated
via 73be8e9a42ff6319b8ce96e302bf134d5440818a (commit)
from 705b74d2c998be85d6c206e76fa0d3d4592a3a4e (commit)
Summary of changes:
html/Elements/{SelectQueue => SimpleSearch} | 20 +++++++-------------
1 file changed, 7 insertions(+), 13 deletions(-)
copy html/Elements/{SelectQueue => SimpleSearch} (78%)
- Log -----------------------------------------------------------------
commit 73be8e9a42ff6319b8ce96e302bf134d5440818a
Author: Thomas Sibley <trs at bestpractical.com>
Date: Fri May 31 22:49:26 2013 -0700
Use the simple search widget from rt:master
It remembers your past search, which is super useful.
diff --git a/html/Elements/SimpleSearch b/html/Elements/SimpleSearch
new file mode 100644
index 0000000..1936cea
--- /dev/null
+++ b/html/Elements/SimpleSearch
@@ -0,0 +1,56 @@
+%# BEGIN BPS TAGGED BLOCK {{{
+%#
+%# COPYRIGHT:
+%#
+%# This software is Copyright (c) 1996-2013 Best Practical Solutions, LLC
+%# <sales at bestpractical.com>
+%#
+%# (Except where explicitly superseded by other copyright notices)
+%#
+%#
+%# LICENSE:
+%#
+%# This work is made available to you under the terms of Version 2 of
+%# the GNU General Public License. A copy of that license should have
+%# been provided with this software, but in any event can be snarfed
+%# from www.gnu.org.
+%#
+%# This work is distributed in the hope that it will be useful, but
+%# WITHOUT ANY WARRANTY; without even the implied warranty of
+%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+%# General Public License for more details.
+%#
+%# You should have received a copy of the GNU General Public License
+%# along with this program; if not, write to the Free Software
+%# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+%# 02110-1301 or visit their web page on the internet at
+%# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html.
+%#
+%#
+%# CONTRIBUTION SUBMISSION POLICY:
+%#
+%# (The following paragraph is not intended to limit the rights granted
+%# to you to modify and distribute this software under the terms of
+%# the GNU General Public License and is only of importance to you if
+%# you choose to contribute your changes and enhancements to the
+%# community by submitting them to Best Practical Solutions, LLC.)
+%#
+%# By intentionally submitting any modifications, corrections or
+%# derivatives to this work, or any other work intended for use with
+%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
+%# you are the copyright holder for those contributions and you grant
+%# Best Practical Solutions, LLC a nonexclusive, worldwide, irrevocable,
+%# royalty-free, perpetual, license to use, copy, create derivative
+%# works based on those contributions, and sublicense and distribute
+%# those contributions and any derivatives thereof.
+%#
+%# 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') %>..." />
+</form>
+<%init>
+my $value = defined $DECODED_ARGS->{q} ? $DECODED_ARGS->{q} : '';
+</%init>
+<%ARGS>
+$SendTo => '/Search/Simple.html'
+</%ARGS>
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list