Location: PHPKode > projects > Eridu - Web based Groupware > eridu-0.9.1/eridu/html/calendar/root.php
<?php
/**************************************************************************
 * Eridu - Web based Groupware                                            *
 **************************************************************************
 * Copyright (c) 2000, The Eridu Project                                  *
 **************************************************************************
 * This source file is subject to version 2.0 of the GNU GENERAL PUBLIC   *
 * LICENSE that is bundled with this package in the file COPYING, and is  *
 * available through the world-wide-web at:                               *
 * http://www.gnu.org/copyleft/gpl.html                                   *
 * If you did not receive a copy of the license and are unable to         *
 * obtain it through the world-wide-web, please send a note to            *
 * eridu-hide@address.com so we can mail you a copy          *
 * immediately.                                                           *
 **************************************************************************
 *
 * $Id: root.php,v 1.4 2000/12/07 05:39:12 coldblood Exp $
 */

?>
<?php
include("eridu.conf");
include("$eriduBasePath/html/lib/uiFunctions.php");
?>
<HTML>
<HEAD>
<TITLE>Eridu Web Access - Calendar</TITLE>
<script language="Javascript">

<?php
	drawComposeNewJava("calendar");
?>

function openNewWindow(fileName,windowName,theWidth,theHeight) {
	if (windowName == "newMessageWindow") 
	{
		//generate random window ID

		 windowName = new String(Math.round(Math.random() * 100000));

	}
	window.open(fileName,windowName,"toolbar=0,location=0,directories=0,status=1,menubar=1,scrollbars=1,resizable=1,width="+theWidth+",height="+theHeight)
}

function updateCalView(display) {
	calfldr.document.dataform.displaytype.value=display;
	calfldr.document.dataform.submit();
}

function setDate(day,month,year) {
	calfldr.document.dataform.curday.value=day;
	calfldr.document.dataform.curmonth.value=month;
	calfldr.document.dataform.curyear.value=year;
	calfldr.document.dataform.submit();
}

</script>
</HEAD>
<?php

?>

<FRAMESET ROWS="100,*" frameborder=1 border=5> 
	<FRAME SRC="caltitle.php" name="caltitle" noresize marginheight=2 marginwidth=0 scrolling=no>
	<FRAMESET COLS="*,250" frameborder=1 border=5>
		<FRAME SRC="calmain.php" name="calfldr" marginheight=0 marginwidth=0>
		<FRAME SRC="calbar.php?isName=<?php echo $isName; ?>" name="calmain" marginheight=0 marginwidth=0> 
    	</FRAMESET>
</FRAMESET>
</HTML>
Return current item: Eridu - Web based Groupware