Last change
on this file since 434 was
30,
checked in by sebas, 17 years ago
|
nueva importacion del codigo del esqueleto de redcta con los plugins
|
File size:
696 bytes
|
Rev | Line | |
---|
[30] | 1 | <?php |
---|
| 2 | if (!defined("_ECRIRE_INC_VERSION")) return; |
---|
| 3 | |
---|
| 4 | include_spip("inc/agenda_gestion"); |
---|
| 5 | include_spip("inc/editer_evenement"); |
---|
| 6 | |
---|
| 7 | function action_voir_evenement_dist() |
---|
| 8 | { |
---|
| 9 | $securiser_action = charger_fonction('securiser_action', 'inc'); |
---|
| 10 | $securiser_action(); |
---|
| 11 | |
---|
| 12 | $arg = explode('-',_request('arg')); |
---|
| 13 | $action = $arg[1]; |
---|
| 14 | $id_article = $arg[2]; |
---|
| 15 | $id_evenement = $arg[3]; |
---|
| 16 | $redirect = urldecode(_request('redirect')); |
---|
| 17 | if ($action=='modifier'){ |
---|
| 18 | //if (autoriser()) |
---|
| 19 | $id_evenement = Agenda_action_formulaire_article($id_article,$id_evenement); |
---|
| 20 | if ($id_evenement) |
---|
| 21 | $redirect = parametre_url($redirect,'id_evenement',$id_evenement,'&'); |
---|
| 22 | } |
---|
| 23 | |
---|
| 24 | if ($redirect){ |
---|
| 25 | redirige_par_entete($redirect); |
---|
| 26 | } |
---|
| 27 | } |
---|
| 28 | |
---|
| 29 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.