Eh, it's quickly added to r1456, have at it!
Re: Settings page integration
« Reply #30, on March 13th, 2012, 02:06 AM »
// !!! Temporary. Preventing divs inside label tags.
$divPos = strpos($context['config_vars'][$config_var[1]]['label'], '<div');
if ($divPos !== false)
{
$context['config_vars'][$config_var[1]]['subtext'] = preg_replace('~</?div[^>]*>~', '', substr($context['config_vars'][$config_var[1]]['label'], $divPos));
$context['config_vars'][$config_var[1]]['label'] = substr($context['config_vars'][$config_var[1]]['label'], 0, $divPos);
}No, same file as in the revision, there's a small regex hack that allegedly converts the div in the label to the subtext.
![]() | The way it's meant to be |
Hey, this actually works! :D. Great!
No, I didn't drop any hooks at all