# 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
||ifdef||rcol_login||
||if(equal(rcol_login,(iframe)))|| ||else|| ||rcol_login|| ||endif||
||endif|| ||if_set(newlook_login)||
||iftrue(test_MS_EDGE_BROWSER)|| # Mininal testcase to see if we can figure out why MS Edge (38.14393.0.0) is playing silly buggers with our # modern styling, multiple broken issues when compared to behaviour of Chrome, FF, Safari: # 1) Blur only works if background image is directly specified on the element, which is NOT what what we want to do. # 2) With overflow hidden, and blur, the edge rendering is weird.
||endif|| ||endif||