micz?s template changes
This commit is contained in:
parent
9d4a29fa1f
commit
47c9f398ee
13 changed files with 56 additions and 155 deletions
|
@ -27,7 +27,7 @@ $ui_fmask = array(
|
||||||
'element' => 'stationName',
|
'element' => 'stationName',
|
||||||
'isPref' => TRUE,
|
'isPref' => TRUE,
|
||||||
'type' => 'text',
|
'type' => 'text',
|
||||||
'label' => 'Staion Name',
|
'label' => 'Station Name',
|
||||||
'required' => TRUE
|
'required' => TRUE
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
{* Smarty template *}
|
|
||||||
<div id="filedata">
|
<div id="filedata">
|
||||||
{include file="sub/x.tpl"}
|
{include file="sub/x.tpl"}
|
||||||
<center>
|
<center>
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
{assign var="_style_select" value=" style='width: 180px;'"}
|
{assign var="_style_select" value=" style='width: 180px;'"}
|
||||||
{assign var="_style_textarea" value=" class='area_browse'"}
|
{assign var="_style_textarea" value=" class='area_browse'"}
|
||||||
|
|
||||||
<!-- start playlist editor -->
|
<table style="margin:0; padding:0">
|
||||||
<div class="container_elements" style="width: 607px;">
|
|
||||||
<h1>Browse</h1>
|
|
||||||
<table>
|
|
||||||
<tr>
|
<tr>
|
||||||
<td style="border:0">
|
<td style="border:0">
|
||||||
{foreach from=$browseForm.col1 item=dynform}
|
{foreach from=$browseForm.col1 item=dynform}
|
||||||
|
@ -24,50 +21,7 @@
|
||||||
{foreach from=$browseForm.global item=dynform}
|
{foreach from=$browseForm.global item=dynform}
|
||||||
{include file="sub/dynForm_plain.tpl"}
|
{include file="sub/dynForm_plain.tpl"}
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</div>
|
|
||||||
<!-- end playlist editor -->
|
<!-- end browsing -->
|
||||||
{assign var="_style_select" value=""}
|
{assign var="_style_select" value=""}
|
||||||
{assign var="_style_textarea" value=""}
|
{assign var="_style_textarea" value=""}
|
||||||
{*
|
|
||||||
{literal}
|
|
||||||
<style type="text/css">
|
|
||||||
.dynformelement {
|
|
||||||
width : 250px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
{/literal}
|
|
||||||
<div id="searchform">
|
|
||||||
{include file="sub/x.tpl"}
|
|
||||||
|
|
||||||
<table>
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
{foreach from=$browseForm.col1 item=dynform}
|
|
||||||
{include file="sub/dynForm_plain.tpl"}
|
|
||||||
{/foreach}
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
{foreach from=$browseForm.col2 item=dynform}
|
|
||||||
{include file="sub/dynForm_plain.tpl"}
|
|
||||||
{/foreach}
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
{foreach from=$browseForm.col3 item=dynform}
|
|
||||||
{include file="sub/dynForm_plain.tpl"}
|
|
||||||
{/foreach}
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td></td>
|
|
||||||
<td>
|
|
||||||
{foreach from=$browseForm.global item=dynform}
|
|
||||||
{include file="sub/dynForm_plain.tpl"}
|
|
||||||
{/foreach}
|
|
||||||
</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
*}
|
|
|
@ -1,11 +1,14 @@
|
||||||
{if $searchForm}
|
{if $searchForm}
|
||||||
<div id="tabnav">
|
<div id="tabnav">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#" class="active">Search</a></li>
|
|
||||||
<li><a href="{$UI_BROWSER}?id={$START.id}&act=BROWSE">Browse</a></li>
|
<li><a href="{$UI_BROWSER}?id={$START.id}&act=BROWSE">Browse</a></li>
|
||||||
|
<li><a href="#" class="active">Search</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
<!-- start search -->
|
||||||
|
<div class="container_elements" style="width: 607px;">
|
||||||
|
<h1>##Search##</h1>
|
||||||
{assign var="_act_prefix" value="SEARCH"}
|
{assign var="_act_prefix" value="SEARCH"}
|
||||||
{include file="library/searchForm.tpl"}
|
{include file="library/searchForm.tpl"}
|
||||||
{SEARCH->getResult assign=_results}
|
{SEARCH->getResult assign=_results}
|
||||||
|
@ -15,11 +18,14 @@
|
||||||
{if $browseForm}
|
{if $browseForm}
|
||||||
<div id="tabnav">
|
<div id="tabnav">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="{$UI_BROWSER}?id={$START.id}&act=SEARCH">Search</a></li>
|
|
||||||
<li><a href="#" class="active">Browse</a></li>
|
<li><a href="#" class="active">Browse</a></li>
|
||||||
|
<li><a href="{$UI_BROWSER}?id={$START.id}&act=SEARCH">Search</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
<!-- start browsing -->
|
||||||
|
<div class="container_elements" style="width: 607px;">
|
||||||
|
<h1>Browse</h1>
|
||||||
{assign var="_act_prefix" value="BROWSE"}
|
{assign var="_act_prefix" value="BROWSE"}
|
||||||
{include file="library/browseForm.tpl"}
|
{include file="library/browseForm.tpl"}
|
||||||
{BROWSE->getResult assign=_results}
|
{BROWSE->getResult assign=_results}
|
||||||
|
@ -27,4 +33,5 @@
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{include file="library/results.tpl"}
|
{include file="library/results.tpl"}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
|
@ -24,14 +24,14 @@
|
||||||
</td>
|
</td>
|
||||||
<td>{$i.creator}</td>
|
<td>{$i.creator}</td>
|
||||||
<td>{$i.duration}</td>
|
<td>{$i.duration}</td>
|
||||||
<td style="border: 0">{$i.type}</td>
|
<td style="border: 0"><img src="img/{$i.type|lower}.gif" border="0" alt="{$i.type}" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<!-- end item -->
|
<!-- end item -->
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="footer" style="width: 530px;">
|
<div class="footer" style="width: 535px;">
|
||||||
|
|
||||||
<div class="counter">
|
<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}
|
{if $_results.prev}<a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.setOffset&page=prev', 'pager')" id="blue_head">##previous##</a>{/if}
|
||||||
|
@ -57,60 +57,3 @@
|
||||||
{else}
|
{else}
|
||||||
##No match found.##
|
##No match found.##
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
|
||||||
{*
|
|
||||||
<div id="searchres">
|
|
||||||
<center>
|
|
||||||
{if $_results.cnt > 0}
|
|
||||||
<table border="0" width="50%">
|
|
||||||
<tr style="background-color: {cycle values='#eeeeee, #dadada'}">
|
|
||||||
<td align="center"><a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.reOrder&by=title', 'order');">##Title##</a></td>
|
|
||||||
<td align="center"><a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.reOrder&by=creator', 'order');">##Creator##</a></td>
|
|
||||||
<td align="center"><a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.reOrder&by=extent', 'order');">##Duration##</a></td>
|
|
||||||
<td align="center"><a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.reOrder&by=type', 'order');">##Type##</a></td>
|
|
||||||
</tr>
|
|
||||||
{foreach from=$_results.items item=i}
|
|
||||||
<tr style="background-color: {cycle values='#eeeeee, #dadada'}" {assign var="moreContextBefore" value=", 'SP.addItem'"}{include file="sub/contextmenu.tpl"}>
|
|
||||||
<td align="center">
|
|
||||||
{if $PLAYLIST.id == $i.id}
|
|
||||||
<b>{$i.title|truncate:30}</b>
|
|
||||||
{else}
|
|
||||||
{$i.title|truncate:30}
|
|
||||||
{/if}
|
|
||||||
</td>
|
|
||||||
<td align="center">{$i.creator}</td>
|
|
||||||
<td align="center">{$i.duration}</td>
|
|
||||||
<td align="center">{$i.type}</td>
|
|
||||||
</tr>
|
|
||||||
{/foreach}
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
{if $_results.prev}<a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.setOffset&page=prev', 'pager')">backward</a>{/if}
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
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}
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
go:
|
|
||||||
{foreach from=$_results.pagination item=p key=k}
|
|
||||||
<a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.setOffset&page={$k}', 'pager')">{$p}</a>
|
|
||||||
{/foreach}
|
|
||||||
</td>
|
|
||||||
<td align="right">
|
|
||||||
{if $_results.next}<a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.setOffset&page=next', 'pager')">forward</a>{/if}
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr><td colspan="4">
|
|
||||||
</table>
|
|
||||||
{else}
|
|
||||||
##No match found.##
|
|
||||||
{/if}
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
*}
|
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
{include file="library/searchForm.js.tpl"}
|
{include file="library/searchForm.js.tpl"}
|
||||||
{foreach from=$searchForm item=dynform}
|
{foreach from=$searchForm item=dynform}
|
||||||
<div class="container_elements" style="width: 607px;">
|
|
||||||
<h1>##Search##</h1>
|
|
||||||
{include file="sub/dynForm_plain.tpl"}
|
{include file="sub/dynForm_plain.tpl"}
|
||||||
</div>
|
<!-- end search -->
|
||||||
{/foreach}
|
{/foreach}
|
|
@ -3,7 +3,7 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<center>
|
<center>
|
||||||
<table height="100%"><tr><td>
|
<table height="100%" width="100%"><tr><td><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="50" height="50" id="preloader" align="middle">
|
<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="50" height="50" id="preloader" align="middle">
|
||||||
<param name="allowScriptAccess" value="sameDomain" />
|
<param name="allowScriptAccess" value="sameDomain" />
|
||||||
<param name="movie" value="img/preloader.swf" />
|
<param name="movie" value="img/preloader.swf" />
|
||||||
|
|
|
@ -14,13 +14,16 @@
|
||||||
*}
|
*}
|
||||||
|
|
||||||
{if $showScheduler}
|
{if $showScheduler}
|
||||||
|
<table style="margin:0px;padding:0px;" border="0"><tr><td valign="top" style="margin:0px;padding:0px;border:0">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
{include file="scheduler/calendar.tpl"}
|
{include file="scheduler/calendar.tpl"}
|
||||||
{if $SCRATCHPAD}
|
{if $SCRATCHPAD}
|
||||||
{include file="scratchpad.tpl"}
|
{include file="scratchpad.tpl"}
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
</td><td valign="top" style="margin:0px;padding:0px;border:0">
|
||||||
{include file="scheduler/main.tpl"}
|
{include file="scheduler/main.tpl"}
|
||||||
|
</td></tr></table>
|
||||||
{else}
|
{else}
|
||||||
|
|
||||||
{if $fileList}
|
{if $fileList}
|
||||||
|
|
|
@ -1,33 +1,31 @@
|
||||||
<!-- start nav -->
|
<!-- start nav -->
|
||||||
<div class="container_nav">
|
<div class="container_nav">
|
||||||
<ul id="nav">
|
<ul id="nav">
|
||||||
<li><a href="{$UI_BROWSER}?act=fileList&id={$START.fid}">##File List##</a></li>
|
|
||||||
<!-- <li><a href="{$UI_BROWSER}?id={$START.fid}&act=uploadFileM">##UploadM##</a></li> -->
|
<!-- <li><a href="{$UI_BROWSER}?id={$START.fid}&act=uploadFileM">##UploadM##</a></li> -->
|
||||||
<li><a href="{$UI_BROWSER}?folderId={$START.fid}&act=editFile">##Upload##</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>
|
||||||
<li><a href="{$UI_BROWSER}?folderId={$START.fid}&act=editWebstream">##Stream##</a></li>
|
<li><a href="{$UI_BROWSER}?folderId={$START.fid}&act=editWebstream">##Stream##</a></li>
|
||||||
<li><a href="{$UI_BROWSER}?id={$START.fid}&act=PL.simpleManagement">##PL Editor##</a></li>
|
</ul>
|
||||||
<li><a href="{$UI_BROWSER}?id={$START.id}&act=SEARCH">##Search##</a></li>
|
</li>
|
||||||
|
<li><a href="{$UI_BROWSER}?id={$START.id}&act=BROWSE">##Media Library##</a>
|
||||||
|
<ul>
|
||||||
<li><a href="{$UI_BROWSER}?id={$START.id}&act=BROWSE">##Browse##</a></li>
|
<li><a href="{$UI_BROWSER}?id={$START.id}&act=BROWSE">##Browse##</a></li>
|
||||||
|
<li><a href="{$UI_BROWSER}?id={$START.id}&act=SEARCH">##Search##</a></li>
|
||||||
|
</ul>
|
||||||
|
</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=SCHEDULER">##Scheduler##</a></li>
|
||||||
<li><a href="{$UI_BROWSER}?id={$START.id}&act=subjects">##User/Groups##</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">##StationPrefs##</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>
|
||||||
|
</ul>
|
||||||
|
*}
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<!-- end nav -->
|
<!-- end nav -->
|
||||||
{*
|
|
||||||
<!-- old template -->
|
|
||||||
<div id="menu_top">
|
|
||||||
<a href="{$UI_BROWSER}?act=fileList&id={$START.fid}">[File List]</a>
|
|
||||||
<!-- <a href="{$UI_BROWSER}?id={$START.fid}&act=uploadFileM">[UploadM]</a> -->
|
|
||||||
<a href="{$UI_BROWSER}?folderId={$START.fid}&act=editFile">[Upload]</a>
|
|
||||||
<a href="{$UI_BROWSER}?folderId={$START.fid}&act=editWebstream">[Stream]</a>
|
|
||||||
<a href="{$UI_BROWSER}?id={$START.fid}&act=PL.simpleManagement">[PL Editor]</a>
|
|
||||||
<a href="{$UI_BROWSER}?id={$START.id}&act=SEARCH">[Search]</a>
|
|
||||||
<a href="{$UI_BROWSER}?id={$START.id}&act=BROWSE">[Browse]</a>
|
|
||||||
<a href="{$UI_BROWSER}?act=SCHEDULER">[Scheduler]</a>
|
|
||||||
<a href="{$UI_BROWSER}?id={$START.id}&act=subjects">{tra 0='[User/Groups]'}</a>
|
|
||||||
<!-- <a href="{$UI_BROWSER}?act=MetaDataValues&Main=1">[Metadata]</a> -->
|
|
||||||
<a href="{$UI_BROWSER}?act=changeStationPrefs">[StationPrefs]</a>
|
|
||||||
</div>
|
|
||||||
*}
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<div class="container_elements" style="width: 607px;">
|
||||||
|
<h1>##Playlist Metadata##</h1>
|
||||||
{assign var="_form" value=$PL->metaDataForm($_PL.curr_langid)}
|
{assign var="_form" value=$PL->metaDataForm($_PL.curr_langid)}
|
||||||
|
|
||||||
{assign var="dynform" value=$_form.langswitch}
|
{assign var="dynform" value=$_form.langswitch}
|
||||||
|
@ -5,7 +7,7 @@
|
||||||
|
|
||||||
{assign var="dynform" value=$_form.main}
|
{assign var="dynform" value=$_form.main}
|
||||||
{include file="sub/dynForm_plain.tpl"}
|
{include file="sub/dynForm_plain.tpl"}
|
||||||
|
</div>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
{literal}
|
{literal}
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
{include file="popup/header.tpl"}
|
{include file="popup/header.tpl"}
|
||||||
|
|
||||||
|
|
||||||
{include file="sub/dynForm_plain.tpl}
|
{include file="sub/dynForm_plain.tpl}
|
||||||
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
<table height="100%" width="100%">
|
<table height="100%" width="100%">
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td style="border: 0">
|
||||||
<center>
|
<center>
|
||||||
<form>
|
<form>
|
||||||
<table width="100%" height="100%">
|
<table width="100%" height="100%">
|
||||||
<tr><td>{tra 0='Are you sure to logout $1' 1=$USER.login}</td></tr>
|
<tr><td style="border: 0">{tra 0='Are you sure to logout $1' 1=$USER.login}</td></tr>
|
||||||
<tr><td align="right">
|
<tr><td align="right" style="border: 0">
|
||||||
<input type="button" value="{tra 0=OK}" onclick="javascript: location.href='{$UI_HANDLER}?act={$logouttype}'">
|
<input type="button" value="{tra 0=OK}" onclick="javascript: location.href='{$UI_HANDLER}?act={$logouttype}'">
|
||||||
<input type="button" value="{tra 0=Cancel}" onclick="javascript: window.close()">
|
<input type="button" value="{tra 0=Cancel}" onclick="javascript: window.close()">
|
||||||
</td></tr>
|
</td></tr>
|
||||||
|
|
|
@ -31,14 +31,14 @@
|
||||||
{/if}
|
{/if}
|
||||||
</td>
|
</td>
|
||||||
<td>{$i.duration}</td>
|
<td>{$i.duration}</td>
|
||||||
<td style="border: 0">{$i.type|truncate:8}</td>
|
<td style="border: 0"><img src="img/{$i.type|lower}.gif" border="0" alt="{$i.type}" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
<!-- end item -->
|
<!-- end item -->
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="footer" style="width:250px;">
|
<div class="footer" style="width:255px;">
|
||||||
<select name="SP_multiaction">
|
<select name="SP_multiaction">
|
||||||
<option>##Multiple Action:##</option>
|
<option>##Multiple Action:##</option>
|
||||||
<option onClick="collector_submit('SP', 'SP.removeItem')">##Remove##</option>
|
<option onClick="collector_submit('SP', 'SP.removeItem')">##Remove##</option>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue