if ($vbulletin->options['ozzmodz_editor_enhance_active'])
{
if ($vbulletin->options['ozzmodz_editor_enhance_code'])
{
$code_button = 'Code';
}
if ($vbulletin->options['ozzmodz_editor_enhance_html'])
{
$html_button = 'Html';
}
if ($vbulletin->options['ozzmodz_editor_enhance_php'])
{
$php_button = 'Php';
}
if ($this->editor_type == 'qr' || $this->editor_type == 'qe')
{
$toolbar[] = array
(
$code_button,
$html_button,
$php_button
);
}
}
global $vbulletin;
if ($vbulletin->options['ozzmodz_editor_enhance_active'])
{
if ($vbulletin->options['ozzmodz_editor_enhance_code'])
{
$code_button = 'Code';
}
if ($vbulletin->options['ozzmodz_editor_enhance_html'])
{
$html_button = 'Html';
}
if ($vbulletin->options['ozzmodz_editor_enhance_php'])
{
$php_button = 'Php';
}
if ($this->editor_type == 'qr' || $this->editor_type == 'qe')
{
$toolbar[] = array
(
$code_button,
$html_button,
$php_button
);
}
}
I will update the mods thread with the new version so it will work on all sites.