diff -r df674d004508 -r 5ac118d6556c edit_user.php --- a/edit_user.php Fri Sep 26 10:02:33 2008 +0000 +++ b/edit_user.php Mon Nov 10 21:07:14 2008 +0000 @@ -114,16 +114,18 @@ echo " " . _('Emailaddress') . "\n"; echo " \n"; echo " \n"; - echo " \n"; - echo " " . _('Permission template') . "\n"; - echo " \n"; - echo " \n"; + foreach (list_permission_templates() as $template) { + ($template['id'] == $user['tpl_id']) ? $select = " SELECTED" : $select = "" ; + echo " \n"; + } + echo " \n"; + echo " \n"; } - echo " \n"; - echo " \n"; echo " \n"; echo " \n"; echo " " . _('Description') . "\n";