Package DE_EPAGES::Presentation::API::TLE::WebRootHandler
Implements the TLE variables #WebRoot and #SiteRoot.
Functions
BASEURL
Returns the base URL for switching between HTTP and HTTPS protocols. Adds all cookie values to the PATH_INFO part. XML contained in the base URL is quoted to prevent XSS.
Syntax |
#FUNCTION("BASEURL", #Site, #SSL) |
Example |
<a href="#FUNCTION("BASEURL", #Shop, 1)?ObjectPath=#Shop.Path[url]&ViewAction=ViewRegistration">Become a customer</a> |
Input |
|
tle
#WebRoot returns the virtual directory name for static files: "/WebRoot".
Syntax |
#WebRoot |
Example |
#MENU("Tabs") #INCLUDE(#Template) #IF(#IsActive) <a href="#WebRoot/Doc/Help/{LanguageID}/#HelpFileTopic">Help</a> #ENDIF #ENDMENU |