]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
use the new htmloutputter->style() function
authorCraig Andrews <candrews@integralblue.com>
Sat, 5 Dec 2009 01:20:44 +0000 (20:20 -0500)
committerCraig Andrews <candrews@integralblue.com>
Sat, 5 Dec 2009 01:20:44 +0000 (20:20 -0500)
classes/Design.php
plugins/Recaptcha/RecaptchaPlugin.php

index 89ae50c8cb9d72b9a17be6f43d1731890c328503..4e7d7dfb257854a4a898ae44524b9a0739671e72 100644 (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);
         }
     }
 
index 1a51b16beb7b5113d801ff5f6d2d74cffb69d6c9..3a510ef11ce01ccaf15f79eecd96c0a10a11ba26 100644 (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;
     }