[Bps-public-commit] r10883 - in RT-BugTracker-Public: html/Callbacks/BugTracker-Public/Elements/Login html/Callbacks/BugTracker-Public/autohandler html/Elements html/Public html/Public/Bug html/Public/Bug/Elements html/Public/Elements html/Public/Search html/Public/Search/Elements lib/RT/BugTracker

ruz at bestpractical.com ruz at bestpractical.com
Tue Feb 19 13:11:05 EST 2008


Author: ruz
Date: Tue Feb 19 13:11:04 2008
New Revision: 10883

Modified:
   RT-BugTracker-Public/html/Callbacks/BugTracker-Public/Elements/Login/Default
   RT-BugTracker-Public/html/Callbacks/BugTracker-Public/autohandler/Auth
   RT-BugTracker-Public/html/Callbacks/BugTracker-Public/autohandler/Default
   RT-BugTracker-Public/html/Elements/Header
   RT-BugTracker-Public/html/Public/Browse.html
   RT-BugTracker-Public/html/Public/Bug/Display.html
   RT-BugTracker-Public/html/Public/Bug/Elements/ShowGroupMembers
   RT-BugTracker-Public/html/Public/Bug/Elements/ShowHistory
   RT-BugTracker-Public/html/Public/Bug/Elements/ShowPeople
   RT-BugTracker-Public/html/Public/Bug/Elements/ShowSummary
   RT-BugTracker-Public/html/Public/Bug/Elements/ShowTransaction
   RT-BugTracker-Public/html/Public/Bug/Elements/ShowTransactionAttachments
   RT-BugTracker-Public/html/Public/Bug/Elements/ShowUserEntry
   RT-BugTracker-Public/html/Public/Bug/Report.html
   RT-BugTracker-Public/html/Public/Bug/Update.html
   RT-BugTracker-Public/html/Public/Dist/BeginsWith.html
   RT-BugTracker-Public/html/Public/Dist/ByMaintainer.html
   RT-BugTracker-Public/html/Public/Dist/Display.html
   RT-BugTracker-Public/html/Public/Dist/bugs.tsv
   RT-BugTracker-Public/html/Public/Elements/CreateTicket
   RT-BugTracker-Public/html/Public/Elements/DistributionList
   RT-BugTracker-Public/html/Public/Elements/ErrorNoDist
   RT-BugTracker-Public/html/Public/Elements/ErrorNoUser
   RT-BugTracker-Public/html/Public/Elements/PageLayout
   RT-BugTracker-Public/html/Public/Elements/SimpleSearch
   RT-BugTracker-Public/html/Public/Elements/Tabs
   RT-BugTracker-Public/html/Public/Search/Elements/Results
   RT-BugTracker-Public/html/Public/Search/Simple.html
   RT-BugTracker-Public/html/Public/index.html
   RT-BugTracker-Public/lib/RT/BugTracker/Public.pm

Log:
* sync everything from private repo into public

Modified: RT-BugTracker-Public/html/Callbacks/BugTracker-Public/Elements/Login/Default
==============================================================================
--- RT-BugTracker-Public/html/Callbacks/BugTracker-Public/Elements/Login/Default	(original)
+++ RT-BugTracker-Public/html/Callbacks/BugTracker-Public/Elements/Login/Default	Tue Feb 19 13:11:04 2008
@@ -1,3 +1,50 @@
+%# BEGIN BPS TAGGED BLOCK {{{
+%# 
+%# COPYRIGHT:
+%#  
+%# This software is Copyright (c) 1996-2007 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., 51 Franklin Street, Fifth Floor, Boston, MA
+%# 02110-1301 or visit their web page on the internet at
+%# http://www.gnu.org/copyleft/gpl.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 }}}
 <div class="input-row">
   Don't have an account but want to browse bugs?
   Use the <a href="<% $RT::WebBaseURL %>/Public/?nossl=true">public interface</a>.

Modified: RT-BugTracker-Public/html/Callbacks/BugTracker-Public/autohandler/Auth
==============================================================================
--- RT-BugTracker-Public/html/Callbacks/BugTracker-Public/autohandler/Auth	(original)
+++ RT-BugTracker-Public/html/Callbacks/BugTracker-Public/autohandler/Auth	Tue Feb 19 13:11:04 2008
@@ -1,3 +1,50 @@
+%# BEGIN BPS TAGGED BLOCK {{{
+%# 
+%# COPYRIGHT:
+%#  
+%# This software is Copyright (c) 1996-2007 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., 51 Franklin Street, Fifth Floor, Boston, MA
+%# 02110-1301 or visit their web page on the internet at
+%# http://www.gnu.org/copyleft/gpl.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 }}}
 <%init>
 # If there's no user and this is not a login request and we're looking
 # at a public UI request, log in automatically as the public user so the

Modified: RT-BugTracker-Public/html/Callbacks/BugTracker-Public/autohandler/Default
==============================================================================
--- RT-BugTracker-Public/html/Callbacks/BugTracker-Public/autohandler/Default	(original)
+++ RT-BugTracker-Public/html/Callbacks/BugTracker-Public/autohandler/Default	Tue Feb 19 13:11:04 2008
@@ -1,5 +1,52 @@
+%# BEGIN BPS TAGGED BLOCK {{{
+%# 
+%# COPYRIGHT:
+%#  
+%# This software is Copyright (c) 1996-2007 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., 51 Franklin Street, Fifth Floor, Boston, MA
+%# 02110-1301 or visit their web page on the internet at
+%# http://www.gnu.org/copyleft/gpl.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 }}}
 <%init>
-if (    $session{'CurrentUser'}->Name eq $RT::WebPublicUser
+if (    $session{'CurrentUser'}->Name eq ($RT::WebPublicUser||'')
      or defined $session{'BitcardUser'} or defined $session->{'CurrentUser'}->{'OpenID'} )
 {
     # This is a public user, we only want them going to /Public/
@@ -13,13 +60,13 @@
             and $ARGS{'id'} )
     {
         $m->redirect($RT::WebPath . "/Public/Bug/Display.html?id="
-                        . $m->interp->apply_escapes($ARGS{'id'}));
+                        . $m->interp->apply_escapes($ARGS{'id'}, 'u'));
         $m->abort();
     }
     
     elsif ( $path =~ '^(/+)Dist/Display.html' and $ARGS{'Queue'} ) {
         $m->redirect($RT::WebPath . "/Public/Dist/Display.html?Name="
-                        . $m->interp->apply_escapes($ARGS{'Queue'}));
+                        . $m->interp->apply_escapes($ARGS{'Queue'}, 'u'));
     }
     
     # otherwise, drop the user at the Public default page

Modified: RT-BugTracker-Public/html/Elements/Header
==============================================================================
--- RT-BugTracker-Public/html/Elements/Header	(original)
+++ RT-BugTracker-Public/html/Elements/Header	Tue Feb 19 13:11:04 2008
@@ -2,7 +2,7 @@
 %# 
 %# COPYRIGHT:
 %#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
+%# This software is Copyright (c) 1996-2007 Best Practical Solutions, LLC 
 %#                                          <jesse at bestpractical.com>
 %# 
 %# (Except where explicitly superseded by other copyright notices)
@@ -22,7 +22,9 @@
 %# 
 %# 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.
+%# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+%# 02110-1301 or visit their web page on the internet at
+%# http://www.gnu.org/copyleft/gpl.html.
 %# 
 %# 
 %# CONTRIBUTION SUBMISSION POLICY:
@@ -47,31 +49,37 @@
      PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-  <head>
-    <title><%$Title%></title>
-% if ($Refresh > 0) {
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
+
+<title><%$Title%></title>
+
+% if ($Refresh && $Refresh > 0) {
     <meta http-equiv="refresh" content="<%$Refresh%>" />
 % }
-    <link rel="shortcut icon" href="<%$RT::WebImagesURL%>/favicon.png" type="image/png" />
-    <link rel="stylesheet" href="<%$RT::WebPath%>/NoAuth/css/<% $RT::WebDefaultStylesheet %>/main.css" type="text/css" media="all" />
-    <link rel="stylesheet" href="<%$RT::WebPath%>/NoAuth/css/print.css" type="text/css" media="print" />
-% if ($RSSAutoDiscovery) {
+
+<link rel="shortcut icon" href="<%$RT::WebImagesURL%>/favicon.png" type="image/png" />
+<link rel="stylesheet" href="<%$RT::WebPath%>/NoAuth/css/<% $RT::WebDefaultStylesheet %>/main-squished.css" type="text/css" media="all" />
+<link rel="stylesheet" href="<%$RT::WebPath%>/NoAuth/css/print.css" type="text/css" media="print" />
+
+% if ( $RSSAutoDiscovery ) {
     <link rel="alternate" href="<%$RSSAutoDiscovery%>" type="application/rss+xml" title="RSS RT Search" />
 % }
-    <script type="text/javascript" src="<%$RT::WebPath%>/NoAuth/js/util.js"></script>
-    <script type="text/javascript" src="<%$RT::WebPath%>/NoAuth/js/titlebox-state.js"></script>
-    <script type="text/javascript"><!--
-        onLoadHook("loadTitleBoxStates()");
-% if ($Focus) {
-        onLoadHook("focusElementById('<% $Focus %>')");
+
+<script type="text/javascript" src="<%$RT::WebPath%>/NoAuth/js/util.js"></script>
+<script type="text/javascript" src="<%$RT::WebPath%>/NoAuth/js/titlebox-state.js"></script>
+<script type="text/javascript"><!--
+    onLoadHook("loadTitleBoxStates()");
+% if ( $Focus ) {
+    onLoadHook("focusElementById('<% $Focus %>')");
 % }
-% if ($onload) {
-        onLoadHook("<% $onload |n %>");
+% if ( $onload ) {
+    onLoadHook("<% $onload |n %>");
 % }
-    --></script>
+--></script>
+
 <& /Elements/Callback, _CallbackName => 'Head', %ARGS &>
-  </head>
+
+</head>
   <body<% $id && qq[ id="comp-$id"] |n %>>
 
 % if ($ShowBar) {
@@ -95,7 +103,7 @@
 % else {
     <&|/l&>Not logged in.</&>
 % }
-%if (    $session{'CurrentUser'}->Id
+% if (    $session{'CurrentUser'}->Id
 %    and $session{'CurrentUser'}->HasRight( Right => 'ModifySelf', Object => $RT::System )) {
     | <a href="<%$RT::WebPath%><%$Prefs%>"><&|/l&>Preferences</&></a>
 % }

Modified: RT-BugTracker-Public/html/Public/Browse.html
==============================================================================
--- RT-BugTracker-Public/html/Public/Browse.html	(original)
+++ RT-BugTracker-Public/html/Public/Browse.html	Tue Feb 19 13:11:04 2008
@@ -2,7 +2,7 @@
 %# 
 %# COPYRIGHT:
 %#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
+%# This software is Copyright (c) 1996-2007 Best Practical Solutions, LLC 
 %#                                          <jesse at bestpractical.com>
 %# 
 %# (Except where explicitly superseded by other copyright notices)
@@ -22,7 +22,9 @@
 %# 
 %# 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.
+%# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+%# 02110-1301 or visit their web page on the internet at
+%# http://www.gnu.org/copyleft/gpl.html.
 %# 
 %# 
 %# CONTRIBUTION SUBMISSION POLICY:

Modified: RT-BugTracker-Public/html/Public/Bug/Display.html
==============================================================================
--- RT-BugTracker-Public/html/Public/Bug/Display.html	(original)
+++ RT-BugTracker-Public/html/Public/Bug/Display.html	Tue Feb 19 13:11:04 2008
@@ -2,7 +2,7 @@
 %# 
 %# COPYRIGHT:
 %#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
+%# This software is Copyright (c) 1996-2007 Best Practical Solutions, LLC 
 %#                                          <jesse at bestpractical.com>
 %# 
 %# (Except where explicitly superseded by other copyright notices)
@@ -22,7 +22,9 @@
 %# 
 %# 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.
+%# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+%# 02110-1301 or visit their web page on the internet at
+%# http://www.gnu.org/copyleft/gpl.html.
 %# 
 %# 
 %# CONTRIBUTION SUBMISSION POLICY:

Modified: RT-BugTracker-Public/html/Public/Bug/Elements/ShowGroupMembers
==============================================================================
--- RT-BugTracker-Public/html/Public/Bug/Elements/ShowGroupMembers	(original)
+++ RT-BugTracker-Public/html/Public/Bug/Elements/ShowGroupMembers	Tue Feb 19 13:11:04 2008
@@ -2,7 +2,7 @@
 %# 
 %# COPYRIGHT:
 %#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
+%# This software is Copyright (c) 1996-2007 Best Practical Solutions, LLC 
 %#                                          <jesse at bestpractical.com>
 %# 
 %# (Except where explicitly superseded by other copyright notices)
@@ -22,7 +22,9 @@
 %# 
 %# 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.
+%# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+%# 02110-1301 or visit their web page on the internet at
+%# http://www.gnu.org/copyleft/gpl.html.
 %# 
 %# 
 %# CONTRIBUTION SUBMISSION POLICY:

Modified: RT-BugTracker-Public/html/Public/Bug/Elements/ShowHistory
==============================================================================
--- RT-BugTracker-Public/html/Public/Bug/Elements/ShowHistory	(original)
+++ RT-BugTracker-Public/html/Public/Bug/Elements/ShowHistory	Tue Feb 19 13:11:04 2008
@@ -2,7 +2,7 @@
 %# 
 %# COPYRIGHT:
 %#  
-%# This software is Copyright (c) 1996-2006 Best Practical Solutions, LLC 
+%# This software is Copyright (c) 1996-2007 Best Practical Solutions, LLC 
 %#                                          <jesse at bestpractical.com>
 %# 
 %# (Except where explicitly superseded by other copyright notices)
@@ -22,7 +22,9 @@
 %# 
 %# 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.
+%# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+%# 02110-1301 or visit their web page on the internet at
+%# http://www.gnu.org/copyleft/gpl.html.
 %# 
 %# 
 %# CONTRIBUTION SUBMISSION POLICY:

Modified: RT-BugTracker-Public/html/Public/Bug/Elements/ShowPeople
==============================================================================
--- RT-BugTracker-Public/html/Public/Bug/Elements/ShowPeople	(original)
+++ RT-BugTracker-Public/html/Public/Bug/Elements/ShowPeople	Tue Feb 19 13:11:04 2008
@@ -2,7 +2,7 @@
 %# 
 %# COPYRIGHT:
 %#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
+%# This software is Copyright (c) 1996-2007 Best Practical Solutions, LLC 
 %#                                          <jesse at bestpractical.com>
 %# 
 %# (Except where explicitly superseded by other copyright notices)
@@ -22,7 +22,9 @@
 %# 
 %# 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.
+%# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+%# 02110-1301 or visit their web page on the internet at
+%# http://www.gnu.org/copyleft/gpl.html.
 %# 
 %# 
 %# CONTRIBUTION SUBMISSION POLICY:

Modified: RT-BugTracker-Public/html/Public/Bug/Elements/ShowSummary
==============================================================================
--- RT-BugTracker-Public/html/Public/Bug/Elements/ShowSummary	(original)
+++ RT-BugTracker-Public/html/Public/Bug/Elements/ShowSummary	Tue Feb 19 13:11:04 2008
@@ -2,7 +2,7 @@
 %# 
 %# COPYRIGHT:
 %#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
+%# This software is Copyright (c) 1996-2007 Best Practical Solutions, LLC 
 %#                                          <jesse at bestpractical.com>
 %# 
 %# (Except where explicitly superseded by other copyright notices)
@@ -22,7 +22,9 @@
 %# 
 %# 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.
+%# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+%# 02110-1301 or visit their web page on the internet at
+%# http://www.gnu.org/copyleft/gpl.html.
 %# 
 %# 
 %# CONTRIBUTION SUBMISSION POLICY:

Modified: RT-BugTracker-Public/html/Public/Bug/Elements/ShowTransaction
==============================================================================
--- RT-BugTracker-Public/html/Public/Bug/Elements/ShowTransaction	(original)
+++ RT-BugTracker-Public/html/Public/Bug/Elements/ShowTransaction	Tue Feb 19 13:11:04 2008
@@ -2,7 +2,7 @@
 %# 
 %# COPYRIGHT:
 %#  
-%# This software is Copyright (c) 1996-2006 Best Practical Solutions, LLC 
+%# This software is Copyright (c) 1996-2007 Best Practical Solutions, LLC 
 %#                                          <jesse at bestpractical.com>
 %# 
 %# (Except where explicitly superseded by other copyright notices)
@@ -22,7 +22,9 @@
 %# 
 %# 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.
+%# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+%# 02110-1301 or visit their web page on the internet at
+%# http://www.gnu.org/copyleft/gpl.html.
 %# 
 %# 
 %# CONTRIBUTION SUBMISSION POLICY:

Modified: RT-BugTracker-Public/html/Public/Bug/Elements/ShowTransactionAttachments
==============================================================================
--- RT-BugTracker-Public/html/Public/Bug/Elements/ShowTransactionAttachments	(original)
+++ RT-BugTracker-Public/html/Public/Bug/Elements/ShowTransactionAttachments	Tue Feb 19 13:11:04 2008
@@ -2,7 +2,7 @@
 %# 
 %# COPYRIGHT:
 %#  
-%# This software is Copyright (c) 1996-2006 Best Practical Solutions, LLC 
+%# This software is Copyright (c) 1996-2007 Best Practical Solutions, LLC 
 %#                                          <jesse at bestpractical.com>
 %# 
 %# (Except where explicitly superseded by other copyright notices)
@@ -22,7 +22,9 @@
 %# 
 %# 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.
+%# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+%# 02110-1301 or visit their web page on the internet at
+%# http://www.gnu.org/copyleft/gpl.html.
 %# 
 %# 
 %# CONTRIBUTION SUBMISSION POLICY:

Modified: RT-BugTracker-Public/html/Public/Bug/Elements/ShowUserEntry
==============================================================================
--- RT-BugTracker-Public/html/Public/Bug/Elements/ShowUserEntry	(original)
+++ RT-BugTracker-Public/html/Public/Bug/Elements/ShowUserEntry	Tue Feb 19 13:11:04 2008
@@ -2,7 +2,7 @@
 %# 
 %# COPYRIGHT:
 %#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
+%# This software is Copyright (c) 1996-2007 Best Practical Solutions, LLC 
 %#                                          <jesse at bestpractical.com>
 %# 
 %# (Except where explicitly superseded by other copyright notices)
@@ -22,7 +22,9 @@
 %# 
 %# 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.
+%# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+%# 02110-1301 or visit their web page on the internet at
+%# http://www.gnu.org/copyleft/gpl.html.
 %# 
 %# 
 %# CONTRIBUTION SUBMISSION POLICY:

Modified: RT-BugTracker-Public/html/Public/Bug/Report.html
==============================================================================
--- RT-BugTracker-Public/html/Public/Bug/Report.html	(original)
+++ RT-BugTracker-Public/html/Public/Bug/Report.html	Tue Feb 19 13:11:04 2008
@@ -2,7 +2,7 @@
 %# 
 %# COPYRIGHT:
 %#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
+%# This software is Copyright (c) 1996-2007 Best Practical Solutions, LLC 
 %#                                          <jesse at bestpractical.com>
 %# 
 %# (Except where explicitly superseded by other copyright notices)
@@ -22,7 +22,9 @@
 %# 
 %# 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.
+%# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+%# 02110-1301 or visit their web page on the internet at
+%# http://www.gnu.org/copyleft/gpl.html.
 %# 
 %# 
 %# CONTRIBUTION SUBMISSION POLICY:
@@ -264,7 +266,7 @@
     A => {
         title   => loc("Bug list"),
         path    => 'Public/Dist/Display.html?Name='
-                    . $m->interp->apply_escapes($Queue),
+                    . $m->interp->apply_escapes($Queue, 'u'),
     },
 };
 

Modified: RT-BugTracker-Public/html/Public/Bug/Update.html
==============================================================================
--- RT-BugTracker-Public/html/Public/Bug/Update.html	(original)
+++ RT-BugTracker-Public/html/Public/Bug/Update.html	Tue Feb 19 13:11:04 2008
@@ -1,3 +1,50 @@
+%# BEGIN BPS TAGGED BLOCK {{{
+%# 
+%# COPYRIGHT:
+%#  
+%# This software is Copyright (c) 1996-2007 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., 51 Franklin Street, Fifth Floor, Boston, MA
+%# 02110-1301 or visit their web page on the internet at
+%# http://www.gnu.org/copyleft/gpl.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 }}}
 <& /Elements/Header, Title => $title &>
 <& /Public/Elements/Tabs,
     Ticket => $TicketObj,

Modified: RT-BugTracker-Public/html/Public/Dist/BeginsWith.html
==============================================================================
--- RT-BugTracker-Public/html/Public/Dist/BeginsWith.html	(original)
+++ RT-BugTracker-Public/html/Public/Dist/BeginsWith.html	Tue Feb 19 13:11:04 2008
@@ -2,7 +2,7 @@
 %# 
 %# COPYRIGHT:
 %#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
+%# This software is Copyright (c) 1996-2007 Best Practical Solutions, LLC 
 %#                                          <jesse at bestpractical.com>
 %# 
 %# (Except where explicitly superseded by other copyright notices)
@@ -22,7 +22,9 @@
 %# 
 %# 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.
+%# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+%# 02110-1301 or visit their web page on the internet at
+%# http://www.gnu.org/copyleft/gpl.html.
 %# 
 %# 
 %# CONTRIBUTION SUBMISSION POLICY:

Modified: RT-BugTracker-Public/html/Public/Dist/ByMaintainer.html
==============================================================================
--- RT-BugTracker-Public/html/Public/Dist/ByMaintainer.html	(original)
+++ RT-BugTracker-Public/html/Public/Dist/ByMaintainer.html	Tue Feb 19 13:11:04 2008
@@ -2,7 +2,7 @@
 %# 
 %# COPYRIGHT:
 %#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
+%# This software is Copyright (c) 1996-2007 Best Practical Solutions, LLC 
 %#                                          <jesse at bestpractical.com>
 %# 
 %# (Except where explicitly superseded by other copyright notices)
@@ -22,7 +22,9 @@
 %# 
 %# 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.
+%# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+%# 02110-1301 or visit their web page on the internet at
+%# http://www.gnu.org/copyleft/gpl.html.
 %# 
 %# 
 %# CONTRIBUTION SUBMISSION POLICY:

Modified: RT-BugTracker-Public/html/Public/Dist/Display.html
==============================================================================
--- RT-BugTracker-Public/html/Public/Dist/Display.html	(original)
+++ RT-BugTracker-Public/html/Public/Dist/Display.html	Tue Feb 19 13:11:04 2008
@@ -1,3 +1,50 @@
+%# BEGIN BPS TAGGED BLOCK {{{
+%# 
+%# COPYRIGHT:
+%#  
+%# This software is Copyright (c) 1996-2007 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., 51 Franklin Street, Fifth Floor, Boston, MA
+%# 02110-1301 or visit their web page on the internet at
+%# http://www.gnu.org/copyleft/gpl.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 }}}
 <& /Elements/Header, Title => $Status . ' bugs for ' . $Name &>
 <& /Public/Elements/Tabs,
       Title => $Status . ' bugs for ' . $Name,
@@ -17,7 +64,7 @@
     $m->comp('/Elements/TicketList',
             OrderBy => $OrderBy,
             Order   => $Order,
-            Query   => "Queue = '" . $m->interp->apply_escapes($Name) . "' "
+            Query   => "Queue = '$Name' "
                         . "AND ( Status = 'new' OR Status = 'open' "
                         . "OR Status = 'stalled' )",
             Format  => $Format,
@@ -32,7 +79,7 @@
     $m->comp('/Elements/TicketList',
             OrderBy => $OrderBy,
             Order   => $Order,
-            Query   => "Queue = '" . $m->interp->apply_escapes($Name) . "' "
+            Query   => "Queue = '$Name' "
                         . "AND Status = '" . $Status . q{'},
             Format  => $Format,
             Rows => $Rows,
@@ -74,8 +121,8 @@
 my $maint = join ", ", map { $_->Name } @{$admincc->ItemsArrayRef};
 
 my $current_subtab = "Public/Dist/Display.html?Status="
-                  . $m->interp->apply_escapes($Status) . "&Name="
-                  . $m->interp->apply_escapes($queue->Name);
+                  . $m->interp->apply_escapes($Status, 'u') . "&Name="
+                  . $m->interp->apply_escapes($queue->Name, 'u');
 
 my ($base_url) = ($current_subtab =~ m|^Public/Dist/(.+)$|);
 $base_url .= '&';

Modified: RT-BugTracker-Public/html/Public/Dist/bugs.tsv
==============================================================================
--- RT-BugTracker-Public/html/Public/Dist/bugs.tsv	(original)
+++ RT-BugTracker-Public/html/Public/Dist/bugs.tsv	Tue Feb 19 13:11:04 2008
@@ -1,3 +1,50 @@
+%# BEGIN BPS TAGGED BLOCK {{{
+%# 
+%# COPYRIGHT:
+%#  
+%# This software is Copyright (c) 1996-2007 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., 51 Franklin Street, Fifth Floor, Boston, MA
+%# 02110-1301 or visit their web page on the internet at
+%# http://www.gnu.org/copyleft/gpl.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 }}}
 % while (my $Ticket = $Tickets->Next()) {
 <% $RT::WebURL %>/Ticket/Display.html?id=<% $Ticket->Id %><%"\t"%><% $Ticket->Id %><%"\t"%><% $Ticket->Subject |n %><%"\t"%><% $Ticket->Status |n %>
 % }

Modified: RT-BugTracker-Public/html/Public/Elements/CreateTicket
==============================================================================
--- RT-BugTracker-Public/html/Public/Elements/CreateTicket	(original)
+++ RT-BugTracker-Public/html/Public/Elements/CreateTicket	Tue Feb 19 13:11:04 2008
@@ -2,7 +2,7 @@
 %# 
 %# COPYRIGHT:
 %#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
+%# This software is Copyright (c) 1996-2007 Best Practical Solutions, LLC 
 %#                                          <jesse at bestpractical.com>
 %# 
 %# (Except where explicitly superseded by other copyright notices)
@@ -22,7 +22,9 @@
 %# 
 %# 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.
+%# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+%# 02110-1301 or visit their web page on the internet at
+%# http://www.gnu.org/copyleft/gpl.html.
 %# 
 %# 
 %# CONTRIBUTION SUBMISSION POLICY:

Modified: RT-BugTracker-Public/html/Public/Elements/DistributionList
==============================================================================
--- RT-BugTracker-Public/html/Public/Elements/DistributionList	(original)
+++ RT-BugTracker-Public/html/Public/Elements/DistributionList	Tue Feb 19 13:11:04 2008
@@ -1,3 +1,50 @@
+%# BEGIN BPS TAGGED BLOCK {{{
+%# 
+%# COPYRIGHT:
+%#  
+%# This software is Copyright (c) 1996-2007 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., 51 Franklin Street, Fifth Floor, Boston, MA
+%# 02110-1301 or visit their web page on the internet at
+%# http://www.gnu.org/copyleft/gpl.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 }}}
 <div class="dist-list">
 <ul>
 % my $count  = $queues->Count;
@@ -16,9 +63,9 @@
 %     }
   <li>
     <span class="dist-actions">
-      <a href="<% $RT::WebPath %>/Public/Dist/Display.html?Name=<% $queue->Name %>">Bug list</a>
+      <a href="<% $RT::WebPath %>/Public/Dist/Display.html?Name=<% $queue->Name |u %>">Bug list</a>
       •
-      <a href="<% $RT::WebPath %>/Public/Bug/Report.html?Queue=<% $queue->Name %>">Report a bug</a>
+      <a href="<% $RT::WebPath %>/Public/Bug/Report.html?Queue=<% $queue->Name |u %>">Report a bug</a>
     </span>
     <strong><% $queue->Name %></strong>
   </li>

Modified: RT-BugTracker-Public/html/Public/Elements/ErrorNoDist
==============================================================================
--- RT-BugTracker-Public/html/Public/Elements/ErrorNoDist	(original)
+++ RT-BugTracker-Public/html/Public/Elements/ErrorNoDist	Tue Feb 19 13:11:04 2008
@@ -1,3 +1,50 @@
+%# BEGIN BPS TAGGED BLOCK {{{
+%# 
+%# COPYRIGHT:
+%#  
+%# This software is Copyright (c) 1996-2007 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., 51 Franklin Street, Fifth Floor, Boston, MA
+%# 02110-1301 or visit their web page on the internet at
+%# http://www.gnu.org/copyleft/gpl.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 }}}
 <& /Elements/Header, Title => loc("Error") &>
 <& /Public/Elements/Tabs,
         Title       => loc("Unable to find distribution"),

Modified: RT-BugTracker-Public/html/Public/Elements/ErrorNoUser
==============================================================================
--- RT-BugTracker-Public/html/Public/Elements/ErrorNoUser	(original)
+++ RT-BugTracker-Public/html/Public/Elements/ErrorNoUser	Tue Feb 19 13:11:04 2008
@@ -1,3 +1,50 @@
+%# BEGIN BPS TAGGED BLOCK {{{
+%# 
+%# COPYRIGHT:
+%#  
+%# This software is Copyright (c) 1996-2007 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., 51 Franklin Street, Fifth Floor, Boston, MA
+%# 02110-1301 or visit their web page on the internet at
+%# http://www.gnu.org/copyleft/gpl.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 }}}
 <& /Elements/Header, Title => loc("Error") &>
 <& /Public/Elements/Tabs,
         Title       => loc("Unable to find user"),

Modified: RT-BugTracker-Public/html/Public/Elements/PageLayout
==============================================================================
--- RT-BugTracker-Public/html/Public/Elements/PageLayout	(original)
+++ RT-BugTracker-Public/html/Public/Elements/PageLayout	Tue Feb 19 13:11:04 2008
@@ -2,7 +2,7 @@
 %# 
 %# COPYRIGHT:
 %#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
+%# This software is Copyright (c) 1996-2007 Best Practical Solutions, LLC 
 %#                                          <jesse at bestpractical.com>
 %# 
 %# (Except where explicitly superseded by other copyright notices)
@@ -22,7 +22,9 @@
 %# 
 %# 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.
+%# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+%# 02110-1301 or visit their web page on the internet at
+%# http://www.gnu.org/copyleft/gpl.html.
 %# 
 %# 
 %# CONTRIBUTION SUBMISSION POLICY:

Modified: RT-BugTracker-Public/html/Public/Elements/SimpleSearch
==============================================================================
--- RT-BugTracker-Public/html/Public/Elements/SimpleSearch	(original)
+++ RT-BugTracker-Public/html/Public/Elements/SimpleSearch	Tue Feb 19 13:11:04 2008
@@ -2,7 +2,7 @@
 %# 
 %# COPYRIGHT:
 %#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
+%# This software is Copyright (c) 1996-2007 Best Practical Solutions, LLC 
 %#                                          <jesse at bestpractical.com>
 %# 
 %# (Except where explicitly superseded by other copyright notices)
@@ -22,7 +22,9 @@
 %# 
 %# 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.
+%# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+%# 02110-1301 or visit their web page on the internet at
+%# http://www.gnu.org/copyleft/gpl.html.
 %# 
 %# 
 %# CONTRIBUTION SUBMISSION POLICY:

Modified: RT-BugTracker-Public/html/Public/Elements/Tabs
==============================================================================
--- RT-BugTracker-Public/html/Public/Elements/Tabs	(original)
+++ RT-BugTracker-Public/html/Public/Elements/Tabs	Tue Feb 19 13:11:04 2008
@@ -2,7 +2,7 @@
 %# 
 %# COPYRIGHT:
 %#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
+%# This software is Copyright (c) 1996-2007 Best Practical Solutions, LLC 
 %#                                          <jesse at bestpractical.com>
 %# 
 %# (Except where explicitly superseded by other copyright notices)
@@ -22,7 +22,9 @@
 %# 
 %# 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.
+%# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+%# 02110-1301 or visit their web page on the internet at
+%# http://www.gnu.org/copyleft/gpl.html.
 %# 
 %# 
 %# CONTRIBUTION SUBMISSION POLICY:
@@ -58,8 +60,11 @@
 my $basetopactions = {
         A => { html => $m->scomp('/Public/Elements/CreateTicket') },
         B => { html => $m->scomp('/Public/Elements/SimpleSearch') },
-        0 => { html => $m->scomp('/Elements/ContactInfo') },
     };
+
+$basetopactions->{'0'} = { html => $m->scomp('/Elements/ContactInfo') }
+    if $m->comp_exists('/Elements/ContactInfo');
+
 my $basetabs = {    A => { title => loc('Search Distributions'),
                            path => 'Public/',
                          },
@@ -79,26 +84,23 @@
 }
 
 if ($queue) {
+    my $escaped = $m->interp->apply_escapes($queue, 'u');
     $actions = {
         A => {
             title   => loc("Active bugs"),
-            path    => "Public/Dist/Display.html?Status=Active&Name="
-                       . $m->interp->apply_escapes($queue),
+            path    => "Public/Dist/Display.html?Status=Active&Name=". $escaped,
         },
         Ab => {
             title   => loc("Resolved bugs"),
-            path    => "Public/Dist/Display.html?Status=Resolved&Name="
-                       . $m->interp->apply_escapes($queue),
+            path    => "Public/Dist/Display.html?Status=Resolved&Name=". $escaped,
         },
         Ac => {
             title   => loc("Rejected bugs"),
-            path    => "Public/Dist/Display.html?Status=Rejected&Name="
-                       . $m->interp->apply_escapes($queue),
+            path    => "Public/Dist/Display.html?Status=Rejected&Name=". $escaped,
         },
         B => {
             title   => loc("Report a new bug"),
-            path    => 'Public/Bug/Report.html?Queue='
-                        . $m->interp->apply_escapes($queue),
+            path    => 'Public/Bug/Report.html?Queue='. $escaped,
         },
     };
 }

Modified: RT-BugTracker-Public/html/Public/Search/Elements/Results
==============================================================================
--- RT-BugTracker-Public/html/Public/Search/Elements/Results	(original)
+++ RT-BugTracker-Public/html/Public/Search/Elements/Results	Tue Feb 19 13:11:04 2008
@@ -2,7 +2,7 @@
 %# 
 %# COPYRIGHT:
 %#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
+%# This software is Copyright (c) 1996-2007 Best Practical Solutions, LLC 
 %#                                          <jesse at bestpractical.com>
 %# 
 %# (Except where explicitly superseded by other copyright notices)
@@ -22,7 +22,9 @@
 %# 
 %# 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.
+%# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+%# 02110-1301 or visit their web page on the internet at
+%# http://www.gnu.org/copyleft/gpl.html.
 %# 
 %# 
 %# CONTRIBUTION SUBMISSION POLICY:
@@ -43,7 +45,6 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-
 %# TMP: We'll disable sorting for now since it doesn't work right
 %
 <& /Elements/TicketList, 

Modified: RT-BugTracker-Public/html/Public/Search/Simple.html
==============================================================================
--- RT-BugTracker-Public/html/Public/Search/Simple.html	(original)
+++ RT-BugTracker-Public/html/Public/Search/Simple.html	Tue Feb 19 13:11:04 2008
@@ -2,7 +2,7 @@
 %# 
 %# COPYRIGHT:
 %#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
+%# This software is Copyright (c) 1996-2007 Best Practical Solutions, LLC 
 %#                                          <jesse at bestpractical.com>
 %# 
 %# (Except where explicitly superseded by other copyright notices)
@@ -22,7 +22,9 @@
 %# 
 %# 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.
+%# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+%# 02110-1301 or visit their web page on the internet at
+%# http://www.gnu.org/copyleft/gpl.html.
 %# 
 %# 
 %# CONTRIBUTION SUBMISSION POLICY:
@@ -85,14 +87,14 @@
         my $queue = RT::Queue->new( $session{'CurrentUser'} );
         $queue->Load($q);
         if ($queue->id) { 
-            $m->redirect( '/Public/Dist/Display.html?Name=' . $m->interp->apply_escapes($q) );
+            $m->redirect( '/Public/Dist/Display.html?Name=' . $m->interp->apply_escapes($q, 'u') );
             $m->abort();
         }
 
         my $user = RT::User->new( $session{'CurrentUser'} );
         $user->Load($q);
         if ($user->id) {
-            $m->redirect( '/Public/Dist/ByMaintainer.html?Name=' . $m->interp->apply_escapes($q) );
+            $m->redirect( '/Public/Dist/ByMaintainer.html?Name=' . $m->interp->apply_escapes($q, 'u') );
             $m->abort();
         }
     }

Modified: RT-BugTracker-Public/html/Public/index.html
==============================================================================
--- RT-BugTracker-Public/html/Public/index.html	(original)
+++ RT-BugTracker-Public/html/Public/index.html	Tue Feb 19 13:11:04 2008
@@ -2,7 +2,7 @@
 %# 
 %# COPYRIGHT:
 %#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
+%# This software is Copyright (c) 1996-2007 Best Practical Solutions, LLC 
 %#                                          <jesse at bestpractical.com>
 %# 
 %# (Except where explicitly superseded by other copyright notices)
@@ -22,7 +22,9 @@
 %# 
 %# 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.
+%# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+%# 02110-1301 or visit their web page on the internet at
+%# http://www.gnu.org/copyleft/gpl.html.
 %# 
 %# 
 %# CONTRIBUTION SUBMISSION POLICY:

Modified: RT-BugTracker-Public/lib/RT/BugTracker/Public.pm
==============================================================================
--- RT-BugTracker-Public/lib/RT/BugTracker/Public.pm	(original)
+++ RT-BugTracker-Public/lib/RT/BugTracker/Public.pm	Tue Feb 19 13:11:04 2008
@@ -1,3 +1,50 @@
+# BEGIN BPS TAGGED BLOCK {{{
+# 
+# COPYRIGHT:
+#  
+# This software is Copyright (c) 1996-2007 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., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301 or visit their web page on the internet at
+# http://www.gnu.org/copyleft/gpl.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 }}}
 =head1 COPYRIGHT
 
 This extension is Copyright (C) 2005 Best Practical Solutions, LLC.



More information about the Bps-public-commit mailing list