#LOCAL("RequestProtocolAndServer", "")#IF(#INPUT.SERVER_PORT_SECURE)#SET("RequestProtocolAndServer", "https://".#INPUT.HTTP_HOST)#ENDIF #IF(#DebugLevel == 0) #IF(#INPUT.IsEditorMode OR #INPUT.IsEditorModeEnabled)#ENDIF #ELSIF(#DebugLevel == 1) #IF(#INPUT.IsEditorMode OR #INPUT.IsEditorModeEnabled)#ENDIF #ELSE #IF(#INPUT.IsEditorMode OR #INPUT.IsEditorModeEnabled)#ENDIF #ENDIF #ENDLOCAL