Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
freedom_editstate.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: freedom_editstate.php,v 1.5 2005/06/28 08:37:46 eric Exp $
11  * @package FDL
12  * @subpackage GED
13  */
14 /**
15  */
16 
17 include_once ("FDL/Class.Doc.php");
18 
20 {
21  $dbaccess = $action->dbaccess;
22  $docid = GetHttpVars("id", 0);
23 
25  $action->lay->Set("docid", $doc->id);
26  $action->lay->Set("title", $doc->getHTMLTitle());
27 
28  $action->lay->set("tablehead", "tableborder");
29 
30  if ($action->Read("navigator", "") == "NETSCAPE") {
31  if (preg_match("/rv:([0-9.]+).*/", $_SERVER['HTTP_USER_AGENT'], $reg)) {
32  if (floatval($reg[1] >= 1.6)) {
33  $action->lay->set("tablehead", "tablehead");
34  }
35  }
36  }
37 }
global $action
Set($name, &$parent)
$docid
Definition: cleanFamily.php:13
Read($k, $d="")
global $_SERVER
new_Doc($dbaccess, $id= '', $latest=false)
$dbaccess
Definition: checkVault.php:17
freedom_editstate(Action &$action)
← centre documentaire © anakeen