Quote:
Since this is a very dark colorscheme, i was quite unhappy with the way, the php code of the plugins was displayed. After digging into it, i found an easy way to add a css class solely for this box. So if you would like to format the code box like I did (howewer, it really is not necessary), here is what I did:
|
Why you don't use the hook System for this "edit" ?
Plugin on admin_complete:
PHP Code:
if ($_REQUEST['do'] == 'edit' OR $_REQUEST['do'] == 'add' AND $vbulletin->GPC['pluginid'])
{
$html = ob_get_contents();
while (@ob_end_clean());
echo(str_replace("<div dir=\"ltr\">", "<div dir=\"ltr\" class=\"plugincode\">", $html));
}
Greetings Surviver