Files
luos/workflow/engine/templates/cases/cases_Load.php

43 lines
1.2 KiB
PHP
Raw Normal View History

2015-03-16 17:26:48 -04:00
<?php
G::LoadSystem('inputfilter');
$filter = new InputFilter();
$_POST['qs'] = $filter->xssFilterHard($_POST['qs']);
?>
2010-12-02 23:34:41 +00:00
<html>
<style type="text/css">
.Footer .content {
padding :0px !important;
}
*html body {
overflow-y: hidden;
}
</style>
2010-12-02 23:34:41 +00:00
<body onresize="autoResizeScreen()" onload="autoResizeScreen()">
<iframe name="casesFrame" id="casesFrame" src ="../cases/main_init<?php echo $_POST['qs'];?>" width="99%" height="768" frameborder="0">
2010-12-02 23:34:41 +00:00
<p>Your browser does not support iframes.</p>
</iframe>
</body>
<script>
if ( document.getElementById('pm_submenu') )
document.getElementById('pm_submenu').style.display = 'none';
document.documentElement.style.overflowY = 'hidden';
var oClientWinSize = getClientWindowSize();
2010-12-02 23:34:41 +00:00
2010-12-02 23:34:41 +00:00
function autoResizeScreen() {
oCasesFrame = document.getElementById('casesFrame');
height = getClientWindowSize().height-90;
oCasesFrame.style.height = height + 'px';;
2010-12-02 23:34:41 +00:00
oCasesSubFrame = oCasesFrame.contentWindow.document.getElementById('casesSubFrame');
if(oCasesSubFrame){
oCasesSubFrame.style.height = (height-5) + 'px';;
}
else {
setTimeout('autoResizeScreen()', 2000);
}
2010-12-02 23:34:41 +00:00
}
</script>
</html>