diff options
Diffstat (limited to 'templates/da/header.tmpl.in')
-rw-r--r-- | templates/da/header.tmpl.in | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/templates/da/header.tmpl.in b/templates/da/header.tmpl.in new file mode 100644 index 000000000..80e3bed49 --- /dev/null +++ b/templates/da/header.tmpl.in @@ -0,0 +1,43 @@ +<!DOCTYPE HTML> +<html> + <head> + <link rel="stylesheet" href="/cups.css" type="text/css"> + <link rel="shortcut icon" href="/apple-touch-icon.png" type="image/png"> + <meta charset="utf-8"> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + {refresh_page?<meta http-equiv="refresh" content="{refresh_page}">:} + <meta http-equiv="X-UA-Compatible" content="IE=9"> + <meta name="viewport" content="width=device-width"> + <style>html{display:none;}</style> + <script type="text/javascript"><!-- + /* Only display document if we are not in a frame... */ + if (self == top) { + document.documentElement.style.display = 'block'; + } else { + top.location = self.location; + } + + /* Show an error if cookies are disabled */ + function check_cookies() { + if (!navigator.cookieEnabled) { + document.getElementById('body').innerHTML = 'Siden bruger cookies til at forhindre almindelige cross-site-angreb. Aktivér venligst cookies i din browser.'; + } + } + --></SCRIPT> + <title>{title} - CUPS @CUPS_VERSION@@CUPS_REVISION@</title> + </head> + <body onload="check_cookies();"> + <div class="header"> + <ul> + <li><a href="http://www.cups.org/" target="_blank">CUPS.org</a></li> + <li><a href="/">Hjem</a></li> + <li><a {SECTION=admin?class="active" :}href="/admin">Administration</a></li> + <li><a {SECTION=classes?class="active" :}href="/classes/">Klasser</a></li> + <li><a {SECTION=help?class="active" :}href="/help/">Hjælp</a></li> + <li><a {SECTION=jobs?class="active" :}href="/jobs/">Jobs</a></li> + <li><a {SECTION=printers?class="active" :}href="/printers/">Printere</a></li> + </ul> + </div> + <div class="body"> + <div class="row"> + <h1>{title}</h1> |