1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-18 04:12:00 +02:00

Issue #73 Deprecated admin_handlers.php file.

This commit is contained in:
Cameron
2013-02-26 17:17:31 -08:00
parent 45ac119d83
commit fdf78c92a4
14 changed files with 65 additions and 72 deletions

View File

@@ -1082,8 +1082,7 @@ class admin_shortcodes
global $sql, $pref, $tp;
parse_str($parm);
require(e_ADMIN.'ad_links.php');
require_once(e_HANDLER.'admin_handler.php');
function adnav_cat($cat_title, $cat_link, $cat_img, $cat_id=FALSE)
{
@@ -1286,7 +1285,6 @@ class admin_shortcodes
global $$tmpl;
require_once(e_ADMIN.'ad_links.php'); //FIXME loaded in boot.php but $admin_cat is not available here.
require_once(e_HANDLER.'admin_handler.php');
if($parm == 'home' || $parm == 'logout' || $parm == 'language' || $parm == 'pm')
{

View File

@@ -85,7 +85,7 @@ function imageselector_shortcode($parm = '', $mod = '')
$text .= "\n<select{$multi}{$tabindex}{$class} name='{$name}' id='{$name_id}' onchange=\"replaceSC('imagepreview={$name}|{$width}|{$height}',this.form,'{$name_id}_prev'); \">
<option value=''>".$label."</option>\n";
require_once(e_HANDLER.'admin_handler.php');
foreach ($imagelist as $imagedirlabel => $icons)
{
if(!vartrue($parms['media'])) $imagedirlabel = str_replace('../', '', $tp->replaceConstants($imagedirlabel));

View File

@@ -59,7 +59,6 @@ if($scaction == 'select' || $scaction == 'all')
$text .= "<select{$multi}{$tabindex}{$class} name='{$name}' id='{$name_id}' onchange=\"replaceSC('imagepreview={$name}|{$width}|{$height}',this.form,'{$name_id}_prev'); \">
<option value=''>".$label."</option>\n";
require_once(e_HANDLER.'admin_handler.php');
foreach($imagelist as $imagedirlabel => $icons)
{