Commit dba38241 authored by Ayolo's avatar Ayolo

on ressaie

parent 3694ed04
......@@ -94,13 +94,10 @@ if ( $site->is_user_admin() )
$frm->add_hidden("action","new");
if ( isset($Erreur) )
$frm->error($Erreur);
$tmp=$wwwtopdir;
$wwwtopdir="../";
if ($_REQUEST["end_date"])
$frm->add_date_field("end_date", "Date de fin de validite : ",$_REQUEST["end_date"]);
else
$frm->add_date_field("end_date", "Date de fin de validite : ");
$wwwtopdir=$tmp;
$frm->add_text_field("nom", "Nom du formulaire",$_REQUEST["nom"],true,80);
$frm->add_text_area("description", "Description du formulaire",$_REQUEST["description"]);
......
......@@ -26,6 +26,16 @@
require_once("include/site.inc.php");
if( $_REQUEST['module']=="tinycal" )
{
$cal = new tinycalendar($site->db);
$cal->set_target($_REQUEST['target']);
$cal->set_type($_REQUEST['type']);
$cal->set_ext_topdir($_REQUEST['topdir']);
echo $cal->html_render();
exit();
}
if ( $_REQUEST['class'] == "calendar" )
$cts = new calendar($site->db,$site->asso->id);
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment