Глобальные переменные
Шаблон не поддерживается в этой версией системы
Эти переменные доступны для вызова с любого файла шаблона и могут использоваться в любом месте.
$site_title
{$site_title} - выводит Meta Title страницы
$site_description
{$site_description} - выводит Meta Description описание страницы
$site_keywords
{$site_keywords} - выводит Meta Keywords страницы
$THEME
{$THEME} - выводит абсолютный путь к шаблону
$colorScheme
{$colorScheme} - выводит относительный путь к цветовой схеме;
{$THEME}{$colorScheme} - выводит абсолютный путь к цветовой схеме;
$BASE_URL
{$BASE_URL} - выводит название хоста
$is_logged_in
{$is_logged_in} - выводит "1" если пользователь авторизирован
$modules
{var_dump($modules)} - выводит массив используемых модулей
Пример вывода:
array (size=37)
'user_manager' => string '/user_manager' (length=13)
'auth' => string '/auth' (length=5)
'comments' => string '/comments' (length=9)
'navigation' => string '/navigation' (length=11)
'tags' => string '/tags' (length=5)
'gallery' => string '/gallery' (length=8)
'rss' => string '/rss' (length=4)
'menu' => string '/menu' (length=5)
'sitemap' => string '/sitemap' (length=8)
'search' => string '/search' (length=7)
'feedback' => string '/feedback' (length=9)
'template_editor' => string '/template_editor' (length=16)
'group_mailer' => string '/group_mailer' (length=13)
'filter' => string '/filter' (length=7)
'cfcm' => string '/cfcm' (length=5)
'shop' => string '/shop' (length=5)
'sample_mail' => string '/sample_mail' (length=12)
'mailer' => string '/mailer' (length=7)
'share' => string '/share' (length=6)
'banners' => string '/banners' (length=8)
'new_level' => string '/new_level' (length=10)
'shop_news' => string '/shop_news' (length=10)
'categories_settings' => string '/categories_settings' (length=20)
'wishlist' => string '/wishlist' (length=9)
'exchange' => string '/exchange' (length=9)
'cmsemail' => string '/cmsemail' (length=9)
'mod_stats' => string '/mod_stats' (length=10)
'mod_seo' => string '/mod_seo' (length=8)
'mod_discount' => string '/mod_discount' (length=13)
'smart_filter' => string '/smart_filter' (length=13)
'mobile' => string '/mobile' (length=7)
'trash' => string '/trash' (length=6)
'language_switch' => string '/language_switch' (length=16)
'star_rating' => string '/star_rating' (length=12)
'translator' => string '/translator' (length=11)
'imagebox' => string '/imagebox' (length=9)
'sample_module' => string '/sample_module' (length=14)
$CS
{$CS} - выводит символ главной валюты
$NextCS
{$NextCS} - выводит символ первой дополнительной валюты
$NextCSId
{$NextCSId} - выводит идентификатор дополнительной валюты