Platform  3.1
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
gate_modurl.php
Go to the documentation of this file.
1 <?php
2 /*
3  * @author Anakeen
4  * @license http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ Anakeen - licence CC
5  * @package FDL
6 */
7 /**
8  * Generated Header (not documented yet)
9  *
10  * @author Anakeen 2000
11  * @version $Id: gate_modurl.php,v 1.2 2003/08/18 15:46:41 eric Exp $
12  * @license http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ Anakeen - licence CC
13  * @package FDL
14  * @subpackage CORE
15  */
16 /**
17  */
18 // ---------------------------------------------------------------
19 // $Id: gate_modurl.php,v 1.2 2003/08/18 15:46:41 eric Exp $
20 // $Source: /home/cvsroot/anakeen/freedom/core/Action/Core/gate_modurl.php,v $
21 // ---------------------------------------------------------------
22 
23 // -----------------------------------
24 // -----------------------------------
25 function gate_modurl(&$action)
26 {
27  // -----------------------------------
28  $turl[] = GetHttpVars("urlG11"); // the six urls
29  $turl[] = GetHttpVars("urlG12");
30  $turl[] = GetHttpVars("urlG21");
31  $turl[] = GetHttpVars("urlG22");
32  $turl[] = GetHttpVars("urlG31");
33  $turl[] = GetHttpVars("urlG32");
34 
35  $action->parent->param->Set("GATE_URL", implode(",", $turl) , PARAM_USER . $action->user->id, $action->parent->id);
36 
37  redirect($action, "CORE", "GATE", $action->GetParam("CORE_STANDURL"));
38 }
39 ?>
← centre documentaire © anakeen - published under CC License - Dynacase