diff options
Diffstat (limited to 'plugins/admin_advices/admin_advices.tpl')
-rw-r--r-- | plugins/admin_advices/admin_advices.tpl | 54 |
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 |