Agenda de base

Task #957 - Agenda
This commit is contained in:
Dany De Bontridder 2013-12-30 14:36:56 +00:00
parent 8b82585c59
commit 98b3f64c6c
3 changed files with 27 additions and 6 deletions

16
include/calendar.inc.php Normal file
View file

@ -0,0 +1,16 @@
<?php
/**
* @file
* @brief show the calendar
*/
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once 'class_calendar.php';
$cal=new Calendar();
$cal->default_periode=(isset ($_GET['in']))?$_GET['in']:$g_user->get_periode();
?>
<div id="calendar_zoom_div">
<?php echo $cal->display('long'); ?>
</div>