Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
generic_logo.php
Go to the documentation of this file.
1 <?php
2 /*
3  * @author Anakeen
4  * @package FDL
5 */
6 /**
7  * Display logo
8  *
9  * @author Anakeen
10  * @version $Id: generic_logo.php,v 1.8 2007/01/04 16:44:23 eric Exp $
11  * @package FDL
12  * @subpackage
13  */
14 /**
15  */
16 
17 include_once ("GENERIC/generic_util.php");
18 
20 {
21  $action->lay->Set("apptitle", "");
22  $action->parent->AddJsRef($action->GetParam("CORE_JSURL") . "/geometry.js");
23  $action->parent->AddJsRef($action->GetParam("CORE_JSURL") . "/resizeimg.js");
24  $action->lay->Set("appicon", false);
25  $action->lay->Set("apptitle", "");
26  $famid = getDefFam($action);
27  if ($famid > 0) {
28  $dbaccess = $action->dbaccess;
30  $action->lay->eSet("appicon", $doc->getIcon());
31  $action->lay->eSet("apptitle", $doc->title);
32  }
33 }
global $action
getDefFam(Action &$action)
Set($name, &$parent)
generic_logo(Action &$action)
new_Doc($dbaccess, $id= '', $latest=false)
$dbaccess
Definition: checkVault.php:17
← centre documentaire © anakeen