]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Can't put a form (block level element) inside a span; changed it to a div
authorZach Copley <zach@status.net>
Thu, 14 Apr 2011 00:34:31 +0000 (17:34 -0700)
committerZach Copley <zach@status.net>
Thu, 14 Apr 2011 00:34:31 +0000 (17:34 -0700)
lib/peopletags.php

index faf408c8951391c2ff597996b7687dcdeecc70dc..ec8c04241df75d47631975282cb4c8014bbefdfb 100644 (file)
@@ -124,7 +124,7 @@ class PeopletagsWidget extends Widget
 
     function showEditTagForm($tags=null)
     {
-        $this->out->elementStart('span', 'form_tag_user_wrap');
+        $this->out->elementStart('div', 'form_tag_user_wrap');
         $this->out->elementStart('form', array('method' => 'post',
                                            'class' => 'form_tag_user',
                                            'name' => 'tagprofile',
@@ -147,7 +147,7 @@ class PeopletagsWidget extends Widget
 
         $this->out->elementEnd('fieldset');
         $this->out->elementEnd('form');
-        $this->out->elementEnd('span');
+        $this->out->elementEnd('div');
     }
 
     function showEmptyList()