source: gsdl/trunk/macros/users.dm@ 15086

Last change on this file since 15086 was 15086, checked in by kjdon, 16 years ago

made the input space for groups to be longer

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 4.8 KB
RevLine 
[7343]1# this file must be UTF-8 encoded
2
[382]3package userslistusers
4
5_header_ {
6<html>
7<head>
[2777]8<title>_textlocu_</title>
[382]9</head>
10<body bgcolor="#ffffff" text="#000000" link="#006666"
11 alink="#cc9900" vlink="#666633">
12}
13
14_content_ {}
15
16_contentstart_ {
[2777]17<h2>_textlocu_</h2>
[382]18
19
20<table border=0 cellspacing=1 cellpadding=3 width=100%>
21<tr>
[2777]22 <th bgcolor="\#d0d0d0">_textuser_</th>
23 <th bgcolor="\#d0d0d0">_textas_</th>
24 <th bgcolor="\#d0d0d0">_textgroups_</th>
25 <th bgcolor="\#d0d0d0">_textcomment_</th>
[382]26 <th>&nbsp;</th>
27</tr>
28}
29
30_contentend_ {
31</table>
32}
33
34_footer_ {
35</body>
36</html>
37}
38
39
40
41package usersedituser
42
43_header_ {
44<html>
45<head>
[2777]46<title>_If_("_cgiarguma_" eq "edituser",_textedituser_,_textadduser_)</title>
[382]47</head>
48<body bgcolor="#ffffff" text="#000000" link="#006666"
49 alink="#cc9900" vlink="#666633">
50}
51
52_content_ {
[2777]53<h2>_If_("_cgiarguma_" eq "edituser",_textedituser_,_textadduser_)</h2>
[382]54
55
56_users:messagestatus_
57
58<form name="edituser" method="post" action="_gwcgi_">
[876]59<input type=hidden name="e" value="_decodedcompressedoptions_">
[382]60<input type=hidden name="a" value="um">
61<input type=hidden name="uma" value="_cgiarguma_">
62
63<table border=0>
[2777]64<tr><td>_authen:textusername_</td><td><input type="text" name="umun" value="_users:usersargun_" size=15></td>
65<td><font color=gray>_textaboutusername_</font></td>
[382]66</tr>
[2777]67<tr><td>_authen:textpassword_</td><td><input type="text" name="umpw" value="_users:usersargpw_" size=9></td>
68<td><font color=gray>_textaboutpassword_
69_If_("_cgiarguma_" eq "edituser",_textoldpass_)
[382]70</font></td></tr>
[2777]71<tr><td>_userslistusers:textas_</td><td>
[382]72<select name="umus">
[2777]73<option value="enabled">_textenabled_
74<option value="disabled"_If_("_users:usersargus_" ne "enabled", selected)>_textdisabled_
[382]75</select>
76</td></tr>
[15086]77<tr><td>_userslistusers:textgroups_</td><td colspan=2><input type="text" name="umug" value="_users:usersargug_" size=50></td></tr>
[15085]78<tr><td></td><td></td>
[15086]79<td><font color=gray>_textaboutgroups_</font><br/><font color=gray>_textavailablegroups_</font></td></tr>
[2777]80<tr><td>_userslistusers:textcomment_</td><td colspan=2><input type="text" name="umc" value="_users:usersargc_" size=50></td></tr>
[1129]81<tr><td></td><td colspan=2><input type="submit" name=beu value="submit">
82<input type="submit" name=uma value="cancel"></td></tr>
[382]83</table>
84</form>
85}
86
87_footer_ {
88</body>
89</html>
90}
91
92
93
94
95package usersdeleteuser
96
97_header_ {
98<html>
99<head>
[2777]100<title>_textdeleteuser_</title>
[382]101</head>
102<body bgcolor="#ffffff" text="#000000" link="#006666"
103 alink="#cc9900" vlink="#666633">
104}
105
106_content_ {
107
108<p>
109<table border=0>
110<tr><td>
111<form name="deleteuser" method="post" action="_gwcgi_">
[876]112<input type=hidden name="e" value="_decodedcompressedoptions_">
[382]113<input type=hidden name="a" value="um">
114<input type=hidden name="uma" value="_cgiarguma_">
115<input type=hidden name="umun" value="_cgiargumun_">
[2777]116<font color=red>_textremwarn_</font>
[382]117<input type="submit" name=cm value="no">
118<input type="submit" name=cm value="yes">
119</form>
120</td></tr>
121</table>
122}
123
124_footer_ {
125</body>
126</html>
127}
128
129
130
131package userschangepasswd
132
[1794]133_header_ {
134<html>
135<head>
[2777]136<title>_textchangepw_</title>
[1794]137</head>
138<body bgcolor="#ffffff" text="#000000" link="#006666"
139 alink="#cc9900" vlink="#666633">
140}
[382]141
142_content_ {
[2777]143<h2>_textchangepw_</h2>
[2944]144<p><font color=gray>_usersedituser:textaboutpassword_</font>
[382]145
146<p>_users:messagestatus_
147
148<p>
149<form name="changepasswd" method="post" action="_gwcgi_">
[876]150<input type=hidden name="e" value="_decodedcompressedoptions_">
[382]151<input type=hidden name="a" value="um">
152<input type=hidden name="uma" value="_cgiarguma_">
153<table border=0>
[2940]154<tr><td align=right>_textoldpw_</td><td><input type="password" name="umpw" size=9></td></tr>
[2777]155<tr><td align=right>_textnewpw_</td><td><input type="password" name="umnpw1" size=9></td></tr>
156<tr><td align=right>_textretype_</td><td><input type="password" name="umnpw2" size=9></td></tr>
[382]157<tr><td></td><td><input type="submit" name=bcp value="submit"></td></tr>
158</table>
159</table>
160</form>
161
162}
163
164
165package userschangepasswdok
166
[1794]167_header_ {
168<html>
169<head>
[2777]170<title>_userschangepasswd:textchangepw_</title>
[1794]171</head>
172<body bgcolor="#ffffff" text="#000000" link="#006666"
173 alink="#cc9900" vlink="#666633">
174}
[382]175
176_content_ {
[2777]177<h2>_userschangepasswd:textchangepw_</h2>
[382]178
[2777]179<p>_textsuccess_
[382]180}
181
182
183
184package users
185
[2777]186_messageinvalidusername_ {<font color=red>_textinvalidusername_</font>}
187_messageinvalidpassword_ {<font color=red>_textinvalidpassword_</font>}
188_messageemptypassword_ {<font color=red>_textemptypassword_</font>}
189_messageuserexists_ {<font color=red>_textuserexists_</font>}
[382]190
[2777]191_messageusernameempty_ {<font color=red>_textusernameempty_</font>}
192_messagepasswordempty_ {<font color=red>_textpasswordempty_</font>}
193_messagenewpass1empty_ {<font color=red>_textnewpass1empty_</font>}
[382]194_messagenewpass2empty_ {_messagenewpass1empty_}
[2777]195_messagenewpassmismatch_ {<font color=red>_textnewpassmismatch_</font>}
196_messagenewinvalidpassword_ {<font color=red>_textnewinvalidpassword_</font>}
197_messagefailed_ {<font color=red>_textfailed_</font>}
Note: See TracBrowser for help on using the repository browser.