[Rt-commit] r5676 - in rt/branches/3.7-EXPERIMENTAL: .
ruz at bestpractical.com
ruz at bestpractical.com
Wed Aug 2 15:41:48 EDT 2006
Author: ruz
Date: Wed Aug 2 15:41:48 2006
New Revision: 5676
Modified:
rt/branches/3.7-EXPERIMENTAL/ (props changed)
rt/branches/3.7-EXPERIMENTAL/html/Elements/PageLayout
Log:
r3510 at cubic-pc: cubic | 2006-06-29 06:25:34 +0400
* minor
Modified: rt/branches/3.7-EXPERIMENTAL/html/Elements/PageLayout
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Elements/PageLayout (original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Elements/PageLayout Wed Aug 2 15:41:48 2006
@@ -57,7 +57,7 @@
</div>
<div id="header">
-<h1><%$title%></h1>
+<h1><% $title %></h1>
% my $sep = 0;
% my $postsep = 0;
@@ -161,15 +161,13 @@
<%INIT>
if ( defined $current_toptab ) {
foreach my $tab ( values %{$toptabs} ) {
- if ( $tab->{'path'} eq $current_toptab ) {
- $tab->{'subtabs'} = $tabs;
- $tab->{'current_subtab'} = $current_tab;
- }
+ next unless $tab->{'path'} eq $current_toptab;
+ @{ $tab }{ qw(subtabs current_subtab) } = ($tabs, $current_tab);
}
}
-if (! defined($AppName)) {
- $AppName = loc("RT for [_1]", RT->Config->Get('rtname'));
+unless ( defined $AppName ) {
+ $AppName = loc("RT for [_1]", RT->Config->Get('rtname'));
}
my ($menu_depth, $almost_last, $page_tabs);
More information about the Rt-commit
mailing list