blob: 4af62996cb3dfaa2c111e559d1f361658cc2bba5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
<%args>
$title => undef
$show_home_button => 1
</%args>
<%init>
$r->headers_out->{'Pragma'} = 'no-cache';
$r->headers_out->{'Cache-control'} = 'no-cache';
my $head = '';
my $etc = '';
</%init>
<& /elements/header.html, {
'title' => $title,
'head' => $head,
'etc' => $etc,
'nocss' => 1,
'nobr' => 1,
'mobile' => 1,
} &>
<link rel="stylesheet" type="text/css" href="<%RT->Config->Get('WebPath')|n%>/m/style.css"/>
% if ( 0 ) { # Disabled in favor of Freeside header
<html>
<head>
<title><%$title%></title>
</head>
<body>
% if ($show_home_button) {
% # The align is for older browsers, like the blackberry
<div id="gohome" align="right">
<a href="<%RT->Config->Get('WebPath')%>/m/"><&|/l&>Homepage</&></a>
</div>
% }
% if ($title) {
<h1><%$title%></h1>
% }
% } # disabled
|