From: <dr...@us...> - 2003-07-02 03:02:00
|
Update of /cvsroot/webmacro/wiki/builds/www.webmacro.org/templates/admin In directory sc8-pr-cvs1:/tmp/cvs-serv14910/builds/www.webmacro.org/templates/admin Modified Files: update_user.wm Log Message: - fix bug where page names with numbers were not accessible (reported by Keats) - cleanup user admin screens - add a "PageTree" page that displays a tree (based on links) of all pages in the site - add a "IndexPage" page that displays a simple index of all pages, group by first letter (suggested by Christian) - update webmacro.jar to whatever we have in CVS as of today (living dangerously!) Index: update_user.wm =================================================================== RCS file: /cvsroot/webmacro/wiki/builds/www.webmacro.org/templates/admin/update_user.wm,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** update_user.wm 7 Feb 2003 15:24:46 -0000 1.2 --- update_user.wm 2 Jul 2003 03:01:51 -0000 1.3 *************** *** 13,25 **** <form method='post' action='AdminUpdateUser'> <input type='hidden' name='user' value='$UserToUpdate.Identifier'> ! Username: <b>$UserToUpdate.Identifier</b><br> ! Name: <input type='text' name='name' value='$Text.HTMLEncode($UserToUpdate.Name)' size=45><br> ! Password: <input type='password' name='password' value=''><br> ! email: <input type='text' name='email' value='$Text.HTMLEncode($UserToUpdate.Attributes.email)' size=45><br> ! is moderator? <input type='checkbox' name='moderator' value='true' #if($UserToUpdate.IsModerator){ checked}><p> ! All Attributes:<br> #foreach $attribute in $UserToUpdate.Attributes.entrySet() { ! $attribute.Key = $attribute.Value<br> } <input type=button value='Back to User List' onClick='top.location.href="AdminUserList";'> --- 13,32 ---- <form method='post' action='AdminUpdateUser'> <input type='hidden' name='user' value='$UserToUpdate.Identifier'> ! <table border=0 cellpadding=0> ! <tr><td>Username:</td><td><b>$UserToUpdate.Identifier</b></td></tr> ! <tr><td>Name:</td><td><input type='text' name='name' value='$Text.HTMLEncode($UserToUpdate.Name)' size=45></td></tr> ! <tr><td>Password:</td><td><input type='password' name='password' value=''></td></tr> ! <tr><td>email:</td><td><input type='text' name='email' value='$Text.HTMLEncode($UserToUpdate.Attributes.email)' size=45></td></tr> ! <tr><td colspan=2>is moderator? <input type='checkbox' name='moderator' value='true' #if($UserToUpdate.IsModerator){ checked}></td></tr> ! </table> ! <p> ! ! User Attributes:<br> ! <table border=0> ! <tr><th>Key</th><th>Value</th> #foreach $attribute in $UserToUpdate.Attributes.entrySet() { ! <tr><td>$attribute.Key</td><td>$attribute.Value</td></tr> } + </table> <input type=button value='Back to User List' onClick='top.location.href="AdminUserList";'> |