5.1. Users

Top  Previous  Next

□

already_logged_in.tpl - displays by the 'login' function if a user is logged in the system

•

Local variables: no

 

□

errors.tpl - the template to display errors

•

Local variables:

o

$errors - 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

$errors - the associated array where keys are field captions and values include coding of errors

 

□

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

 

□

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

•

Local variables: no

 

□

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

$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

$username -  a name of a user

o

$verification_key -  a key of password change verification

 

□

password_change_email_successfully_sent.tpl -  displays the message that 'Your password has been changed' notification email was sent successfully

•

Local variables: no

 

□

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

$username -  a name of a user

 

□

successful_password_change.tpl - displays the message about successful password change

•

Local variables: no

 

□

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

 

□

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