Группа: Пользователь
Регистрация: 26.08.2015
Город: Cочи
Обычно подобная конструкция используется, чтобы подключить файлы стилей. Когда модуль включён. Например в шаблоне /theme/standard/other/head.tpl: {if get_active ( 'shop' )} { style file = " { $csspath } /shop.css" position = 'head' priority = '1000' } {/if}
Настройки > Модули секции /admin/index.php?do=settings&sub=sectionsettings Вот список почти всех: {if get_active ( 'comments' )} comments {/if} {if get_active ( 'shop' )} shop {/if} {if get_active ( 'pn' )} личные сообщения {/if} {if get_active ( 'forums' )} forums {/if} {if get_active ( 'ping' )} Оповещение поисковых серверов {/if} {if get_active ( 'highlighter' )} Подсветка кода {/if} {if get_active ( 'calendar' )} calendar {/if} {if get_active ( 'whosonline' )} whosonline {/if} {if get_active ( 'counter_display' )} counter_display {/if} {if get_active ( 'partners' )} partners {/if} {if get_active ( 'articles' )} articles {/if} {if get_active ( 'links' )} links {/if} {if get_active ( 'cheats' )} Проги {/if} {if get_active ( 'content' )} content {/if} {if get_active ( 'downloads' )} downloads {/if} {if get_active ( 'faq' )} faq {/if} {if get_active ( 'guestbook' )} guestbook {/if} {if get_active ( 'user_guestbook' )} user_guestbook {/if} {if get_active ( 'News' )} News {/if} {if get_active ( 'products' )} products {/if} {if get_active ( 'downloads' )} downloads {/if} {if get_active ( 'manufacturer' )} manufacturer {/if} {if get_active ( 'poll' )} Опросы {/if} {if get_active ( 'Register' )} Register {/if} {if get_active ( 'roadmap' )} roadmap {/if} {if get_active ( 'search' )} search {/if} {if get_active ( 'Login' )} Login {/if} {if get_active ( 'Tags' )} Tags {/if} {if get_active ( 'banned' )} banned {/if} {if get_active ( 'shop_newinshop' )} shop_newinshop {/if} {if get_active ( 'shop_newinshop_startpage' )} shop_newinshop_startpage {/if} {if get_active ( 'shop_newinshop_navi' )} shop_newinshop_navi {/if} {if get_active ( 'langchooser' )} langchooser {/if} {if get_active ( 'poll' )} Опросы {/if} {if get_active ( 'newsletter' )} newsletter {/if} {if get_active ( 'newusers' )} newusers {/if} {if get_active ( 'flashtag' )} flashtag {/if} {if get_active ( 'phrases' )} Случайный контент {/if} {if get_active ( 'seomod' )} seomod {/if} {if get_active ( 'shop_topseller' )} shop_topseller {/if} {if get_active ( 'shop_angebote' )} Специальные предложения для магазина {/if} {if get_active ( 'shop_newinshop' )} shop_newinshop {/if} {if get_active ( 'shop_bewertung' )} отзывы в магазине {/if} {if get_active ( 'shop_downloads' )} shop_downloads {/if} {if get_active ( 'shop_preisalarm' )} сигнал цены в магазине {/if} {if get_active ( 'shop_merge' )} Сравнение товаров в магазине {/if} {if get_active ( 'user_videos' )} user_videos {/if} {if get_active ( 'social_bookmarks' )} social_bookmarks {/if} {if get_active ( 'new_links_downloads' )} new_links_downloads {/if} {if get_active ( 'optional_data' )} optional_data {/if}
Давно что то никто ничего не писал, решил исправить) Благодарности MAPC2012