*** empty log message ***
This commit is contained in:
parent
4dcf3881d0
commit
a609fc8f90
153 changed files with 20982 additions and 278 deletions
21
livesupport/modules/htmlUI/var/templates/search/form.tpl
Executable file
21
livesupport/modules/htmlUI/var/templates/search/form.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>
|
||||
|
35
livesupport/modules/htmlUI/var/templates/search/results.tpl
Executable file
35
livesupport/modules/htmlUI/var/templates/search/results.tpl
Executable file
|
@ -0,0 +1,35 @@
|
|||
{*Smarty template*}
|
||||
|
||||
<div id="searchres">
|
||||
<center>
|
||||
|
||||
{if is_array($searchres)}
|
||||
<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=$searchres item=s}
|
||||
<tr style="background-color: {cycle values='#eeeeee, #dadada'}">
|
||||
<td align="center">{$s.title}</td>
|
||||
<td align="center">{$s.creator}</td>
|
||||
<td align="center">{$s.duration}</td>
|
||||
<td align="center">{$s.type}</td>
|
||||
<!--
|
||||
<td>
|
||||
<a href="#" onClick="hpopup('{$UI_HANDLER}?act=PL.addItem&id={$s.id}', '2PL')">[PL]</a>
|
||||
<a href="#" onClick="hpopup('{$UI_HANDLER}?act=SP.addItem&id={$s.id}', '2SP')">[SP]</a>
|
||||
</td>
|
||||
-->
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
{else}
|
||||
No match found.
|
||||
{/if}
|
||||
|
||||
</center>
|
||||
</div>
|
||||
|
7
livesupport/modules/htmlUI/var/templates/search/search.tpl
Executable file
7
livesupport/modules/htmlUI/var/templates/search/search.tpl
Executable file
|
@ -0,0 +1,7 @@
|
|||
{*Smarty template*}
|
||||
|
||||
{include file="search/form.tpl"}
|
||||
|
||||
{if $showSearchRes}
|
||||
{include file="search/results.tpl"}
|
||||
{/if}
|
Loading…
Add table
Add a link
Reference in a new issue