summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-03-13 16:48:21 -0500
committerSarven Capadisli <csarven@status.net>2010-03-13 16:48:21 -0500
commit5b078eadd9fac008fc2f37627ba9a0b124893ccb (patch)
treef96c49737e2e87899353ed6596ec6d63060fadfe
parent56402597ddc8fbae0777ceaefc90d0473b8d31a4 (diff)
Assigned an identifier for the representative user and group profile
-rw-r--r--actions/showgroup.php3
-rw-r--r--lib/userprofile.php3
2 files changed, 4 insertions, 2 deletions
diff --git a/actions/showgroup.php b/actions/showgroup.php
index 5704b13d1..a0d05ba37 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 8464c2446..1e4543a5a 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))) {