Assigned an identifier for the representative user and group profile

This commit is contained in:
Sarven Capadisli 2010-03-13 16:48:21 -05:00
parent 800b335906
commit 321093886f
2 changed files with 4 additions and 2 deletions

View File

@ -221,7 +221,8 @@ class ShowgroupAction extends GroupDesignAction
function showGroupProfile() 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')); $this->element('h2', null, _('Group profile'));

View File

@ -71,7 +71,8 @@ class UserProfile extends Widget
{ {
if (Event::handle('StartProfilePageProfileSection', array(&$this->out, $this->profile))) { 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')); $this->out->element('h2', null, _('User profile'));
if (Event::handle('StartProfilePageProfileElements', array(&$this->out, $this->profile))) { if (Event::handle('StartProfilePageProfileElements', array(&$this->out, $this->profile))) {