/[cvs]/nfo/php/scripts/gdwebint/public_html/tpl/playlists.tpl
ViewVC logotype

Annotation of /nfo/php/scripts/gdwebint/public_html/tpl/playlists.tpl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations)
Fri Apr 1 15:49:51 2005 UTC (19 years, 4 months ago) by joko
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +4 -0 lines
+ functionality to disable delete- and empty-buttons via configuration

1 joko 1.1 {include file="main.header.tpl"}
2     <table cellspacing="30" width="100%">
3     <tr>
4     <td valign="top" width="1%"><img src="gfx/topic.playlists.gif" alt=""></td>
5     <td>
6     <h2>Playlists</h2>
7    
8     <p>
9     You currently have {$count} playlist/s<br>
10     in your GiantDisc-System. With this panel,<br>
11     you can edit, delete and add playlists.
12     </p>
13    
14     <br>
15    
16     <blockquote>
17     <img src="gfx/icon.new.gif" alt="" class="menu-img">
18     <b><a href="playlists.php?mode=new&amp;sid={$sid}">New Playlist</a></b>
19    
20     <br>
21    
22     To add a Playlist, please choose<br>
23     the link above and create a new list.
24     </blockquote>
25    
26     <br>
27    
28     <table width="100%">
29     <tr>
30     <td valign="top">
31     <b>{$count} playlist/s found</b><br>
32     page {$page} of {$pagecount}
33     </td>
34     <td align="right" valign="top">
35     page
36     {section name=i loop=$pages}
37     {if $page == $pages[i]}{$page}
38     {else}<B><a href="playlists.php?page={$pages[i]}&amp;sid={$sid}">{$pages[i]}</a></b>{/if}
39     {/section}
40     </td>
41     </tr>
42     <tr>
43     <td colspan="2">
44     {include file="main.playlist.tpl"}
45     </td>
46     </tr>
47     <tr>
48     <td>
49     <table>
50     <tr>
51     <td valign="top"><img src="gfx/icon.check.arrow.gif" alt="" style="vertical-align: bottom">
52     <td valign="bottom">
53     <a href="#" onclick="setCheckboxes('playlists','id[]',true); return false;" onmouseover="showTip(this,event,'Select all checkboxes<br>of the playlist/s above.')" onmouseout="hideTip()">Select all</a> /
54     <a href="#" onclick="setCheckboxesBetween('playlists','id[]',true); return false;" onmouseover="showTip(this,event,'Select all playlist/s between<br>two already checked.')" onmouseout="hideTip()">Select between</a> /
55     <a href="#" onclick="setCheckboxes('playlists','id[]',false); return false;" onmouseover="showTip(this,event,'Unselect all checkboxes<br>of the playlist/s above.')" onmouseout="hideTip()">Deselect all</a>
56     </td>
57     </tr>
58     <tr>
59     <td></td>
60     <td>
61     Selected:
62    
63 joko 1.2 {if not $cfg.disable_delete_playlists}
64 joko 1.1 <img src="gfx/icon.delete.entry.gif" alt="" class="menu-img">
65     <a href="#" onclick="goPlaylistMultiDelete('playlists','id[]')" onmouseover="showTip(this,event,'Delete the selected playlists<br>from your database.<br><b>Info:</b> No files are deleted!')" onmouseout="hideTip()">Delete</a>
66 joko 1.2 {/if}
67 joko 1.1
68 joko 1.2 {if not $cfg.disable_empty_playlists}
69 joko 1.1 <img src="gfx/icon.empty.gif" alt="" class="menu-img">
70     <a href="#" onclick="goPlaylistMultiEmpty('playlists','id[]')" onmouseover="showTip(this,event,'Empty the selected playlists.<br><b>Info:</b> No files are deleted!')" onmouseout="hideTip()">Empty</a>
71 joko 1.2 {/if}
72 joko 1.1
73     <img src="gfx/icon.play.gif" alt="" class="menu-img">
74     <a href="#" onclick="{if $cfg.common_isdemo}demoInfo(){else}goPlaylistMultiPlay('playlists','id[]','0'){/if}" onmouseover="showTip(this,event,'Play the selected playlists via<br>creating a dynamic playlist.')" onmouseout="hideTip()">Play</a>
75    
76     <img src="gfx/icon.shuffle.gif" alt="" class="menu-img">
77     <a href="#" onclick="{if $cfg.common_isdemo}demoInfo(){else}goPlaylistMultiPlay('playlists','id[]','1'){/if}" onmouseover="showTip(this,event,'Play the selected playlists via<br>creating a dynamic playlist.<br>The files are shuffled.')" onmouseout="hideTip()">Play shuffled</a>
78     </td>
79     </tr>
80     </table>
81     </td>
82     <td align="right" valign="top">
83     page
84     {section name=i loop=$pages}
85     {if $page == $pages[i]}{$page}
86     {else}<B><a href="playlists.php?page={$pages[i]}&amp;sid={$sid}">{$pages[i]}</a></b>{/if}
87     {/section}
88     </td>
89     </tr>
90     </table>
91    
92    
93     </td>
94     </tr>
95     </table>
96     {include file="main.footer.tpl"}

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed