*** empty log message ***
This commit is contained in:
parent
b1e464a1ef
commit
d35356a715
4 changed files with 0 additions and 0 deletions
34
livesupport/modules/htmlUI/var/templates/library/browseForm.tpl
Executable file
34
livesupport/modules/htmlUI/var/templates/library/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/library/main.tpl
Executable file
13
livesupport/modules/htmlUI/var/templates/library/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}
|
21
livesupport/modules/htmlUI/var/templates/library/searchForm.tpl
Executable file
21
livesupport/modules/htmlUI/var/templates/library/searchForm.tpl
Executable file
|
@ -0,0 +1,21 @@
|
|||
{*Smarty template*}
|
||||
|
||||
{include file="script/search.js.tpl"}
|
||||
|
||||
|
||||
{literal}
|
||||
<style type="text/css">
|
||||
.dynformelement {
|
||||
width : 800px;
|
||||
}
|
||||
</style>
|
||||
{/literal}
|
||||
<div id="searchform">
|
||||
{include file="sub/x.tpl"}
|
||||
<center>
|
||||
{foreach from=$searchForm item=dynform}
|
||||
{include file="sub/dynForm_plain.tpl"}
|
||||
{/foreach}
|
||||
</center>
|
||||
</div>
|
||||
|
55
livesupport/modules/htmlUI/var/templates/library/searchResults.tpl
Executable file
55
livesupport/modules/htmlUI/var/templates/library/searchResults.tpl
Executable file
|
@ -0,0 +1,55 @@
|
|||
{*Smarty template*}
|
||||
|
||||
<div id="searchres">
|
||||
<center>
|
||||
{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>
|
||||
<td align="center"><a href="#" onClick="hpopup('{$UI_HANDLER}?act=SEARCH.reOrder&by=creator', 'order');">{tra 0=Creator}</a></td>
|
||||
<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=$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}
|
||||
<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>
|
||||
<!--
|
||||
<td>
|
||||
<a href="#" onClick="hpopup('{$UI_HANDLER}?act=PL.addItem&id={$i.id}', '2PL')">[PL]</a>
|
||||
<a href="#" onClick="hpopup('{$UI_HANDLER}?act=SP.addItem&id={$i.id}', '2SP')">[SP]</a>
|
||||
</td>
|
||||
-->
|
||||
</tr>
|
||||
{/foreach}
|
||||
<tr>
|
||||
<td>
|
||||
{if $searchResults.prev}<a href="#" onClick="hpopup('{$UI_HANDLER}?act=SEARCH.setOffset&page=prev', 'pager')">back</a>{/if}
|
||||
</td>
|
||||
<td>count: {$searchResults.count}</td>
|
||||
<td>
|
||||
go:
|
||||
{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 $searchResults.next}<a href="#" onClick="hpopup('{$UI_HANDLER}?act=SEARCH.setOffset&page=next', 'pager')">forward</a>{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="4">
|
||||
</table>
|
||||
{else}
|
||||
No match found.
|
||||
{/if}
|
||||
</center>
|
||||
</div>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue