Files
EasySoft-ZenTaoPMS/module/common/view/m.footer.html.php
2014-03-11 08:34:45 +00:00

21 lines
791 B
PHP
Executable File

<?php if($extView = $this->getExtViewFile(__FILE__)){include $extView; return helper::cd();}?>
<iframe frameborder='0' name='hiddenwin' id='hiddenwin' scrolling='no' class='hidden'></iframe>
<?php
if(isset($pageJS)) js::execute($pageJS); // load the js for current page.
/* Load hook files for current page. */
$extPath = dirname(dirname(dirname(realpath($viewFile)))) . '/common/ext/view/';
$extHookRule = $extPath . 'm.footer.*.hook.php';
$extHookFiles = glob($extHookRule);
if($extHookFiles) foreach($extHookFiles as $extHookFile) include $extHookFile;
?>
<?php if($this->server->HTTP_X_PJAX == false):?>
<script>
/* May be fix bug #576. */
$(function(){$("#main").css('padding-top', $("div[data-role='header']").height() + 'px')})
</script>
</div>
</body>
</html>
<?php endif;?>