]> 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>
Thu, 25 Mar 2010 20:32:28 +0000 (21:32 +0100)
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 2c3b1ea453bb4460291ba49273cd2dc88c566a15..ca060842b6e9b44d2acf742f88bdd4fb2815d45f 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))) {