*** empty log message ***
This commit is contained in:
parent
36f6ca0b06
commit
06258d6b95
15 changed files with 205 additions and 87 deletions
|
@ -15,15 +15,31 @@
|
|||
|
||||
<table>
|
||||
<tr>
|
||||
|
||||
{foreach from=$browseForm item=form}
|
||||
<td>
|
||||
{foreach from=$form item=dynform}
|
||||
<td>
|
||||
{foreach from=$browseForm.col1 item=dynform}
|
||||
{include file="sub/dynForm_plain.tpl"}
|
||||
{/foreach}
|
||||
</td>
|
||||
{/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>
|
||||
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
{*Smarty template*}
|
||||
|
||||
{if $searchForm}
|
||||
{assign var="_act_prefix" value="SEARCH"}
|
||||
{include file="library/searchForm.tpl"}
|
||||
{SEARCH->getResult assign=searchResults}
|
||||
{/if}
|
||||
|
||||
{if $browseForm}
|
||||
{assign var="_act_prefix" value="BROWSE"}
|
||||
{include file="library/browseForm.tpl"}
|
||||
{BROWSE->getResult assign=searchResults}
|
||||
{/if}
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
{*Smarty template*}
|
||||
|
||||
<div id="searchres">
|
||||
<center>
|
||||
<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>
|
||||
<td align="center"><a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.reOrder&by=title', 'order');">{tra 0=Title}</a></td>
|
||||
<td align="center"><a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.reOrder&by=creator', 'order');">{tra 0=Creator}</a></td>
|
||||
<td align="center"><a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.reOrder&by=extent', 'order');">{tra 0=Duration}</a></td>
|
||||
<td align="center"><a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.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"}>
|
||||
|
@ -26,17 +26,17 @@
|
|||
{/foreach}
|
||||
<tr>
|
||||
<td>
|
||||
{if $searchResults.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={$_act_prefix}.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>
|
||||
<a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.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}
|
||||
{if $searchResults.next}<a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.setOffset&page=next', 'pager')">forward</a>{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="4">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue