Platform  3.1
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
ctrldoc.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: ctrldoc.php,v 1.6 2005/06/28 08:37:46 eric Exp $
12  * @license http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ Anakeen - licence CC
13  * @package FDL
14  * @subpackage GED
15  */
16 /**
17  */
18 // ---------------------------------------------------------------
19 // $Id: ctrldoc.php,v 1.6 2005/06/28 08:37:46 eric Exp $
20 // $Source: /home/cvsroot/anakeen/freedom/freedom/Action/Freedom/ctrldoc.php,v $
21 // ---------------------------------------------------------------
22 include_once ("FDL/Class.Doc.php");
23 include_once ("FDL/Class.DocAttr.php");
24 
25 include_once ("Class.TableLayout.php");
26 include_once ("Class.QueryDb.php");
27 include_once ("Class.QueryGen.php");
28 include_once ("FDL/freedom_util.php");
29 // -----------------------------------
30 // -----------------------------------
31 function ctrldoc(&$action)
32 {
33  // -----------------------------------
34  // Set the globals elements
35  $baseurl = $action->GetParam("CORE_BASEURL");
36  $standurl = $action->GetParam("CORE_STANDURL");
37  $dbaccess = $action->GetParam("FREEDOM_DB");
38 
39  $docid = GetHttpVars("id");
40 
42 
43  $doc->SetControl();
44 
45  redirect($action, "FDL", "FDL_CARD&id=$docid");
46 }
47 ?>
← centre documentaire © anakeen - published under CC License - Dynacase