Fix syntax error, and some cosmetic improvments to html form.
This commit is contained in:
parent
86af4c88d2
commit
a7c9b41901
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue