Set($DontSearchFileAttachments, undef);
+# The GD module (which RT uses for graphs) uses a builtin font that doesn't
+# have full Unicode support. You can use a particular TrueType font by setting
+# $ChartFont to the absolute path of that font. Your GD library must have
+# support for TrueType fonts to use this option.
+
+Set($ChartFont, undef);
+
# }}}
</%ARGS>
<%PERL>
+use HTML::Entities;
$m->out('<tr class="' . ( $Warning ? 'warnline' : $i % 2 ? 'oddline' : 'evenline' ) . '" >' );
my $item;
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('>');
% }
<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 ) {
<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>
$subactions => undef
$title => $m->callers(-1)->path
$AppName => undef
+$show_menu => 1
</%ARGS>
tabs => $tabs,
actions => $actions,
subactions => $subactions,
- title => $Title
+ title => $Title,
+ show_menu => $show_menu,
&>
<a name="skipnav" id="skipnav" accesskey="8"></a>
<%INIT>
$actions => undef
$subactions => undef
$Title => undef
+$show_menu => 1
</%ARGS>
ParentObj => $message
);
-}
</%PERL>
</div>
+% }
<%ARGS>
$Ticket => undef
$Transaction => undef
$title_class => ''
$titleright_href => undef
$titleright => undef
-$contentbg => "#d4d4d4"
-$color => "#336699"
$id => ''
$hideable => 1
</%ARGS>
my ($return,$msg) = $new_entry->Create(%$item);
unless ($return) {
print "(Error: $msg)\n";
- exit;
+ next;
}
print $return. ".";
}
my ($return,$msg) = $new_entry->Create(%$item);
unless ($return) {
print "(Error: $msg)\n";
- exit;
+ next;
}
print $return. ".";
}