[Rt-commit] r15888 - in rt/branches/3.999-DANGEROUS: share/html/_elements

sunnavy at bestpractical.com sunnavy at bestpractical.com
Wed Sep 10 12:48:24 EDT 2008


Author: sunnavy
Date: Wed Sep 10 12:48:24 2008
New Revision: 15888

Added:
   rt/branches/3.999-DANGEROUS/share/html/_elements/
   rt/branches/3.999-DANGEROUS/share/html/_elements/wrapper
Modified:
   rt/branches/3.999-DANGEROUS/   (props changed)

Log:
 r16573 at sunnavys-mb:  sunnavy | 2008-09-10 23:31:10 +0800
 added wrapper


Added: rt/branches/3.999-DANGEROUS/share/html/_elements/wrapper
==============================================================================
--- (empty file)
+++ rt/branches/3.999-DANGEROUS/share/html/_elements/wrapper	Wed Sep 10 12:48:24 2008
@@ -0,0 +1,87 @@
+%# 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 }}}
+
+%# temporarily disable head and footer in login and logout page
+%# or this will cause never-stop redirections
+
+% unless ( $no_wrap ) {
+<& /Elements/Header, %{Jifty->web->request->arguments} &>
+% }
+
+<% $m->content |n%>
+
+% unless ( $no_wrap ) {
+<& /Elements/Footer, %{Jifty->web->request->arguments} &>
+% }
+
+</body>
+% Jifty->handler->stash->{'in_body'} = 0;
+</html>
+<%args>
+$prefs => '/Prefs/Other.html'
+$focus => ''
+$title =>  'RT'
+$code => undef
+$refresh => 0
+$why => undef
+$show_bar => 1
+$url => undef
+$rss_auto_discovery => undef
+$onload => undef
+$link_rel => undef
+$java_script => 1
+
+$no_wrap => 0
+# below are footer's args
+$debug => 0
+$menu => 1
+</%args>
+
+<%init>
+$no_wrap = 1 if Jifty->web->request->path =~ m{^/log(in|out)};
+</%init>


More information about the Rt-commit mailing list