Fix syntax error, and some cosmetic improvments to html form.

This commit is contained in:
Uriel 2009-01-25 16:54:03 +01:00
parent 86af4c88d2
commit a7c9b41901
2 changed files with 3 additions and 3 deletions

View file

@ -12,7 +12,7 @@ fn bridge_init {
get_post_args comment_user_name comment_user_password
# XXX Should do this too if user not in required group
if(! login_user $comment_user_name $comment_user_password) {
u=$comment_user_name ':' $comment_user_password
u=$comment_user_name':'$comment_user_password
d=$d^'_pending'
}
if not

View file

@ -17,8 +17,8 @@
<br />
<input type="submit" name="post_comment" value="Post a comment" />
% if(! check_user) {
User: <input type="text" name="comment_user_name" value="" />
Password: <input type="password" name="comment_user_password" value="" />
<label>User: <input type="text" name="comment_user_name" value="" /></label>
<label>Password: <input type="password" name="comment_user_password" value="" /></label>
<div style="font-size: 70%">If you are not registered enter your desired user/password and your account will be created when your comment is approved.</div>
% }
</form>