aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--template/yoga/admin/intro.tpl63
1 files changed, 31 insertions, 32 deletions
diff --git a/template/yoga/admin/intro.tpl b/template/yoga/admin/intro.tpl
index f4b064489..63ba16307 100644
--- a/template/yoga/admin/intro.tpl
+++ b/template/yoga/admin/intro.tpl
@@ -1,57 +1,56 @@
-<!-- DEV TAG: not smarty migrated -->
<!-- $Id$ -->
-<h2>{lang:title_default}</h2>
-<!-- BEGIN pwgmenu -->
+<h2>{'title_default'|@translate}</h2>
+{if isset($pwgmenu)}
<ul class="pwgmenu">
<!-- Keep Doctype XHTML Strict acceptable even in Admin -->
<!-- New window is open if Js available (Webmasters accept it usually) -->
- <li><a href="{pwgmenu.HOME}" onclick="window.open(this.href, ''); return false;">{lang:HOME}</a></li>
- <li><a href="{pwgmenu.WIKI}" onclick="window.open(this.href, ''); return false;">{lang:WIKI / DOC}</a></li>
- <li><a href="{pwgmenu.FORUM}" onclick="window.open(this.href, ''); return false;">{lang:FORUM}</a></li>
- <li><a href="{pwgmenu.BUGS}" onclick="window.open(this.href, ''); return false;">{lang:BUGS}</a></li>
- <li><a href="{pwgmenu.EXTENSIONS}" onclick="window.open(this.href, ''); return false;">{lang:EXTENSIONS}</a></li>
+ <li><a href="{$pwgmenu.HOME}" onclick="window.open(this.href, ''); return false;">{'HOME'|@translate}</a></li>
+ <li><a href="{$pwgmenu.WIKI}" onclick="window.open(this.href, ''); return false;">{'WIKI / DOC'|@translate}</a></li>
+ <li><a href="{$pwgmenu.FORUM}" onclick="window.open(this.href, ''); return false;">{'FORUM'|@translate}</a></li>
+ <li><a href="{$pwgmenu.BUGS}" onclick="window.open(this.href, ''); return false;">{'BUGS'|@translate}</a></li>
+ <li><a href="{$pwgmenu.EXTENSIONS}" onclick="window.open(this.href, ''); return false;">{'EXTENSIONS'|@translate}</a></li>
</ul>
-<!-- END pwgmenu -->
+{/if}
<dl>
- <dt>{lang:PhpWebGallery version}</dt>
+ <dt>{'PhpWebGallery version'|@translate}</dt>
<dd>
<ul>
- <li>PhpWebGallery {PWG_VERSION}</li>
- <li><a href="{U_CHECK_UPGRADE}">{lang:Check for upgrade}</a></li>
+ <li>PhpWebGallery {$PWG_VERSION}</li>
+ <li><a href="{$U_CHECK_UPGRADE}">{'Check for upgrade'|@translate}</a></li>
</ul>
</dd>
- <dt>{lang:Environment}</dt>
+ <dt>{'Environment'|@translate}</dt>
<dd>
<ul>
- <li>{lang:Operating system}: {OS}</li>
- <li>PHP: {PHP_VERSION} (<a href="{U_PHPINFO}">{lang:Show info}</a>) [{PHP_DATATIME}]</li>
- <li>MySQL: {MYSQL_VERSION} [{DB_DATATIME}]</li>
+ <li>{'Operating system'|@translate}: {$OS}</li>
+ <li>PHP: {$PHP_VERSION} (<a href="{$U_PHPINFO}">{'Show info'|@translate}</a>) [{$PHP_DATATIME}]</li>
+ <li>MySQL: {$MYSQL_VERSION} [{$DB_DATATIME}]</li>
</ul>
</dd>
- <dt>{lang:Database}</dt>
+ <dt>{'Database'|@translate}</dt>
<dd>
<ul>
<li>
- {DB_ELEMENTS}
- <!-- BEGIN waiting -->
- (<a href="{waiting.URL}">{waiting.INFO}</a>)
- <!-- END waiting -->
+ {$DB_ELEMENTS}
+ {if isset($waiting)}
+ (<a href="{$waiting.URL}">{$waiting.INFO}</a>)
+ {/if}
- <!-- BEGIN first_added -->
- ({first_added.DB_DATE})
- <!-- END first_added -->
+ {if isset($first_added)}
+ ({$first_added.DB_DATE})
+ {/if}
</li>
- <li>{DB_CATEGORIES} ({DB_IMAGE_CATEGORY})</li>
- <li>{DB_TAGS} ({DB_IMAGE_TAG})</li>
- <li>{DB_USERS}</li>
- <li>{DB_GROUPS}</li>
+ <li>{$DB_CATEGORIES} ({$DB_IMAGE_CATEGORY})</li>
+ <li>{$DB_TAGS} ({$DB_IMAGE_TAG})</li>
+ <li>{$DB_USERS}</li>
+ <li>{$DB_GROUPS}</li>
<li>
- {DB_COMMENTS}
- <!-- BEGIN unvalidated -->
- (<a href="{unvalidated.URL}">{unvalidated.INFO}</a>)
- <!-- END unvalidated -->
+ {$DB_COMMENTS}
+ {if isset($unvalidated)}
+ (<a href="{$unvalidated.URL}">{$unvalidated.INFO}</a>)
+ {/if}
</li>
</ul>
</dd>