]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Keeping HTML consistent throughout the site.
authorSarven Capadisli <csarven@plantard.controlezvous.ca>
Tue, 27 Jan 2009 06:21:36 +0000 (06:21 +0000)
committerSarven Capadisli <csarven@plantard.controlezvous.ca>
Tue, 27 Jan 2009 06:21:36 +0000 (06:21 +0000)
actions/profilesettings.php
actions/showgroup.php
lib/grouplist.php

index 6dd4775e5a036455788d8df6f731db1856e9acae..82e6c3c82f78cb27b18d13a567166b70f4ca39bc 100644 (file)
@@ -83,7 +83,7 @@ class ProfilesettingsAction extends AccountSettingsAction
         $user = common_current_user();
         $profile = $user->getProfile();
 
-        $this->elementStart('form', array('method' => 'POST',
+        $this->elementStart('form', array('method' => 'post',
                                            'id' => 'form_settings_profile',
                                            'class' => 'form_settings',
                                            'action' => common_local_url('profilesettings')));
index 99367a97cb6db84b534891cf6d3a2f7d99c613d0..c29b7d4263e814689e6b8d06675beb7637625e95 100644 (file)
@@ -269,7 +269,7 @@ class ShowgroupAction extends Action
         $this->elementStart('div', 'entity_actions');
         $this->element('h2', null, _('Group actions'));
         $this->elementStart('ul');
-        $this->elementStart('li', array('id' => 'entity_subscribe'));
+        $this->elementStart('li', 'entity_subscribe');
         $cur = common_current_user();
         if ($cur) {
             if ($cur->isMember($this->group)) {
index 629bdd05df9d481e7bac94c5508675ae624f5b59..4c448e250d5011b13d3d8280fac33c97cf482bd5 100644 (file)
@@ -158,6 +158,9 @@ class GroupList extends Widget
         $this->out->elementEnd('div');
 
         if ($user) {
+            $this->out->elementStart('div', 'entity_actions');
+            $this->out->elementStart('ul');
+            $this->out->elementStart('li', 'entity_subscribe');
             # XXX: special-case for user looking at own
             # subscriptions page
             if ($user->isMember($this->group)) {
@@ -167,6 +170,9 @@ class GroupList extends Widget
                 $jf = new JoinForm($this->out, $this->group);
                 $jf->show();
             }
+            $this->out->elementEnd('li');
+            $this->out->elementEnd('ul');
+            $this->out->elementEnd('div');
         }
 
         $this->out->elementEnd('li');