source: trunk/spip/esqueleto-redcta/plugins/agenda/1_9_2/exec/voir_agenda.php @ 30

Last change on this file since 30 was 30, checked in by sebas, 17 years ago

nueva importacion del codigo del esqueleto de redcta con los plugins

File size: 535 bytes
Line 
1<?php
2
3if (!defined("_ECRIRE_INC_VERSION")) return;
4
5include_spip("inc/agenda_gestion");
6
7function exec_voir_agenda_dist()
8{
9        $id_article = intval(_request('ajouter_id_article'));
10        $id_evenement = intval(_request('id_evenement'));       
11        $flag_editable = true; // autoriser()
12       
13        // hack pour faire marcher le calendrier
14        $GLOBALS['REQUEST_URI'] = preg_replace(',exec=[^&]*,','exec=calendrier',$GLOBALS['REQUEST_URI']);
15       
16        $voir_agenda = charger_fonction("voir_agenda","inc");
17        $res = $voir_agenda($flag_editable);
18
19        ajax_retour($res);
20}
21
22?>
Note: See TracBrowser for help on using the repository browser.