aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/add_index/admin/main_page.tpl
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2008-10-05 21:07:41 +0000
committerrub <rub@piwigo.org>2008-10-05 21:07:41 +0000
commit0bdc6a5dac8ee12cf630b42e4a8d6a0be4116ae2 (patch)
tree1bea988329d09e905d79ff2fa7c61ec8028e2266 /plugins/add_index/admin/main_page.tpl
parent308fda55f5d9976f1229fa05bad7ab1da65f9061 (diff)
Adapt plugin add_index with smarty
git-svn-id: http://piwigo.org/svn/trunk@2669 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--plugins/add_index/admin/main_page.tpl16
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/add_index/admin/main_page.tpl b/plugins/add_index/admin/main_page.tpl
index 591ff7fc0..f5ad40298 100644
--- a/plugins/add_index/admin/main_page.tpl
+++ b/plugins/add_index/admin/main_page.tpl
@@ -1,15 +1,15 @@
-<!-- DEV TAG: not smarty migrated -->
-<!-- $Id: notification_by_mail.tpl Ruben ARNAUD -->
+{* $Id$ *}
+
<div class="titrePage">
- <h2>{lang:Add_Index}</h2>
+ <h2>{'Add_Index'|@translate}</h2>
</div>
-<!-- BEGIN add_index_results -->
+{if isset($add_index_results)}
<div>
<ul>
- <!-- BEGIN result -->
- <li>{add_index_results.result.RESULT}</li>
- <!-- END result -->
+ {foreach from=$add_index_results item=result}
+ <li>{$result}</li>
+ {/foreach}
</ul>
</div>
-<!-- END add_index_results -->
+{/if}