Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
freedom_duplicate.php
Go to the documentation of this file.
1 <?php
2 /*
3  * @author Anakeen
4  * @package FDL
5 */
6 /**
7  * Duplicate a document
8  *
9  * @author Anakeen
10  * @version $Id: freedom_duplicate.php,v 1.12 2005/06/07 16:06:24 eric Exp $
11  * @package FDL
12  * @subpackage GED
13  */
14 /**
15  */
16 
17 include_once ("FDL/duplicate.php");
18 
19 include_once ("FDL/Class.Dir.php");
20 // -----------------------------------
22 {
23  // -----------------------------------
24  // Get all the params
25  $dirid = GetHttpVars("dirid", 10); // where to duplicate
26  $docid = GetHttpVars("id", 0); // doc to duplicate
27  $folio = GetHttpVars("folio", "N") == "Y"; // return in folio
29 
30  if ($folio) redirect($action, "FREEDOM", "FOLIOLIST&dirid=" . $dirid);
31  else redirect($action, "FREEDOM", "FREEDOM_VIEW&dirid=" . $dirid);
32 }
33 ?>
global $action
$docid
Definition: cleanFamily.php:13
duplicate(Action &$action, $dirid, $docid, $temporary=false)
Definition: duplicate.php:19
freedom_duplicate(&$action)
← centre documentaire © anakeen