Platform
3.1
PHP API documentation
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
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
* @license http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ Anakeen - licence CC
5
* @package FDL
6
*/
7
/**
8
* Display logo
9
*
10
* @author Anakeen 2000
11
* @version $Id: generic_logo.php,v 1.8 2007/01/04 16:44:23 eric Exp $
12
* @license http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ Anakeen - licence CC
13
* @package FDL
14
* @subpackage
15
*/
16
/**
17
*/
18
19
include_once (
"GENERIC/generic_util.php"
);
20
21
function
generic_logo
(&
$action
)
22
{
23
$action
->lay->Set(
"apptitle"
,
""
);
24
$action
->parent->AddJsRef(
$action
->GetParam(
"CORE_JSURL"
) .
"/geometry.js"
);
25
$action
->parent->AddJsRef(
$action
->GetParam(
"CORE_JSURL"
) .
"/resizeimg.js"
);
26
27
$famid
=
getDefFam
(
$action
);
28
if
(
$famid
> 0) {
29
$dbaccess
=
$action
->GetParam(
"FREEDOM_DB"
);
30
$doc
=
new_Doc
(
$dbaccess
,
$famid
);
31
$action
->lay->Set(
"appicon"
,
$doc
->getIcon());
32
$action
->lay->Set(
"apptitle"
,
$doc
->title);
33
}
34
}
35
?>
← centre documentaire
© anakeen
- published under
CC License
-
Dynacase