We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 8e8c5805 authored by sarven's avatar sarven

showPageTitle() and showPageNoticeBlock()

and using url on nickname instead of fullname
parent 774fc537
......@@ -132,7 +132,12 @@ class ShowstreamAction extends Action
function showPageTitle()
{
// Don't show the H1; we have one in the profile block
$this->element('h1', NULL, $this->profile->nickname._("'s profile"));
}
function showPageNoticeBlock()
{
return;
}
function showExportData()
......@@ -238,17 +243,16 @@ class ShowstreamAction extends Action
$this->elementStart('dl', 'user_fn');
$this->element('dt', null, _('Full name'));
$this->elementStart('dd');
$this->element('a', array('href' => $this->profile->homepage,
'rel' => 'me', 'class' => 'fn url uid'),
$this->profile->fullname);
$this->element('span', 'fn', $this->profile->fullname);
$this->elementEnd('dd');
$this->elementEnd('dl');
}
$this->elementStart('dl', 'user_nickname');
$this->element('dt', null, _('Nickname'));
$this->elementStart('dd');
$this->element('span', 'fn nickname', $this->profile->nickname);
$this->element('a', array('href' => $this->profile->profileurl,
'rel' => 'me', 'class' => 'fn nickname url uid'),
$this->profile->nickname);
$this->elementEnd('dd');
$this->elementEnd('dl');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment