git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit 828e147d authored by Mike Sheldon's avatar Mike Sheldon

Rename pageheader to headerfile

Make listen page use new heading system
parent e4ef5bdc
......@@ -24,6 +24,7 @@ require_once('templating.php');
require_once('data/sanitize.php');
require_once('data/Server.php');
$smarty->assign('headerfile', 'welcome-header.tpl');
$smarty->assign('welcome', true);
$smarty->display('welcome.tpl');
?>
......@@ -37,5 +37,6 @@ if(isset($station)) {
$smarty->assign('radio_session', $radio_session);
}
$smarty->assign('pageheading', 'Go ahead, listen all you want');
$smarty->display('listen.tpl');
?>
......@@ -185,7 +185,7 @@ if(isset($this_user->name))
$submenu = user_menu($this_user, 'Edit Profile');
$smarty->assign('submenu', $submenu);
$smarty->assign('me', $this_user);
$smarty->assign('pageheader', 'maxiprofile.tpl');
$smarty->assign('headerfile', 'maxiprofile.tpl');
$smarty->assign('errors', $errors);
$smarty->display('user-edit.tpl');
......
......@@ -78,7 +78,7 @@ if(isset($user->name)) {
$submenu = user_menu($user, 'Overview');
$smarty->assign('submenu', $submenu);
$smarty->assign('pageheader', 'maxiprofile.tpl');
$smarty->assign('headerfile', 'maxiprofile.tpl');
$smarty->display('user-profile.tpl');
} else {
......
......@@ -73,7 +73,7 @@ if(isset($user->name)) {
$submenu = user_menu($user, 'Recent Tracks');
$smarty->assign('submenu', $submenu);
$smarty->assign('pageheader', 'maxiprofile.tpl');
$smarty->assign('headerfile', 'maxiprofile.tpl');
$smarty->display('user-recent-tracks.tpl');
} else {
......
......@@ -88,7 +88,7 @@ try {
$submenu = user_menu($user, 'Stats');
$smarty->assign('submenu', $submenu);
$smarty->assign('pageheader', 'maxiprofile.tpl');
$smarty->assign('headerfile', 'maxiprofile.tpl');
$smarty->assign('stats', true);
$smarty->display('user-stats.tpl');
......
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