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
fdl_forummenu.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
* Context menu view in folder list for a document
9
*
10
* @author Anakeen 2006
11
* @version $Id: fdl_forummenu.php,v 1.1 2007/10/16 14:47:42 marc 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 (
"FDL/popupdoc.php"
);
20
include_once (
"FDL/popupdocdetail.php"
);
21
// -----------------------------------
22
function
fdl_forummenu
(&
$action
)
23
{
24
// -----------------------------------
25
// define accessibility
26
$docid
=
GetHttpVars
(
"id"
);
27
$abstract = (
GetHttpVars
(
"abstract"
,
'N'
) ==
"Y"
);
28
$zone =
GetHttpVars
(
"zone"
);
// special zone
29
$dbaccess
=
$action
->GetParam(
"FREEDOM_DB"
);
30
$doc
=
new_Doc
(
$dbaccess
,
$docid
);
31
32
$tsubmenu = array();
33
// -------------------- Menu menu ------------------
34
$surl =
$action
->getParam(
"CORE_STANDURL"
);
35
36
$tlink = array(
37
"headers"
=> array(
38
"descr"
=> _(
"Properties"
) ,
39
"url"
=>
"$surl&app=FDL&action=IMPCARD&zone=FDL:VIEWPROPERTIES:T&id=$docid"
,
40
"confirm"
=>
"false"
,
41
"control"
=>
"false"
,
42
"tconfirm"
=>
""
,
43
"target"
=>
"headers"
,
44
"visibility"
=>
POPUP_ACTIVE
,
45
"submenu"
=>
""
,
46
"barmenu"
=>
"false"
47
) ,
48
"openforum"
=> array(
49
"descr"
=> _(
"open forum"
) ,
50
"url"
=>
"$surl&app=FDL&action=FDL_FORUMOPEN&docid=$docid"
,
51
"confirm"
=>
"false"
,
52
"control"
=>
"false"
,
53
"tconfirm"
=>
""
,
54
"target"
=>
"_self"
,
55
"visibility"
=>
POPUP_INVISIBLE
,
56
"submenu"
=>
""
,
57
"barmenu"
=>
"false"
58
) ,
59
"closeforum"
=> array(
60
"descr"
=> _(
"close forum"
) ,
61
"url"
=>
"$surl&app=FDL&action=FDL_FORUMCLOSE&docid=$docid"
,
62
"confirm"
=>
"false"
,
63
"control"
=>
"false"
,
64
"tconfirm"
=>
""
,
65
"target"
=>
"_self"
,
66
"visibility"
=>
POPUP_INVISIBLE
,
67
"submenu"
=>
""
,
68
"barmenu"
=>
"false"
69
) ,
70
);
71
// addFamilyPopup($tlink,$doc);
72
popupdoc
(
$action
, $tlink, $tsubmenu);
73
}
74
?>
← centre documentaire
© anakeen
- published under
CC License
-
Dynacase