View of /mambo/branches/4.5.3h/offline.php
Parent Directory
|
Revision Log
Revision 1414 -
(download)
(annotate)
Thu Nov 22 21:20:48 2007 UTC (5 years, 6 months ago) by elpie
File size: 2194 byte(s)
Thu Nov 22 21:20:48 2007 UTC (5 years, 6 months ago) by elpie
File size: 2194 byte(s)
#fixing header blocks to remove old Miro copyright notices and replace with ours. Change README to README.php for security.
<?php
/**
* Site off-line page
* @package Mambo
* @author Mambo Foundation Inc see README.php
* @copyright Mambo Foundation Inc.
* See COPYRIGHT.php for copyright notices and details.
* @license GNU/GPL Version 2, see LICENSE.php
* Mambo is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; version 2 of the License.
*/
/** ensure this file is being included by a parent file */
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
@include_once ('language/'.$mosConfig_lang.'.php');
$cur_template = 'rhuk_solarflare';
// needed to seperate the ISO number from the language file constant _ISO
$iso = split( '=', _ISO );
// xml prolog
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
global $mosConfig_live_site;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo $mosConfig_sitename; ?> - Offline</title>
<link rel="stylesheet" href="<?php echo $mosConfig_live_site; ?>/templates/<?php echo $cur_template;?>/css/template_css.css" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
</head>
<body>
<p> </p>
<table width="550" align="center" style="background-color: #ffffff; border: 1px solid">
<tr>
<td width="60%" height="50" align="center">
<img src="<?php echo $mosConfig_live_site; ?>/images/logo.png" alt="Mambo Logo" align="middle" />
</td>
</tr>
<tr>
<td align="center">
<h1>
<?php echo $mosConfig_sitename; ?>
</h1>
</td>
</tr>
<?php
if ( $mosConfig_offline == 1 ) {
?>
<tr>
<td width="39%" align="center">
<h2>
<?php echo $mosConfig_offline_message; ?>
</h2>
</td>
</tr>
<?php
} else if (@$mosSystemError) {
?>
<tr>
<td width="39%" align="center">
<h2>
<?php echo $mosConfig_error_message; ?>
</h2>
<?php echo $mosSystemError; ?>
</td>
</tr>
<?php
} else {
?>
<tr>
<td width="39%" align="center">
<h2>
<?php echo _INSTALL_WARN; ?>
</h2>
</td>
</tr>
<?php
}
?>
</table>
</body>
</html>
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |

