[ Index ]
 

Code source de Joomla 1.0.13

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/templates/ -> 404.php (source)

   1  <?php
   2  /**

   3  * @version $Id: sef.php 1553 2005-12-24 17:04:09Z Saka $

   4  * @package Joomla

   5  * @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.

   6  * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php

   7  * Joomla! is free software. This version may have been modified pursuant

   8  * to the GNU General Public License, and as distributed it includes or

   9  * is derivative of works licensed under the GNU General Public License or

  10  * other free or open source software licenses.

  11  * See COPYRIGHT.php for copyright notices and details.

  12  */
  13  
  14  // no direct access

  15  defined( '_VALID_MOS' ) or die( 'Restricted access' );
  16  
  17  // loads english language file by default

  18  if ($mosConfig_lang=='') {
  19      $mosConfig_lang = 'english';
  20  }
  21  // load language file

  22  include_once( 'language/' . $mosConfig_lang . '.php' );
  23  
  24  // backward compatibility

  25  if (!defined( '_404' )) {
  26      define( '_404', 'We\'re sorry but the page you requested could not be found.' );
  27  }
  28  if (!defined( '_404_RTS' )) {
  29      define( '_404_RTS', 'Return to site' );
  30  }
  31  ?>
  32  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  33  <html xmlns="http://www.w3.org/1999/xhtml">
  34  <head>
  35  <title>404 Not Found - <?php echo $mosConfig_sitename; ?></title>
  36  <meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
  37  <style type="text/css">
  38      body {
  39          font-family: Arial, Helvetica, Sans Serif;
  40          font-size: 11px;
  41          color: #333333;
  42          background: #ffffff;
  43          text-align: center;
  44      }
  45  </style>
  46  </head>
  47  <body>
  48  
  49  <h2>
  50      <?php echo $mosConfig_sitename; ?>
  51  </h2>
  52  <h2>
  53      <?php echo _404;?>
  54  </h2>
  55  <h3>
  56      <a href="<?php echo $mosConfig_live_site; ?>">
  57          <?php echo _404_RTS;?></a>
  58  </h3>
  59  <br />
  60  Error 404
  61  
  62  </body>
  63  </html>


Généré le : Wed Nov 21 14:43:32 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics