already_logged_in.tpl - displays by the 'login' function if a user is logged in the system
•
Local variables: None
□
errors.tpl - the template to display errors
•
Local variables:
o
$error - the associated array where keys include coding of errors and values include additional text data
□
field_errors.tpl - the template to display errors of form fields completion
•
Local variables:
o
$error - the associated array where keys are field captions and values include coding of errors
o
$field_caption - the caption of the field where an error has occurred
□
login.tpl - the form of user authorization
•
Local variables:
o
$errors -the associated array where keys include coding of errors and values include additional text data
o
$GLOBALS.site_url - the global variable containing a full URL of the site
•
Used functions:
o
{include} - includes another file
Parameters:
▪
file - the name of included file. Includes the errors.tpl file with errors processing.
▪
errors - the name of the parameter where the errors are passed
□
registration_choose_user_group.tpl - displays the list of all the available groups to choose a group during registration
•
Local variables:
o
$user_groups_info - the array contained information about user groups. Each element of this array is the associated array where keys include names of group properties and values include values of these properties
□
registration_success.tpl - displays the message about successful registration: "You have successfully registered in our site"
•
Local variables: None
□
activate_account.tpl - displays errors or the message about successful activation
•
Local variables:
o
$error - the associated array where keys are coding of an error and values include information about the error
o
$GLOBALS.site_url - the global variable containing the full URL of the site
o
$info - the associated array where keys are coding of a message and values are information about the message
□
change_password.tpl - displays a form of password change and errors
•
Local variables:
o
$errors - the associated array where keys are coding of an error and values include information about the error
o
$error_code - the code for specific error
o
$username - a name of a user
o
$verification_key - a key of password change verification
□
password_change_email_successfully_sent.tpl - displays the message 'Your password has been changed' notification email was sent successfully'
•
Local variables: None
□
registration_confirm.tpl - displays the message 'Your registration is almost complete. Please check your mailbox for an activation email containing further instructions.'
•
Local variables: None
□
registration_form.tpl - displays user registration form
•
Local variables:
o
$errors - the associated array where keys are coding of an error and values include information about the error
o
$error - the associated array where keys are coding of an error and values include information about the error
o
$field_caption - contains the caption of a field
o
$form_fields - the array of the fields to display on the form
o
$form_field.caption - displays the caption of a field
o
$form_field.is_required - defines if a field is mandatory
o
$form_field.id - displays the ID of a field
o
$user_group_id - contains the ID of a user group
□
delete_uploaded_file.tpl - the form to delete an uploaded file
•
Local variables:
o
$error - the associated array where keys are coding of an error and values include information about the error
o
$GLOBALS.site_url - the global variable containing a full URL of the site
□
registration_failed_to_send_activation_email.tpl - displays the message 'Failed to send activation email.'
•
Local variables: None
□
password_recovery.tpl - displays the form to send user a letter about password change and error
•
Local variables:
o
$errors - the associated array where keys are coding of an error and values include information about the error
o
$error_code - the code for specific error
o
$username - a name of a user
□
successful_password_change.tpl - displays the message about successful password change
•
Local variables: None
□
edit_profile.tpl - the form to edit profile
•
Local variables:
o
$form_fields - the array contained information about form fields. Each element of this array is the associated array where keys include names of group properties and values include values of these properties
o
$errors - the associated array where keys are coding of an error and values include information about the error
o
$form_is_submitted - shows whether the form is submitted
o
$form_fields - the array of the fields to display on the form
o
$form_field.caption - displays the caption of a field
o
$form_field.is_required - defines if a field is mandatory
o
$form_field.id - displays the ID of a field
•
Used functions:
o
{include} - includes another file
Parameters:
▪
file - the name of included file. Includes the field_errors.tpl file with field errors processing.
□
user_details_with_all_ads.tpl - the contact user form template.
•
Local variables:
o
$user.[field_id] - a user profile field. For example, to display user's First Name it is $user.FirstName. You can see all available user profile fields in Admin Panel -> User Management -> User Groups -> edit a group -> Edit User Profile Fields.
•
Used functions:
o
{include file="user_details.tpl"} - includes file 'user_details.tpl' to display user details.
o
{module name="classifieds" function="search_results" action="search" QUERY_STRING="username[equal]="|cat:$user.username} - executes function 'search_results' of the module 'classifieds' to display all the user's listings.
□
contact_form.tpl - the contact user form template.
•
Local variables:
o
$captcha - the captcha object. It's used to know is captcha enabled for this form or not.
o
$field_errors - the array of where keys are coding of errors and values are the additional information
o
$form_fields - the array of the form fields to display in the search form. Each element of the array contains data for the field such as 'id', 'caption' and 'is_required'.
•
Used functions:
o
{include file='field_errors.tpl' errors=$field_errors} - includes file 'field_errors.tpl' to display field errors if there is any error.
□
user_details.tpl - displays user details from profile.
•
Local variables:
o
$user.[field_id] - a user profile field. For example, to display user's First Name it is $user.FirstName. You can see all available user profile fields in Admin Panel -> User Management -> User Groups -> edit a group -> Edit User Profile Fields.
□
user_notifications.tpl - the form of notification management (a user ticks off necessary notifications)
•
Local variables:
o
$error - contains error if a user is not authorized
o
$notifications_settings - contains information about user notifications