Help: LDAP Authentication Login Template Variables
For more help, visit the WebGUI Community Wiki.
- login.message
- Any message returned by the system. Usually displays after the form is submitted.
- title
- Default page title.
- login.form.header
- The required form elements that go at the top of the login page.
- login.form.hidden
- Hidden form fields required for form submission
- login.form.username
- Default username form field
- login.form.username.label
- Default text for username form field
- login.form.password
- Default password form field
- login.form.password.label
- Default text for password form field
- anonymousRegistration.isAllowed
- Flag indicating whether or not anonymous registrations are allowed.
- createAccount.url
- URL for the anonymous registration page
- createAccount.label
- Default label for the anonymous registration link.
- webgui.version
- The version of WebGUI on your site.
- webgui.status
- The release status for this version of WebGUI (stable, beta, gamma, etc.)
- session.user.username
- The current user's username.
- session.user.firstDayOfWeek
- From the current user's profile, the day they selected to be the first day of the week.
- session.config.extrasurl
- From the WebGUI config, the URL for the extras directory.
- session.var.adminOn
- This variable will be true if the user is in Admin mode.
- session.setting.companyName
- From the WebGUI settings, the company name.
- session.setting.anonymousRegistration
- From the WebGUI settings, whether or not anonymous registration has been enabled.
- session form variables
- Session Form Variables
Any form variables will be available in the template with this syntax:
<tmpl_var session.form.variable>
If there is more than 1 value in a form variable, only the last will be returned.
- session scratch variables
- Session Scratch Variables
Any scratch variables will be available in the template with this syntax:
<tmpl_var session.scratch.variable>
Admin Console