Commit 04439f3d authored by Mike Sheldon's avatar Mike Sheldon

Add page titles to user page headers

parent d85844d5
......@@ -51,6 +51,7 @@ if(isset($user->name)) {
} catch (exception $e) {}
$smarty->assign('isme', ($this_user->name == $user->name));
$smarty->assign('me', $user);
$smarty->assign('pagetitle', $user->name);
$station = 'librefm://user/' . $user->name . '/loved';
if(isset($this_user)) {
......
......@@ -53,6 +53,7 @@ if(isset($user->name)) {
$smarty->assign('isme', ($this_user->name == $user->name));
$smarty->assign('me', $user);
$smarty->assign('profile', true);
$smarty->assign('pagetitle', $user->name . '\'s recent tracks');
$smarty->assign('extra_head_links', array(
array(
......
......@@ -74,6 +74,7 @@ try {
$smarty->assign('me', $user);
$smarty->assign('geo', Server::getLocationDetails($user->location_uri));
$smarty->assign('isme', ($this_user->name == $user->name));
$smarty->assign('pagetitle', $user->name . '\'s stats');
$smarty->assign('extra_head_links', array(
array(
......
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