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

Contents of /nfo/php/scripts/gdwebint/public_html/tpl/search.albums.tpl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show 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: +2 -0 lines
+ functionality to disable delete- and empty-buttons via configuration

1 {include file="main.header.tpl"}
2 {include file="main.searchform.tpl"}
3
4 {if count($albums) > 0}
5 <table width="95%" align="center">
6 <tr>
7 <td valign="top">
8 <b>{$count} album/s found</b><br>
9 page {$page} of {$pagecount}
10 </td>
11 <td align="right" valign="top">
12 {include file="main.pages.tpl" format="search.php?mode=albums&amp;artist=`$artist`&amp;title=`$title`&amp;genre=`$genre`&amp;lang=`$lang`&amp;rating=`$rating`&amp;listmode=`$listmode`&amp;orderby=`$orderby`&amp;direction=`$direction`&amp;page=%s&amp;sid=`$sid`"}
13 </td>
14 </tr>
15 <tr>
16 <td colspan="2">
17 {include file="main.albumlist.tpl" issearch=true}
18 </td>
19 </tr>
20 <tr>
21 <td>
22 <table>
23 <tr>
24 <td valign="top"><img src="gfx/icon.check.arrow.gif" alt="" style="vertical-align: bottom">
25 <td valign="bottom">
26 <a href="#" onclick="setCheckboxes('albums','id[]',true); return false;" onmouseover="showTip(this,event,'Select all checkboxes<br>of the album/s above.')" onmouseout="hideTip()">Select all</a> /
27 <a href="#" onclick="setCheckboxesBetween('albums','id[]',true); return false;" onmouseover="showTip(this,event,'Select all album/s between<br>two already checked.')" onmouseout="hideTip()">Select between</a> /
28 <a href="#" onclick="setCheckboxes('albums','id[]',false); return false;" onmouseover="showTip(this,event,'Unselect all checkboxes<br>of the album/s above.')" onmouseout="hideTip()">Deselect all</a>
29 </td>
30 </tr>
31 <tr>
32 <td></td>
33 <td>
34 Selected:
35
36 <img src="gfx/icon.edit.gif" alt="" class="menu-img">
37 <a href="#" onclick="goAlbumMultiEdit('albums','id[]')" onmouseover="showTip(this,event,'Edit the selected albums')" onmouseout="hideTip()">Edit</a>
38
39 {if not $cfg.disable_delete_files}
40 <img src="gfx/icon.delete.file.gif" alt="" class="menu-img">
41 <a href="#" onclick="{if $cfg.common_isdemo}demoInfo(){else}goAlbumMultiDelete('albums','id[]'){/if}" onmouseover="showTip(this,event,'Delete the selected albums/s from the<br>filesystem, database and all playlists.<br><b>Warning:</b> You cannot undo!')" onmouseout="hideTip()">Delete</a>
42 {/if}
43
44 <img src="gfx/icon.add.gif" alt="" class="menu-img">
45 <a href="#" onclick="{if $cfg.common_isdemo}demoInfo(){else}goAlbumMultiAdd('albums','id[]'){/if}" onmouseover="showTip(this,event,'Add the selected albums to the<br>active playlist.')" onmouseout="hideTip()">Add to Playlist</a>
46
47 <img src="gfx/icon.download.gif" alt="" class="menu-img">
48 <a href="#" onclick="{if $cfg.common_isdemo}demoInfo(){else}goAlbumMultiDownload('albums','id[]'){/if}" onmouseover="showTip(this,event,'Download the selected albums as tar.gz-archive.<br><b>Info:</b> Be careful. Don\'t select too many!')" onmouseout="hideTip()">Download</a>
49
50 <img src="gfx/icon.play.gif" alt="" class="menu-img">
51 <a href="#" onclick="{if $cfg.common_isdemo}demoInfo(){else}goAlbumMultiPlay('albums','id[]'){/if}" onmouseover="showTip(this,event,'Create a temporary playlist and<br>play the selected albums.')" onmouseout="hideTip()">Play</a>
52 </td>
53 </tr>
54 </table>
55 </td>
56 <td align="right" valign="top">
57 {include file="main.pages.tpl" format="search.php?mode=albums&amp;artist=`$artist`&amp;title=`$title`&amp;genre=`$genre`&amp;lang=`$lang`&amp;rating=`$rating`&amp;listmode=`$listmode`&amp;orderby=`$orderby`&amp;direction=`$direction`&amp;page=%s&amp;sid=`$sid`"}
58 </td>
59 </tr>
60 </table>
61 {else}
62 <table width="100%">
63 <tr>
64 <td valign="middle" align="center" style="padding-top: 20px; padding-bottom: 80px">
65 <img src="gfx/topic.nothing-found.gif" alt="" class="menu-img">
66 <b class="menu-text">Nothing found :(</b>
67 </td>
68 </tr>
69 </table>
70 {/if}
71
72 {include file="main.footer.tpl"}

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