$directory_array=$template->get_template_part($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'jscript'),'/^jscript_/','.php');
while(list($key,$value)=each($directory_array)){
/**
*include content from all site-wide jscript_*.php files from includes/templates/YOURTEMPLATE/jscript, alphabetically.
*These.PHP files can be manipulated by PHP when they're called,and are copied in-full to the browser page
*/
require($template->get_template_dir('.php',DIR_WS_TEMPLATE,$current_page_base,'jscript').'/'.$value); echo"\n";
}
/**
*include content from all page-specific jscript_*.php files from includes/modules/pages/PAGENAME, alphabetically.
*/
$directory_array=$template->get_template_part($page_directory,'/^jscript_/');
while(list($key,$value)=each($directory_array)){
/**
*include content from all page-specific jscript_*.php files from includes/modules/pages/PAGENAME, alphabetically.
*These.PHP files can be manipulated by PHP when they're called,and are copied in-full to the browser page
*/
require($page_directory.'/'.$value);echo"\n";
}
//DEBUG:echo'';
?>
这是“外贸建站推广分享社区"zencart自主开发建站的系列免费体验教程,如你想自主建站,更深入地了解zencart建站仿站和定制,欢迎你加入我们的vip内部交流俱乐部.
《zencart模板系统文件笔记》是内部会员特权,只分享到第十篇