]> git.p6c8.net - jirafeau.git/blob - lib/template/header.php
changed label key to password
[jirafeau.git] / lib / template / header.php
1 <?php
2 header("Vary: Accept");
3 if(stristr($_SERVER['HTTP_ACCEPT'], 'application/xhtml+xml')) {
4 $content_type = 'application/xhtml+xml; charset=utf-8';
5 } else {
6 $content_type = 'text/html; charset=utf-8';
7 }
8
9 header('Content-Type: ' . $content_type);
10
11 ?>
12 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
13 <html xmlns="http://www.w3.org/1999/xhtml">
14 <head>
15 <title><?php echo _('Jirafeau, your web file repository'); ?></title>
16 <meta http-equiv="Content-Type" content="<?php echo $content_type; ?>" />
17 <link href="<?php echo $cfg['web_root'] . 'media/' . $cfg['style'] . '/style.css.php'; ?>" rel="stylesheet" type="text/css" />
18 </head>
19 <body>
20
21 <div id="content">
22 <h1><a href="<?php echo $cfg['web_root']; ?>"><?php echo _('Jirafeau, your web file repository'); ?></a></h1>

patrick-canterino.de