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
popupeditstate.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
* States menu in edit mode
9
*
10
* @author Anakeen 2007
11
* @version $Id: popupeditstate.php,v 1.1 2007/06/27 10:04:29 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 (
"FDL/popupdocdetail.php"
);
20
function
popupeditstate
(&
$action
)
21
{
22
$docid
=
GetHttpVars
(
"id"
);
23
if
(
$docid
==
""
)
$action
->exitError(_(
"No identificator"
));
24
$popup = array();
25
26
$dbaccess
=
$action
->GetParam(
"FREEDOM_DB"
);
27
$doc
=
new_Doc
(
$dbaccess
,
$docid
);
28
29
addStatesPopup
($popup,
$doc
);
30
31
foreach
($popup as $k => $v) {
32
$popup[$k][
"submenu"
] =
""
;
33
$popup[$k][
"jsfunction"
] =
"document.getElementById('seltrans').value='$k';askForTransition(event)"
;
34
}
35
36
popupdoc
(
$action
, $popup);
37
}
← centre documentaire
© anakeen
- published under
CC License
-
Dynacase