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
+ /**
13
+ * @copyright The XUUPS Project http://sourceforge.net/projects/xuups/
14
+ * @license http://www.fsf.org/copyleft/gpl.html GNU public license
15
+ * @package Publisher
16
+ * @since 1.0
17
+ * @author trabis <lusopoemas@gmail.com>
18
+ * @author The SmartFactory <www.smartfactory.ca>
19
+ * @version $Id: admin_header.php 10661 2013-01-04 19:22:48Z trabis $
20
+ */
21
+
22
+ include_once dirname (dirname (dirname (dirname (__FILE__ )))) . '/mainfile.php ' ;
23
+ include_once dirname (dirname (__FILE__ )) . '/include/common.php ' ;
24
+ include_once XOOPS_ROOT_PATH . '/include/cp_header.php ' ;
25
+
26
+ //xoops_loadLanguage('admin', PUBLISHER_DIRNAME);
27
+ xoops_loadLanguage ('modinfo ' , PUBLISHER_DIRNAME );
28
+
29
+ $ imagearray = array (
30
+ 'editimg ' => "<img src=' " . PUBLISHER_IMAGES_URL . "/button_edit.png' alt=' " . _AM_PUBLISHER_ICO_EDIT . "' align='middle' /> " ,
31
+ 'deleteimg ' => "<img src=' " . PUBLISHER_IMAGES_URL . "/button_delete.png' alt=' " . _AM_PUBLISHER_ICO_DELETE . "' align='middle' /> " ,
32
+ 'online ' => "<img src=' " . PUBLISHER_IMAGES_URL . "/on.png' alt=' " . _AM_PUBLISHER_ICO_ONLINE . "' align='middle' /> " ,
33
+ 'offline ' => "<img src=' " . PUBLISHER_IMAGES_URL . "/off.png' alt=' " . _AM_PUBLISHER_ICO_OFFLINE . "' align='middle' /> " ,
34
+ );
35
+ if ( file_exists ($ GLOBALS ['xoops ' ]->path ('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php ' ))){
36
+ include_once $ GLOBALS ['xoops ' ]->path ('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php ' );
37
+ }else {
38
+ echo xoops_error ('/Frameworks/moduleclasses/moduleadmin/ is required!!! ' );
39
+ }
40
+ /*
41
+ $myts = MyTextSanitizer::getInstance();
42
+
43
+ if (!isset($xoopsTpl) || !is_object($xoopsTpl)) {
44
+ include_once(XOOPS_ROOT_PATH."/class/template.php");
45
+ $xoopsTpl = new XoopsTpl();
46
+ } */
0 commit comments