[Rt-commit] [svn] r1730 - in rt: . branches/3.3-TESTING/html/Search/Elements

autrijus at pallas.eruditorum.org autrijus at pallas.eruditorum.org
Sun Nov 7 09:30:22 EST 2004


Author: autrijus
Date: Sun Nov  7 09:30:22 2004
New Revision: 1730

Added:
   rt/branches/3.3-TESTING/html/Search/Elements/EditQuery
Modified:
   rt/   (props changed)
   rt/branches/3.3-TESTING/html/Search/Elements/EditSearches
   rt/branches/3.3-TESTING/html/Search/Elements/PickBasics
   rt/branches/3.3-TESTING/html/Search/Elements/PickCriteria
   rt/branches/3.3-TESTING/html/Search/Elements/SelectAndOr
   rt/branches/3.3-TESTING/html/Search/Elements/SelectPersonType
Log:
 r10261 at not:  autrijus | 2004-11-07T08:55:02.919657Z
 * loc and layout fixed.
 


Added: rt/branches/3.3-TESTING/html/Search/Elements/EditQuery
==============================================================================
--- (empty file)
+++ rt/branches/3.3-TESTING/html/Search/Elements/EditQuery	Sun Nov  7 09:30:22 2004
@@ -0,0 +1,65 @@
+%# {{{ BEGIN BPS TAGGED BLOCK
+%# 
+%# COPYRIGHT:
+%#  
+%# This software is Copyright (c) 1996-2004 Best Practical Solutions, LLC 
+%#                                          <jesse 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., 675 Mass Ave, Cambridge, MA 02139, USA.
+%# 
+%# 
+%# 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
+<& NewListActions, actions => $actions &>
+<& /Elements/TitleBoxStart, title => join(': ', grep defined, loc("Query"), $Description) &>
+<select size="10" name="clauses" style="width: 100%" multiple>
+% $m->out($optionlist);
+</select>
+<p align="center">
+<input type=submit name="Up" value="^">
+<input type=submit name="Down" value="v">
+<input type=submit name="Left" value="<">
+<input type=submit name="Right" value=">">
+<input type=submit name="Toggle" value="<&|/l&>And/Or</&>">
+<input type=submit name="DeleteClause" value="<&|/l&>Delete</&>">
+%#<input type=submit name="EditQuery" value="Advanced">
+</p>
+<& /Elements/TitleBoxEnd &>
+<%ARGS>
+$Description
+$optionlist
+$actions
+</%ARGS>

Modified: rt/branches/3.3-TESTING/html/Search/Elements/EditSearches
==============================================================================
--- rt/branches/3.3-TESTING/html/Search/Elements/EditSearches	(original)
+++ rt/branches/3.3-TESTING/html/Search/Elements/EditSearches	Sun Nov  7 09:30:22 2004
@@ -55,13 +55,14 @@
 % }
 <&|/l&>Description</&>:<br>
 <font size="-1"><input size="25" name="Description" value="<%$CurrentSearch->{'Description'}%>"></font>
-<br>
+<nobr>
 % if ($SearchId ne 'new') {
 % if ($Dirty) {
 <input type="submit" name="Revert" value="<%loc('Revert')%>">
 % }
 <input type="submit" name="Delete" value="<%loc('Delete')%>">
 <input type="submit" name="CopySearch" value="<%loc('Copy')%>">
+</nobr>
 
 % }
 

Modified: rt/branches/3.3-TESTING/html/Search/Elements/PickBasics
==============================================================================
--- rt/branches/3.3-TESTING/html/Search/Elements/PickBasics	(original)
+++ rt/branches/3.3-TESTING/html/Search/Elements/PickBasics	Sun Nov  7 09:30:22 2004
@@ -125,8 +125,8 @@
 <& SelectPersonType, Name => 'WatcherGroupField', Default => 'RequestorGroup', Suffix => 'Group' &>
 </td><td>
 <& /Elements/SelectBoolean, Name => "WatcherGroupOp", 
-					  True=> 'belongs to', 
-					  False=> 'does not belong to', 
+					  True=> loc('belongs to'), 
+					  False=> loc('does not belong to'), 
 					  TrueVal=> '=', 
 					  FalseVal => '!='
 &>

Modified: rt/branches/3.3-TESTING/html/Search/Elements/PickCriteria
==============================================================================
--- rt/branches/3.3-TESTING/html/Search/Elements/PickCriteria	(original)
+++ rt/branches/3.3-TESTING/html/Search/Elements/PickCriteria	Sun Nov  7 09:30:22 2004
@@ -49,7 +49,7 @@
     <td>
       <table cellspacing=0 border=0>
         <tr><td class=label>
-        Aggregator:
+        <&|/l&>Aggregator</&>:
         </td>
         <td><& SelectAndOr, Name => "AndOr" &>
         </td></tr>

Modified: rt/branches/3.3-TESTING/html/Search/Elements/SelectAndOr
==============================================================================
--- rt/branches/3.3-TESTING/html/Search/Elements/SelectAndOr	(original)
+++ rt/branches/3.3-TESTING/html/Search/Elements/SelectAndOr	Sun Nov  7 09:30:22 2004
@@ -43,9 +43,9 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# }}} END BPS TAGGED BLOCK
-<input type=radio NAME="<%$Name%>" CHECKED VALUE="AND">AND</input>
-<input type=radio NAME="<%$Name%>" VALUE="OR">OR</input>
+<input type=radio NAME="<%$Name%>" CHECKED VALUE="AND"><&|/l&>AND</&></input>
+<input type=radio NAME="<%$Name%>" VALUE="OR"><&|/l&>OR</&></input>
 
 <%ARGS>
 $Name => "Operator"
-</%ARGS>
\ No newline at end of file
+</%ARGS>

Modified: rt/branches/3.3-TESTING/html/Search/Elements/SelectPersonType
==============================================================================
--- rt/branches/3.3-TESTING/html/Search/Elements/SelectPersonType	(original)
+++ rt/branches/3.3-TESTING/html/Search/Elements/SelectPersonType	Sun Nov  7 09:30:22 2004
@@ -53,7 +53,7 @@
 %   next;
 %  }
 %  foreach my $subtype (@subtypes) {
-<OPTION VALUE="<%"$option.$subtype"%>" <%$option eq $Default && $subtype eq 'EmailAddress' && "SELECTED"%> ><%loc("[_1] [_2]",$option, $subtype)%></OPTION>
+<OPTION VALUE="<%"$option.$subtype"%>" <%$option eq $Default && $subtype eq 'EmailAddress' && "SELECTED"%> ><% loc($option) %> <% loc($subtype) %></OPTION>
 %  }
 % }
 </SELECT>


More information about the Rt-commit mailing list