Location: PHPKode > projects > BugIn and Ticketing System > bugin-0.65/inc/pre/message.pre.inc.php
<?php
if (!isset($bodyOptions))
	$bodyOptions = "";

if (isset($_SESSION['userinfo'])) {
	if ( $_SESSION['userinfo']['options'] & OPTION_FRAMES ) {
		$bodyOptions .= "onLoad=\"parent.frames[1].location.href='{$options['baseURL']}?area=list'\" ";
	}
	if (isset($_SESSION['message']) && !isset($_REQUEST['show']) && ($_SESSION['userinfo']['options'] & OPTION_POPUP)) {
		$meta .= <<<EOT
<script language="JavaScript">
<!--
function showMessage() {
	myWinLoc="{$options['baseURL']}?area=message&show=1";
	window.open(myWinLoc,'ProjectInfo','width=$infoWindowWidth,height=$infoWindowHeight,directories=no,location=no,menubar=no,scrollbars=yes,status=no,toolbar=no,resizable=yes');
}
//-->
</script>
EOT;
		$bodyOptions .= "onLoad=\"showMessage()\" ";
	}
}

?>
Return current item: BugIn and Ticketing System