*** empty log message ***
This commit is contained in:
parent
77d3d8a451
commit
b1e464a1ef
17 changed files with 371 additions and 60 deletions
|
@ -20,8 +20,8 @@
|
|||
{include file="fileBrowse/fileBrowse.tpl"}
|
||||
{/if}
|
||||
|
||||
{if ($showSearchForm || $showSearchRes)}
|
||||
{include file="search/search.tpl"}
|
||||
{if $showLibrary}
|
||||
{include file="library/main.tpl"}
|
||||
{/if}
|
||||
|
||||
{if $showSubjects}
|
||||
|
@ -44,7 +44,7 @@
|
|||
{include file="changeStationPrefs.tpl"}
|
||||
{/if}
|
||||
|
||||
{if $PL_simpleManagement}
|
||||
{if $PL_simpleManagement}
|
||||
{include file="playlist/simpleManagement.tpl"}
|
||||
{/if}
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<a href="{$UI_BROWSER}?id={$START.fid}&act=PL.simpleManagement">[PL Editor]</a>
|
||||
<a href="javascript:newFolder()">[Create new folder]</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}?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>
|
||||
|
|
|
@ -31,6 +31,6 @@
|
|||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2"><input type="button" value="Save & Release" onClick="hpopup('{$UI_HANDLER}?act=PL.release')"></td>
|
||||
<td colspan="2"><input type="button" value="Save Changes" onClick="hpopup('{$UI_HANDLER}?act=PL.save')"></td>
|
||||
<td colspan="2"><input type="button" value="Revert all Changes" onClick="hpopup('{$UI_HANDLER}?act=PL.revert')"></td>
|
||||
</tr>
|
||||
|
|
34
livesupport/modules/htmlUI/var/templates/search/browseForm.tpl
Executable file
34
livesupport/modules/htmlUI/var/templates/search/browseForm.tpl
Executable file
|
@ -0,0 +1,34 @@
|
|||
{*Smarty template*}
|
||||
|
||||
{* {include file="script/search.js.tpl"} *}
|
||||
|
||||
|
||||
{literal}
|
||||
<style type="text/css">
|
||||
.dynformelement {
|
||||
width : 250px;
|
||||
}
|
||||
</style>
|
||||
{/literal}
|
||||
<div id="searchform">
|
||||
{include file="sub/x.tpl"}
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
|
||||
{foreach from=$browseForm item=form}
|
||||
<td>
|
||||
{foreach from=$form item=dynform}
|
||||
{include file="sub/dynForm_plain.tpl"}
|
||||
{/foreach}
|
||||
</td>
|
||||
{/foreach}
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
{BROWSE->endResult assign=endResult}
|
||||
{$endResult}
|
||||
</table>
|
||||
</div
|
13
livesupport/modules/htmlUI/var/templates/search/main.tpl
Executable file
13
livesupport/modules/htmlUI/var/templates/search/main.tpl
Executable file
|
@ -0,0 +1,13 @@
|
|||
{*Smarty template*}
|
||||
|
||||
{if $searchForm}
|
||||
{include file="library/searchForm.tpl"}
|
||||
{/if}
|
||||
|
||||
{if $showSearchResults}
|
||||
{include file="library/searchResults.tpl"}
|
||||
{/if}
|
||||
|
||||
{if $browseForm}
|
||||
{include file="library/browseForm.tpl"}
|
||||
{/if}
|
|
@ -1,7 +0,0 @@
|
|||
{*Smarty template*}
|
||||
|
||||
{include file="search/form.tpl"}
|
||||
|
||||
{if $showSearchRes}
|
||||
{include file="search/results.tpl"}
|
||||
{/if}
|
|
@ -13,7 +13,7 @@
|
|||
<div id="searchform">
|
||||
{include file="sub/x.tpl"}
|
||||
<center>
|
||||
{foreach from=$searchform item=dynform}
|
||||
{foreach from=$searchForm item=dynform}
|
||||
{include file="sub/dynForm_plain.tpl"}
|
||||
{/foreach}
|
||||
</center>
|
|
@ -1,8 +1,8 @@
|
|||
{*Smarty template*}
|
||||
|
||||
|
||||
<div id="searchres">
|
||||
<center>
|
||||
{if $searchres.count > 0}
|
||||
{if $searchResults.count > 0}
|
||||
<table border="0" width="50%">
|
||||
<tr style="background-color: {cycle values='#eeeeee, #dadada'}">
|
||||
<td align="center"><a href="#" onClick="hpopup('{$UI_HANDLER}?act=SEARCH.reOrder&by=title', 'order');">{tra 0=Title}</a></td>
|
||||
|
@ -10,7 +10,7 @@
|
|||
<td align="center"><a href="#" onClick="hpopup('{$UI_HANDLER}?act=SEARCH.reOrder&by=extent', 'order');">{tra 0=Duration}</a></td>
|
||||
<td align="center"><a href="#" onClick="hpopup('{$UI_HANDLER}?act=SEARCH.reOrder&by=type', 'order');">{tra 0=Type}</a></td>
|
||||
</tr>
|
||||
{foreach from=$searchres.items item=i}
|
||||
{foreach from=$searchResults.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}
|
||||
|
@ -32,17 +32,17 @@
|
|||
{/foreach}
|
||||
<tr>
|
||||
<td>
|
||||
{if $searchres.prev}<a href="#" onClick="hpopup('{$UI_HANDLER}?act=SEARCH.setOffset&page=prev', 'pager')">back</a>{/if}
|
||||
{if $searchResults.prev}<a href="#" onClick="hpopup('{$UI_HANDLER}?act=SEARCH.setOffset&page=prev', 'pager')">back</a>{/if}
|
||||
</td>
|
||||
<td>count: {$searchres.count}</td>
|
||||
<td>count: {$searchResults.count}</td>
|
||||
<td>
|
||||
go:
|
||||
{foreach from=$searchres.pages item=p key=k}
|
||||
{foreach from=$searchResults.pages item=p key=k}
|
||||
<a href="#" onClick="hpopup('{$UI_HANDLER}?act=SEARCH.setOffset&page={$k}', 'pager')">{$p}</a>
|
||||
{/foreach}
|
||||
</td>
|
||||
<td align="right">
|
||||
{if $searchres.next}<a href="#" onClick="hpopup('{$UI_HANDLER}?act=SEARCH.setOffset&page=next', 'pager')">forward</a>{/if}
|
||||
{if $searchResults.next}<a href="#" onClick="hpopup('{$UI_HANDLER}?act=SEARCH.setOffset&page=next', 'pager')">forward</a>{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="4">
|
Loading…
Add table
Add a link
Reference in a new issue