piwigo/themes/default/template/search_rules.tpl
plegall 14778ce673 feature 1502: based on Dotclear model, P@t has reorganized the way Piwigo
manages template/theme in a simpler "theme only level" architecture. It
supports multiple level inheritance.

git-svn-id: http://piwigo.org/svn/trunk@5123 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-13 00:00:52 +00:00

57 lines
1.1 KiB
Smarty

<div id="content" class="content">
<h2>{'Search rules'|@translate}</h2>
{if isset($INTRODUCTION) }
<p>{$INTRODUCTION}</p>
{/if}
<ul>
{if isset($search_words) }
{foreach from=$search_words item=v}
<li>{$v}</li>
{/foreach}
{/if}
{if isset($SEARCH_TAGS_MODE) }
<li>
<p>{if 'AND'==$SEARCH_TAGS_MODE}{'At least one tag must match'|@translate}{else}{'At least one tag must match'|@translate}{/if}</p>
<ul>
{foreach from=$search_tags item=v}
<li>{$v}</li>
{/foreach}
</ul>
</li>
{/if}
{if isset($DATE_CREATION) }
<li>{$DATE_CREATION}</li>
{/if}
{if isset($DATE_AVAILABLE) }
<li>{$DATE_AVAILABLE}</li>
{/if}
{if isset($search_categories) }
<li>
<p>{'Categories'|@translate}</p>
<ul>
{foreach from=$search_categories item=v}
<li>{$v}</li>
{/foreach}
</ul>
</li>
{/if}
</ul>
</div> <!-- content -->
<ul class="categoryActions">
<li>
<a href="#" onclick="window.close();" title="{'Close this window'|@translate}">
<img src="{$ROOT_URL}{$themeconf.icon_dir}/exit.png" class="button" alt="exit">
</a>
</li>
</ul>