1: <?php
2: /**
3: * XOOPS control panel functions
4: *
5: * You may not change or alter any portion of this comment or credits
6: * of supporting developers from this source code or any supporting source code
7: * which is considered copyrighted (c) material of the original comment or credit authors.
8: * This program is distributed in the hope that it will be useful,
9: * but WITHOUT ANY WARRANTY; without even the implied warranty of
10: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11: *
12: * @copyright XOOPS Project (http://xoops.org)
13: * @license GNU GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
14: * @package kernel
15: * @since 2.0.0
16: * @version $Id$
17: */
18:
19: define('XOOPS_CPFUNC_LOADED', 1);
20:
21: /**
22: * CP Header
23: *
24: * @return void
25: */
26: function xoops_cp_header()
27: {
28: $xoops = Xoops::getInstance();
29: $xoops->deprecated('xoops_cp_header() is deprecated. See how to replace it in file ' . __FILE__ . ' line ' . __LINE__);
30: $xoops->header($xoops->getOption('template_main'));
31: }
32:
33: /**
34: * CP Footer
35: *
36: * @return void
37: */
38: function xoops_cp_footer()
39: {
40: $xoops = Xoops::getInstance();
41: $xoops->deprecated('xoops_cp_footer() is deprecated. See how to replace it in file ' . __FILE__ . ' line ' . __LINE__);
42: $xoops->footer();
43: }
44: