1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-12 05:24:38 +02:00
Files
php-e107/e107_files/shortcode/batch/sitedown_shortcodes.php
2009-11-18 01:06:08 +00:00

37 lines
868 B
PHP

<?php
/*
* e107 website system
*
* Copyright (C) 2008-2009 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
*
*
* $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/sitedown_shortcodes.php,v $
* $Revision: 1.3 $
* $Date: 2009-11-18 01:04:43 $
* $Author: e107coders $
*/
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
*/
?>