Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
revcomment.php
Go to the documentation of this file.
1 <?php
2 /*
3  * @author Anakeen
4  * @package FDL
5 */
6 /**
7  * Generated Header (not documented yet)
8  *
9  * @author Anakeen
10  * @version $Id: revcomment.php,v 1.5 2005/06/28 08:37:46 eric Exp $
11  * @package FDL
12  * @subpackage GED
13  */
14 /**
15  */
16 // ---------------------------------------------------------------
17 // $Id: revcomment.php,v 1.5 2005/06/28 08:37:46 eric Exp $
18 // $Source: /home/cvsroot/anakeen/freedom/freedom/Action/Freedom/revcomment.php,v $
19 // ---------------------------------------------------------------
20 include_once ("FDL/Class.Doc.php");
21 include_once ("FDL/Class.DocAttr.php");
23 {
24  $dbaccess = $action->dbaccess;
25  $docid = GetHttpVars("id", 0);
26 
28 
29  $err = $doc->lock(true); // auto lock
30  if ($err != "") $action->ExitError($err);
31 
32  $err = $doc->canEdit();
33  if ($err != "") $action->ExitError($err);
34 
35  $action->lay->eSet("APP_TITLE", _($action->parent->description));
36  $action->lay->eSet("title", $doc->getTitle());
37  $action->lay->eSet("docid", (int)$doc->id);
38 }
global $action
$docid
Definition: cleanFamily.php:13
new_Doc($dbaccess, $id= '', $latest=false)
revcomment(Action &$action)
Definition: revcomment.php:22
$dbaccess
Definition: checkVault.php:17
if($file) if($subject==""&&$file) if($subject=="") $err
← centre documentaire © anakeen