librefm-commits
[Top][All Lists]
Advanced

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

[Librefm-commits] [1679] let's see if this does what we want


From: Matt Lee
Subject: [Librefm-commits] [1679] let's see if this does what we want
Date: Sun, 17 May 2009 14:18:50 +0000

Revision: 1679
          http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1679
Author:   mattl
Date:     2009-05-17 14:18:49 +0000 (Sun, 17 May 2009)
Log Message:
-----------
let's see if this does what we want

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

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

Added: trunk/nixtape/js/links.js
===================================================================
--- trunk/nixtape/js/links.js                           (rev 0)
+++ trunk/nixtape/js/links.js   2009-05-17 14:18:49 UTC (rev 1679)
@@ -0,0 +1,2 @@
+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 00:54:38 UTC 
(rev 1678)
+++ trunk/nixtape/themes/librefm/templates/album.tpl    2009-05-17 14:18:49 UTC 
(rev 1679)
@@ -17,7 +17,7 @@
        </div>
 
 {if !isset($this_user) || $this_user->anticommercial<>1}
-       <div id="purchase-download">
+       <div id="purchase-download" style="display: none;">
 
        <h2>Purchase this album</h2>
 

Modified: trunk/nixtape/themes/librefm/templates/header.tpl
===================================================================
--- trunk/nixtape/themes/librefm/templates/header.tpl   2009-05-17 00:54:38 UTC 
(rev 1678)
+++ trunk/nixtape/themes/librefm/templates/header.tpl   2009-05-17 14:18:49 UTC 
(rev 1679)
@@ -27,6 +27,7 @@
        <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 00:54:38 UTC 
(rev 1678)
+++ trunk/nixtape/themes/librefm/templates/track.tpl    2009-05-17 14:18:49 UTC 
(rev 1679)
@@ -6,7 +6,7 @@
 
        {if !$track->licenseurl && !$track->license && (!isset($this_user) || 
$this_user->anticommercial<>1)}
 
-       <div id="purchase-download">
+       <div id="purchase-download" style="display: none;">
 
        <h2>Purchase this track</h2>
 





reply via email to

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