/[web]/www/trunk/404.php
ViewVC logotype

Contents of /www/trunk/404.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2554 - (show annotations) (download)
Sun Jun 2 18:41:28 2013 UTC (10 years, 10 months ago) by filip
File size: 1337 byte(s)
correction for correct link for map page
1 <?php
2 define('HLANG', true);
3 require 'langs.php'; // needs absolute path in some form to be link depth independent
4 _lang_load($locale, '404');
5
6 header('HTTP/1.0 404 Not Found');
7 header('Status: 404 Not Found');
8 $locale = ($locale == '404' ? 'en' : $locale);
9 ?><!DOCTYPE html>
10 <html dir="ltr" lang="<?php echo $locale; ?>">
11 <head>
12 <meta charset="utf-8">
13 <title><?php _e('Sorry, we could not find this page.')?></title>
14 <meta http-equiv="expires" content="0">
15 <meta name="robots" content="noindex, nofollow">
16 <meta name="author" content="Mageia">
17 <link rel="stylesheet" type="text/css" href="/g/style/all.css">
18 <?php include 'analytics.php'; ?>
19 </head>
20 <body>
21 <?php echo $hsnav; ?>
22 <h1 id="mgnavt"><?php _e('Sorry, we could not find this page.')?></h1>
23 <div id="doc" class="yui-t7">
24 <div id="bd" role="main">
25 <div class="yui-g">
26 <div class="para values">
27 <ul class="hl"><?php
28 _h('Try searching it on <a href="%s">mageia.org site map</a>,', array("/$locale/map/"), 'li');
29 _h('or try to <a href="%s">search with Google</a>.', array('https://www.google.com/?q=site:mageia.org'), 'li');
30 ?></ul>
31 </div>
32 </div>
33 </div>
34 </div>
35 </body>
36 </html>

  ViewVC Help
Powered by ViewVC 1.1.30