]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Assigned an identifier for the representative user and group profile
authorSarven Capadisli <csarven@status.net>
Sat, 13 Mar 2010 21:48:21 +0000 (16:48 -0500)
committerSarven Capadisli <csarven@status.net>
Sat, 13 Mar 2010 21:48:21 +0000 (16:48 -0500)
actions/showgroup.php
lib/userprofile.php

index 5704b13d140758f46fa51641bcce03171afa489b..a0d05ba37a39f62c3861502968e5d89db53ecddc 100644 (file)
@@ -221,7 +221,8 @@ class ShowgroupAction extends GroupDesignAction
 
     function showGroupProfile()
     {
-        $this->elementStart('div', 'entity_profile vcard author');
+        $this->elementStart('div', array('id' => 'i',
+                                         'class' => 'entity_profile vcard author'));
 
         $this->element('h2', null, _('Group profile'));
 
index 8464c2446499556a8fd8bb7812121f2f32f8e32d..1e4543a5a202871d20e2ba9fc8166f85622c2114 100644 (file)
@@ -71,7 +71,8 @@ class UserProfile extends Widget
     {
         if (Event::handle('StartProfilePageProfileSection', array(&$this->out, $this->profile))) {
 
-            $this->out->elementStart('div', 'entity_profile vcard author');
+            $this->out->elementStart('div', array('id' => 'i',
+                                                  'class' => 'entity_profile vcard author'));
             $this->out->element('h2', null, _('User profile'));
 
             if (Event::handle('StartProfilePageProfileElements', array(&$this->out, $this->profile))) {