*** empty log message ***
This commit is contained in:
parent
4b6eeadb27
commit
1b44662fc3
49 changed files with 1906 additions and 855 deletions
|
@ -1,46 +1,35 @@
|
|||
<div class="standardFrame">
|
||||
{include file="sub/x.tpl"}
|
||||
<div class="content">
|
||||
<!-- start editor -->
|
||||
<div class="container_elements" style="width: 607px;">
|
||||
<h1>
|
||||
{if $editItem.id}
|
||||
##Edit##
|
||||
{else}
|
||||
##New##
|
||||
{/if}
|
||||
{$editItem.type|capitalize}
|
||||
</h1>
|
||||
|
||||
<h4>
|
||||
{if $editItem.id}
|
||||
Edit
|
||||
{else}
|
||||
New
|
||||
{/if}
|
||||
{$editItem.type|capitalize}
|
||||
</h4>
|
||||
{if $editItem.type == 'audioclip' || $editItem.type == 'file'}
|
||||
<div id="div_Data"> {include file="file/fileform.tpl"} </div>
|
||||
<div id="div_MData"> {include file="file/metadataform.tpl"} </div>
|
||||
<input type="button" class="button" onClick="showData()" value="##Data##">
|
||||
<input type="button" class="button" onClick="showMData()" value="##Metadata##">
|
||||
{/if}
|
||||
|
||||
{if $editItem.type == 'audioclip' || $editItem.type == 'file'}
|
||||
<input type="button" onClick="showData()" value="Data">
|
||||
<input type="button" onClick="showMData()" value="MData">
|
||||
<div id="div_Data">
|
||||
{include file="file/fileform.tpl"}
|
||||
{if $editItem.type == 'webstream'}
|
||||
<div id="div_Data"> {include file="file/webstreamform.tpl"} </div>
|
||||
<div id="div_MData"> {include file="file/metadataform.tpl"} </div>
|
||||
<input type="button" class="button" onClick="showData()" value="##Data##">
|
||||
<input type="button" class="button" onClick="showMData()" value="##Metadata##">
|
||||
{/if}
|
||||
|
||||
{if $editItem.type == 'playlist'}
|
||||
{include file="file/metadataform.tpl"}
|
||||
{/if}
|
||||
</div>
|
||||
<div id="div_MData">
|
||||
{include file="file/metadataform.tpl"}
|
||||
<!-- end editor -->
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
|
||||
{if $editItem.type == 'webstream'}
|
||||
<input type="button" onClick="showData()" value="Data">
|
||||
<input type="button" onClick="showMData()" value="MData">
|
||||
<div id="div_Data">
|
||||
{include file="file/webstreamform.tpl"}
|
||||
</div>
|
||||
<div id="div_MData">
|
||||
{include file="file/metadataform.tpl"}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $editItem.type == 'playlist'}
|
||||
<div id="div_MData">
|
||||
{include file="file/metadataform.tpl"}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
|
|
|
@ -1,9 +1,3 @@
|
|||
{UIBROWSER->fileForm id=$editItem.id folderId=$editItem.folderId assign="_uploadform"}
|
||||
|
||||
<div id="uploadform">
|
||||
<center>
|
||||
{$_uploadform}
|
||||
</center>
|
||||
</div>
|
||||
|
||||
{assign var="_uploadform" value=FALSE}
|
||||
{UIBROWSER->fileForm id=$editItem.id folderId=$editItem.folderId assign="dynform"}
|
||||
{include file="sub/dynForm_plain.tpl}
|
||||
{assign var="_uploadform" value=NULL}
|
||||
|
|
|
@ -1,10 +1,16 @@
|
|||
<div class="content">
|
||||
<!-- start file -->
|
||||
<div class="container_elements" style="width: 607px;">
|
||||
<h1>##File Management##</h1>
|
||||
{if $showTree}
|
||||
{include file="file/tree.tpl"}
|
||||
{/if}
|
||||
{if $showObjects}
|
||||
{include file="file/objects.tpl"}
|
||||
{/if}
|
||||
|
||||
{if $permissions}
|
||||
{include file="file/permissions.tpl"}
|
||||
{/if}
|
||||
</div>
|
||||
<!-- end file -->
|
||||
</div>
|
||||
|
|
|
@ -1,23 +1,20 @@
|
|||
{UIBROWSER->metaDataForm id=$editItem.id assign="_metadataform"}
|
||||
|
||||
{literal}
|
||||
<style type="text/css">
|
||||
.dynformelement {
|
||||
width : 270px;
|
||||
text-align : right;
|
||||
}
|
||||
</style>
|
||||
{/literal}
|
||||
<div id="tabnav">
|
||||
<ul>
|
||||
<!--li><a href="#" class="active">Search</a></li-->
|
||||
<li><a href="#" onClick="javascript:showMain();" id="switch_Main">##Main##</a></li>
|
||||
<li><a href="#" onClick="javascript:showMusic();" id="switch_Music">##Music##</a></li>
|
||||
<li><a href="#" onClick="javascript:showTalk();" id="switch_Talk">##Talk##</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{*$_metadataform.tabs*}
|
||||
{*$_metadataform.langswitch*}
|
||||
|
||||
<div id="metadataform">
|
||||
<center>
|
||||
{$_metadataform.tabs}
|
||||
{$_metadataform.langswitch}
|
||||
{foreach from=$_metadataform.pages key="key" item="dynform"}
|
||||
{include file="sub/dynForm_plain.tpl"}
|
||||
{/foreach}
|
||||
</center>
|
||||
</div>
|
||||
|
||||
<script language="javascript">
|
||||
{literal}
|
||||
|
@ -41,21 +38,30 @@ function spread(element, name)
|
|||
|
||||
function showMain()
|
||||
{
|
||||
document.getElementById('div_Main').style.display='inline';
|
||||
document.getElementById('div_Music').style.display='none';
|
||||
document.getElementById('div_Talk').style.display='none';
|
||||
document.getElementById('div_Main').style.display = 'inline';
|
||||
document.getElementById('div_Music').style.display = 'none';
|
||||
document.getElementById('div_Talk').style.display = 'none';
|
||||
document.getElementById('switch_Main').className = 'active';
|
||||
document.getElementById('switch_Music').className = '';
|
||||
document.getElementById('switch_Talk').className = '';
|
||||
}
|
||||
function showMusic()
|
||||
{
|
||||
document.getElementById('div_Main').style.display='none';
|
||||
document.getElementById('div_Music').style.display='inline';
|
||||
document.getElementById('div_Talk').style.display='none';
|
||||
document.getElementById('div_Main').style.display = 'none';
|
||||
document.getElementById('div_Music').style.display = 'inline';
|
||||
document.getElementById('div_Talk').style.display = 'none';
|
||||
document.getElementById('switch_Main').className = '';
|
||||
document.getElementById('switch_Music').className = 'active';
|
||||
document.getElementById('switch_Talk').className = '';
|
||||
}
|
||||
function showTalk()
|
||||
{
|
||||
document.getElementById('div_Main').style.display='none';
|
||||
document.getElementById('div_Music').style.display='none';
|
||||
document.getElementById('div_Talk').style.display='inline';
|
||||
document.getElementById('div_Main').style.display = 'none';
|
||||
document.getElementById('div_Music').style.display = 'none';
|
||||
document.getElementById('div_Talk').style.display = 'inline';
|
||||
document.getElementById('switch_Main').className = '';
|
||||
document.getElementById('switch_Music').className = '';
|
||||
document.getElementById('switch_Talk').className = 'active';
|
||||
}
|
||||
showMain();
|
||||
{/literal}
|
||||
|
|
|
@ -1,68 +1,69 @@
|
|||
{assign var="_PL_activeId" value=$PL->getActiveId()}
|
||||
|
||||
<div id="objects">
|
||||
{include file="sub/x.tpl"}
|
||||
|
||||
|
||||
<table border="0" width="90%" align="center">
|
||||
<tr bgcolor="{cycle values='#eeeeee, #dadada"'}">
|
||||
<th>Title</th>
|
||||
<th>Type</th>
|
||||
<td align="right" width='70%'>
|
||||
{if $START.pid}<a href="{$UI_BROWSER}?act=fileList&id={$START.pid}">[go up]</a>{/if}
|
||||
</td>
|
||||
</tr>
|
||||
{if count($structure.listdata)}
|
||||
{foreach from=$structure.listdata item=i}
|
||||
{assign var="_listen_gunid" value=$i.gunid}
|
||||
<tr bgcolor="{cycle values='#eeeeee, #dadada"'}" {assign var="moreContextBefore" value=", 'SP.addItem'"}{include file="sub/contextmenu.tpl"}>
|
||||
<td align="center">
|
||||
<span id="ID{$i.id}">
|
||||
{if $i.type eq 'Folder'}
|
||||
<a href="{$UI_BROWSER}?act=fileList&id={$i.id}" >[{$i.title|truncate:30}]</b>
|
||||
{else}
|
||||
{if $_PL_activeId == $i.id}
|
||||
<b>{$i.title|truncate:30}</b>
|
||||
{else}
|
||||
{$i.title|truncate:30}
|
||||
{/if}
|
||||
{/if}
|
||||
</span>
|
||||
</td>
|
||||
<td align="center">{$i.type}</td>
|
||||
<td>
|
||||
<!-- <a href="javascript:frename('{$i.name}', '{$i.id}')">[rename]</a> -->
|
||||
<a href="javascript:fmove('{$i.id}', '.')">[move]</a>
|
||||
<a href="javascript:fcopy('{$i.id}', '.')">[copy]</a>
|
||||
<a href="{$UI_BROWSER}?act=permissions&id={$i.id}">[permissions]</a>
|
||||
<!--
|
||||
{if ($delOverride eq $i.id)}
|
||||
<a href="{$UI_HANDLER}?act=delete&id={$i.id}&delOverride={$i.id}"
|
||||
onClick="return confirm('Really delete non empty Folder "{$i.name}" now?')">[DEL]</a>
|
||||
{else}
|
||||
<a href="{$UI_HANDLER}?act=delete&id={$i.id}"
|
||||
onClick="return confirm('Delete "{$i.name}"?')">[DEL]</a>
|
||||
{/if} -->
|
||||
{if $i.type != 'Folder'}
|
||||
<br>
|
||||
<a href="{$UI_BROWSER}?act=getMData&id={$i.id}">[MDataXML]</a>
|
||||
<!-- <a href="{$UI_BROWSER}?act=editMetaData&id={$i.id}">[MDataForm]</a> -->
|
||||
{if $i.type eq 'webstream'}
|
||||
<a href="{$UI_BROWSER}?act=editWebstream&id={$i.id}">[Edit]</a>
|
||||
{elseif $i.type eq 'audioclip'}
|
||||
<a href="{$UI_BROWSER}?act=editFile&id={$i.id}">[Edit]</a>
|
||||
<a href="{$CONFIG.accessRawAudioUrl}?id={$i.gunid}&sessid={$START.sessid}">[Access]</a>
|
||||
<a href="{$UI_BROWSER}?act=_analyzeFile&id={$i.id}">[RawAnalyze]</a>
|
||||
{/if}
|
||||
<!-- <a href="#" onclick="hpopup('{$UI_HANDLER}?act=SP.addItem&id={$i.id}', '2SP')">[SP]</a> -->
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
{else}
|
||||
<tr><td align="center" width="400">No objects</td></tr>
|
||||
{/if}
|
||||
</table>
|
||||
|
||||
{assign var="_PL_activeId" value=$PL->getActiveId()}
|
||||
<div class="contenttabnav">
|
||||
{if $START.pid}
|
||||
<a href="{$UI_BROWSER}?act=fileList&id={$START.pid}">##go up##</a>
|
||||
{/if}
|
||||
{include file="file/path.tpl"}
|
||||
</div>
|
||||
<div class="head" style="width:555px; height: 21px;">
|
||||
</div>
|
||||
<div class="container_table" style="width: 555px; height: auto;">
|
||||
<table>
|
||||
<tr class="blue_head">
|
||||
<td style="width: 130px">Title</td>
|
||||
<td style="width: 50px">Type</td>
|
||||
<td style="width: 447px; border: 0">
|
||||
</td>
|
||||
</tr>
|
||||
{if count($structure.listdata)}
|
||||
{foreach from=$structure.listdata item=i}
|
||||
{assign var="_listen_gunid" value=$i.gunid}
|
||||
<tr class="{cycle values='blue1, blue2'}" {assign var="moreContextBefore" value=", 'SP.addItem'"}{include file="sub/contextmenu.tpl"}>
|
||||
<td>
|
||||
<span id="ID{$i.id}">
|
||||
{if $i.type eq 'Folder'}
|
||||
<a href="{$UI_BROWSER}?act=fileList&id={$i.id}" >[{$i.title|truncate:30}]</b>
|
||||
{else}
|
||||
{if $_PL_activeId == $i.id}
|
||||
<b>{$i.title|truncate:30}</b>
|
||||
{else}
|
||||
{$i.title|truncate:30}
|
||||
{/if}
|
||||
{/if}
|
||||
</span>
|
||||
</td>
|
||||
<td>{$i.type}</td>
|
||||
<td style="border: 0">
|
||||
<!-- <a href="javascript:frename('{$i.name}', '{$i.id}')">[rename]</a> -->
|
||||
<a href="javascript:fmove('{$i.id}', '.')">##move##</a>
|
||||
<a href="javascript:fcopy('{$i.id}', '.')">##copy##</a>
|
||||
<a href="{$UI_BROWSER}?act=permissions&id={$i.id}">##permissions##</a>
|
||||
<!--
|
||||
{if ($delOverride eq $i.id)}
|
||||
<a href="{$UI_HANDLER}?act=delete&id={$i.id}&delOverride={$i.id}"
|
||||
onClick="return confirm('Really delete non empty Folder "{$i.name}" now?')">[DEL]</a>
|
||||
{else}
|
||||
<a href="{$UI_HANDLER}?act=delete&id={$i.id}"
|
||||
onClick="return confirm('Delete "{$i.name}"?')">[DEL]</a>
|
||||
{/if} -->
|
||||
{if $i.type != 'Folder'}
|
||||
<a href="{$UI_BROWSER}?act=getMData&id={$i.id}">##MDataXML##</a>
|
||||
<!-- <a href="{$UI_BROWSER}?act=editMetaData&id={$i.id}">[MDataForm]</a> -->
|
||||
{if $i.type eq 'webstream'}
|
||||
<a href="{$UI_BROWSER}?act=editWebstream&id={$i.id}">##Edit##</a>
|
||||
{elseif $i.type eq 'audioclip'}
|
||||
<a href="{$UI_BROWSER}?act=editFile&id={$i.id}">##Edit##</a>
|
||||
<a href="{$CONFIG.accessRawAudioUrl}?id={$i.gunid}&sessid={$START.sessid}">##Access##</a>
|
||||
<a href="{$UI_BROWSER}?act=_analyzeFile&id={$i.id}">##RawAnalyze##</a>
|
||||
{/if}
|
||||
<!-- <a href="#" onclick="hpopup('{$UI_HANDLER}?act=SP.addItem&id={$i.id}', '2SP')">[SP]</a> -->
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
{else}
|
||||
<tr><td align="center" width="400">##No objects##</td></tr>
|
||||
{/if}
|
||||
</table>
|
||||
</div>
|
|
@ -1,13 +1,13 @@
|
|||
{*Smarty template*}
|
||||
|
||||
<div id="path">
|
||||
<a href="{$UI_BROWSER}?act=fileList&id={$structure.id}&tree=Y" class="button">[Tree view]</a> |
|
||||
{foreach from=$structure.pathdata item=o}
|
||||
{if $o.type == 'Folder'}
|
||||
<a href="{$UI_BROWSER}?act=fileList&id={$o.id}">[{$o.name}]</a> /
|
||||
{else}
|
||||
{$o.name}
|
||||
{/if}
|
||||
{/foreach}
|
||||
<a href="javascript:newFolder()">[::new folder::]</a>
|
||||
</div>
|
||||
{*Smarty template*}
|
||||
|
|
||||
<a href="{$UI_BROWSER}?act=fileList&id={$structure.id}&tree=Y">##Tree view##</a>
|
||||
|
|
||||
##Folder Structure##:
|
||||
{foreach from=$structure.pathdata item=o}
|
||||
{if $o.type == 'Folder'}
|
||||
<a href="{$UI_BROWSER}?act=fileList&id={$o.id}">##{$o.name}##</a> /
|
||||
{else}
|
||||
##{$o.name}##
|
||||
{/if}
|
||||
{/foreach}
|
||||
<a href="javascript:newFolder()">##new folder##</a>
|
||||
|
|
|
@ -1,24 +1,31 @@
|
|||
{*Smarty template*}
|
||||
|
||||
<div id="tree">
|
||||
|
||||
{if is_array($structure.treedata)}
|
||||
{foreach from=$structure.treedata item=o}
|
||||
<div style="background-color: {cycle values="#eeeeee,#dadada"}">
|
||||
{$structure.treedata.type}
|
||||
{if $structure.treedata.tree}
|
||||
{str_repeat str=' ' count=3}
|
||||
{else}
|
||||
{str_repeat str=' ' count=$o.level}
|
||||
{/if}
|
||||
{if $o.type == 'Folder'}
|
||||
<a href="{$UI_BROWSER}?act=fileList&id={$o.id}">[{$o.name}]</a>
|
||||
{else}
|
||||
{$o.name}
|
||||
{/if}
|
||||
<br>
|
||||
</div>
|
||||
{/foreach}
|
||||
{/if}
|
||||
|
||||
{*Smarty template*}
|
||||
{if is_array($structure.treedata)}
|
||||
<div class="head" style="width:555px; height: 21px;">
|
||||
</div>
|
||||
<div class="container_table" style="width: 555px; height: auto;">
|
||||
<table>
|
||||
<tr class="blue_head">
|
||||
<td style="width: 555px;border: 0">##Item##</td>
|
||||
</tr>
|
||||
|
||||
{foreach from=$structure.treedata item=o}
|
||||
|
||||
<tr class="{cycle values='blue1, blue2'}">
|
||||
<td style="border: 0">
|
||||
{$structure.treedata.type}
|
||||
{if $structure.treedata.tree}
|
||||
{str_repeat str=' ' count=3}
|
||||
{else}
|
||||
{str_repeat str=' ' count=$o.level}
|
||||
{/if}
|
||||
{if $o.type == 'Folder'}
|
||||
<a href="{$UI_BROWSER}?act=fileList&id={$o.id}">[{$o.name}]</a>
|
||||
{else}
|
||||
{$o.name}
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
{/if}
|
||||
</div>
|
|
@ -1,10 +1,4 @@
|
|||
{UIBROWSER->webstreamForm id=$editItem.id folderId=$editItem.folderId assign="_uploadform"}
|
||||
|
||||
<div id="uploadform">
|
||||
<center>
|
||||
{$_uploadform}
|
||||
</center>
|
||||
</div>
|
||||
|
||||
{assign var="_uploadform" value=FALSE}
|
||||
{UIBROWSER->webstreamForm id=$editItem.id folderId=$editItem.folderId assign="dynform"}
|
||||
{include file="sub/dynForm_plain.tpl}
|
||||
{assign var="_uploadform" value=NULL}
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
<link href="styles_livesupport.css" rel="stylesheet" type="text/css" />
|
||||
|
||||
{include file="script/basics.js.tpl"}
|
||||
{include file="script/contextMenue.js.tpl"}
|
||||
{include file="script/contextmenu.js.tpl"}
|
||||
{include file="script/collector.js.tpl"}
|
||||
</head>
|
||||
|
||||
|
|
|
@ -1,45 +1,58 @@
|
|||
{if $_results.cnt > 0}
|
||||
<form name="SEARCHRESULTS">
|
||||
<div class="head" style="width:535px; height: 21px;"> </div>
|
||||
<div class="container_table" style="width: 555px; height: auto;">
|
||||
|
||||
<table style="width: 535px;">
|
||||
<tr class="blue_head">
|
||||
<td style="width: 95px"><a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.reOrder&by=title', 'order');" id="blue_head">##Title##</a></td>
|
||||
<td style="width: 69px"><a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.reOrder&by=creator', 'order');" id="blue_head">##Creator##</a></td>
|
||||
<td style="width: 30px"><input type="checkbox" name="all" onClick="collector_switchAll('SEARCHRESULTS')"></td>
|
||||
<td style="width: 160px"><a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.reOrder&by=title', 'order');" id="blue_head">##Title##</a></td>
|
||||
<td style="width: 134px"><a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.reOrder&by=creator', 'order');" id="blue_head">##Creator##</a></td>
|
||||
<td style="width: 89px"><a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.reOrder&by=extent', 'order');" id="blue_head">##Duration##</a></td>
|
||||
<td style="width: 197px; border: 0"><a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.reOrder&by=type', 'order');" id="blue_head">##Type##</a></td>
|
||||
<td style="width: 37px; border: 0"><a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.reOrder&by=type', 'order');" id="blue_head">##Type##</a></td>
|
||||
</tr>
|
||||
{foreach from=$_results.items item=i}
|
||||
<!-- start item -->
|
||||
<tr class="background-color: {cycle values='blue1, blue2'}" {assign var="moreContextBefore" value=", 'SP.addItem'"}{include file="sub/contextmenu.tpl"}>
|
||||
<td><input type="checkbox" class="checkbox" name="{$i.id}"/></td>
|
||||
<td>
|
||||
{if $PLAYLIST.id == $i.id}
|
||||
<b>{$i.title|truncate:30}</b>
|
||||
{else}
|
||||
{$i.title|truncate:30}
|
||||
{/if}
|
||||
</td>
|
||||
{if $PLAYLIST.id == $i.id}
|
||||
<b>{$i.title|truncate:30}</b>
|
||||
{else}
|
||||
{$i.title|truncate:30}
|
||||
{/if}
|
||||
</td>
|
||||
<td>{$i.creator}</td>
|
||||
<td>{$i.duration}</td>
|
||||
<td style="border: 0">{$i.type}</td>
|
||||
</tr>
|
||||
<!-- end item -->
|
||||
{/foreach}
|
||||
</table>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
<div class="footer" style="width: 530px;">
|
||||
<div class="counter">
|
||||
{if $_results.prev}<a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.setOffset&page=prev', 'pager')" id="blue_head">##previous##</a>{/if}
|
||||
{foreach from=$_results.pagination item=p key=k}
|
||||
<a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.setOffset&page={$k}', 'pager')" id="blue_head">{$p}</a>
|
||||
{/foreach}
|
||||
{if $_results.next}<a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.setOffset&page=next', 'pager')" id="blue_head">##next##</a>{/if}
|
||||
|
||||
##Count##: {$_results.cnt}
|
||||
##Page##: {$_results.page+1}
|
||||
##Range##: {$_criteria.offset+1}-{if ($_criteria.offset+$_criteria.limit)>$_results.cnt}{$_results.cnt}{else}{$_criteria.offset+$_criteria.limit}{/if}
|
||||
</div>
|
||||
<input type="button" class="button_small" value="##Go##" />
|
||||
|
||||
<div class="counter">
|
||||
{if $_results.prev}<a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.setOffset&page=prev', 'pager')" id="blue_head">##previous##</a>{/if}
|
||||
|
||||
{foreach from=$_results.pagination item=p key=k}
|
||||
<a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.setOffset&page={$k}', 'pager')" id="blue_head">{$p}</a>
|
||||
{/foreach}
|
||||
|
||||
{if $_results.next}<a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.setOffset&page=next', 'pager')" id="blue_head">##next##</a>{/if}
|
||||
|
||||
##Count##: {$_results.cnt}
|
||||
##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}
|
||||
</div>
|
||||
</form>
|
||||
|
||||
{else}
|
||||
##No match found.##
|
||||
|
|
|
@ -4,4 +4,4 @@
|
|||
<h1>##Search##</h1>
|
||||
{include file="sub/dynForm_plain.tpl"}
|
||||
</div>
|
||||
{/foreach}
|
||||
{/foreach}
|
15
livesupport/modules/htmlUI/var/templates/loader/index.tpl
Executable file
15
livesupport/modules/htmlUI/var/templates/loader/index.tpl
Executable file
|
@ -0,0 +1,15 @@
|
|||
<html>
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
<center>
|
||||
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="<?php echo $_REQUEST['is_popup']==TRUE ? 60 : 300; ?>" height="<?php echo $_REQUEST['is_popup']==TRUE ? 60 : 300; ?>" id="preloader" align="middle">
|
||||
<param name="allowScriptAccess" value="sameDomain" />
|
||||
<param name="movie" value="preloader.swf" />
|
||||
<param name="quality" value="high" />
|
||||
<param name="bgcolor" value="#ffffff" />
|
||||
<embed src="../templates/loader/preloader.swf" quality="high" bgcolor="#ffffff" width="<?php echo $_REQUEST['is_popup']==TRUE ? 60 : 300; ?>" height="<?php echo $_REQUEST['is_popup']==TRUE ? 60 : 300; ?>" name="preloader" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
|
||||
</object>
|
||||
</center>
|
||||
|
||||
|
BIN
livesupport/modules/htmlUI/var/templates/loader/preloader.swf
Executable file
BIN
livesupport/modules/htmlUI/var/templates/loader/preloader.swf
Executable file
Binary file not shown.
|
@ -10,9 +10,11 @@
|
|||
{include file="menu.tpl"}
|
||||
{/if}
|
||||
|
||||
{*
|
||||
{if $structure}
|
||||
{include file="file/path.tpl"}
|
||||
{/if}
|
||||
*}
|
||||
|
||||
{if $fileList}
|
||||
{include file="file/list.tpl"}
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
{include file="header.tpl"}
|
||||
|
||||
{include file="playlist/changeTransition.js.tpl"}
|
||||
{include file="sub/dynForm_plain.tpl"}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,3 +1,83 @@
|
|||
<!-- start playlist editor -->
|
||||
<div class="container_elements" style="width: 607px;">
|
||||
<form name="PL">
|
||||
<h1>##Playlist Editor##</h1>
|
||||
<div class="head" style="width: 574px;">
|
||||
<div class="left"> </div>
|
||||
<div class="right"> </div>
|
||||
<div class="clearer"></div>
|
||||
</div>
|
||||
<div class="container_table" style="width: 594px;">
|
||||
<table style="width: 574px;">
|
||||
|
||||
<!-- start repeat after 14 columns -->
|
||||
<tr class="blue_head">
|
||||
<td style="width: 30px"><input type="checkbox" name="all" onClick="collector_switchAll('PL')"></td>
|
||||
<script type="text/javascript">
|
||||
document.forms['PL'].elements['all'].checked = false;
|
||||
</script>
|
||||
<td style="width: 155px">##Name##</td>
|
||||
<td style="width: 69px">##Duration##</td>
|
||||
<td style="width: 178px">##Artist##</td>
|
||||
<td style="width: 107px;">##Type##</td>
|
||||
<td style="width: 30px; border: 0">##Move##</td>
|
||||
</tr>
|
||||
<!-- end repeat after 14 columns -->
|
||||
<!-- start item -->
|
||||
{foreach from=$PL->getFlat() key='pos' item='i'}
|
||||
<!-- {$n++} -->
|
||||
<!-- fade information -->
|
||||
<tr onContextmenu="return contextmenu('{$i.attrs.id}', {if $n == 1}'PL.changeFadeIn'{else}'PL.changeTransition'{/if})}" style="background-color: #999">
|
||||
<td></td>
|
||||
<td colspan="5" style="border: 0">##Fade## {$i.fadein_ms|string_format:"%d"} ms</td>
|
||||
</tr>
|
||||
<tr class="{cycle values='blue1, blue2'} " onContextmenu="return contextmenu('{$i.attrs.id}',
|
||||
{if $i.type|lower == "audioclip"}'listen', '{$i.gunid}', {/if}
|
||||
'PL.removeItem')">
|
||||
<td><input type="checkbox" class="checkbox" name="{$i.attrs.id}"/></td>
|
||||
<td>{$i.title}</td>
|
||||
<td>{$i.duration}</td>
|
||||
<td>{$i.creator}</td>
|
||||
<td>{$i.type}</td>
|
||||
<td style="border: 0">
|
||||
<a href="#" onClick="hpopup('{$UI_HANDLER}?act=PL.moveItem&id={$i.attrs.id}&pos={$pos-1}')"><img src="img/bt_top_xsm.gif" alt="##move up##" vspace=1 hspace=1/></a>
|
||||
<a href="#" onClick="hpopup('{$UI_HANDLER}?act=PL.moveItem&id={$i.attrs.id}&pos={$pos+1}')"><img src="img/bt_bottom_xsm.gif" alt="##move down##" vspace=1 hspace=1/></a>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
{if $n}
|
||||
<!-- fade information -->
|
||||
<tr onContextmenu="return contextmenu('{$i.attrs.id}', {if $n == 1}'PL.changeFadeIn'{else}'PL.changeTransition'{/if})}" style="background-color: #999">
|
||||
<td></td>
|
||||
<td colspan="5" style="border: 0">##Fade## {$i.fadein_ms|string_format:"%d"} ms</td>
|
||||
</tr>
|
||||
{else}
|
||||
<tr class="{cycle values='blue1, blue2'}">
|
||||
<td style="border: 0" colspan="6" align="center">##No Entry##</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<!-- end item -->
|
||||
</table>
|
||||
</div>
|
||||
<div class="footer" style="width: 569px;">
|
||||
<input type="button" class="button_large" onClick="collector_submit('PL', 'PL.removeItem')" value="##Remove Selected##" />
|
||||
<input type="button" class="button_large" onClick="collector_clearAll('PL', 'PL.removeItem')" value="##Clear Playlist##" />
|
||||
</div>
|
||||
<div class="container_button">
|
||||
<input type="button" class="button_large" value="##Save Playlist##" onClick="hpopup('{$UI_HANDLER}?act=PL.save')">
|
||||
<input type="button" class="button_large" value="##Revert to Saved##" onClick="hpopup('{$UI_HANDLER}?act=PL.revert')">
|
||||
<input type="button" class="button_large" value="##Delete Playlist##" onClick="popup('{$UI_BROWSER}?popup[]=PL.deleteActive', 'PL.deleteActive', 400, 200)">
|
||||
</div>
|
||||
<div class="container_button">
|
||||
<input type="button" class="button_large" value="##Save and Close##" onClick="hpopup('{$UI_HANDLER}?act=PL.release')">
|
||||
<input type="button" class="button_large" value="##Metadata##" onClick="location.href='{$UI_BROWSER}?act=PL.editMetaData'">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<!-- end playlist editor -->
|
||||
|
||||
|
||||
{*
|
||||
<form name="PL">
|
||||
<table border="0">
|
||||
<tr><th colspan="4">active Playlist: {$PL.children.0.children.0.content}</th></tr>
|
||||
|
@ -5,12 +85,14 @@
|
|||
|
||||
{foreach from=$PL->getFlat() key='pos' item='i'}
|
||||
<!-- {$n++} -->
|
||||
<tr onContextmenu="return contextmenu('{$i.attrs.id}', {if $n == 1}'PL.changeFadeIn'{else}'PL.changeTransition'{/if})}" style="background-color: lightblue">
|
||||
<tr onMouseOver="highlight()"
|
||||
onMouseOut="darklight()"
|
||||
onContextmenu="return menu('{$i.attrs.id}', {if $n == 1}'PL.changeFadeIn'{else}'PL.changeTransition'{/if})}" style="background-color: lightblue">
|
||||
<td colspan="4" align="center">{$i.fadein_ms|string_format:"%d"} ms</td>
|
||||
</tr>
|
||||
<tr onContextmenu="return contextmenu('{$i.attrs.id}',
|
||||
{if $i.type|lower == "audioclip"}'listen', '{$i.gunid}', {/if}
|
||||
'PL.removeItem')" style="background-color: {cycle values='#eeeeee, #dadada'}">
|
||||
<tr onMouseOver="highlight()"
|
||||
onMouseOut="darklight()"
|
||||
onContextmenu="return menu('{$i.attrs.id}', 'PL.removeItem')" style="background-color: {cycle values='#eeeeee, #dadada'}">
|
||||
<td>
|
||||
<input type="checkbox" name="{$i.attrs.id}">
|
||||
<font size="+1">
|
||||
|
@ -24,7 +106,9 @@
|
|||
</tr>
|
||||
{/foreach}
|
||||
{if $n}
|
||||
<tr onContextmenu="return contextmenu('{$i.attrs.id}', 'PL.changeFadeOut')" style="background-color: lightblue">
|
||||
<tr onMouseOver="highlight()"
|
||||
onMouseOut="darklight()"
|
||||
onContextmenu="return menu('{$i.attrs.id}', 'PL.changeFadeOut')" style="background-color: lightblue">
|
||||
<td colspan="4" align="center">{$i.fadeout_ms|string_format:"%d"} ms</td>
|
||||
</tr>
|
||||
{/if}
|
||||
|
@ -44,3 +128,4 @@
|
|||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
*}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{assign var="_form" value=$PL->metaDataForm($PL_id)}
|
||||
{assign var="dynform" value=$_form.main}
|
||||
|
||||
{$_form.langswitch}
|
||||
{* $_form.langswitch *}
|
||||
{include file="sub/dynForm_plain.tpl"}
|
||||
|
||||
<script type="text/javascript">
|
||||
|
|
|
@ -1,20 +1,19 @@
|
|||
<div class="standardFrame">
|
||||
{include file="sub/x.tpl"}
|
||||
|
||||
<center>
|
||||
<h4>Simple Playlist Management</h4>
|
||||
<div class="content">
|
||||
|
||||
{if $PL_editMetaData}
|
||||
{include file="playlist/metadata.tpl"}
|
||||
{elseif is_array($PL->get())} {* already activated Playlist *}
|
||||
{include file="playlist/editor.tpl"}
|
||||
{else} {* no active Playlist *}
|
||||
{if $PL->reportLookedPL()}
|
||||
<input type="button" value="Unlook crashed Playlist" onClick="hpopup('{$UI_HANDLER}?act=PL.unlook')">
|
||||
{else}
|
||||
<input type="button" value="New empty Playlist" onClick="hpopup('{$UI_HANDLER}?act=PL.create')">
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
</center>
|
||||
<div class="container_elements" style="width: 607px;">
|
||||
<h1>##Playlist Editor##</h1>
|
||||
<p> </p>
|
||||
{if $PL->reportLookedPL()}
|
||||
<input type="button" value="##Open last Playlist##" onClick="hpopup('{$UI_HANDLER}?act=PL.unlook')">
|
||||
{else}
|
||||
<input type="button" value="##New empty Playlist##" onClick="hpopup('{$UI_HANDLER}?act=PL.create')">
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
|
@ -1,3 +1,7 @@
|
|||
{include file="popup/header.tpl"}
|
||||
|
||||
{include file="sub/dynForm_plain.tpl"}
|
||||
|
||||
<script type="text/javascript">
|
||||
{literal}
|
||||
function pl_switchUp()
|
||||
|
@ -34,3 +38,7 @@ function pl_stop()
|
|||
|
||||
{/literal}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
{include file="header.tpl"}
|
||||
{include file="popup/header.tpl"}
|
||||
|
||||
<center>
|
||||
<b>Are you sure to delete active Playlist?</b>
|
|
@ -1,4 +1,4 @@
|
|||
{include file="header.tpl"}
|
||||
{include file="popup/header.tpl"}
|
||||
|
||||
<center>
|
||||
{if $SCHEDULER->_copyPlFromSP()}
|
|
@ -1,4 +1,4 @@
|
|||
{include file="header.tpl"}
|
||||
{include file="popup/header.tpl"}
|
||||
|
||||
<center>
|
||||
<b>Are you sure to remove this entry?</b>
|
11
livesupport/modules/htmlUI/var/templates/popup/deleteItem.tpl
Executable file
11
livesupport/modules/htmlUI/var/templates/popup/deleteItem.tpl
Executable file
|
@ -0,0 +1,11 @@
|
|||
{include file="popup/header.tpl"}
|
||||
|
||||
<center>
|
||||
<b>Are you sure to delete this Item?</b>
|
||||
<br>
|
||||
<input type="button" onClick="window.close()" value="Cancel">
|
||||
<input type="button" onClick="location.href='{$UI_HANDLER}?act=delete&id={$id}'" value="OK">
|
||||
</center>
|
||||
|
||||
</body>
|
||||
</html>
|
12
livesupport/modules/htmlUI/var/templates/popup/header.tpl
Executable file
12
livesupport/modules/htmlUI/var/templates/popup/header.tpl
Executable file
|
@ -0,0 +1,12 @@
|
|||
{* <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> *}
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>LIVESUPPORT</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link href="styles_popup.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
|
@ -1,6 +1,4 @@
|
|||
{*Smarty template*}
|
||||
|
||||
{include file="header.tpl"}
|
||||
{include file="popup/header.tpl"}
|
||||
{$login.javascript}
|
||||
|
||||
<center>
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
{*Smarty template*}
|
||||
|
||||
{include file="header.tpl"}
|
||||
{include file="popup/header.tpl"}
|
||||
|
||||
<center>
|
||||
<div id="logout">
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
{*Smarty template*}
|
||||
|
||||
{include file="header.tpl"}
|
||||
{include file="popup/header.tpl"}
|
||||
|
||||
<center>
|
||||
<div id="logout">
|
||||
|
|
|
@ -3,6 +3,76 @@
|
|||
{$SCHEDULER->buildMonth()}
|
||||
{$SCHEDULER->buildWeek()}
|
||||
|
||||
<!-- start calendar navigation -->
|
||||
<script type="text/javascript">
|
||||
document.forms['calendar_month'].month.value = '{$SCHEDULER->curr.month}';
|
||||
document.forms['calendar_year'].year.value = '{$SCHEDULER->curr.year}';
|
||||
</script>
|
||||
<div class="container_calender_overview">
|
||||
<p>Click any date below to view in scheduler</p>
|
||||
<div class="calender_overview">
|
||||
<table class="calender_overview_table">
|
||||
<tr>
|
||||
<td><a href="#" onCLick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&month=--')"><<</a></td>
|
||||
<td colspan=4>
|
||||
<form name="calendar_month" style="margin: 2;">
|
||||
<select id="month" style="margin-top: 0;font-size:9px;" name="month" onChange="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&month=' + document.forms['calendar_month'].month.value)">
|
||||
{foreach from=$SCHEDULER->Year item="_Month"}
|
||||
<option value="{$_Month.month}">{$_Month.label.full}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</form>
|
||||
</td>
|
||||
<td colspan=2>
|
||||
<form name="calendar_year" style="margin: 2;">
|
||||
<select id="year" style="margin-top: 0;font-size:9px;" name="year" onChange="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&year=' + document.forms['calendar_year'].year.value)">
|
||||
{foreach from=$SCHEDULER->Decade item="_Year"}
|
||||
<option value="{$_Year.year}" {if $_Year.isSelected}selected{/if}>{$_Year.year}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</form>
|
||||
</td>
|
||||
<td><a href="#" onCLick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&month=%2B%2B')">>></a></td>
|
||||
</tr>
|
||||
<tr class="blue_head">
|
||||
<td class="week">##CW##</td>
|
||||
{foreach from=$SCHEDULER->Week item="_Weekday"}
|
||||
<td>{$_Weekday.label.short|truncate:2:""}</td>
|
||||
{/foreach}
|
||||
</tr>
|
||||
<tr>
|
||||
{foreach from=$SCHEDULER->Month item="_Day"}
|
||||
<!-- calendar week first -->
|
||||
{if $_Day.isFirst}
|
||||
<tr>
|
||||
<td class="week"><a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&view=week&day={$_Day.day}&month={$_Day.month}')">{$_Day.week}</a></td>
|
||||
{/if}
|
||||
<!-- check for different kind of day displays -->
|
||||
|
||||
{if $_Day.isEmpty}
|
||||
<td class="not_this_month">
|
||||
{elseif $_Day.isToday}
|
||||
<td class="today">
|
||||
{elseif $_Day.isCurrent}
|
||||
<td class="current">
|
||||
{else}
|
||||
<td class="nothing">
|
||||
{/if}
|
||||
{if $_Day.isSelected}
|
||||
<a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&day={$_Day.day}&month={$_Day.month}&year={$_Day.year}')" class="full">{$_Day.day}</a>
|
||||
{else}
|
||||
<a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&day={$_Day.day}&month={$_Day.month}&year={$_Day.year}')">{$_Day.day}</a>
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
{if $_Day.isLast}
|
||||
</tr>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end calendar navigation -->
|
||||
<table border=1>
|
||||
<tr><th colspan="8">{$SCHEDULER->curr.year}-{$SCHEDULER->curr.month}-{$SCHEDULER->curr.day}</th></tr>
|
||||
|
||||
|
@ -33,11 +103,6 @@
|
|||
<th><a href="#" onCLick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&month=%2B%2B')">>></a></th>
|
||||
</tr>
|
||||
|
||||
<tr> <td> </td>
|
||||
{foreach from=$SCHEDULER->Week item="_Weekday"}
|
||||
<td>{$_Weekday.label.short}</td>
|
||||
{/foreach}
|
||||
</tr>
|
||||
{foreach from=$SCHEDULER->Month item="_Day"}
|
||||
{if $_Day.isFirst}
|
||||
<tr>
|
||||
|
|
|
@ -9,7 +9,10 @@
|
|||
<table style="width:255px;">
|
||||
<!-- start table header -->
|
||||
<tr class="blue_head">
|
||||
<td style="width: 30px"></td>
|
||||
<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>
|
||||
|
@ -22,9 +25,9 @@
|
|||
<td><input type="checkbox" class="checkbox" name="{$i.id}"/></td>
|
||||
<td>
|
||||
{if $_PL_activeId == $i.id}
|
||||
<b>{$i.title|truncate:30}</b>
|
||||
<b>{$i.title|truncate:12}</b>
|
||||
{else}
|
||||
{$i.title|truncate:30}
|
||||
{$i.title|truncate:12}
|
||||
{/if}
|
||||
</td>
|
||||
<td>{$i.duration}</td>
|
||||
|
@ -36,8 +39,7 @@
|
|||
</div>
|
||||
|
||||
<div class="footer" style="width:250px;">
|
||||
<input type="checkbox" name="all" onClick="collector_switchAll('SP')">
|
||||
<select name="SP_multiaction">
|
||||
<select name="SP_multiaction">
|
||||
<option>##Multiple Action:##</option>
|
||||
<option onClick="collector_submit('SP', 'SP.removeItem')">##Remove##</option>
|
||||
{if $_PL_activeId}
|
||||
|
@ -54,7 +56,12 @@
|
|||
</div>
|
||||
</form>
|
||||
{/if}
|
||||
|
||||
{assign var="_PL_activeId" value=NULL}
|
||||
<!-- end scratch pad -->
|
||||
|
||||
|
||||
|
||||
{*
|
||||
<!-- old template -->
|
||||
{assign var="_PL_activeId" value=$PL->getActiveId()}
|
||||
|
|
|
@ -59,9 +59,33 @@
|
|||
}
|
||||
|
||||
function hpopup(url, name)
|
||||
{ //, 'width=1, height=1'
|
||||
{
|
||||
var width = 10;
|
||||
var height = 10;
|
||||
var screenX;
|
||||
var screenY;
|
||||
var Xpos;
|
||||
var Ypos;
|
||||
var Pwidth;
|
||||
var Pheight;
|
||||
|
||||
if (ie5) {
|
||||
Xpos = window.screenLeft;
|
||||
Ypos = window.screenTop;
|
||||
Pwidth = document.body.clientWidth;
|
||||
Pheight = document.body.clientHeight;
|
||||
} else {
|
||||
Xpos = window.screenX;
|
||||
Ypos = window.screenY;
|
||||
Pwidth = window.innerWidth;
|
||||
Pheight = window.innerHeight;
|
||||
}
|
||||
url = url + '&is_popup=1';
|
||||
popupwin = window.open(url, name);
|
||||
screenX = (Xpos + Pwidth/2 - width/2);
|
||||
screenY = (Ypos + Pheight/2 - height/2);
|
||||
arg = 'width='+width+', height='+height+', scrollbars=no, menubar=no, depend=yes, left='+screenX+', top='+screenY;
|
||||
|
||||
popupwin = window.open(url, name, arg);
|
||||
//window.parent.focus();
|
||||
}
|
||||
{/literal}
|
||||
|
|
|
@ -63,7 +63,7 @@ function contextmenu(param) {
|
|||
break;
|
||||
|
||||
case "PL.editMetaData":
|
||||
contextmenuHtml = contextmenuHtml + "<li><a class='contextmenu' href='{$UI_BROWSER}?act=PL.editMetaData&id="+param+"'"+oF+"> Edit MData </a></li>";
|
||||
contextmenuHtml = contextmenuHtml + "<li><a class='contextmenu' href='{$UI_BROWSER}?act=PL.editMetaData&id="+param+"'"+oF+"> Edit Metadata </a></li>";
|
||||
break;
|
||||
|
||||
case "SP.addItem":
|
||||
|
@ -84,7 +84,8 @@ function contextmenu(param) {
|
|||
break;
|
||||
|
||||
case "delete":
|
||||
contextmenuHtml = contextmenuHtml + "<li><a class='contextmenu' href='#' onClick=\"hpopup('{$UI_HANDLER}?act=delete&id="+param+"')\" "+oF+"> !Delete Item! </a></li>";
|
||||
//contextmenuHtml = contextmenuHtml + "<li><a class='contextmenu' href='#' onClick=\"hpopup('{$UI_HANDLER}?act=delete&id="+param+"')\" "+oF+"> Delete Item </a></li>";
|
||||
contextmenuHtml = contextmenuHtml + "<li><a class='contextmenu' href='#' onClick=\"popup('{$UI_BROWSER}?popup[]=deleteItem&id="+param+"', 'deleteItem', 300, 150)\"')"+oF+"> Delete Item </a></li>";
|
||||
break;
|
||||
|
||||
case "fileList":
|
|
@ -1,3 +1,6 @@
|
|||
{assign var='_nowplaying' value=$SCHEDULER->getNowNextClip()}
|
||||
{assign var='_nextplaying' value=$SCHEDULER->getNowNextClip(1)}
|
||||
|
||||
{include file="script/clock.js.tpl"}
|
||||
<!-- start header -->
|
||||
<!-- start header left -->
|
||||
|
@ -18,8 +21,11 @@
|
|||
<!-- end station information -->
|
||||
<!-- start onair information -->
|
||||
<div class="onair">
|
||||
<img src="img/el_onair.gif" alt="on air" />
|
||||
<!--img src="img/el_offair.gif" alt="off air" /-->
|
||||
{if $_nowplaying}
|
||||
<img src="img/el_onair.gif" alt="on air" />
|
||||
{else}
|
||||
<img src="img/el_offair.gif" alt="off air">
|
||||
{/if}
|
||||
</div>
|
||||
<!-- end onair information -->
|
||||
<!-- start station time -->
|
||||
|
@ -39,11 +45,9 @@
|
|||
<!-- end station time -->
|
||||
<!-- start what playing -->
|
||||
<div class="whatplaying">
|
||||
{assign var='_nowplaying' value=$SCHEDULER->getNowNextClip()}
|
||||
{assign var='_nextplaying' value=$SCHEDULER->getNowNextClip(1)}
|
||||
{if $_nowplaying}
|
||||
<div class="nowplaying">Now Playing: {$_nowplaying.title}</div>
|
||||
<div class="scala">
|
||||
<div class="scala">
|
||||
<div class="scala_in" style="width: {$_nowplaying.percentage}%;"> </div>
|
||||
</div>
|
||||
<div class="time">
|
||||
|
@ -60,6 +64,11 @@
|
|||
</div>
|
||||
<!-- end header right -->
|
||||
<!-- end header -->
|
||||
|
||||
{assign var='_nowplaying' value=NULL}
|
||||
{assign var='_nextplaying' value=NULL}
|
||||
|
||||
|
||||
{*
|
||||
<!-- old template -->
|
||||
<div id="statusbar">
|
||||
|
|
|
@ -29,7 +29,7 @@ onContextmenu="return contextmenu('{$i.id}'
|
|||
, 'PL.addItem', 'delete'
|
||||
{/if}
|
||||
{else}
|
||||
, 'PL.activate', 'PL.create', 'PL.editMetaData', 'delete'
|
||||
, 'PL.activate', 'PL.create', 'delete'
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue