The followings are grobal place holders that can be used throughout the templates.
| Place holder |
Description |
| ${cfg.server_name} | Server name of this website |
| ${cfg.context} | Context path of the page. |
| ${cfg.document_url} | The path where the read only document, such as html, js, css are stored. This is usually the path of apache httpd DocumentRoot. |
| ${cfg.image_url} | Similar to DOCUMENT_URL except this path is mainly used for images such as jpg, gif, png and so on only. |
| ${cfg.mod_url} | Module URL path. |
| ${cfg.uri} | URI of the page. |
| ${cfg.url} | Current page URL, which is also the combination of page context and page name. |
| ${cfg.page} | Current page name. |
| ${cfg.pageid} | Current page ID. |
| ${cfg.page_theme} | Current page theme. |
| ${cfg.module} | Current module of the page that is being executed. |
| ${cfg.event} | Current event of the page that is being executed. |
| ${cfg.action} | Current action of the page that is being executed. |
| ${cfg.country} | Country setting, this value can be set at the System configuration page. |
| ${cfg.calendar_startday} | Starting day of a calendar, this value returns either monday or sunday. |
| ${cfg.datetime_format} | Date and time format, this value can be set at the System configuration page. |
| ${cfg.date_format} | Date format, this value can be set at the System configuration page. |
| ${cfg.default_language} | Default language, this value can be set at the System configuration page. |
| ${cfg.default_perpage} | Default item per page, this value can be set at the System configuration page. |
| ${cfg.default_theme} | Default theme to be used, this value can be set at the System configuration page. |
| ${cfg.installed_languages} | The installed languages of the AxGui. |
| ${cfg.javascript_validation} | Determine whether to use javascript validation when submitting forms, this value can be set at the System configuration page. |
| ${cfg.lang} | Current language of the page. |
| ${cfg.max_perpage} | Maximum item per page, this value can be set at the System configuration page. |
| ${cfg.menu_new_window} | Determine whether to open menu in new window, this value can be set at the System configuration page. |
The followings are environment variables that can be used throughout the templates.
| Place holder |
Description |
| ${env.document_root} | Root directory of the server |
| ${env.gateway_interface} | Gateway interface for the server |
| ${env.https} | Secure server on or off |
| ${env.http_accept} | Accepted path |
| ${env.http_accept_encoding} | Accepted encoding types |
| ${env.http_accept_language} | Accepted language code |
| ${env.http_connection} | HTTP connection |
| ${env.http_cookie} | Cookie value if exist |
| ${env.http_host} | Hostname of the server |
| ${env.http_referer} | URL of the page that called this script |
| ${env.http_user_agent} | Client browser type |
| ${env.path} | System path of the server |
| ${env.query_string} | The query string |
| ${env.redirect_status} | Numeric status for the current URL |
| ${env.redirect_url} | Interpreted pathname the current URL |
| ${env.remote_addr} | Client's IP address |
| ${env.remote_host} | Client's hostname or IP |
| ${env.remote_port} | The port you are connected |
| ${env.remote_user} | Client's username for .htaccess if exist |
| ${env.request_method} | Request method of HTML form |
| ${env.request_uri} | Interpreted pathname of requested document |
| ${env.script_filename} | The full pathname of the current CGI |
| ${env.script_name} | The interpreted pathname of the current CGI |
| ${env.server_addr} | Server's IP address |
| ${env.server_admin} | Server webmaster's email address |
| ${env.server_name} | Server domain name |
| ${env.server_port} | The port number for the server |
| ${env.server_protocol} | Protocol connected to the server |
| ${env.server_signature} | Server signature |
| ${env.server_software} | The server software |
HTML form query values may be access within templates using the following syntax.
You may use a special place holder to check the permission to a specific actions with the following syntax.