summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-12-04 20:20:44 -0500
committerCraig Andrews <candrews@integralblue.com>2009-12-04 20:20:44 -0500
commitd31b1d774e5fcbb424ec60688ff4c76badc2b136 (patch)
treea88dbaa4ebb5327e17fe197a6a59e76925e3ec76
parentb3086d3c68ed2d3ceff3ce8fc91a867fc07c441a (diff)
use the new htmloutputter->style() function
-rw-r--r--classes/Design.php2
-rw-r--r--plugins/Recaptcha/RecaptchaPlugin.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/classes/Design.php b/classes/Design.php
index 89ae50c8c..4e7d7dfb2 100644
--- a/classes/Design.php
+++ b/classes/Design.php
@@ -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);
}
}
diff --git a/plugins/Recaptcha/RecaptchaPlugin.php b/plugins/Recaptcha/RecaptchaPlugin.php
index 1a51b16be..3a510ef11 100644
--- a/plugins/Recaptcha/RecaptchaPlugin.php
+++ b/plugins/Recaptcha/RecaptchaPlugin.php
@@ -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;
}