[382] | 1 | package userslistusers
|
---|
| 2 |
|
---|
| 3 | _header_ {
|
---|
| 4 | <html>
|
---|
| 5 | <head>
|
---|
| 6 | <title>List of current users</title>
|
---|
| 7 | </head>
|
---|
| 8 | <body bgcolor="#ffffff" text="#000000" link="#006666"
|
---|
| 9 | alink="#cc9900" vlink="#666633">
|
---|
| 10 | }
|
---|
| 11 |
|
---|
| 12 | _content_ {}
|
---|
| 13 |
|
---|
| 14 | _contentstart_ {
|
---|
| 15 | <h2>List of current users</h2>
|
---|
| 16 |
|
---|
| 17 |
|
---|
| 18 | <table border=0 cellspacing=1 cellpadding=3 width=100%>
|
---|
| 19 | <tr>
|
---|
| 20 | <th bgcolor="\#d0d0d0">user</th>
|
---|
| 21 | <th bgcolor="\#d0d0d0">account status</th>
|
---|
| 22 | <th bgcolor="\#d0d0d0">groups</th>
|
---|
| 23 | <th bgcolor="\#d0d0d0">comment</th>
|
---|
| 24 | <th> </th>
|
---|
| 25 | </tr>
|
---|
| 26 | }
|
---|
| 27 |
|
---|
| 28 | _contentend_ {
|
---|
| 29 | </table>
|
---|
| 30 | }
|
---|
| 31 |
|
---|
| 32 | _textadduser_ {add a new user}
|
---|
| 33 | _textedituser_ {edit}
|
---|
| 34 | _textdeleteuser_ {delete}
|
---|
| 35 |
|
---|
| 36 | _footer_ {
|
---|
| 37 | </body>
|
---|
| 38 | </html>
|
---|
| 39 | }
|
---|
| 40 |
|
---|
| 41 |
|
---|
| 42 |
|
---|
| 43 | package usersedituser
|
---|
| 44 |
|
---|
| 45 | _header_ {
|
---|
| 46 | <html>
|
---|
| 47 | <head>
|
---|
| 48 | <title>_If_("_cgiarguma_" eq "edituser",Edit user information,Add a new user)</title>
|
---|
| 49 | </head>
|
---|
| 50 | <body bgcolor="#ffffff" text="#000000" link="#006666"
|
---|
| 51 | alink="#cc9900" vlink="#666633">
|
---|
| 52 | }
|
---|
| 53 |
|
---|
| 54 | _content_ {
|
---|
| 55 | <h2>_If_("_cgiarguma_" eq "edituser",Edit user information,Add a new user)</h2>
|
---|
| 56 |
|
---|
| 57 |
|
---|
| 58 | _users:messagestatus_
|
---|
| 59 |
|
---|
| 60 | <form name="edituser" method="post" action="_gwcgi_">
|
---|
| 61 | <input type=hidden name="e" value="_compressedoptions_">
|
---|
| 62 | <input type=hidden name="a" value="um">
|
---|
| 63 | <input type=hidden name="uma" value="_cgiarguma_">
|
---|
| 64 |
|
---|
| 65 | <table border=0>
|
---|
| 66 | <tr><td>username</td><td><input type="text" name="umun" value="_users:usersargun_" size=15></td>
|
---|
| 67 | <td><font color=gray>Usernames must be between
|
---|
| 68 | 2 and 30 characters long. They can
|
---|
| 69 | contain alphanumeric characters, '.', and '_'.
|
---|
| 70 | </font></td>
|
---|
| 71 | </tr>
|
---|
| 72 | <tr><td>password</td><td><input type="text" name="umpw" value="_users:usersargpw_" size=9></td>
|
---|
| 73 | <td><font color=gray>
|
---|
| 74 | Passwords must be between 3 and 8 characters long. They can contain
|
---|
| 75 | any normal printable ASCII characters.
|
---|
| 76 | _If_("_cgiarguma_" eq "edituser",If this field is blank the old password will be kept.)
|
---|
| 77 | </font></td></tr>
|
---|
| 78 | <tr><td>account status</td><td>
|
---|
| 79 | <select name="umus">
|
---|
| 80 | <option value="enabled">enabled
|
---|
| 81 | <option value="disabled"_If_("_users:usersargus_" ne "enabled", selected)>disabled
|
---|
| 82 | </select>
|
---|
| 83 | </td></tr>
|
---|
| 84 | <tr><td>groups</td><td><input type="text" name="umug" value="_users:usersargug_" size=15></td>
|
---|
| 85 | <td><font color=gray>
|
---|
| 86 | Groups is a comma separated list, do not put spaces after the commas.
|
---|
| 87 | </font></td></tr>
|
---|
| 88 | <tr><td>comment</td><td colspan=2><input type="text" name="umc" value="_users:usersargc_" size=50></td></tr>
|
---|
| 89 | <tr></td><td><td><input type="submit" name=beu value="submit"></td></tr>
|
---|
| 90 | </table>
|
---|
| 91 | </form>
|
---|
| 92 | }
|
---|
| 93 |
|
---|
| 94 | _footer_ {
|
---|
| 95 | </body>
|
---|
| 96 | </html>
|
---|
| 97 | }
|
---|
| 98 |
|
---|
| 99 |
|
---|
| 100 |
|
---|
| 101 |
|
---|
| 102 | package usersdeleteuser
|
---|
| 103 |
|
---|
| 104 | _header_ {
|
---|
| 105 | <html>
|
---|
| 106 | <head>
|
---|
| 107 | <title>Delete a user</title>
|
---|
| 108 | </head>
|
---|
| 109 | <body bgcolor="#ffffff" text="#000000" link="#006666"
|
---|
| 110 | alink="#cc9900" vlink="#666633">
|
---|
| 111 | }
|
---|
| 112 |
|
---|
| 113 | _content_ {
|
---|
| 114 |
|
---|
| 115 | <p>
|
---|
| 116 | <table border=0>
|
---|
| 117 | <tr><td>
|
---|
| 118 | <form name="deleteuser" method="post" action="_gwcgi_">
|
---|
| 119 | <input type=hidden name="e" value="_compressedoptions_">
|
---|
| 120 | <input type=hidden name="a" value="um">
|
---|
| 121 | <input type=hidden name="uma" value="_cgiarguma_">
|
---|
| 122 | <input type=hidden name="umun" value="_cgiargumun_">
|
---|
| 123 | <font color=red>Do you really want to permanently remove user <b>_cgiargumun_</b>?</font>
|
---|
| 124 | <input type="submit" name=cm value="no">
|
---|
| 125 | <input type="submit" name=cm value="yes">
|
---|
| 126 | </form>
|
---|
| 127 | </td></tr>
|
---|
| 128 | </table>
|
---|
| 129 | }
|
---|
| 130 |
|
---|
| 131 | _footer_ {
|
---|
| 132 | </body>
|
---|
| 133 | </html>
|
---|
| 134 | }
|
---|
| 135 |
|
---|
| 136 |
|
---|
| 137 |
|
---|
| 138 | package userschangepasswd
|
---|
| 139 |
|
---|
| 140 | _pagetitle_ {Change password}
|
---|
| 141 | _imagethispage_ {_imagegreenstone_}
|
---|
| 142 |
|
---|
| 143 | _content_ {
|
---|
| 144 | <h2>Change password</h2>
|
---|
| 145 | <p><font color=gray>Passwords must be between 3 and 8 characters long.
|
---|
| 146 | They can contain any normal printable ASCII characters.</font>
|
---|
| 147 |
|
---|
| 148 | <p>_users:messagestatus_
|
---|
| 149 |
|
---|
| 150 | <p>
|
---|
| 151 | <form name="changepasswd" method="post" action="_gwcgi_">
|
---|
| 152 | <input type=hidden name="e" value="_compressedoptions_">
|
---|
| 153 | <input type=hidden name="a" value="um">
|
---|
| 154 | <input type=hidden name="uma" value="_cgiarguma_">
|
---|
| 155 | <table border=0>
|
---|
| 156 | <tr><td align=right>old password</td><td><input type="text" name="umpw" size=9></td></tr>
|
---|
| 157 | <tr><td align=right>new password</td><td><input type="password" name="umnpw1" size=9></td></tr>
|
---|
| 158 | <tr><td align=right>retype new password</td><td><input type="password" name="umnpw2" size=9></td></tr>
|
---|
| 159 | <tr><td></td><td><input type="submit" name=bcp value="submit"></td></tr>
|
---|
| 160 | </table>
|
---|
| 161 | </table>
|
---|
| 162 | </form>
|
---|
| 163 |
|
---|
| 164 | }
|
---|
| 165 |
|
---|
| 166 |
|
---|
| 167 | package userschangepasswdok
|
---|
| 168 |
|
---|
| 169 | _pagetitle_ {Change password}
|
---|
| 170 | _imagethispage_ {_imagegreenstone_}
|
---|
| 171 |
|
---|
| 172 | _content_ {
|
---|
| 173 | <h2>Change password</h2>
|
---|
| 174 |
|
---|
| 175 | <p>Your password was successfully changed.
|
---|
| 176 | }
|
---|
| 177 |
|
---|
| 178 |
|
---|
| 179 |
|
---|
| 180 | package users
|
---|
| 181 |
|
---|
| 182 | _messageinvalidusername_ {<font color=red>The username is invalid.</font> }
|
---|
| 183 | _messageinvalidpassword_ {<font color=red>The password is invalid.</font> }
|
---|
| 184 | _messageemptypassword_ {<font color=red>Please enter an initial password for this user.</font> }
|
---|
| 185 | _messageuserexists_ {<font color=red>This user already exists,
|
---|
| 186 | please enter in another username.</font> }
|
---|
| 187 |
|
---|
| 188 | _messageusernameempty_ {<font color=red>Please enter your username.</font> }
|
---|
| 189 | _messagepasswordempty_ {<font color=red>You must enter your old password.</font> }
|
---|
| 190 | _messagenewpass1empty_ {<font color=red>Enter your new password and then retype it.</font> }
|
---|
| 191 | _messagenewpass2empty_ {_messagenewpass1empty_}
|
---|
| 192 | _messagenewpassmismatch_ {<font color=red>The two versions of your new password did not match.</font> }
|
---|
| 193 | _messagenewinvalidpassword_ {<font color=red>You entered an invalid password.</font> }
|
---|
| 194 | _messagefailed_ {<font color=red>Either your username or password was incorrect.</font> }
|
---|