Commit 161957fa authored by Mike Sheldon's avatar Mike Sheldon

Remove Libre.fm specific text and make site name customisable

parent af9e0643
......@@ -76,6 +76,17 @@ h2 a {
h2 a:hover {
border-bottom: 1px solid;
}
#site-title a, #site-title a:hover {
border-bottom: none;
color: fireBrick;
}
#site-title h2 {
font-size: 52px;
text-shadow: 3px 3px 3px #999999;
}
#buttons li {
list-style: none outside none;
}
......
......@@ -37,7 +37,7 @@
</form>
{/if}
{else}
{t escape=no}Before creating an artist account you first need to <a href='{$base_url}/register.php'>register</a> or <a href='{$base_url}/login.php'>log in</a> with a normal Libre.fm account.{/t}
{t site=$site_name escape=no}Before creating an artist account you first need to <a href='{$base_url}/register.php'>register</a> or <a href='{$base_url}/login.php'>log in</a> with a normal %1 account.{/t}
{/if}
{include file='footer.tpl'}
......@@ -7,21 +7,7 @@
{include file='language-selector.tpl'}<br />
<a href="http://playogg.org/">{t}Libre.fm is a proud supporter of the Play Ogg campaign{/t}</a>
<ul id='dev-links'>
<li><a href="http://libre.fm/developers/">{t}Developer info{/t}</a></li>
<li><a href="http://bugs.foocorp.net/projects/fm/issues/new">{t}Report a bug{/t}</a></li>
<li><a href="http://bugs.foocorp.net/projects/librefm/wiki">{t}Wiki{/t}</a></li>
<li><a href="http://identi.ca/group/librefm/join">{t}Join our blog{/t}</a></li>
<li><a href="http://turtle.libre.fm/">{t}Recent tracks{/t}</a></li>
</ul>
<p>{t escape=no}Powered by <a href="https://savannah.gnu.org/projects/librefm/">GNU FM{/t}</a></p>
<p>{t escape=no}A <a href='http://foocorp.net'>FooCorp</a> thing. Since 1997 the good people of FooCorp have been making entertaining things for the web.{/t}</p>
<p><a href='http://foocorp.net/cat.html'>FOO 200</a></p>
<p>{t}Visit other autonomo.us sites like:{/t} <a href="http://identi.ca">Identi.ca</a>, <a href="http://wikidot.org">Wikidot</a>, <a href="http://filmaster.com">filmaster</a>.</p>
<p>{t escape=no}Powered by <a href="http://gnu.org/software/fm/">GNU FM{/t}</a></p>
</div>
</div>
</body>
......
......@@ -3,9 +3,9 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
{if !($pagetitle)}
<title>GNU FM</title>
<title>{$site_name}</title>
{else}
<title>{$pagetitle|escape:'html':'UTF-8'} &mdash; GNU FM</title>
<title>{$pagetitle|escape:'html':'UTF-8'} &mdash; {$site_name}</title>
{/if}
<link rel="stylesheet" href="{$base_url}/themes/{$default_theme}/css/2010.css" type="text/css" />
<script type="text/javascript" src="{$base_url}/js/jquery-1.4.4.min.js"></script>
......@@ -21,7 +21,7 @@
<body>
<div id="doc" class="yui-t7">
<div id="hd">
<h1><a href="{$base_url}">GNU FM</a></h1>
<h1><a href="{$base_url}">{$site_name}</a></h1>
<div class="yui-g" id="navbar">
{include file='search-box.tpl'}
{include file='menu.tpl'}
......
......@@ -34,7 +34,7 @@
<br />
<p>{t escape=no}Or listen to a random selection of the whole libre.fm community's favourite music on the <a href="?station=librefm://community/loved">Libre.fm Community Station</a>{/t}</p>
<p>{t site=$site_name escape=no}Or listen to a random selection of the whole libre.fm community's favourite music on the <a href="?station=librefm://community/loved">%1 Community Station</a>{/t}</p>
{/if}
{include file='footer.tpl'}
......@@ -2,8 +2,8 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>GNU FM</title>
<title>{$site_name}</title>
<link rel="stylesheet" href="{$base_url}/themes/{$default_theme}/css/mini.css" />
</head>
<body>
<h1>GNU FM</h1>
<h1>{$site_name}</h1>
<div class='sideblock'>
{math equation='rand(0,1)' assign=ad}
{math equation='rand(0,0)' assign=ad}
{if $ad == 0}
<h3>{t}Libre.fm Merchandise{/t}</h3>
<img src='{$img_url}/t-shirt.png' alt='Artistic. Freedom. T-Shirt.' /><br /><br />
<p>{t escape=no}Support Libre.fm and look even cooler than ever by visiting our <a href='http://librefm.spreadshirt.net'>European</a> or <a href='http://librefm.spreadshirt.com'>American store</a>.{/t}</p>
{elseif $ad == 1}
<h3>{t}Help Support Libre.fm{/t}</h3>
<h3>{t}Help Support GNU FM{/t}</h3>
<br />
<script type='text/javascript'>
{literal}
......@@ -34,7 +30,7 @@
</div>
<a href='http://libre.fm/donate.html'><img src='{$img_url}/bitcoin.png' alt='Donate BitCoins' title='Donate BitCoins' /></a>
<br /><br />
<p>{t escape=no}Your donations don't just help to keep Libre.fm running, they also contribute to exciting new stuff like better equipment, artist outreach programs, conferences and hackfests.{/t}
<p>{t escape=no}Help us make the GNU FM software which powers this site even better.{/t}
<p>{t escape=no}You can find out more about our targets for this year on our <a href='http://libre.fm/donate.html'>donations page</a>.{/t}</p>
{/if}
</div>
......@@ -2,16 +2,10 @@
<h3>{t}Did you know...{/t}</h3>
<p>
{math equation='rand(0, 3)' assign=tip}
{math equation='rand(0, 0)' assign=tip}
{if $tip == 0}
{t escape=no}You can listen to a selection of the Libre.fm community's favourite tracks on our <a href='{$base_url}/listen.php?station=librefm://community/loved'>Community Station</a>. It's made up out of a random selection of all the tracks that Libre.fm users have said they loved, with the most popular ones being played most frequently.{/t}
{elseif $tip == 1}
{t escape=no}You can now get a monthly summary of the latest goings on in the Libre.fm world on our <A href='http://libre.fm/news/'>news site</a>.{/t}
{elseif $tip == 2}
{t escape=no}Libre.fm has a monthly <a href='http://libre.fm/podcast'>podcast</a>, featuring a selection of some of the best music on Libre.fm, a summary of recent development news and the occasional interview.{/t}
{elseif $tip == 3}
{t escape=no}If your client only supports scrobbling to a single host but you'd like to scrobble to both Libre.fm and Last.fm you can configure Libre.fm to forward all of your scrobbles on to Last.fm for you. Simply visit the <a href='{$base_url}/user-connections.php'>connections settings</a> on your profile editing page.{/t}
{t site=$site_name escape=no}You can listen to a selection of the %1 community's favourite tracks on our <a href='{$base_url}/listen.php?station=librefm://community/loved'>Community Station</a>. It's made up out of a random selection of all the tracks that %1 users have said they loved, with the most popular ones being played most frequently.{/t}
{/if}
</p>
......
......@@ -128,7 +128,7 @@
<dd>{t escape=no}This feature looks up your location on <a href='http://www.geonames.org'>geonames</a>. You don't need to do it, but it will allow us find your latitude and longitude so we can add some great location-based features in the future.{/t}</dd>
<dt id='dfn_avatar_uri'>{t}Avatar address{/t}</dt>
<dd>{t escape=no}The web address for a picture to represent you on Libre.fm. It should not be more than 80x80 pixels. (64x64 is best.) If you leave this empty, libre.fm will use <a href='http://gravatar.com'>Gravatar</a> to find an image for you.{/t}</dd>
<dd>{t site=$site_name escape=no}The web address for a picture to represent you on %1. It should not be more than 80x80 pixels. (64x64 is best.) If you leave this empty, we'll use <a href='http://gravatar.com'>Gravatar</a> to find an image for you.{/t}</dd>
<dt id='dfn_id'>WebID (FOAF)</dt>
<dd>{t escape=no}An address that represents you in RDF. See <a href='http://esw.w3.org/topic/WebID'>WebID</a> for details. If you don't know what this is, it's best to leave it blank.{/t}</dd>
......@@ -137,7 +137,7 @@
<dd>{t escape=no}The address for your micro-blog on a <a href='http://status.net/'>StatusNet</a>-powered site such as <a href='http://identi.ca/'>identi.ca</a>.{/t}</dd>
<dt id='dfn_journal_rss'>RSS Feed</dt>
<dd>{t escape=no}An RSS feed which will be used to populate your journal on Libre.fm. Defaults to your StatusNet RSS feed if you provide your StatusNet micro-blog address.{/t}</dd>
<dd>{t site=$site_name escape=no}An RSS feed which will be used to populate your journal on %1. Defaults to your StatusNet RSS feed if you provide your StatusNet micro-blog address.{/t}</dd>
<dt id='dfn_receive_emails'>Receive E-mails</dt>
<dd>{t escape=no}From time to time we send out e-mails about all the cool new stuff we're getting up to. If you'd rather not hear about these things then simply untick this box.{/t}</dd>
......
......@@ -4,5 +4,5 @@
</div>
{else}
<h2><img src="{$img_url}/welcome-message.gif" alt="{t}Libre.fm allows you to share your listening habits and discover new music.{/t}" /></h2>
<center><div id='site-title'><h2><a href="{$base_url}">{$site_name}</a></h2></div></center>
{/if}
{include file='header.tpl'}
{if ($logged_in)}
<div id="infobox">
<p>{t escape=no}Have you <a href="http://bugs.libre.fm/wiki/clients">configured your player</a> to report your music listening habits?{/t}</p>
</div>
<div id="welcome-box">
<br />
<p>{t escape=no userurl=$this_user->getURL() statsurl=$this_user->getURL('stats')}<a href="%1">Go to your profile</a> or <a href="%2">view your listening statistics</a>.{/t}</p>
......@@ -20,38 +16,17 @@
{else}
<ul id="benefits">
<li>{t escape=no}100&#37; indie artists.{/t}
<ul>
<li>{t}Libre.fm actively supports the creation of music by independent artists.{/t}</li>
</ul>
</li>
<li>{t}You own your own listening data.{/t}
<ul>
<li>{t}Everything you put into Libre.fm is yours, not ours. Take it away and do cool things!{/t}</li>
</ul>
</li>
<li>{t}Legally download and share any track.{/t}
<ul>
<li>{t escape=no}Every song on Libre.fm is made by musicians who <b>want</b> you to share their music.{/t}</li>
</ul>
</li>
<li>{t}Your privacy, taken care of.{/t}
<ul>
<li>{t escape=no}Our <a href="http://libre.fm/more.html#privacy">privacy policy</a> is awesome. We don't even log your IP address! Privacy is important.{/t}</li>
</ul>
</li>
</ul>
<center><p>{t site=$site_name}%1 allows you to share your listening habits and discover new music.{/t}</p></center>
<ul id="buttons">
<li><a href="{$base_url}/register.php"><img src="{$img_url}/signup-button.png" alt="{t}Sign up now{/t}" /></a></li>
</ul>
<h4>{t escape=no}That's not all! The code that powers Libre.fm is <a href="http://www.gnu.org/philosophy/free-sw.html">free software</a> &mdash; <a href="http://gitorious.org/foocorp/gnu-fm">take it</a>, run your own site and <a href="http://lists.nongnu.org/mailman/listinfo/librefm-discuss">join the development community!{/t}</a></h4>
<h4>{t site=$site_name escape=no}That's not all! The code that powers %1 is <a href="http://www.gnu.org/philosophy/free-sw.html">free software</a> &mdash; <a href="http://gitorious.org/foocorp/gnu-fm">take it</a>, run your own site and <a href="http://lists.nongnu.org/mailman/listinfo/librefm-discuss">join the development community!{/t}</a></h4>
{/if}
<br /><br />
<center>
<div>Are you an artist? <a href="{$base_url}/artist-signup.php">Sign up now</a> to start sharing your music with listeners who are passionate about free culture!</div>
<div>Are you an artist? <a href="{$base_url}/artist-signup.php">Sign up now</a> to start sharing your music with our listeners!</div>
</center>
{include file='footer.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