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

Commit efb8f840 authored by tonyb486's avatar tonyb486

Smaller banner for pages other than the welcome page

parent e5dff7ec
......@@ -26,6 +26,7 @@ require_once("data/Server.php");
$smarty->assign('recenttracks', Server::getRecentScrobbles(20));
$smarty->assign('nowplaying', Server::getNowPlaying(10));
$smarty->assign('welcome', true);
$smarty->display('welcome.tpl');
?>
......@@ -29,8 +29,13 @@
{if ($logged_in)}
<!-- put something here -->
{else}
{if $welcome}
<div class="yui-g" id="banner">
<a href="/request.php"><img src="http://libre.fm/i/topblock.png" alt="" /></a>
{else}
<div class="yui-g">
<a href="/request.php"><img src="http://alpha.libre.fm/themes/librefm/images/topblocksmall.png" alt="" /></a>
{/if}
</div>{/if}
<div class="yui-gc">
<div class="yui-u first" id="content">
......
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