XOOPS 2.5.6
Final
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Pages
legacy.php
Go to the documentation of this file.
1
<?php
2
/*
3
You may not change or alter any portion of this comment or credits
4
of supporting developers from this source code or any supporting source code
5
which is considered copyrighted (c) material of the original comment or credit authors.
6
7
This program is distributed in the hope that it will be useful,
8
but WITHOUT ANY WARRANTY; without even the implied warranty of
9
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10
*/
11
12
xoops_load
(
"gui"
,
"system"
);
13
26
class
XoopsGuiLegacy
extends
/* implements */
XoopsSystemGui
27
{
31
var
$template
;
32
36
var
$navigation
;
37
38
var
$menu
;
39
40
function
__construct
()
41
{
42
include_once dirname(__FILE__) .
"/cp_functions.php"
;
43
}
44
45
function
XoopsGuiLegacy
()
46
{
47
$this->
__construct
();
48
}
49
50
function
validate
()
51
{
52
return
true
;
53
}
54
55
function
flush
()
56
{
57
@unlink(
XOOPS_CACHE_PATH
.
'/adminmenu.php'
);
58
}
59
64
function
generateMenu
()
65
{
66
xoops_legacy_module_write_admin_menu
(
xoops_legacy_module_get_admin_menu
() );
67
return
true
;
68
}
69
70
function
header
()
71
{
72
parent::header();
73
$tpl
=&
$this->template
;
74
if
(!file_exists(
XOOPS_CACHE_PATH
.
'/adminmenu.php'
)) {
75
$this->
generateMenu
();
76
}
77
78
xoops_legacy_cp_header
(
$tpl
);
79
return
true
;
80
}
81
82
function
footer
()
83
{
84
xoops_legacy_cp_footer
();
85
parent::footer();
86
return
true
;
87
}
88
}
89
90
?>
L:
0xoops
xoops-2.5.6
htdocs
modules
system
themes
legacy
legacy.php
Generated on Fri May 10 2013 01:04:29 for XOOPS 2.5.6 by
1.8.3.1