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
admin_view.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
* Generated Header (not documented yet)
9
*
10
* @author Anakeen 2000
11
* @version $Id: admin_view.php,v 1.3 2004/03/22 15:21:40 eric Exp $
12
* @license http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ Anakeen - licence CC
13
* @package FDL
14
* @subpackage USERS
15
*/
16
/**
17
*/
18
// ---------------------------------------------------------------
19
// $Id: admin_view.php,v 1.3 2004/03/22 15:21:40 eric Exp $
20
// $Source: /home/cvsroot/anakeen/freedom/core/Action/Users/admin_view.php,v $
21
// ---------------------------------------------------------------
22
// $Log: admin_view.php,v $
23
// Revision 1.3 2004/03/22 15:21:40 eric
24
// change HTTP variable name to put register_globals = Off
25
//
26
// Revision 1.2 2003/08/18 15:46:41 eric
27
// phpdoc
28
//
29
// Revision 1.1 2002/07/29 11:15:18 marc
30
// Release 0.1.1, see ChangeLog
31
//
32
// Revision 1.15 2001/09/12 10:31:41 eric
33
// seul domain_master peut changer les groupes
34
//
35
// ---------------------------------------------------------------
36
include_once (
"Class.Domain.php"
);
37
include_once (
"Class.MailAccount.php"
);
38
include_once (
"Class.User.php"
);
39
// -----------------------------------
40
function
admin_view
(&
$action
)
41
{
42
// -----------------------------------
43
global
$_POST
;
44
$id
=
GetHttpVars
(
"id"
);
45
$group =
GetHttpVars
(
"group"
,
"no"
);
46
$papp =
GetHttpVars
(
"papp"
,
"APPMNG"
);
47
$paction =
GetHttpVars
(
"paction"
,
"PARAM_CUACCOUNT"
);
48
$pargs =
GetHttpVars
(
"pargs"
,
""
);
49
50
$action
->lay->Set(
"id"
,
$id
);
51
if
(
$id
== - 1) {
52
if
($group ==
"yes"
)
$action
->lay->Set(
"TITRE"
,
$action
->text(
"titlecreateg"
));
53
else
$action
->lay->Set(
"TITRE"
,
$action
->text(
"titlecreateu"
));
54
}
else
{
55
if
($group ==
"yes"
)
$action
->lay->Set(
"TITRE"
,
$action
->text(
"titlemodifyg"
));
56
else
$action
->lay->Set(
"TITRE"
,
$action
->text(
"titlemodifyu"
));
57
}
58
$action
->lay->Set(
"group"
, $group);
59
$action
->lay->Set(
"userid"
,
$id
);
60
$action
->lay->Set(
"papp"
, $papp);
61
$action
->lay->Set(
"paction"
, $paction);
62
}
63
?>
← centre documentaire
© anakeen
- published under
CC License
-
Dynacase