[Bps-public-commit] r20164 - RT-Extension-rt_cpan_org/html/Elements

ruz at bestpractical.com ruz at bestpractical.com
Mon Nov 30 19:41:12 EST 2009


Author: ruz
Date: Mon Nov 30 19:41:12 2009
New Revision: 20164

Modified:
   RT-Extension-rt_cpan_org/html/Elements/Logo

Log:
* update Logo

Modified: RT-Extension-rt_cpan_org/html/Elements/Logo
==============================================================================
--- RT-Extension-rt_cpan_org/html/Elements/Logo	(original)
+++ RT-Extension-rt_cpan_org/html/Elements/Logo	Mon Nov 30 19:41:12 2009
@@ -1,8 +1,8 @@
 %# BEGIN BPS TAGGED BLOCK {{{
 %# 
 %# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2007 Best Practical Solutions, LLC 
+%# 
+%# This software is Copyright (c) 1996-2009 Best Practical Solutions, LLC
 %#                                          <jesse at bestpractical.com>
 %# 
 %# (Except where explicitly superseded by other copyright notices)
@@ -24,7 +24,7 @@
 %# 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.
+%# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html.
 %# 
 %# 
 %# CONTRIBUTION SUBMISSION POLICY:
@@ -45,12 +45,22 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-  <div id="logo">
-    <a href="http://rt.cpan.org/"><img src="<%$RT::WebImagesURL%>/cpan.jpg" alt="<%loc("RT for CPAN")%>" width="195" height="60"></a>
-% if ($show_name) {
-    <div class="rtname"><% loc("RT for [_1]", $RT::rtname) %></div>
+<div id="logo">
+<a href="<% RT->Config->Get('WebBaseURL') %>"><img
+    src="<% $ARGS{'LogoURL'} || RT->Config->Get('LogoURL') %>"
+    alt="<% loc("RT for CPAN") %>"
+    width="195" height="60" /></a>
+% if ( $ShowName ) {
+    <span class="rtname"><% $Name || loc("RT for [_1]", RT->Config->Get('rtname')) %></span>
 % }
-  </div>
-<%args>
-  $show_name => 1
-</%args>
+</div>
+<%INIT>
+if ( exists $ARGS{'show_name'} ) {
+    $RT::Logger->warning('show_name argument was renamed, use ShowName');
+    $ShowName = delete $ARGS{'show_name'};
+}
+</%INIT>
+<%ARGS>
+$ShowName => 1
+$Name => undef
+</%ARGS>



More information about the Bps-public-commit mailing list