swerc

anselm's simpler werc fork
git clone git://git.suckless.org/swerc
Log | Files | Refs | README

commit b46c31198b39d0b2878598771dda56e178928602
parent 10b6d9b2cd3497f7ef539e2e8c6d915426a6b002
Author: uriel@engel.se.cat-v.org <unknown>
Date:   Sun, 25 Jan 2009 16:54:03 +0100

Fix syntax error, and some cosmetic improvments to html form.
Diffstat:
Mapps/bridge/app.rc | 2+-
Mapps/bridge/foot.tpl | 4++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/apps/bridge/app.rc b/apps/bridge/app.rc @@ -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 diff --git a/apps/bridge/foot.tpl b/apps/bridge/foot.tpl @@ -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>