aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-02-28 12:07:00 +0000
committerrvelices <rv-github@modusoptimus.com>2008-02-28 12:07:00 +0000
commit7818a7715b95c1912a71057ee0e050f30865298c (patch)
tree7b82e18da8739f4f8d33ecc3bc59b3369c2dbe7a /template/yoga
parenta95bc3f7daced06c4a8fc148cfea92c4451dc805 (diff)
2 templates migrated
git-svn-id: http://piwigo.org/svn/trunk@2225 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga')
-rw-r--r--template/yoga/admin/user_perm.tpl23
-rw-r--r--template/yoga/picture_content.tpl16
2 files changed, 20 insertions, 19 deletions
diff --git a/template/yoga/admin/user_perm.tpl b/template/yoga/admin/user_perm.tpl
index e8cefe379..3183c82e7 100644
--- a/template/yoga/admin/user_perm.tpl
+++ b/template/yoga/admin/user_perm.tpl
@@ -1,22 +1,23 @@
-<!-- DEV TAG: not smarty migrated -->
-<h2>{TITLE}</h2>
+{* $Id$ *}
+<h2>{$TITLE}</h2>
-<!-- BEGIN groups -->
+{if isset($categories_because_of_groups) }
<fieldset>
- <legend>{lang:Categories authorized thanks to group associations}</legend>
+ <legend>{'Categories authorized thanks to group associations'|@translate}</legend>
<ul>
- <!-- BEGIN category -->
- <li>{groups.category.NAME}</li>
- <!-- END category -->
+ {foreach from=$categories_because_of_groups item=cat }
+ <li>{$cat}</li>
+ {/foreach}
</ul>
</fieldset>
-<!-- END groups -->
+{/if}
+
<fieldset>
- <legend>{lang:Other private categories}</legend>
+ <legend>{'Other private categories'|@translate}</legend>
- <form method="post" action="{F_ACTION}">
- {DOUBLE_SELECT}
+ <form method="post" action="{$F_ACTION}">
+ {$DOUBLE_SELECT}
</form>
</fieldset>
diff --git a/template/yoga/picture_content.tpl b/template/yoga/picture_content.tpl
index c2e5e0040..7e15a1bb3 100644
--- a/template/yoga/picture_content.tpl
+++ b/template/yoga/picture_content.tpl
@@ -1,9 +1,9 @@
-<!-- DEV TAG: not smarty migrated -->
-<!-- BEGIN high -->
-<a href="javascript:phpWGOpenWindow('{high.U_HIGH}','{high.UUID}','scrollbars=yes,toolbar=no,status=no,resizable=yes')">
-<!-- END high -->
- <img src="{SRC_IMG}" style="width:{WIDTH_IMG}px;height:{HEIGHT_IMG}px;" alt="{ALT_IMG}">
-<!-- BEGIN high -->
+{* $Id$ *}
+{if isset($high) }
+<a href="javascript:phpWGOpenWindow('{$high.U_HIGH}','{$high.UUID}','scrollbars=yes,toolbar=no,status=no,resizable=yes')">
+{/if}
+ <img src="{$SRC_IMG}" style="width:{$WIDTH_IMG}px;height:{$HEIGHT_IMG}px;" alt="{$ALT_IMG}">
+{if isset($high) }
</a>
- <p>{lang:picture_high}</p>
-<!-- END high -->
+ <p>{'picture_high'|@translate}</p>
+{/if}