use the new htmloutputter->style() function

This commit is contained in:
Craig Andrews 2009-12-04 20:20:44 -05:00
parent b3086d3c68
commit d31b1d774e
2 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ class Design extends Memcached_DataObject
}
if (0 != mb_strlen($css)) {
$out->element('style', array('type' => 'text/css'), $css);
$out->style($css);
}
}

View File

@ -69,7 +69,7 @@ class RecaptchaPlugin extends Plugin
$action->startXML('html');
$action->raw('<style type="text/css">#recaptcha_area{float:left;}</style>');
$action->style('#recaptcha_area{float:left;}');
return false;
}