diff options
author | rvelices <rv-github@modusoptimus.com> | 2008-02-28 02:41:48 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2008-02-28 02:41:48 +0000 |
commit | c73923204927f406d492491398980d3aa429c4eb (patch) | |
tree | 717f79ecab01b8d97c359c27406be6dd26ff8193 /template/yoga/search_rules.tpl | |
parent | 618158aca4d99fe522b0f54d547442f17a5db148 (diff) |
- migrate many templates to smarty
git-svn-id: http://piwigo.org/svn/trunk@2223 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga/search_rules.tpl')
-rw-r--r-- | template/yoga/search_rules.tpl | 61 |
1 files changed, 30 insertions, 31 deletions
diff --git a/template/yoga/search_rules.tpl b/template/yoga/search_rules.tpl index b015c42b6..5cf2241e6 100644 --- a/template/yoga/search_rules.tpl +++ b/template/yoga/search_rules.tpl @@ -1,57 +1,56 @@ -<!-- DEV TAG: not smarty migrated --> +{* $Id$ *} <div id="content"> -<h2>{lang:Search rules}</h2> +<h2>{'Search rules'|@translate}</h2> -<p>{INTRODUCTION}</p> +{if isset($INTRODUCTION) } +<p>{$INTRODUCTION}</p> +{/if} <ul> - <!-- BEGIN words --> - <li>{words.CONTENT}</li> - <!-- END words --> + {if isset($search_words) } + {foreach from=$search_words item=v} + <li>{$v}</li> + {/foreach} + {/if} - <!-- BEGIN tags --> + {if isset($SEARCH_TAGS_MODE) } <li> - <p>{tags.LIST_INTRO}</p> - + <p>{if 'AND'==$SEARCH_TAGS_MODE}{'All tags must match'|@translate}{else}{'At least one tag must match'|@translate}{/if}</p> <ul> - <!-- BEGIN tag --> - <li>{tags.tag.NAME}</li> - <!-- END tag --> + {foreach from=$search_tags item=v} + <li>{$v}</li> + {/foreach} </ul> </li> - <!-- END tags --> + {/if} - <!-- BEGIN author --> - <li>{author.CONTENT}</li> - <!-- END author --> - - <!-- BEGIN date_creation --> - <li>{date_creation.CONTENT}</li> - <!-- END date_creation --> + {if isset($DATE_CREATION) } + <li>{$DATE_CREATION}</li> + {/if} - <!-- BEGIN date_available --> - <li>{date_available.CONTENT}</li> - <!-- END date_available --> + {if isset($DATE_AVAILABLE) } + <li>{$DATE_AVAILABLE}</li> + {/if} - <!-- BEGIN categories --> + {if isset($search_categories) } <li> - <p>{categories.LIST_INTRO}</p> + <p>{'Categories'|@translate}</p> <ul> - <!-- BEGIN category --> - <li>{categories.category.NAME}</li> - <!-- END category --> + {foreach from=$search_categories item=v} + <li>{$v}</li> + {/foreach} </ul> </li> - <!-- END categories --> + {/if} </ul> </div> <!-- content --> <p id="pageBottomActions"> - <a href="#" onclick="window.close();" title="{lang:Close this window}"> - <img src="{themeconf:icon_dir}/exit.png" class="button" alt="close"> + <a href="#" onclick="window.close();" title="{'Close this window'|@translate}"> + <img src="{$themeconf.icon_dir}/exit.png" class="button" alt="close"> </a> </p> |