* add a logic to include footer.hook.*

This commit is contained in:
wenjie@cnezsoft.com
2011-04-10 01:37:23 +00:00
parent d7fb15252b
commit a52be35d05
+12
View File
@@ -1,5 +1,17 @@
</div>
<?php if($extView = $this->getExtViewFile(__FILE__)){include $extView; return helper::cd();}?>
<?php
$extPath = dirname(dirname(dirname(realpath($viewFile)))) . '/common/ext/view/';
$extViewFile = $extPath . 'footer.hook.*';
$names = glob($extViewFile);
if(!empty($names))
{
foreach($names as $name)
{
include $name;
}
}
?>
<div id='divider'></div>
<iframe frameborder='0' name='hiddenwin' id='hiddenwin' scrolling='no' class='<?php $config->debug ? print("debugwin") : print('hidden')?>'></iframe>
<div id='footer'>