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:
35
e107_files/shortcode/batch/admin_shortcodes.php
Normal file
35
e107_files/shortcode/batch/admin_shortcodes.php
Normal 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');
|
||||
?>
|
1089
e107_files/shortcode/batch/admin_shortcodes_class.php
Normal file
1089
e107_files/shortcode/batch/admin_shortcodes_class.php
Normal file
File diff suppressed because it is too large
Load Diff
@@ -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);
|
||||
|
Reference in New Issue
Block a user