]>
git.p6c8.net - jirafeau_mojo42.git/blob - pub/lib/template/header.php
2 header("Vary: Accept");
3 if(stristr($_SERVER['HTTP_ACCEPT'], 'application/xhtml+xml')) {
4 $content_type = 'application/xhtml+xml; charset=utf-8';
6 $content_type = 'text/html; 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 _('Jyraphe, 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 _('Jyraphe, your web file repository'); ?
></a
></h1
>
patrick-canterino.de