Location: PHPKode > scripts > LuxCal Web Based Event Calendar > canvas/headere.php
= Header for the LuxCal calendar popup window = (event window)

© Copyright 2009-2012  LuxSoft - www.LuxSoft.eu

This file is part of the LuxCal Web Calendar.

The LuxCal Web Calendar is free software: you can redistribute it and/or modify it under 
the terms of the GNU General Public License as published by the Free Software Foundation, 
either version 3 of the License, or (at your option) any later version.

The LuxCal Web Calendar is distributed in the hope that it will be useful, but WITHOUT 
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with the LuxCal 
Web Calendar. If not, see <http://www.gnu.org/licenses/>.

//sanity check
if (!defined('LCC')) { exit('not permitted ('.substr(basename(__FILE__),0,-4).')'); } //lounch via script only
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<title><?php echo $set['calendarTitle']; ?></title>
<link rel="shortcut icon" href="lcal.ico">
<link rel="stylesheet" href="css/css.php" type="text/css">
<?php //used by dtpicker.js
echo 'var mode = "',$mode,'";
var tFormat = "',$set['timeFormat'],'";
var dFormat = "',$set['dateFormat'],'";
var wStart = ',$set['weekStart'],';
var dpToday = "',$xx['hdr_today'],'";
var dpClear = "',$xx['hdr_clear'],'";
var dpMonths = new Array("',implode('","',$months),'");
var dpWkdays = new Array("',implode('","',$wkDays_m),'");'."\n";
<script src="common/dtpicker.js"></script>
<script src="common/cpicker.js"></script>
<script src="common/toolbox.js"></script>
<script>window.onload = function() {winFit(700);}</script>

<body class="scroll">
<div class="topText">
<?php echo '<h4 class="floatL">'.$pageTitle."</h4>\n"; ?>
<div class="contentS">
Return current item: LuxCal Web Based Event Calendar