librefm-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Librefm-commits] [1663] add links to amazon mp3 and emusic


From: Matt Lee
Subject: [Librefm-commits] [1663] add links to amazon mp3 and emusic
Date: Sat, 16 May 2009 18:34:22 +0000

Revision: 1663
          http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1663
Author:   mattl
Date:     2009-05-16 18:34:21 +0000 (Sat, 16 May 2009)
Log Message:
-----------
add links to amazon mp3 and emusic 

Modified Paths:
--------------
    trunk/nixtape/themes/librefm/alpha.css
    trunk/nixtape/themes/librefm/templates/album.tpl
    trunk/nixtape/themes/librefm/templates/track.tpl

Modified: trunk/nixtape/themes/librefm/alpha.css
===================================================================
--- trunk/nixtape/themes/librefm/alpha.css      2009-05-16 18:25:45 UTC (rev 
1662)
+++ trunk/nixtape/themes/librefm/alpha.css      2009-05-16 18:34:21 UTC (rev 
1663)
@@ -460,4 +460,6 @@
 
 #register-prompt {background-color: #eee; padding: 12px; border: 5px solid 
#aaa;}
 
+#purchase-download{background-color: #ececec; -moz-border-radius: 1em;}
+
 .photo{padding: 1px; border 1px solid #ccc; float: left;}
\ No newline at end of file

Modified: trunk/nixtape/themes/librefm/templates/album.tpl
===================================================================
--- trunk/nixtape/themes/librefm/templates/album.tpl    2009-05-16 18:25:45 UTC 
(rev 1662)
+++ trunk/nixtape/themes/librefm/templates/album.tpl    2009-05-16 18:34:21 UTC 
(rev 1663)
@@ -16,6 +16,19 @@
                        alt="{$album->name|escape:'html':'UTF-8'}" 
title="{$album->name|escape:'html':'UTF-8'}" width="160" />
        </div>
 
+       <hr />
+
+       <div id="purchase-download">
+
+       <h2>Purchase this album</h2>
+
+       <ul>
+       <li><a 
href="http://libre.fm/affliate.php?a={$artist->name}&m={$name}">Amazon 
MP3</a></li>
+       <li><a 
href="http://libre.fm/affliate.php?a={$artist->name}&m={$name}&x=1">eMusic</a> 
(<a href="http://www.anrdoezrs.net/9g117dlurlt8CDHDBBH8A9D9IEBA";>Join 
eMusic)</a></li>
+        </ul>
+
+        </div>
+
 {include file='player.tpl'}
 
 <script type="text/javascript">

Modified: trunk/nixtape/themes/librefm/templates/track.tpl
===================================================================
--- trunk/nixtape/themes/librefm/templates/track.tpl    2009-05-16 18:25:45 UTC 
(rev 1662)
+++ trunk/nixtape/themes/librefm/templates/track.tpl    2009-05-16 18:34:21 UTC 
(rev 1663)
@@ -4,6 +4,18 @@
 
        <h2 property="dc:title" class="fn" rel="foaf:page" 
rev="foaf:primaryTopic" resource="">{$track->name|escape:'html':'UTF-8'}</h2>
 
+       <div id="purchase-download">
+
+       <h2>Purchase this album</h2>
+
+       <ul>
+       <li><a 
href="http://libre.fm/affliate.php?a={$track->artist_name}&m={$track->album_name}&t={$track->name}">Amazon
 MP3</a></li>
+       <li><a 
href="http://libre.fm/affliate.php?{$track->artist_name}&m={$track->album_name}&t={$track->name}&x=1">eMusic</a>
 (<a href="http://www.anrdoezrs.net/9g117dlurlt8CDHDBBH8A9D9IEBA";>Join 
eMusic)</a></li>
+        </ul>
+
+        </div>
+
+
        {include file='player.tpl'}
        <script type="text/javascript">
                var playlist = [{ldelim}"artist" : "{$track->artist_name}", 
"album" : "{$track->album_name}", "track" : "{$track->name}", "url" : 
"{$track->streamurl}"{rdelim}];





reply via email to

[Prev in Thread] Current Thread [Next in Thread]