';
}
}
if ($mode == 'default')
{
$text .= "".$icon." ".$tp->toHTML($title,FALSE,"defs, emotes_off")." | ";
}
elseif ($mode == 'classis')
{
$text .= "".$icon."
".$tp->toHTML($title,FALSE,"defs, emotes_off")."
| ";
}
elseif ($mode == 'beginner')
{
$text .= "".$icon."
| ";
}
elseif($mode == "div")
{
$text .= "";
}
$td++;
}
}
return $text;
}
function render_clean()
{
global $td;
$text = "";
while ($td <= ADLINK_COLS)
{
$text .= " | ";
$td++;
}
$text .= "
";
$td = 1;
return $text;
}
$newarray = asortbyindex($array_functions, 1);
$array_functions_assoc = convert_core_icons($newarray);
function convert_core_icons($newarray) // Put core button array in the same format as plugin button array.
{
foreach($newarray as $key=>$val)
{
if(varset($val[0]))
{
$key = "e-".basename($val[0],".php");
$val['icon'] = $val[5];
$val['icon_32'] = $val[6];
$val['title'] = $val[1];
$val['link'] = $val[0];
$val['caption'] = $val['2'];
$val['perms'] = $val['3'];
$array_functions_assoc[$key] = $val;
}
}
return $array_functions_assoc;
}
require_once(e_ADMIN.'includes/'.$pref['adminstyle'].'.php');
function admin_info()
{
global $tp;
$width = (getperms('0')) ? "33%" : "50%";
$ADMIN_INFO_TEMPLATE = "