From: Sarven Capadisli Date: Sat, 13 Mar 2010 21:48:21 +0000 (-0500) Subject: Assigned an identifier for the representative user and group profile X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5b078eadd9fac008fc2f37627ba9a0b124893ccb;p=quix0rs-gnu-social.git Assigned an identifier for the representative user and group profile --- diff --git a/actions/showgroup.php b/actions/showgroup.php index 5704b13d14..a0d05ba37a 100644 --- a/actions/showgroup.php +++ b/actions/showgroup.php @@ -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')); diff --git a/lib/userprofile.php b/lib/userprofile.php index 8464c24464..1e4543a5a2 100644 --- a/lib/userprofile.php +++ b/lib/userprofile.php @@ -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))) {