aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/admin_advices/admin_advices.tpl
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2008-03-08 10:24:07 +0000
committervdigital <vdigital@piwigo.org>2008-03-08 10:24:07 +0000
commita048738d8b9b6be6f16316b2a198386f92e1b600 (patch)
tree801beff370ac18b663dbb81ad825d77c4b9cd1fd /plugins/admin_advices/admin_advices.tpl
parentfe23062161d1e50a97685822c8ab94cdc2d43263 (diff)
- admin_advices.tpl goes smarty and related code has been revised.
git-svn-id: http://piwigo.org/svn/trunk@2266 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'plugins/admin_advices/admin_advices.tpl')
-rw-r--r--plugins/admin_advices/admin_advices.tpl54
1 files changed, 30 insertions, 24 deletions
diff --git a/plugins/admin_advices/admin_advices.tpl b/plugins/admin_advices/admin_advices.tpl
index 6c53fa55c..b4c7f6169 100644
--- a/plugins/admin_advices/admin_advices.tpl
+++ b/plugins/admin_advices/admin_advices.tpl
@@ -1,33 +1,39 @@
-<!-- DEV TAG: not smarty migrated -->
+{if isset($ADVICE_ABOUT)}
<div class="content">
- <h2>{lang:An_advice_about} {ADVICE_ABOUT}</h2>
- <h3>{ADVICE_TEXT}</h3>
+ <h2>{'An_advice_about'|@translate} {$ADVICE_ABOUT}</h2>
+ <h3>{$ADVICE_TEXT}</h3>
<table summary="Admin advices summary">
<tr><td style="text-align: left; width: 50%;">
- <!-- BEGIN More -->
- {More.ADVICE} <br />
- <!-- END More -->
+ {foreach from=$More item=advice}
+ {$advice}<BR />
+ {/foreach}
<br />
</td><td style="text-align: right; width: 20%;">
- <!-- BEGIN thumbnail -->
- <a href="{thumbnail.U_MODIFY}" title="{lang:link_info_image}">
- <img class="thumbnail" src="{thumbnail.IMAGE}"
- alt="{thumbnail.IMAGE_ALT}" title="{thumbnail.IMAGE_TITLE}"></a>
+ {if isset($thumbnail.IMAGE)}
+ <a href="{$thumbnail.U_MODIFY}" title="{'link_info_image'|@translate}">
+ <img class="thumbnail" src="{$thumbnail.IMAGE}"
+ alt="{$thumbnail.IMAGE_ALT}" title="{$thumbnail.IMAGE_TITLE}"></a>
</td><td style="text-align: left;">
- <img src="{thumbnail.NAME}.png"
- alt="{thumbnail.IMAGE_ALT}" title="{thumbnail.IMAGE_TITLE}"> {lang:Name}<br />
- <img src="{thumbnail.COMMENT}.png"
- alt="{thumbnail.IMAGE_ALT}" title="{thumbnail.IMAGE_TITLE}"> {lang:Description}<br />
- <img src="{thumbnail.AUTHOR}.png"
- alt="{thumbnail.IMAGE_ALT}" title="{thumbnail.IMAGE_TITLE}"> {lang:Author}<br />
- <img src="{thumbnail.CREATE_DATE}.png"
- alt="{thumbnail.IMAGE_ALT}" title="{thumbnail.IMAGE_TITLE}"> {lang:Creation date}<br />
- <img src="{thumbnail.METADATA}.png"
- alt="{thumbnail.IMAGE_ALT}" title="{thumbnail.IMAGE_TITLE}"> {lang:Metadata}<br />
- <img src="{thumbnail.TAGS}.png"
- alt="{thumbnail.IMAGE_ALT}" title="{thumbnail.IMAGE_TITLE}"> {lang:Tags} ({thumbnail.NUM_TAGS})
- <!-- END thumbnail -->
- </td></tr>
+ <img src="{$themeconf.icon_dir}/{$thumbnail.NAME}check.png"
+ alt="{$thumbnail.IMAGE_ALT}" title="{$thumbnail.IMAGE_TITLE}"> {'Name'|@translate}<br />
+ <img src="{$themeconf.icon_dir}/{$thumbnail.COMMENT}check.png"
+ alt="{$thumbnail.IMAGE_ALT}" title="{$thumbnail.IMAGE_TITLE}"> {'Description'|@translate}<br />
+ <img src="{$themeconf.icon_dir}/{$thumbnail.AUTHOR}check.png"
+ alt="{$thumbnail.IMAGE_ALT}" title="{$thumbnail.IMAGE_TITLE}"> {'Author'|@translate}<br />
+ <img src="{$themeconf.icon_dir}/{$thumbnail.CREATE_DATE}check.png"
+ alt="{$thumbnail.IMAGE_ALT}" title="{$thumbnail.IMAGE_TITLE}"> {'Creation date'|@translate}<br />
+ <img src="{$themeconf.icon_dir}/{$thumbnail.METADATA}check.png"
+ alt="{$thumbnail.IMAGE_ALT}" title="{$thumbnail.IMAGE_TITLE}"> {'Metadata'|@translate}<br />
+ <img src="{$themeconf.icon_dir}/{$thumbnail.TAGS}check.png"
+ alt="{$thumbnail.IMAGE_ALT}" title="{$thumbnail.IMAGE_TITLE}"> {'Tags'|@translate} ({$thumbnail.NUM_TAGS})
+ {/if}
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan=2>{$smarty.now|date_format:"%A, %B %e, %Y - %r"} --- Templates generated by <a href="http://www.smarty.net/" onclick="window.open(this.href, ''); return false;">Smarty</a> {$smarty.version}</td>
+ </tr>
</table>
</div>
+{/if} \ No newline at end of file