# Completely hide the normal surgeweb login page by redirecting elsewhere ||if(not(blank(my_login_service)))|| ||template_exit()|| ||endif|| # Switch http connections to https if required ||if(and(not(istrue(https_secured)),or(equal(https_required,(true)),equal(https_required,(login_only)))))|| ||template_exit()|| ||endif|| # Normal surgeweb login page ||ifndef||domain defs load|| ||if(istrue(custom_css))||||endif|| ||if(istrue(custom_js))||||endif|| ||endif|| ||ifdef||live_id|| ||include||shared/modules/_live_win.htm|| ||endif|| # ||title|| - ||domain|| ||ifdef||custom_login_error||
Custom login page does not exist:
Please make sure this file is valid (copy from surgeweb/tpl if needed):
   ||custom_login_error||
or disable the "Custom Login Page" setting.
||endif||
||if(equal(login_crossdomain,(enabled)))|| ||else|| ||endif|| ||if(equal(https_required,(login_only)))|| ||endif|| #development only option to receive clean web pages
$$login_title$$
$$login_title_comment$$
# Useful for providing an additional header styling image using css
||ifdef||results||
||begin_list_results||
||result||
||end_list_results||
||endif|| #
CURRENTLY BROKEN - DO NOT USE (many messages not displayed)
#
Most oddities fixed, but will be better in a day or two
||iftrue(lang_demo)|| ||endif|| ||if(or(istrue(showlink_forget_pass),istrue(showlink_create_account)))|| ||endif||
$$st_username$$ ||if(equal(login_domain,(show)))|| @||ifdef||domain_ex|| ||domain_ex|| ||else|| ||domain|| ||endif|| ||endif||
$$st_password$$
$$st_interface$$
 ||$((st_lang_limited),(),(),(),())||
$$st_remember_me$$
$$st_browser_warn_test1$$
$$st_browser_warn_test2$$
$$st_browser_warn_test3$$
$$st_browser_warn_test4$$
$$st_browser_warn_test5$$
$$st_browser_warn_test6$$
$$login_post_comment$$
||ifdef||rcol_login||
||if(equal(rcol_login,(iframe)))|| ||else|| ||rcol_login|| ||endif||
||endif||