librefm-commits
[Top][All Lists]
Advanced

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

[Librefm-commits] [1680] removing the links


From: Matt Lee
Subject: [Librefm-commits] [1680] removing the links
Date: Sun, 17 May 2009 15:13:58 +0000

Revision: 1680
          http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1680
Author:   mattl
Date:     2009-05-17 15:13:57 +0000 (Sun, 17 May 2009)
Log Message:
-----------
removing the links

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

Removed Paths:
-------------
    trunk/nixtape/js/links.js

Deleted: trunk/nixtape/js/links.js
===================================================================
--- trunk/nixtape/js/links.js   2009-05-17 14:18:49 UTC (rev 1679)
+++ trunk/nixtape/js/links.js   2009-05-17 15:13:57 UTC (rev 1680)
@@ -1,2 +0,0 @@
-i = document.getElementById('purchase-download');
-i.display=='';
\ No newline at end of file

Modified: trunk/nixtape/themes/librefm/templates/album.tpl
===================================================================
--- trunk/nixtape/themes/librefm/templates/album.tpl    2009-05-17 14:18:49 UTC 
(rev 1679)
+++ trunk/nixtape/themes/librefm/templates/album.tpl    2009-05-17 15:13:57 UTC 
(rev 1680)
@@ -16,18 +16,6 @@
                        alt="{$album->name|escape:'html':'UTF-8'}" 
title="{$album->name|escape:'html':'UTF-8'}" width="160" />
        </div>
 
-{if !isset($this_user) || $this_user->anticommercial<>1}
-       <div id="purchase-download" style="display: none;">
-
-       <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>
-{/if}
-
        <hr />
 
 {include file='player.tpl'}

Modified: trunk/nixtape/themes/librefm/templates/header.tpl
===================================================================
--- trunk/nixtape/themes/librefm/templates/header.tpl   2009-05-17 14:18:49 UTC 
(rev 1679)
+++ trunk/nixtape/themes/librefm/templates/header.tpl   2009-05-17 15:13:57 UTC 
(rev 1680)
@@ -27,7 +27,6 @@
        <script type="text/javascript" src="{$base_url}/js/player.js"></script>
        <script type="text/javascript" 
src="{$base_url}/js/jquery-1.3.2.min.js"></script>
        <script type="text/javascript" 
src="{$base_url}/js/jquery-ui-1.7.1.custom.min.js"></script>
-       <script type="text/javascript" src="{$base_url}/js/links.js"></script>
 {section name=i loop=$extra_head_links}
        <link rel="{$extra_head_links[i].rel|escape:'html':'UTF-8'}" 
href="{$extra_head_links[i].href|escape:'html':'UTF-8'}" 
type="{$extra_head_links[i].type|escape:'html':'UTF-8'}" 
title="{$extra_head_links[i].title|escape:'html':'UTF-8'}"  />
 {/section}

Modified: trunk/nixtape/themes/librefm/templates/track.tpl
===================================================================
--- trunk/nixtape/themes/librefm/templates/track.tpl    2009-05-17 14:18:49 UTC 
(rev 1679)
+++ trunk/nixtape/themes/librefm/templates/track.tpl    2009-05-17 15:13:57 UTC 
(rev 1680)
@@ -4,21 +4,6 @@
 
        <h2 property="dc:title" class="fn" rel="foaf:page" 
rev="foaf:primaryTopic" resource="">{$track->name|escape:'html':'UTF-8'}</h2>
 
-       {if !$track->licenseurl && !$track->license && (!isset($this_user) || 
$this_user->anticommercial<>1)}
-
-       <div id="purchase-download" style="display: none;">
-
-       <h2>Purchase this track</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>
-
-       {/if}
-
        <hr />
 
        {include file='player.tpl'}





reply via email to

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