use the new htmloutputter->style() function
This commit is contained in:
parent
b3086d3c68
commit
d31b1d774e
@ -101,7 +101,7 @@ class Design extends Memcached_DataObject
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (0 != mb_strlen($css)) {
|
if (0 != mb_strlen($css)) {
|
||||||
$out->element('style', array('type' => 'text/css'), $css);
|
$out->style($css);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -69,7 +69,7 @@ class RecaptchaPlugin extends Plugin
|
|||||||
|
|
||||||
$action->startXML('html');
|
$action->startXML('html');
|
||||||
|
|
||||||
$action->raw('<style type="text/css">#recaptcha_area{float:left;}</style>');
|
$action->style('#recaptcha_area{float:left;}');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user