Authorization panel

<< Click to Display Table of Contents >>

Navigation:  Templates >

Authorization panel

Displaying of this section is configured in login.tpl. In this section you can configure display of the user authorization panel. You can use the following tags:

 

{registration-link}

Link to the registration page.

{lostpassword-link}

Link to the password recovery page.

{login}

Username

{logout-link}

Link to log out the user form the website.

{admin-link}

Link to Administration Panel.

{pm-link}

Link to this personal messages page.

{new-pm}

The number of new personal messages.

{all-pm}

The total number of personal messages.

{favorite-count}

The number of news added to Favorites list on the website.

{foto}

Link to the user's avatar.

[admin-link] and [/admin-link]

Displays text in the tags if the user has access to the Administration Panel.

{profile-link}

Link to the user profile.

{stats-link}

Link to website statistics.

{addnews-link}

Link to the page of adding news on the website.

{favorites-link}

Link to the user's Favorites list.

{newposts-link}

Link to the list of unread news since his/her last visit.

{group-icon}

Displays the icon of a user group.

{login-method}

Displays what the user should enter to log in depending on what type of authorization is set in script settings: login or e-mail.

[vk] text [/vk]

Displays the enclosed text if authorization using VK network is enabled.

{vk_url}

Displays the URL link to log in to VK.

[odnoklassniki] text [/odnoklassniki]

Displays the enclosed text if authorization using Odnoklassniki network is enabled.

{odnoklassniki_url}

Displays the URL link to log in to Odnoklassniki.

[facebook] text [/facebook]

Displays the enclosed text if authorization using Facebook is enabled.

{facebook_url}

Displays the URL link to log in to Facebook.

[google] text [/google]

Displays the enclosed text if authorization using Google is enabled.

{google_url}

Displays the URL link to log in to Google.

[mailru] text [/mailru]

Displays the enclosed text if authorization using Mail.ru is enabled.

{mailru_url}

Displays the URL link to log in to Mail.ru.

[yandex] text [/yandex]

Displays the enclosed text if authorization using Yandex is enabled.

{yandex_url}

Displays the URL link to log in to Yandex.

[xfgiven_x]

[xfvalue_x]

[/xfgiven_x]

Extra field "x" is displayed if it is not empty.

[xfnotgiven_x]

text

[/xfnotgiven_x]

Displays the enclosed text if user's extra field has not been set, where X is the name of user profile extra field.

[xfvalue_x]

Displays the value of extra field "x", where "x" is the name of extra field.

{group}

Displays the name of the user group where the user is currently belongs to.