*** empty log message ***
This commit is contained in:
parent
54fd432bfc
commit
13d71ed3c2
20 changed files with 7957 additions and 388 deletions
|
@ -1,3 +1,5 @@
|
|||
{assign var="_PL_activeId" value=$PL->getActiveId()}
|
||||
|
||||
{if $_results.cnt > 0}
|
||||
<form name="SEARCHRESULTS">
|
||||
<div class="head" style="width:535px; height: 21px;"> </div>
|
||||
|
@ -46,14 +48,27 @@
|
|||
##Page##: {$_results.page+1}
|
||||
##Range##: {$_criteria.offset+1}-{if ($_criteria.offset+$_criteria.limit)>$_results.cnt}{$_results.cnt}{else}{$_criteria.offset+$_criteria.limit}{/if}
|
||||
</div>
|
||||
{if $_PL_activeId}
|
||||
<input type="button" class="button" value="##To Playlist##" onClick="collector_submit('SEARCHRESULTS', 'PL.addItem')">
|
||||
{else}
|
||||
<input type="button" class="button" value="##New Playlist##" onClick="collector_submit('SEARCHRESULTS', 'PL.create')">
|
||||
{/if}
|
||||
|
||||
<select name="SEARCHRESULTS_multiaction">
|
||||
<option>##Multiple Action:##</option>
|
||||
<option onClick="collector_submit('SEARCHRESULTS', 'SP.addItem')">##Add file(s) to ScratchPad##</option>
|
||||
{if $_PL_activeId}
|
||||
<option onClick="collector_submit('SEARCHRESULTS', 'PL.addItem')">##Add file(s) to active Playlist##</option>
|
||||
{else}
|
||||
<option onClick="collector_submit('SEARCHRESULTS', 'PL.create')">##New Playlist using this file(s)##</option>
|
||||
{/if}
|
||||
</select>
|
||||
<script type="text/javascript">
|
||||
document.forms['SEARCHRESULTS'].elements['SEARCHRESULTS_multiaction'].options[0].selected=true;
|
||||
//document.forms['SEARCHRESULTS'].elements['all'].checked = false;
|
||||
//collector_switchAll('SEARCHRESULTS')
|
||||
</script>
|
||||
|
||||
</div>
|
||||
</form>
|
||||
|
||||
{else}
|
||||
##No match found.##
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
{assign var="_PL_activeId" value=NULL}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!-- start nav -->
|
||||
<div class="container_nav">
|
||||
<ul id="nav">
|
||||
<!-- <li><a href="{$UI_BROWSER}?id={$START.fid}&act=uploadFileM">##UploadM##</a></li> -->
|
||||
<!-- start nav -->
|
||||
<div class="container_nav">
|
||||
<ul id="nav">
|
||||
<!-- <li><a href="{$UI_BROWSER}?id={$START.fid}&act=uploadFileM">UploadM</a></li> -->
|
||||
<li><a href="{$UI_BROWSER}?folderId={$START.fid}&act=editFile">##Add Audio##</a>
|
||||
<ul>
|
||||
<li><a href="{$UI_BROWSER}?folderId={$START.fid}&act=editFile">##File##</a></li>
|
||||
|
@ -16,17 +16,17 @@
|
|||
</li>
|
||||
<li><a href="{$UI_BROWSER}?id={$START.fid}&act=PL.simpleManagement">##Playlist Editor##</a></li>
|
||||
<li><a href="{$UI_BROWSER}?act=SCHEDULER">##Scheduler##</a></li>
|
||||
<!-- <li><a href="{$UI_BROWSER}?act=MetaDataValues&Main=1">##Metadata##</a></li> -->
|
||||
<!-- <li><a href="{$UI_BROWSER}?act=MetaDataValues&Main=1">Metadata</a></li> -->
|
||||
<li><a href="{$UI_BROWSER}?act=changeStationPrefs">##Station Settings##</a>
|
||||
{*
|
||||
<ul>
|
||||
<li><a href="{$UI_BROWSER}?act=changeStationPrefs">##Station Settings##</a></li>
|
||||
<li><a href="{$UI_BROWSER}?id={$START.id}&act=subjects">##User/Groups##</a></li>
|
||||
<li><a href="{$UI_BROWSER}?act=fileList&id={$START.fid}">##File List##</a></li>
|
||||
<li><a href="{$UI_BROWSER}?act=fileList&id={$START.fid}">##File List##</a></li>
|
||||
</ul>
|
||||
*}
|
||||
</li>
|
||||
<li><a href="#" onClick="window.open('help.html','','scrollbars=yes,resizable=yes,width=500,height=400')">##Help##</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- end nav -->
|
||||
</ul>
|
||||
</div>
|
||||
<!-- end nav -->
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{assign var="_PL_activeId" value=$PL->getActiveId()}
|
||||
|
||||
<!-- start scratch pad -->
|
||||
{if is_array($SCRATCHPAD)}
|
||||
<form name="SP">
|
||||
|
@ -10,9 +11,6 @@
|
|||
<!-- start table header -->
|
||||
<tr class="blue_head">
|
||||
<td style="width: 30px"><input type="checkbox" name="all" onClick="collector_switchAll('SP')"></td>
|
||||
<script type="text/javascript">
|
||||
document.forms['SP'].elements['all'].checked = false;
|
||||
</script>
|
||||
<td style="width: 95px"><a href="#" onClick="hpopup('{$UI_HANDLER}?act=SP.reOrder&by=title', 'order');" id="blue_head">##Title##</a></td>
|
||||
<td style="width: 69px"><a href="#" onClick="hpopup('{$UI_HANDLER}?act=SP.reOrder&by=title', 'order');" id="blue_head">##Duration##</td>
|
||||
<td style="width: 41px; border: 0"><a href="#" onClick="hpopup('{$UI_HANDLER}?act=SP.reOrder&by=title', 'order');" id="blue_head">##Type##</td>
|
||||
|
@ -41,15 +39,17 @@
|
|||
<div class="footer" style="width:255px;">
|
||||
<select name="SP_multiaction">
|
||||
<option>##Multiple Action:##</option>
|
||||
<option onClick="collector_submit('SP', 'SP.removeItem')">##Remove##</option>
|
||||
<option onClick="collector_submit('SP', 'SP.removeItem')">##Remove file(s)##</option>
|
||||
{if $_PL_activeId}
|
||||
<option onClick="collector_submit('SP', 'PL.addItem')">##Add to Playlist##</option>
|
||||
<option onClick="collector_submit('SP', 'PL.addItem')">##Add file(s) to active Playlist##</option>
|
||||
{else}
|
||||
<option onClick="collector_submit('SP', 'PL.create')">##New Playlist using Item##</option>
|
||||
<option onClick="collector_submit('SP', 'PL.create')">##New Playlist using this file(s)##</option>
|
||||
{/if}
|
||||
</select>
|
||||
<script type="text/javascript">
|
||||
document.forms['SP'].elements['SP_multiaction'].options[0].selected=true;
|
||||
document.forms['SP'].elements['SP_multiaction'].options[0].selected = true;
|
||||
//document.forms['SP'].elements['all'].checked = false;
|
||||
//collector_switchAll('SP');
|
||||
</script>
|
||||
<a href="#" onClick="collector_clearAll('SP', 'SP.removeItem')" id="blue_head">##Clear##</a>
|
||||
</div>
|
||||
|
@ -60,62 +60,4 @@
|
|||
{assign var="_PL_activeId" value=NULL}
|
||||
<!-- end scratch pad -->
|
||||
|
||||
|
||||
|
||||
{*
|
||||
<!-- old template -->
|
||||
{assign var="_PL_activeId" value=$PL->getActiveId()}
|
||||
|
||||
<div id="scratchpad">
|
||||
<center><b>ScratchPad</b>
|
||||
{if is_array($SCRATCHPAD)}
|
||||
<form name="SP">
|
||||
<input type="hidden" name="act">
|
||||
<table>
|
||||
<tr style="background-color: {cycle values='#eeeeee, #dadada'}">
|
||||
<th></th>
|
||||
<td align="center"><a href="#" onClick="hpopup('{$UI_HANDLER}?act=SP.reOrder&by=title', 'order');">[Title]</a></td>
|
||||
<td align="center"><a href="#" onClick="hpopup('{$UI_HANDLER}?act=SP.reOrder&by=duration', 'order');">[Duration]</a></td>
|
||||
<td align="center"><a href="#" onClick="hpopup('{$UI_HANDLER}?act=SP.reOrder&by=type', 'order');">[Type]</a></td>
|
||||
<td align="center">Remove</td>
|
||||
</tr>
|
||||
|
||||
{foreach from=$SCRATCHPAD item=i}
|
||||
<tr style="background-color: {cycle values='#eeeeee, #dadada'}" {assign var="moreContextBefore" value=", 'SP.removeItem'"} {include file="sub/contextmenu.tpl"}>
|
||||
<td><input type="checkbox" name="{$i.id}"></td>
|
||||
<td>
|
||||
{if $_PL_activeId == $i.id}
|
||||
<b>{$i.title|truncate:30}</b>
|
||||
{else}
|
||||
{$i.title|truncate:30}
|
||||
{/if}
|
||||
</td>
|
||||
<td>{$i.duration}</td>
|
||||
<td>{$i.type} </td>
|
||||
<th><a href="#" onclick="hpopup('{$UI_HANDLER}?act=SP.removeItem&id={$i.id}', 'SP')">X</th>
|
||||
</tr>
|
||||
{/foreach}
|
||||
<tr style="background-color: {cycle values='#eeeeee, #dadada'}">
|
||||
<td><input type="checkbox" name="all" onClick="collector_switchAll('SP')"></th>
|
||||
<td align="center" colspan="2">
|
||||
<select name="SP_multiaction">
|
||||
<option>Multiple Action:</option>
|
||||
<option onClick="collector_submit('SP', 'SP.removeItem')">Remove</option>
|
||||
{if $_PL_activeId}
|
||||
<option onClick="collector_submit('SP', 'PL.addItem')">Add to Playlist</option>
|
||||
{else}
|
||||
<option onClick="collector_submit('SP', 'PL.create')">New Playlist using Item</option>
|
||||
{/if}
|
||||
</select>
|
||||
<script type="text/javascript">
|
||||
document.forms['SP'].elements['SP_multiaction'].options[0].selected=true;
|
||||
</script>
|
||||
</th>
|
||||
<td align="center" colspan="2"><a href="#" onClick="collector_clearAll('SP', 'SP.removeItem')">[Clear]</a></th>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
{/if}
|
||||
</div>
|
||||
</center>
|
||||
*}
|
||||
{assign var="_PL_activeId" value=NULL}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{*Smarty template*}
|
||||
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
|
||||
function collector_submit(formname, action)
|
||||
{
|
||||
var href = '{/literal}{$UI_HANDLER}{literal}?act='+action;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue