fi
;;
/register/)
+ if [ "$USER_ID" -a "$(GET user_register)" = confirm ]; then
+ printf 'Refresh: 2; url=%s\r\n' "/${_BASE#/}"
+ yield_page "RAW:NET Register confirm" "message register_confirm" <<-EOF
+ User registration successful!
+ EOF
+ exit 0
+ fi
yield_page 'RAW:NET Register User' register <<-EOF
$(w_user_register)
EOF
EOF
;;
/invite/)
+ if [ "$USER_ID" -a "$(GET user_register)" = confirm ]; then
+ printf 'Refresh: 2; url=%s\r\n' "/${_BASE#/}"
+ yield_page "RAW:NET Account activation" "message invite_confirm" <<-EOF
+ Account activation successful!
+ EOF
+ exit 0
+ fi
yield_page 'RAW:NET Invite User' invite <<-EOF
+ [nav [a href="../" Channels] - [span Invite]]
$(w_user_invite)
EOF
;;