Changeset 2225 for trunk/admin/user_perm.php
- Timestamp:
- Feb 28, 2008, 1:07:00 PM (16 years ago)
- File:
-
- 1 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 }
Note: See TracChangeset
for help on using the changeset viewer.