Dotclear

source: inc/core_error.php @ 2760:875220f2367e

Revision 2760:875220f2367e, 1.3 KB checked in by franck <carnet.franck.paul@…>, 11 years ago (diff)

Switch from XHTML to HTML5 for backend

Line 
1<?php
2# -- BEGIN LICENSE BLOCK ---------------------------------------
3#
4# This file is part of Dotclear 2.
5#
6# Copyright (c) 2003-2013 Olivier Meunier & Association Dotclear
7# Licensed under the GPL version 2.0 license.
8# See LICENSE file or
9# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
10#
11# -- END LICENSE BLOCK -----------------------------------------
12
13header('Content-Type: text/html; charset=utf-8');
14header("HTTP/1.0 ".$code." ".$summary);
15?>
16<!DOCTYPE html>
17<html lang="en">
18<head>
19  <meta charset="UTF-8" />
20  <meta name="ROBOTS" content="NOARCHIVE,NOINDEX,NOFOLLOW" />
21  <meta name="GOOGLEBOT" content="NOSNIPPET" />
22  <title>Dotclear - Error</title>
23  <style media="screen" type="text/css">
24  <!--
25  body {
26     font: 62.5%/1.5em "DejaVu Sans","Lucida Grande","Lucida Sans Unicode",Arial,sans-serif;
27     color : #000;
28     background : #E5E3DA;
29     margin : 0;
30     padding : 0;
31  }
32  #content {
33       margin: 0 25%;
34       padding: 1px 1em 2em;
35       background: #fff;
36       font-size: 1.2em;
37  }
38  a, a:link, a:visited {
39     color : #2373A8;
40     text-decoration : none;
41     border-bottom : 1px dotted #f90;
42  }
43  h1 {
44     color: #2373A8;
45     font-size: 2.5em;
46     font-weight: normal;
47  }
48
49  h2 {
50     font-size: 1.5em;
51  }
52  -->
53</style>
54</head>
55
56<body>
57<div id="content">
58<h1>Dotclear</h1>
59<h2><?php echo $summary; ?></h2>
60<?php echo $message; ?></div>
61</body>
62</html>
Note: See TracBrowser for help on using the repository browser.

Sites map