projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT 4.2.11, ticket#13852
[freeside.git]
/
rt
/
share
/
html
/
Elements
/
PageLayout
diff --git
a/rt/share/html/Elements/PageLayout
b/rt/share/html/Elements/PageLayout
index
9e8aecb
..
edd71d1
100755
(executable)
--- a/
rt/share/html/Elements/PageLayout
+++ b/
rt/share/html/Elements/PageLayout
@@
-55,6
+55,11
@@
% if (0) { ## new ticket via customer, and we already have a ticket search box
<div id="topactions"><& /Elements/WidgetBar, menu => PageWidgets() &></div>
% }
% if (0) { ## new ticket via customer, and we already have a ticket search box
<div id="topactions"><& /Elements/WidgetBar, menu => PageWidgets() &></div>
% }
+
+% if ($m->comp_exists($stylesheet_plugin) ) {
+<& $stylesheet_plugin &>
+% }
+
<div id="body">
% $m->callback( %ARGS, CallbackName => 'BeforeBody' );
% $m->flush_buffer(); # we've got the page laid out, let's flush the buffer;
<div id="body">
% $m->callback( %ARGS, CallbackName => 'BeforeBody' );
% $m->flush_buffer(); # we've got the page laid out, let's flush the buffer;
@@
-62,3
+67,9
@@
$title => $m->callers(-1)->path
$show_menu => 1
</%ARGS>
$title => $m->callers(-1)->path
$show_menu => 1
</%ARGS>
+<%init>
+my $style = $session{'CurrentUser'}
+ ? $session{'CurrentUser'}->Stylesheet
+ : RT->Config->Get('WebDefaultStylesheet');
+my $stylesheet_plugin = "/NoAuth/css/".$style."/AfterMenus";
+</%init>