29 lines
1.0 KiB
PHP
Executable File
29 lines
1.0 KiB
PHP
Executable File
<?php
|
|
/**
|
|
* The footer view of common module of XXB.
|
|
*
|
|
* @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd., www.zentao.net)
|
|
* @license ZOSL (https://zpl.pub/page/zoslv1.html)
|
|
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
|
|
* @package common
|
|
* @version $Id: footer.html.php 4029 2016-08-26 06:50:41Z liugang $
|
|
* @link https://xuanim.com
|
|
*/
|
|
if($extView = $this->getExtViewFile(__FILE__)){include $extView; return helper::cd();}
|
|
?>
|
|
<?php
|
|
$jsRoot = $config->webRoot . "js/";
|
|
if($config->debug) js::import($jsRoot . 'jquery/form/min.js');
|
|
if(isset($pageJS)) js::execute($pageJS);
|
|
|
|
/* Load hook files for current page. */
|
|
$extPath = dirname(dirname(dirname(__FILE__))) . '/common/ext/view/';
|
|
$extHookRule = $extPath . 'footer.*.hook.php';
|
|
$extHookFiles = glob($extHookRule);
|
|
if($extHookFiles) foreach($extHookFiles as $extHookFile) include $extHookFile;
|
|
if($this->loadModel('cron')->runable()) js::execute('startCron()');
|
|
?>
|
|
</div>
|
|
</body>
|
|
</html>
|