]>
git.p6c8.net - jirafeau.git/blob - lib/template/header.php
2 header("Vary: Accept");
4 $content_type = 'text/html; charset=utf-8';
6 if (stristr ($_SERVER['HTTP_ACCEPT'], 'application/xhtml+xml'))
7 $content_type = 'application/xhtml+xml; charset=utf-8';
9 header('Content-Type: ' . $content_type);
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">
15 <title
><?php
echo t('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" />
22 <h1
><a href
="<?php echo $cfg['web_root']; ?>"><?php
echo t('Jirafeau, your web file repository'); ?
></a
></h1
>
patrick-canterino.de