|
From: Ulf E. <ulf...@us...> - 2005-08-22 20:04:13
|
Update of /cvsroot/phpbt/phpbt/templates/default/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12023/templates/default/admin Modified Files: group-edit.html grouplist.html Log Message: Added a simple UI to edit group permissions Index: group-edit.html =================================================================== RCS file: /cvsroot/phpbt/phpbt/templates/default/admin/group-edit.html,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- group-edit.html 22 Aug 2005 19:58:26 -0000 1.9 +++ group-edit.html 22 Aug 2005 20:04:05 -0000 1.10 @@ -35,6 +35,22 @@ </tr> <tr> <td align="right" valign="top"> + Permissions: + </td> + </tr> + <?php foreach($perms as $p) { ?> + <tr> + <td align="right" valign="top"> + <input type="checkbox" name="perms[]" value="<?php echo $p['perm_id']; ?>" + <?php if (is_array($group_perms) && in_array($p['perm_id'], $group_perms)) echo "checked"; ?>> + </td> + <td> + <?php echo $p['perm_name']; ?> + </td> + </tr> + <?php } ?> + <tr> + <td align="right" valign="top"> </td> <td> Index: grouplist.html =================================================================== RCS file: /cvsroot/phpbt/phpbt/templates/default/admin/grouplist.html,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- grouplist.html 22 Aug 2005 19:58:26 -0000 1.9 +++ grouplist.html 22 Aug 2005 20:04:05 -0000 1.10 @@ -3,7 +3,7 @@ var me = '<?php echo $_SERVER['SCRIPT_NAME']; ?>'; function popupGroup(id) { - window.open(me + '?op=edit&use_js=1&group_id='+id, 'ewin', 'dependent=yes,width=250,height=150,scrollbars=1'); + window.open(me + '?op=edit&use_js=1&group_id='+id, 'ewin', 'dependent=yes,width=250,height=250,scrollbars=1'); } // --> </script> |