]> git.ipfire.org Git - thirdparty/cups.git/blame - templates/header.tmpl.in
Don't generate certificates that expire on Feb 29th (Issue #5643)
[thirdparty/cups.git] / templates / header.tmpl.in
CommitLineData
dfc45c1b
MS
1<!DOCTYPE HTML>
2<html>
3 <head>
4 <link rel="stylesheet" href="/cups.css" type="text/css">
5 <link rel="shortcut icon" href="/apple-touch-icon.png" type="image/png">
6 <meta charset="utf-8">
7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
8 {refresh_page?<meta http-equiv="refresh" content="{refresh_page}">:}
9 <meta http-equiv="X-UA-Compatible" content="IE=9">
10 <meta name="viewport" content="width=device-width">
241474b0 11 <style>html{display:none;}</style>
dfc45c1b 12 <script type="text/javascript"><!--
241474b0
MS
13 /* Only display document if we are not in a frame... */
14 if (self == top) {
15 document.documentElement.style.display = 'block';
16 } else {
17 top.location = self.location;
18 }
19
dfc45c1b
MS
20 /* Show an error if cookies are disabled */
21 function check_cookies() {
22 if (!navigator.cookieEnabled) {
23 document.getElementById('body').innerHTML = 'This page uses cookies to prevent common cross-site attacks. Please enable cookies in your browser.';
3dd9c340 24 }
dfc45c1b
MS
25 }
26 --></SCRIPT>
27 <title>{title} - CUPS @CUPS_VERSION@@CUPS_REVISION@</title>
28 </head>
29 <body onload="check_cookies();">
30 <div class="header">
31 <ul>
8a4b51bb 32 <li><a href="http://www.cups.org/" target="_blank">CUPS.org</a></li>
dfc45c1b
MS
33 <li><a href="/">Home</a></li>
34 <li><a {SECTION=admin?class="active" :}href="/admin">Administration</a></li>
35 <li><a {SECTION=classes?class="active" :}href="/classes/">Classes</a></li>
36 <li><a {SECTION=help?class="active" :}href="/help/">Help</a></li>
37 <li><a {SECTION=jobs?class="active" :}href="/jobs/">Jobs</a></li>
38 <li><a {SECTION=printers?class="active" :}href="/printers/">Printers</a></li>
39 </ul>
40 </div>
41 <div class="body">
42 <div class="row">
43 <h1>{title}</h1>