1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-13 09:01:59 +02:00

Removed the need for pre-registration of core shortcode classes

This commit is contained in:
CaMer0n 2010-02-10 22:54:02 +00:00
parent 981afe83ec
commit 45d86f2edf
3 changed files with 1399 additions and 1399 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,37 @@
<?php
/*
* Copyright e107 Inc e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
* $Id$
*
* 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_navigation',
'admin_plugins',
'admin_preset',
'admin_pword',
'admin_sel_lan',
'admin_siteinfo',
'admin_status',
'admin_update',
'admin_userlan',
'admin_menumanager',
);
register_shortcode('admin_shortcodes', $codes, e_CORE.'shortcodes/batch/admin_shortcodes_class.php');
?>