Annotation of /mambo/branches/4.5.3h/offline.php
Parent Directory
|
Revision Log
Revision 1414 - (view) (download)
| 1 : | root | 1 | <?php |
| 2 : | /** | ||
| 3 : | elpie | 1414 | * Site off-line page |
| 4 : | root | 1 | * @package Mambo |
| 5 : | elpie | 1414 | * @author Mambo Foundation Inc see README.php |
| 6 : | * @copyright Mambo Foundation Inc. | ||
| 7 : | * See COPYRIGHT.php for copyright notices and details. | ||
| 8 : | chanh | 1393 | * @license GNU/GPL Version 2, see LICENSE.php |
| 9 : | elpie | 1414 | * Mambo is free software; you can redistribute it and/or |
| 10 : | * modify it under the terms of the GNU General Public License | ||
| 11 : | * as published by the Free Software Foundation; version 2 of the License. | ||
| 12 : | root | 1 | */ |
| 13 : | |||
| 14 : | /** ensure this file is being included by a parent file */ | ||
| 15 : | defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); | ||
| 16 : | |||
| 17 : | @include_once ('language/'.$mosConfig_lang.'.php'); | ||
| 18 : | |||
| 19 : | $cur_template = 'rhuk_solarflare'; | ||
| 20 : | |||
| 21 : | // needed to seperate the ISO number from the language file constant _ISO | ||
| 22 : | $iso = split( '=', _ISO ); | ||
| 23 : | // xml prolog | ||
| 24 : | echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>'; | ||
| 25 : | global $mosConfig_live_site; | ||
| 26 : | ?> | ||
| 27 : | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
| 28 : | <html xmlns="http://www.w3.org/1999/xhtml"> | ||
| 29 : | <head> | ||
| 30 : | <title><?php echo $mosConfig_sitename; ?> - Offline</title> | ||
| 31 : | <link rel="stylesheet" href="<?php echo $mosConfig_live_site; ?>/templates/<?php echo $cur_template;?>/css/template_css.css" type="text/css" /> | ||
| 32 : | <meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" /> | ||
| 33 : | </head> | ||
| 34 : | <body> | ||
| 35 : | |||
| 36 : | <p> </p> | ||
| 37 : | <table width="550" align="center" style="background-color: #ffffff; border: 1px solid"> | ||
| 38 : | <tr> | ||
| 39 : | <td width="60%" height="50" align="center"> | ||
| 40 : | <img src="<?php echo $mosConfig_live_site; ?>/images/logo.png" alt="Mambo Logo" align="middle" /> | ||
| 41 : | </td> | ||
| 42 : | </tr> | ||
| 43 : | <tr> | ||
| 44 : | <td align="center"> | ||
| 45 : | <h1> | ||
| 46 : | <?php echo $mosConfig_sitename; ?> | ||
| 47 : | </h1> | ||
| 48 : | </td> | ||
| 49 : | </tr> | ||
| 50 : | <?php | ||
| 51 : | if ( $mosConfig_offline == 1 ) { | ||
| 52 : | ?> | ||
| 53 : | <tr> | ||
| 54 : | <td width="39%" align="center"> | ||
| 55 : | <h2> | ||
| 56 : | <?php echo $mosConfig_offline_message; ?> | ||
| 57 : | </h2> | ||
| 58 : | </td> | ||
| 59 : | </tr> | ||
| 60 : | <?php | ||
| 61 : | } else if (@$mosSystemError) { | ||
| 62 : | ?> | ||
| 63 : | <tr> | ||
| 64 : | <td width="39%" align="center"> | ||
| 65 : | <h2> | ||
| 66 : | <?php echo $mosConfig_error_message; ?> | ||
| 67 : | </h2> | ||
| 68 : | <?php echo $mosSystemError; ?> | ||
| 69 : | </td> | ||
| 70 : | </tr> | ||
| 71 : | <?php | ||
| 72 : | } else { | ||
| 73 : | ?> | ||
| 74 : | <tr> | ||
| 75 : | <td width="39%" align="center"> | ||
| 76 : | <h2> | ||
| 77 : | <?php echo _INSTALL_WARN; ?> | ||
| 78 : | </h2> | ||
| 79 : | </td> | ||
| 80 : | </tr> | ||
| 81 : | <?php | ||
| 82 : | } | ||
| 83 : | ?> | ||
| 84 : | </table> | ||
| 85 : | |||
| 86 : | </body> | ||
| 87 : | </html> |
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |
Web Hosting provided by Network Redux.

