]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/recaptcha/recaptcha.php
Added Net_LDAP2 to extlib, and add a skeleton LDAP plugin
[quix0rs-gnu-social.git] / plugins / recaptcha / recaptcha.php
index 5ef8352d18ab1881aaa139030a7207330c1389bd..94cf0ccd17572f911ed3ea3a8a6b356734b6af16 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * Laconica, the distributed open-source microblogging tool
+ * StatusNet, the distributed open-source microblogging tool
  *
  * Plugin to show reCaptcha when a user registers 
  *
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
  * @category  Plugin
- * @package   Laconica
+ * @package   StatusNet
  * @author    Eric Helgeson <erichelgeson@gmail.com>
  * @copyright 2009
  * @license   http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
- * @link      http://laconi.ca/
+ * @link      http://status.net/
  */
 
-if (!defined('LACONICA')) {
+if (!defined('STATUSNET') && !defined('LACONICA')) {
     exit(1);
 }
 
@@ -65,9 +65,7 @@ class recaptcha extends Plugin
 
         $action->extraHeaders();
 
-        $action->startXML('html',
-            '-//W3C//DTD XHTML 1.0 Strict//EN',
-            'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd');
+        $action->startXML('html');
 
         $action->raw('<style type="text/css">#recaptcha_area{float:left;}</style>');
         return false;