projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
allow expired cards to remain on file; only check edits for an expired card when...
[freeside.git]
/
rt
/
html
/
Elements
/
PageLayout
diff --git
a/rt/html/Elements/PageLayout
b/rt/html/Elements/PageLayout
index
4670a8b
..
94bdbe1
100644
(file)
--- a/
rt/html/Elements/PageLayout
+++ b/
rt/html/Elements/PageLayout
@@
-1,8
+1,8
@@
-%#
{{{ BEGIN BPS TAGGED BLOCK
+%#
BEGIN BPS TAGGED BLOCK {{{
%#
%# COPYRIGHT:
%#
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-200
4
Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-200
5
Best Practical Solutions, LLC
%# <jesse@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
%# <jesse@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
@@
-42,13
+42,13
@@
%# works based on those contributions, and sublicense and distribute
%# those contributions and any derivatives thereof.
%#
%# works based on those contributions, and sublicense and distribute
%# those contributions and any derivatives thereof.
%#
-%#
}}} END BPS TAGGED BLOCK
-<table class="
darkblue
" border=0 cellspacing=0 cellpadding=0 width="100%">
- <th class="
titlebox" align="left"
><span class="rtname"><%$AppName%></span>
+%#
END BPS TAGGED BLOCK }}}
+<table class="
lightgray
" border=0 cellspacing=0 cellpadding=0 width="100%">
+ <th class="
lightgray" align="left" width=42%
><span class="rtname"><%$AppName%></span>
</th>
<span class="topactions">
% foreach my $action (sort keys %{$topactions}) {
</th>
<span class="topactions">
% foreach my $action (sort keys %{$topactions}) {
- <td class="
darkblue
right">
+ <td class="
lightgray
right">
<%$topactions->{"$action"}->{'html'} |n %>
</td>
% }
<%$topactions->{"$action"}->{'html'} |n %>
</td>
% }
@@
-57,18
+57,18
@@
<table border=0 cellspacing=0 cellpadding=0 width="100%" height="100%">
%# Vertical menu
<TR height="100%">
<table border=0 cellspacing=0 cellpadding=0 width="100%" height="100%">
%# Vertical menu
<TR height="100%">
-<TD valign="top" width="140" class="
blue
">
+<TD valign="top" width="140" class="
lightgray
">
<& /Elements/Menu, toptabs => $toptabs, current_toptab => $current_toptab &>
</TD>
<td valign="top">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<& /Elements/Menu, toptabs => $toptabs, current_toptab => $current_toptab &>
</TD>
<td valign="top">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
- <td class="
blue
" valign="top">
+ <td class="
mediumgray
" valign="top">
<span class="title"><%$title%></span>
</td>
</tr>
<tr>
<span class="title"><%$title%></span>
</td>
</tr>
<tr>
-<td class="
blue
right" valign="top">
+<td class="
mediumgray
right" valign="top">
<span class="nav">
% if ($actions) {
% my @actions;
<span class="nav">
% if ($actions) {
% my @actions;
@@
-76,10
+76,11
@@
% if ($actions->{"$action"}->{'html'}) {
% push @actions, $actions->{"$action"}->{'html'};
% } else {
% if ($actions->{"$action"}->{'html'}) {
% push @actions, $actions->{"$action"}->{'html'};
% } else {
-% push @actions,
"<A class='nav' HREF=\"".$RT::WebPath."/".$actions->{$action}->{'path'}."\">".$actions->{$action}->{'title'}."</A
>";
+% push @actions,
qq|<a class="nav" href="|.$RT::WebPath."/".$actions->{$action}->{'path'}.qq|">|.$actions->{$action}->{'title'}."</a
>";
% }
% }
% }
% }
-<% join(" | ", @actions) | n %>
+%#<% join(" | ", @actions) | n %>
+<% '['. join("] [", @actions). ']' | n %>
% if ($subactions) {
% my @actions;
% foreach my $action (sort keys %{$subactions}) {
% if ($subactions) {
% my @actions;
% foreach my $action (sort keys %{$subactions}) {
@@
-93,11
+94,12
@@
</tr>
<TR valign="top">
<TD valign="top" width="100%" height="100%" class="mainbody" >
</tr>
<TR valign="top">
<TD valign="top" width="100%" height="100%" class="mainbody" >
-
+<& /Elements/Callback, _CallbackName => 'BeforeBody', %ARGS &>
+%$m->flush_buffer(); # we've got the page laid out, let's flush the buffer;
<%INIT>
foreach my $tab (sort keys %{$toptabs}) {
<%INIT>
foreach my $tab (sort keys %{$toptabs}) {
- if ($toptabs->{$tab}->{'path'} eq $current_toptab) {
+ if ($
current_toptab && $
toptabs->{$tab}->{'path'} eq $current_toptab) {
$toptabs->{$tab}->{"subtabs"} = $tabs;
$toptabs->{$tab}->{"current_subtab"} = $current_tab;
}
$toptabs->{$tab}->{"subtabs"} = $tabs;
$toptabs->{$tab}->{"current_subtab"} = $current_tab;
}
@@
-117,5
+119,5
@@
$tabs => undef
$actions => undef
$subactions => undef
$title => $m->callers(-1)->path
$actions => undef
$subactions => undef
$title => $m->callers(-1)->path
-$AppName =>
undef
+$AppName =>
''
</%ARGS>
</%ARGS>