Commit 05b75eff authored by Andrew Robert Nicols's avatar Andrew Robert Nicols
Browse files

Get the ownername for group view titles.


Signed-off-by: default avatarAndrew Robert Nicols <andrew.nicols@luns.net.uk>
parent f07d7c1f
......@@ -2907,6 +2907,7 @@ class View {
}
$wwwroot = get_config('wwwroot');
$ownername = hsc($this->formatted_owner());
if ($this->type == 'grouphomepage') {
return '<strong>' . get_string('aboutgroup', 'group', $ownername) . '</strong>';
......@@ -2927,7 +2928,6 @@ class View {
}
if (isset($ownerlink)) {
$ownername = hsc($this->formatted_owner());
return get_string('viewtitleby', 'view', $title, $ownerlink, $ownername);
}
......
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