1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 14:46:56 +02:00

Converted all admin_xxxx shortcodes to using batch shortcode file

This commit is contained in:
mcfly
2009-01-09 01:12:18 +00:00
parent feed586bcb
commit 4c4b378bd0
25 changed files with 1131 additions and 949 deletions

View File

@@ -0,0 +1,35 @@
<?php
/*
* Copyright e107 Inc e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
* $Id: admin_shortcodes.php,v 1.1 2009-01-09 01:12:17 mcfly_e107 Exp $
*
* Admin shortcode batch - registration
*/
if (!defined('e107_INIT')) { exit; }
$codes = array(
'admin_alt_nav',
'admin_credits',
'admin_docs',
'admin_help',
'admin_icon',
'admin_lang',
'admin_latest',
'admin_log',
'admin_logged',
'admin_logo',
'admin_menu',
'admin_msg',
'admin_nav',
'admin_plugins',
'admin_preset',
'admin_pword',
'admin_sel_lan',
'admin_siteinfo',
'admin_status',
'admin_update',
'admin_userlan',
);
register_shortcode('admin_shortcodes', $codes, e_FILE.'shortcode/batch/admin_shortcodes_class.php');
?>

File diff suppressed because it is too large Load Diff

View File

@@ -1,12 +1,11 @@
<?php
/*
* Copyright e107 Inc e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
* $Id: siteinfo_shortcodes.php,v 1.1 2009-01-08 21:47:44 mcfly_e107 Exp $
* $Id: siteinfo_shortcodes.php,v 1.2 2009-01-09 01:12:17 mcfly_e107 Exp $
*
* News shortcode batch
* Siteinfo shortcode batch
*/
if (!defined('e107_INIT')) { exit; }
//include_once(e_HANDLER.'shortcode_handler.php');
$codes = array('sitebutton', 'sitedisclaimer', 'sitename', 'sitedescription', 'sitetag');
register_shortcode('siteinfo_shortcodes', $codes);