есть инструмент для запуска tplк-модуля без
статической врезки
он не очень хороший
может мы его может поменяем
но он пока такой
[17:50][aim@xcart:p6][~/www/xcart_4_5_x]$ g template_main *
include/func/func.core.php: // $template_main['sitemap_customer'] = 'modules/Sitemap/customer.tpl';
include/func/func.core.php: global $template_main;
include/func/func.core.php: if (!empty($template_main) && is_array($template_main)) {
include/func/func.core.php: $templater->assign('template_main', $template_main);
modules/Products_Map/config.php: $template_main['pmap_customer'] = 'modules/Products_Map/customer.tpl';
modules/Sitemap/config.php: $template_main['sitemap_customer'] = 'modules/Sitemap/customer.tpl';
skin/common_files/common_templates.tpl:{elseif $template_main.$main ne ""}
skin/common_files/common_templates.tpl:{include file=$template_main.$main}
статической врезки
он не очень хороший
может мы его может поменяем
но он пока такой
[17:50][aim@xcart:p6][~/www/xcart_4_5_x]$ g template_main *
include/func/func.core.php: // $template_main['sitemap_customer'] = 'modules/Sitemap/customer.tpl';
include/func/func.core.php: global $template_main;
include/func/func.core.php: if (!empty($template_main) && is_array($template_main)) {
include/func/func.core.php: $templater->assign('template_main', $template_main);
modules/Products_Map/config.php: $template_main['pmap_customer'] = 'modules/Products_Map/customer.tpl';
modules/Sitemap/config.php: $template_main['sitemap_customer'] = 'modules/Sitemap/customer.tpl';
skin/common_files/common_templates.tpl:{elseif $template_main.$main ne ""}
skin/common_files/common_templates.tpl:{include file=$template_main.$main}
Комментариев нет:
Отправить комментарий