home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2004 April
/
CMCD0404.ISO
/
Software
/
Freeware
/
Programare
/
groupoffice-com-2.01
/
themes
/
lush
/
simple_header.inc
< prev
next >
Wrap
Text File
|
2004-03-08
|
2KB
|
55 lines
<html>
<head>
<script language="javascript" type="text/javascript" src="<?php echo $GO_CONFIG->host; ?>javascript/common.js">
</script>
<link rel="stylesheet" href="<?php echo $GO_THEME->stylesheet; ?>">
<link rel="shortcut icon" href="<?php echo $GO_CONFIG->host; ?>lib/favicon.ico" />
<link href="<?php echo $GO_CONFIG->control_url; ?>jscalendar/calendar-go.css" type="text/css" rel="stylesheet" />
<link href="<?php echo $GO_THEME->theme_url.'htmlarea.css'; ?>" rel="stylesheet" type="text/css" />
<?php if (isset($GO_HEADER['head'])) echo $GO_HEADER['head']; ?>
<title>
<?php
echo $GO_CONFIG->title;
if (isset($page_title))
{
echo " - ".$page_title;
}
echo "</title>";
//if user uses the calendar then check for events to remind
if ($calendar_module = $GO_MODULES->get_module('calendar'))
{
require_once($GO_CONFIG->class_path.'calendar.class.inc');
$header_cal = new calendar();
$remind_events = $header_cal->get_events_to_remind($GO_SECURITY->user_id);
if ($remind_events)
{
echo '<script language="javascript" type="text/javascript">popup("'.$calendar_module['url'].'reminder.php", "500", "200");</script>';
}
unset($header_cal);
}
echo "</head>";
echo '<body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0"';
if (isset($GO_HEADER['body_arguments'])) echo ' '.$GO_HEADER['body_arguments'];
echo '>';
?>
<script language="javascript" type="text/javascript" src="<?php echo $GO_CONFIG->host; ?>javascript/common.js">
</script>
<script type="text/javascript" language="javascript">
function hidestatus(){
window.status='Group-Office <?php echo $GO_CONFIG->version; ?>'
return true
}
if (document.layers)
{
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)
}
document.onmouseover=hidestatus
document.onmouseout=hidestatus
</script>
<!--Einde header-->