diff options
Diffstat (limited to 'rt/html')
-rw-r--r-- | rt/html/Elements/CollectionAsTable/Row | 5 | ||||
-rw-r--r-- | rt/html/Elements/Header | 2 | ||||
-rw-r--r-- | rt/html/Elements/PageLayout | 3 | ||||
-rw-r--r-- | rt/html/Elements/Tabs | 4 | ||||
-rw-r--r-- | rt/html/Ticket/Elements/ShowTransactionAttachments | 2 | ||||
-rwxr-xr-x | rt/html/Widgets/TitleBoxStart | 2 |
6 files changed, 12 insertions, 6 deletions
diff --git a/rt/html/Elements/CollectionAsTable/Row b/rt/html/Elements/CollectionAsTable/Row index 64ecef41c..d8492265e 100644 --- a/rt/html/Elements/CollectionAsTable/Row +++ b/rt/html/Elements/CollectionAsTable/Row @@ -55,6 +55,7 @@ $Warning => undef </%ARGS> <%PERL> +use HTML::Entities; $m->out('<tr class="' . ( $Warning ? 'warnline' : $i % 2 ? 'oddline' : 'evenline' ) . '" >' ); my $item; foreach my $column (@Format) { @@ -71,7 +72,9 @@ foreach my $column (@Format) { next; } $item++; - $m->out('<td class="collection-as-table" '); + my $class = $column->{class} + ? encode_entities($column->{class}, q{'"&<>}) : 'collection-as-table'; + $m->out(qq{<td class="$class" }); $m->out( 'align="' . $column->{align} . '"' ) if ( $column->{align} ); $m->out( 'style="' . $column->{style} . '"' ) if ( $column->{style} ); $m->out('>'); diff --git a/rt/html/Elements/Header b/rt/html/Elements/Header index 4ac38cdf4..bf6fa46fa 100644 --- a/rt/html/Elements/Header +++ b/rt/html/Elements/Header @@ -58,7 +58,7 @@ % } <link rel="shortcut icon" href="<%$RT::WebImagesURL%>/favicon.png" type="image/png" /> -<link rel="stylesheet" href="<%$RT::WebPath%>/NoAuth/css/<% $RT::WebDefaultStylesheet %>/main.css" type="text/css" media="all" /> +<link rel="stylesheet" href="<%$RT::WebPath%>/NoAuth/css/<% $RT::WebDefaultStylesheet %>/main-squished.css" type="text/css" media="all" /> <link rel="stylesheet" href="<%$RT::WebPath%>/NoAuth/css/print.css" type="text/css" media="print" /> % if ( $RSSAutoDiscovery ) { diff --git a/rt/html/Elements/PageLayout b/rt/html/Elements/PageLayout index 1aa149013..b9fd31f71 100644 --- a/rt/html/Elements/PageLayout +++ b/rt/html/Elements/PageLayout @@ -75,9 +75,11 @@ <TR HEIGHT="100%"> <TD> +% if ( $show_menu ) { <div id="nav"> <& /Elements/Menu, toptabs => $toptabs, current_toptab => $current_toptab &> </div> +% } <div id="header"> <h1><%$title%></h1> @@ -250,4 +252,5 @@ $actions => undef $subactions => undef $title => $m->callers(-1)->path $AppName => undef +$show_menu => 1 </%ARGS> diff --git a/rt/html/Elements/Tabs b/rt/html/Elements/Tabs index f94711c3c..9d1eea602 100644 --- a/rt/html/Elements/Tabs +++ b/rt/html/Elements/Tabs @@ -53,7 +53,8 @@ tabs => $tabs, actions => $actions, subactions => $subactions, - title => $Title + title => $Title, + show_menu => $show_menu, &> <a name="skipnav" id="skipnav" accesskey="8"></a> <%INIT> @@ -132,4 +133,5 @@ $tabs => undef $actions => undef $subactions => undef $Title => undef +$show_menu => 1 </%ARGS> diff --git a/rt/html/Ticket/Elements/ShowTransactionAttachments b/rt/html/Ticket/Elements/ShowTransactionAttachments index b014d07c6..85e04e5e5 100644 --- a/rt/html/Ticket/Elements/ShowTransactionAttachments +++ b/rt/html/Ticket/Elements/ShowTransactionAttachments @@ -182,9 +182,9 @@ $m->comp( ParentObj => $message ); -} </%PERL> </div> +% } <%ARGS> $Ticket => undef $Transaction => undef diff --git a/rt/html/Widgets/TitleBoxStart b/rt/html/Widgets/TitleBoxStart index 1320b8f66..1d8548d00 100755 --- a/rt/html/Widgets/TitleBoxStart +++ b/rt/html/Widgets/TitleBoxStart @@ -64,8 +64,6 @@ $title => '' $title_class => '' $titleright_href => undef $titleright => undef -$contentbg => "#d4d4d4" -$color => "#336699" $id => '' $hideable => 1 </%ARGS> |