1<?php
2if (isset($language) && isset($nls['charsets'][$language])) {
3    header('Content-type: text/html; charset=' . $nls['charsets'][$language]);
4}
5?>
6<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
7
8<!--          Chora: Copyright 2000-2001, The Horde Project.           -->
9<!-- Ported to phpGroupWare - all modifications Copyright FSF 2003-    -->
10<!-- Origibal source derived from   |   Chora: http://horde.org/chora/ -->
11<!--     GNU Public License: http://www.fsf.org/copyleft/gpl.html      -->
12
13<html>
14<head>
15<?php
16
17/* Print the page title. */
18$page_title = '';
19if (!empty($conf['sitename'])) $page_title .= $conf['sitename'];
20if (!empty($title)) $page_title .= ' :: ' . $title;
21if (!empty($refresh_time) && ($refresh_time > 0) && !empty($refresh_url)) {
22    echo "<meta http-equiv=\"refresh\" content=\"$refresh_time;url=$refresh_url\">\n";
23}
24
25?>
26<title><?php echo $page_title ?></title>
27<link href="<?php echo $conf['horde']['paths']['root'] ?>/css.php?app=chora" rel="stylesheet" text="text/css" />
28</head>
29
30<?php if (!empty($js_onLoad)): ?>
31<body onload="<?php echo $js_onLoad ?>">
32<?php else: ?>
33<body>
34<?php endif; ?>
35