mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 19:30:25 +02:00
new module creation
This commit is contained in:
39
e107_files/shortcode/batch/sitedown_shortcodes.php
Normal file
39
e107_files/shortcode/batch/sitedown_shortcodes.php
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/*
|
||||
+ ----------------------------------------------------------------------------+
|
||||
| e107 website system
|
||||
|
|
||||
| <20>Steve Dunstan 2001-2002
|
||||
| http://e107.org
|
||||
| jalist@e107.org
|
||||
|
|
||||
| Released under the terms and conditions of the
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/sitedown_shortcodes.php,v $
|
||||
| $Revision: 1.1.1.1 $
|
||||
| $Date: 2006-12-02 04:33:41 $
|
||||
| $Author: mcfly_e107 $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
include_once(e_HANDLER.'shortcode_handler.php');
|
||||
$sitedown_shortcodes = $tp -> e_sc -> parse_scbatch(__FILE__);
|
||||
/*
|
||||
|
||||
SC_BEGIN SITEDOWN_TABLE_MAINTAINANCETEXT
|
||||
global $pref,$tp;
|
||||
if($pref['maintainance_text']) {
|
||||
return $tp->toHTML($pref['maintainance_text'], TRUE, 'parse_sc', 'admin');
|
||||
} else {
|
||||
return "<b>- ".SITENAME." ".LAN_SITEDOWN_00." -</b><br /><br />".LAN_SITEDOWN_01 ;
|
||||
}
|
||||
SC_END
|
||||
|
||||
|
||||
SC_BEGIN SITEDOWN_TABLE_PAGENAME
|
||||
return PAGE_NAME;
|
||||
SC_END
|
||||
|
||||
*/
|
||||
?>
|
Reference in New Issue
Block a user