diff options
author | cookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8> | 2005-12-25 05:50:08 +0000 |
---|---|---|
committer | cookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8> | 2005-12-25 05:50:08 +0000 |
commit | 6ee68e5f58e7856caf5fef90661c1f74d81a1932 (patch) | |
tree | a80f1f6d66d889e66e90a3d32362d3ee77ec1e16 /www-ssl | |
parent | 0eac93de64999d996c7136a6f5b4d19bc20c4967 (diff) |
add system disable message
git-svn-id: svn://svn.cccv.de/engel-system@106 29ba0400-6e00-0410-a75a-ca02368028f8
Diffstat (limited to 'www-ssl')
-rwxr-xr-x | www-ssl/inc/config.php | 6 | ||||
-rwxr-xr-x | www-ssl/inc/header.php | 10 |
2 files changed, 15 insertions, 1 deletions
diff --git a/www-ssl/inc/config.php b/www-ssl/inc/config.php index 5e831cb4..435ffe09 100755 --- a/www-ssl/inc/config.php +++ b/www-ssl/inc/config.php @@ -5,6 +5,9 @@ $url = "https://linuxeurobook/"; // Startverzeichnis des Engelhome $ENGEL_ROOT = "/engel/"; +// System disable message, ist ist set is: bages schow only this text +//$SystemDisableMessage="<H1>This system ist moved to a server in the BCC, you can in the moment only youse it in the in Engel Room</H1>"; + // Anzahl der News, die auf einer Seite ausgeben werden koennen... $DISPLAY_NEWS = 6; @@ -27,7 +30,8 @@ $CCC_Start = "http://www.ccc.de/congress/2004/fahrplan/event/"; $CCC_End = ".de.html"; // SSL Cert-KEY -$show_SSLCERT = "MD5:<br>AF:32:B9:BE:3F:AE:53:78:1E:1B:6E:82:48:E0:DB:94<br>SHA1:<br>B8:07:E8:A4:F3:1A:EF:03:81:C2:44:0C:50:25:3D:1A:A0:E4:AA:76"; +$show_SSLCERT = "MD5:<br>AF:32:B9:BE:3F:AE:53:78:1E:1B:6E:82:48:E0:DB:94<br>\n". + "SHA1:<br>B8:07:E8:A4:F3:1A:EF:03:81:C2:44:0C:50:25:3D:1A:A0:E4:AA:76"; //globale const. fuer schischtplan $GlobalZeileProStunde = 4; diff --git a/www-ssl/inc/header.php b/www-ssl/inc/header.php index 6821d164..8d5a1341 100755 --- a/www-ssl/inc/header.php +++ b/www-ssl/inc/header.php @@ -66,6 +66,16 @@ if (isset($Page["AutoReload"])) { </HEAD> <BODY> <?PHP + +if( isset($SystemDisableMessage)) + if( strlen($SystemDisableMessage)>0) + { + echo $SystemDisableMessage; + echo "\n\n<BODY>\n</HTML>"; + die(); + } + + if( !isset($Page["ShowTabel"]) ) $Page["ShowTabel"]="Y"; if( $Page["ShowTabel"]=="Y" ) { |