Changeset 2225
- Timestamp:
- Feb 28, 2008, 1:07:00 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/user_perm.php
r2201 r2225 3 3 // | PhpWebGallery - a PHP based picture gallery | 4 4 // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | 5 // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | 6 // +-----------------------------------------------------------------------+ 7 // | branch : BSF (Best So Far) 5 // | Copyright (C) 2003-2008 PhpWebGallery Team - http://phpwebgallery.net | 6 // +-----------------------------------------------------------------------+ 8 7 // | file : $Id$ 9 8 // | last update : $Date$ … … 127 126 ); 128 127 129 $template->assign _vars(128 $template->assign( 130 129 array( 131 130 'TITLE' => … … 162 161 if (mysql_num_rows($result) > 0) 163 162 { 164 $template->assign_block_vars('groups', array());165 166 163 $cats = array(); 167 164 while ($row = mysql_fetch_array($result)) … … 174 171 foreach ($cats as $category) 175 172 { 176 $template->assign_block_vars( 177 'groups.category', 178 array( 179 'NAME' => get_cat_display_name_cache($category['uppercats'], null, false) 180 ) 173 $template->append( 174 'categories_because_of_groups', 175 get_cat_display_name_cache($category['uppercats'], null, false) 181 176 ); 182 177 } -
trunk/template/yoga/admin/user_perm.tpl
r2222 r2225 1 <!-- DEV TAG: not smarty migrated --> 2 <h2>{ TITLE}</h2>1 {* $Id$ *} 2 <h2>{$TITLE}</h2> 3 3 4 <!-- BEGIN groups --> 4 {if isset($categories_because_of_groups) } 5 5 <fieldset> 6 <legend>{ lang:Categories authorized thanks to group associations}</legend>6 <legend>{'Categories authorized thanks to group associations'|@translate}</legend> 7 7 8 8 <ul> 9 <!-- BEGIN category -->10 <li>{ groups.category.NAME}</li>11 <!-- END category -->9 {foreach from=$categories_because_of_groups item=cat } 10 <li>{$cat}</li> 11 {/foreach} 12 12 </ul> 13 13 </fieldset> 14 <!-- END groups --> 14 {/if} 15 15 16 16 17 <fieldset> 17 <legend>{ lang:Other private categories}</legend>18 <legend>{'Other private categories'|@translate}</legend> 18 19 19 <form method="post" action="{ F_ACTION}">20 { DOUBLE_SELECT}20 <form method="post" action="{$F_ACTION}"> 21 {$DOUBLE_SELECT} 21 22 </form> 22 23 </fieldset> -
trunk/template/yoga/picture_content.tpl
r2222 r2225 1 <!-- DEV TAG: not smarty migrated --> 2 <!-- BEGIN high --> 3 <a href="javascript:phpWGOpenWindow('{ high.U_HIGH}','{high.UUID}','scrollbars=yes,toolbar=no,status=no,resizable=yes')">4 <!-- END high --> 5 <img src="{ SRC_IMG}" style="width:{WIDTH_IMG}px;height:{HEIGHT_IMG}px;" alt="{ALT_IMG}">6 <!-- BEGIN high --> 1 {* $Id$ *} 2 {if isset($high) } 3 <a href="javascript:phpWGOpenWindow('{$high.U_HIGH}','{$high.UUID}','scrollbars=yes,toolbar=no,status=no,resizable=yes')"> 4 {/if} 5 <img src="{$SRC_IMG}" style="width:{$WIDTH_IMG}px;height:{$HEIGHT_IMG}px;" alt="{$ALT_IMG}"> 6 {if isset($high) } 7 7 </a> 8 <p>{ lang:picture_high}</p>9 <!-- END high --> 8 <p>{'picture_high'|@translate}</p> 9 {/if}
Note: See TracChangeset
for help on using the changeset viewer.