@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | * @author trabis <[email protected]> |
16 | 16 | */ |
17 | 17 | |
18 | -include dirname(dirname(__DIR__)) . '/mainfile.php'; |
|
18 | +include dirname(dirname(__DIR__)).'/mainfile.php'; |
|
19 | 19 | |
20 | 20 | $xoops = Xoops::getInstance(); |
21 | 21 | $xoops->header(); |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | $configs = $config_handler->getConfigsByUser($xoops->user->getVar('uid'), $xoops->module->getVar('mid')); |
27 | 27 | \Xoops\Utils::dumpVar($configs); |
28 | 28 | $url = $xoops->url('modules/userconfigs'); |
29 | - echo '<a href="' . $url . '">Change your settings</a>'; |
|
29 | + echo '<a href="'.$url.'">Change your settings</a>'; |
|
30 | 30 | } else { |
31 | 31 | echo 'Please login and install userconfigs module'; |
32 | 32 | } |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | public function waiting() |
48 | 48 | { |
49 | 49 | $xoops = Xoops::getInstance(); |
50 | - $ret['count'] = count(\Xoops\Core\Lists\File::getList($xoops->path('modules/codex/')))-2; |
|
50 | + $ret['count'] = count(\Xoops\Core\Lists\File::getList($xoops->path('modules/codex/'))) - 2; |
|
51 | 51 | $ret['name'] = $xoops->getHandlerModule()->getByDirname('codex')->getVar('name'); |
52 | 52 | $ret['link'] = $xoops->url('modules/codex/'); |
53 | 53 | return array(); |
@@ -69,16 +69,16 @@ discard block |
||
69 | 69 | public function backend($limit) |
70 | 70 | { |
71 | 71 | $xoops = Xoops::getInstance(); |
72 | - $i=0; |
|
73 | - $ret=array(); |
|
72 | + $i = 0; |
|
73 | + $ret = array(); |
|
74 | 74 | |
75 | 75 | $files = \Xoops\Core\Lists\File::getList($xoops->path('modules/codex/')); |
76 | 76 | foreach ($files as $file) { |
77 | 77 | if (!in_array($file, array('xoops_version.php', 'index.php'))) { |
78 | 78 | $ret[$i]['title'] = ucfirst(str_replace('.php', '', $file)); |
79 | - $ret[$i]['link'] = $xoops->url('modules/codex/' . $file); |
|
80 | - $ret[$i]['content'] = 'Codex module : ' . ucfirst(str_replace('.php', '', $file)); |
|
81 | - $ret[$i]['date'] = filemtime($xoops->path('modules/codex/' . $file)); |
|
79 | + $ret[$i]['link'] = $xoops->url('modules/codex/'.$file); |
|
80 | + $ret[$i]['content'] = 'Codex module : '.ucfirst(str_replace('.php', '', $file)); |
|
81 | + $ret[$i]['date'] = filemtime($xoops->path('modules/codex/'.$file)); |
|
82 | 82 | ++$i; |
83 | 83 | } |
84 | 84 | } |
@@ -20,7 +20,7 @@ |
||
20 | 20 | public function search($queries, $andor, $limit, $start, $uid) |
21 | 21 | { |
22 | 22 | $xoops = Xoops::getInstance(); |
23 | - $queries = implode(' ', (array) $queries); |
|
23 | + $queries = implode(' ', (array)$queries); |
|
24 | 24 | |
25 | 25 | $files = \Xoops\Core\Lists\File::getList($xoops->path('modules/codex/')); |
26 | 26 | $res = array(); |
@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | * @author trabis <[email protected]> |
16 | 16 | */ |
17 | 17 | |
18 | -include dirname(dirname(__DIR__)) . '/mainfile.php'; |
|
18 | +include dirname(dirname(__DIR__)).'/mainfile.php'; |
|
19 | 19 | |
20 | 20 | $xoops = Xoops::getInstance(); |
21 | 21 | $xoops->header(); |
@@ -30,5 +30,5 @@ discard block |
||
30 | 30 | See how Codex module hooks into the search module just by using this codex/class/plugin/search.php |
31 | 31 | "; |
32 | 32 | |
33 | -\Xoops\Utils::dumpFile(__DIR__ . '/class/plugin/search.php'); |
|
33 | +\Xoops\Utils::dumpFile(__DIR__.'/class/plugin/search.php'); |
|
34 | 34 | $xoops->footer(); |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | * @author Richard Griffith <[email protected]> |
24 | 24 | */ |
25 | 25 | |
26 | -include dirname(dirname(__DIR__)) . '/mainfile.php'; |
|
26 | +include dirname(dirname(__DIR__)).'/mainfile.php'; |
|
27 | 27 | |
28 | 28 | $xoops = Xoops::getInstance(); |
29 | 29 | $xoops->header(); |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | echo $xoops->translate('GENDER', 'codex', ['name' => 'Bob', 'gender' => 'sponge']); echo '<br>'; |
87 | 87 | |
88 | 88 | echo "<br>Usage on template<br>"; |
89 | -\Xoops\Utils::dumpFile(__DIR__ .'/templates/language.tpl'); |
|
89 | +\Xoops\Utils::dumpFile(__DIR__.'/templates/language.tpl'); |
|
90 | 90 | $tpl = new \Xoops\Core\XoopsTpl(); |
91 | 91 | $tpl->display("module:codex/language.tpl"); |
92 | 92 |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | * @author Laurent JEN - aka DuGris |
22 | 22 | */ |
23 | 23 | |
24 | -include dirname(dirname(__DIR__)) . '/mainfile.php'; |
|
24 | +include dirname(dirname(__DIR__)).'/mainfile.php'; |
|
25 | 25 | |
26 | 26 | $xoops = Xoops::getInstance(); |
27 | 27 | $xoops->header(); |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | if ($response->isSuccess()) { |
46 | 46 | echo 'Message sent. Check your inbox.'; |
47 | 47 | } else { |
48 | - $errors = implode(', ', (array) $response->getErrorMessage()); |
|
48 | + $errors = implode(', ', (array)$response->getErrorMessage()); |
|
49 | 49 | echo 'Your message was not sent<br>'; |
50 | 50 | echo $errors; |
51 | 51 | } |
@@ -48,18 +48,18 @@ |
||
48 | 48 | $xoops->theme()->addScript('/include/xoops.js', array('type' => 'text/javascript')); |
49 | 49 | $xoops->setTpl($xoops->theme()->template); |
50 | 50 | $xoops->tpl()->assign(array( |
51 | - 'xoops_theme' => $xoops->getConfig('theme_set'), |
|
52 | - 'xoops_imageurl' => \XoopsBaseConfig::get('themes-url') . '/' . $xoops->getConfig('theme_set') . '/', |
|
53 | - 'xoops_themecss' => $xoops->getCss($xoops->getConfig('theme_set')), |
|
54 | - 'xoops_requesturi' => htmlspecialchars($_SERVER['REQUEST_URI'], ENT_QUOTES), |
|
55 | - 'xoops_sitename' => htmlspecialchars($xoops->getConfig('sitename'), ENT_QUOTES), |
|
56 | - 'xoops_slogan' => htmlspecialchars($xoops->getConfig('slogan'), ENT_QUOTES), |
|
57 | - 'xoops_dirname' => $xoops->isModule() ? $xoops->module->getVar('dirname') : 'system', |
|
58 | - 'xoops_banner' => $xoops->getConfig('banners') ? $xoops->getBanner() : ' ', |
|
59 | - 'xoops_pagetitle' => $xoops->isModule() ? $xoops->module->getVar('name') : htmlspecialchars($xoops->getConfig('slogan'), ENT_QUOTES), |
|
60 | - 'lang_login' => XoopsLocale::A_LOGIN, 'lang_username' => XoopsLocale::C_USERNAME, 'lang_password' => XoopsLocale::C_PASSWORD, |
|
61 | - 'lang_siteclosemsg' => $xoops->getConfig('closesite_text') |
|
62 | - )); |
|
51 | + 'xoops_theme' => $xoops->getConfig('theme_set'), |
|
52 | + 'xoops_imageurl' => \XoopsBaseConfig::get('themes-url') . '/' . $xoops->getConfig('theme_set') . '/', |
|
53 | + 'xoops_themecss' => $xoops->getCss($xoops->getConfig('theme_set')), |
|
54 | + 'xoops_requesturi' => htmlspecialchars($_SERVER['REQUEST_URI'], ENT_QUOTES), |
|
55 | + 'xoops_sitename' => htmlspecialchars($xoops->getConfig('sitename'), ENT_QUOTES), |
|
56 | + 'xoops_slogan' => htmlspecialchars($xoops->getConfig('slogan'), ENT_QUOTES), |
|
57 | + 'xoops_dirname' => $xoops->isModule() ? $xoops->module->getVar('dirname') : 'system', |
|
58 | + 'xoops_banner' => $xoops->getConfig('banners') ? $xoops->getBanner() : ' ', |
|
59 | + 'xoops_pagetitle' => $xoops->isModule() ? $xoops->module->getVar('name') : htmlspecialchars($xoops->getConfig('slogan'), ENT_QUOTES), |
|
60 | + 'lang_login' => XoopsLocale::A_LOGIN, 'lang_username' => XoopsLocale::C_USERNAME, 'lang_password' => XoopsLocale::C_PASSWORD, |
|
61 | + 'lang_siteclosemsg' => $xoops->getConfig('closesite_text') |
|
62 | + )); |
|
63 | 63 | //todo check if we can use $xoops->getConfig() instead |
64 | 64 | $config_handler = $xoops->getHandlerConfig(); |
65 | 65 | $criteria = new CriteriaCompo(new Criteria('conf_modid', 1)); |
@@ -49,7 +49,7 @@ |
||
49 | 49 | $xoops->setTpl($xoops->theme()->template); |
50 | 50 | $xoops->tpl()->assign(array( |
51 | 51 | 'xoops_theme' => $xoops->getConfig('theme_set'), |
52 | - 'xoops_imageurl' => \XoopsBaseConfig::get('themes-url') . '/' . $xoops->getConfig('theme_set') . '/', |
|
52 | + 'xoops_imageurl' => \XoopsBaseConfig::get('themes-url').'/'.$xoops->getConfig('theme_set').'/', |
|
53 | 53 | 'xoops_themecss' => $xoops->getCss($xoops->getConfig('theme_set')), |
54 | 54 | 'xoops_requesturi' => htmlspecialchars($_SERVER['REQUEST_URI'], ENT_QUOTES), |
55 | 55 | 'xoops_sitename' => htmlspecialchars($xoops->getConfig('sitename'), ENT_QUOTES), |
@@ -22,109 +22,109 @@ |
||
22 | 22 | * This should really be replaced with a more accurate way of determining the actually mimetype |
23 | 23 | */ |
24 | 24 | return array( |
25 | - 'hqx' => 'application/mac-binhex40' , |
|
26 | - 'doc' => 'application/msword' , |
|
27 | - 'dot' => 'application/msword' , |
|
28 | - 'bin' => 'application/octet-stream' , |
|
29 | - 'lha' => 'application/octet-stream' , |
|
30 | - 'lzh' => 'application/octet-stream' , |
|
31 | - 'exe' => 'application/octet-stream' , |
|
32 | - 'class' => 'application/octet-stream' , |
|
33 | - 'so' => 'application/octet-stream' , |
|
34 | - 'dll' => 'application/octet-stream' , |
|
35 | - 'pdf' => 'application/pdf' , |
|
36 | - 'ai' => 'application/postscript' , |
|
37 | - 'eps' => 'application/postscript' , |
|
38 | - 'ps' => 'application/postscript' , |
|
39 | - 'smi' => 'application/smil' , |
|
40 | - 'smil' => 'application/smil' , |
|
41 | - 'wbxml' => 'application/vnd.wap.wbxml' , |
|
42 | - 'wmlc' => 'application/vnd.wap.wmlc' , |
|
43 | - 'wmlsc' => 'application/vnd.wap.wmlscriptc' , |
|
44 | - 'xla' => 'application/vnd.ms-excel' , |
|
45 | - 'xls' => 'application/vnd.ms-excel' , |
|
46 | - 'xlt' => 'application/vnd.ms-excel' , |
|
47 | - 'ppt' => 'application/vnd.ms-powerpoint' , |
|
48 | - 'csh' => 'application/x-csh' , |
|
49 | - 'dcr' => 'application/x-director' , |
|
50 | - 'dir' => 'application/x-director' , |
|
51 | - 'dxr' => 'application/x-director' , |
|
52 | - 'spl' => 'application/x-futuresplash' , |
|
53 | - 'gtar' => 'application/x-gtar' , |
|
54 | - 'php' => 'application/x-httpd-php' , |
|
55 | - 'php3' => 'application/x-httpd-php' , |
|
56 | - 'php4' => 'application/x-httpd-php' , |
|
57 | - 'php5' => 'application/x-httpd-php' , |
|
58 | - 'phtml' => 'application/x-httpd-php' , |
|
59 | - 'js' => 'application/x-javascript' , |
|
60 | - 'sh' => 'application/x-sh' , |
|
61 | - 'swf' => 'application/x-shockwave-flash' , |
|
62 | - 'sit' => 'application/x-stuffit' , |
|
63 | - 'tar' => 'application/x-tar' , |
|
64 | - 'tcl' => 'application/x-tcl' , |
|
65 | - 'xhtml' => 'application/xhtml+xml' , |
|
66 | - 'xht' => 'application/xhtml+xml' , |
|
25 | + 'hqx' => 'application/mac-binhex40', |
|
26 | + 'doc' => 'application/msword', |
|
27 | + 'dot' => 'application/msword', |
|
28 | + 'bin' => 'application/octet-stream', |
|
29 | + 'lha' => 'application/octet-stream', |
|
30 | + 'lzh' => 'application/octet-stream', |
|
31 | + 'exe' => 'application/octet-stream', |
|
32 | + 'class' => 'application/octet-stream', |
|
33 | + 'so' => 'application/octet-stream', |
|
34 | + 'dll' => 'application/octet-stream', |
|
35 | + 'pdf' => 'application/pdf', |
|
36 | + 'ai' => 'application/postscript', |
|
37 | + 'eps' => 'application/postscript', |
|
38 | + 'ps' => 'application/postscript', |
|
39 | + 'smi' => 'application/smil', |
|
40 | + 'smil' => 'application/smil', |
|
41 | + 'wbxml' => 'application/vnd.wap.wbxml', |
|
42 | + 'wmlc' => 'application/vnd.wap.wmlc', |
|
43 | + 'wmlsc' => 'application/vnd.wap.wmlscriptc', |
|
44 | + 'xla' => 'application/vnd.ms-excel', |
|
45 | + 'xls' => 'application/vnd.ms-excel', |
|
46 | + 'xlt' => 'application/vnd.ms-excel', |
|
47 | + 'ppt' => 'application/vnd.ms-powerpoint', |
|
48 | + 'csh' => 'application/x-csh', |
|
49 | + 'dcr' => 'application/x-director', |
|
50 | + 'dir' => 'application/x-director', |
|
51 | + 'dxr' => 'application/x-director', |
|
52 | + 'spl' => 'application/x-futuresplash', |
|
53 | + 'gtar' => 'application/x-gtar', |
|
54 | + 'php' => 'application/x-httpd-php', |
|
55 | + 'php3' => 'application/x-httpd-php', |
|
56 | + 'php4' => 'application/x-httpd-php', |
|
57 | + 'php5' => 'application/x-httpd-php', |
|
58 | + 'phtml' => 'application/x-httpd-php', |
|
59 | + 'js' => 'application/x-javascript', |
|
60 | + 'sh' => 'application/x-sh', |
|
61 | + 'swf' => 'application/x-shockwave-flash', |
|
62 | + 'sit' => 'application/x-stuffit', |
|
63 | + 'tar' => 'application/x-tar', |
|
64 | + 'tcl' => 'application/x-tcl', |
|
65 | + 'xhtml' => 'application/xhtml+xml', |
|
66 | + 'xht' => 'application/xhtml+xml', |
|
67 | 67 | // 'xhtml' => 'application/xml' , |
68 | - 'ent' => 'application/xml-external-parsed-entity' , |
|
69 | - 'dtd' => 'application/xml-dtd' , |
|
70 | - 'mod' => 'application/xml-dtd' , |
|
71 | - 'gz' => 'application/x-gzip' , |
|
72 | - 'zip' => 'application/zip' , |
|
73 | - 'au' => 'audio/basic' , |
|
74 | - 'snd' => 'audio/basic' , |
|
75 | - 'mid' => 'audio/midi' , |
|
76 | - 'midi' => 'audio/midi' , |
|
77 | - 'kar' => 'audio/midi' , |
|
78 | - 'mp1' => 'audio/mpeg' , |
|
79 | - 'mp2' => 'audio/mpeg' , |
|
80 | - 'mp3' => 'audio/mpeg' , |
|
81 | - 'aif' => 'audio/x-aiff' , |
|
82 | - 'aiff' => 'audio/x-aiff' , |
|
83 | - 'm3u' => 'audio/x-mpegurl' , |
|
84 | - 'ram' => 'audio/x-pn-realaudio' , |
|
85 | - 'rm' => 'audio/x-pn-realaudio' , |
|
86 | - 'rpm' => 'audio/x-pn-realaudio-plugin' , |
|
87 | - 'ra' => 'audio/x-realaudio' , |
|
88 | - 'wav' => 'audio/x-wav' , |
|
89 | - 'ogg' => 'audio/ogg' , |
|
90 | - 'bmp' => 'image/bmp' , |
|
91 | - 'gif' => 'image/gif' , |
|
92 | - 'jpeg' => 'image/jpeg' , |
|
93 | - 'jpg' => 'image/jpeg' , |
|
94 | - 'jpe' => 'image/jpeg' , |
|
95 | - 'png' => 'image/png' , |
|
96 | - 'tiff' => 'image/tiff' , |
|
97 | - 'tif' => 'image/tif' , |
|
98 | - 'wbmp' => 'image/vnd.wap.wbmp' , |
|
99 | - 'pnm' => 'image/x-portable-anymap' , |
|
100 | - 'pbm' => 'image/x-portable-bitmap' , |
|
101 | - 'pgm' => 'image/x-portable-graymap' , |
|
102 | - 'ppm' => 'image/x-portable-pixmap' , |
|
103 | - 'xbm' => 'image/x-xbitmap' , |
|
104 | - 'xpm' => 'image/x-xpixmap' , |
|
105 | - 'ics' => 'text/calendar' , |
|
106 | - 'ifb' => 'text/calendar' , |
|
107 | - 'css' => 'text/css' , |
|
108 | - 'html' => 'text/html' , |
|
109 | - 'htm' => 'text/html' , |
|
110 | - 'asc' => 'text/plain' , |
|
111 | - 'txt' => 'text/plain' , |
|
112 | - 'rtf' => 'text/rtf' , |
|
113 | - 'sgml' => 'text/x-sgml' , |
|
114 | - 'sgm' => 'text/x-sgml' , |
|
115 | - 'tsv' => 'text/tab-seperated-values' , |
|
116 | - 'wml' => 'text/vnd.wap.wml' , |
|
117 | - 'wmls' => 'text/vnd.wap.wmlscript' , |
|
118 | - 'xsl' => 'text/xml' , |
|
119 | - 'ogv' => 'video/ogg' , |
|
120 | - 'mpeg' => 'video/mpeg' , |
|
121 | - 'mpg' => 'video/mpeg' , |
|
122 | - 'mpe' => 'video/mpeg' , |
|
123 | - 'qt' => 'video/quicktime' , |
|
124 | - 'mov' => 'video/quicktime' , |
|
125 | - 'avi' => 'video/x-msvideo' , |
|
126 | - 'flv' => 'video/x-flv' , |
|
127 | - 'mp4' => 'video/mp4' , |
|
128 | - 'wmv' => 'video/x-ms-wmv' , |
|
129 | - 'webm' => 'video/webm' , |
|
68 | + 'ent' => 'application/xml-external-parsed-entity', |
|
69 | + 'dtd' => 'application/xml-dtd', |
|
70 | + 'mod' => 'application/xml-dtd', |
|
71 | + 'gz' => 'application/x-gzip', |
|
72 | + 'zip' => 'application/zip', |
|
73 | + 'au' => 'audio/basic', |
|
74 | + 'snd' => 'audio/basic', |
|
75 | + 'mid' => 'audio/midi', |
|
76 | + 'midi' => 'audio/midi', |
|
77 | + 'kar' => 'audio/midi', |
|
78 | + 'mp1' => 'audio/mpeg', |
|
79 | + 'mp2' => 'audio/mpeg', |
|
80 | + 'mp3' => 'audio/mpeg', |
|
81 | + 'aif' => 'audio/x-aiff', |
|
82 | + 'aiff' => 'audio/x-aiff', |
|
83 | + 'm3u' => 'audio/x-mpegurl', |
|
84 | + 'ram' => 'audio/x-pn-realaudio', |
|
85 | + 'rm' => 'audio/x-pn-realaudio', |
|
86 | + 'rpm' => 'audio/x-pn-realaudio-plugin', |
|
87 | + 'ra' => 'audio/x-realaudio', |
|
88 | + 'wav' => 'audio/x-wav', |
|
89 | + 'ogg' => 'audio/ogg', |
|
90 | + 'bmp' => 'image/bmp', |
|
91 | + 'gif' => 'image/gif', |
|
92 | + 'jpeg' => 'image/jpeg', |
|
93 | + 'jpg' => 'image/jpeg', |
|
94 | + 'jpe' => 'image/jpeg', |
|
95 | + 'png' => 'image/png', |
|
96 | + 'tiff' => 'image/tiff', |
|
97 | + 'tif' => 'image/tif', |
|
98 | + 'wbmp' => 'image/vnd.wap.wbmp', |
|
99 | + 'pnm' => 'image/x-portable-anymap', |
|
100 | + 'pbm' => 'image/x-portable-bitmap', |
|
101 | + 'pgm' => 'image/x-portable-graymap', |
|
102 | + 'ppm' => 'image/x-portable-pixmap', |
|
103 | + 'xbm' => 'image/x-xbitmap', |
|
104 | + 'xpm' => 'image/x-xpixmap', |
|
105 | + 'ics' => 'text/calendar', |
|
106 | + 'ifb' => 'text/calendar', |
|
107 | + 'css' => 'text/css', |
|
108 | + 'html' => 'text/html', |
|
109 | + 'htm' => 'text/html', |
|
110 | + 'asc' => 'text/plain', |
|
111 | + 'txt' => 'text/plain', |
|
112 | + 'rtf' => 'text/rtf', |
|
113 | + 'sgml' => 'text/x-sgml', |
|
114 | + 'sgm' => 'text/x-sgml', |
|
115 | + 'tsv' => 'text/tab-seperated-values', |
|
116 | + 'wml' => 'text/vnd.wap.wml', |
|
117 | + 'wmls' => 'text/vnd.wap.wmlscript', |
|
118 | + 'xsl' => 'text/xml', |
|
119 | + 'ogv' => 'video/ogg', |
|
120 | + 'mpeg' => 'video/mpeg', |
|
121 | + 'mpg' => 'video/mpeg', |
|
122 | + 'mpe' => 'video/mpeg', |
|
123 | + 'qt' => 'video/quicktime', |
|
124 | + 'mov' => 'video/quicktime', |
|
125 | + 'avi' => 'video/x-msvideo', |
|
126 | + 'flv' => 'video/x-flv', |
|
127 | + 'mp4' => 'video/mp4', |
|
128 | + 'wmv' => 'video/x-ms-wmv', |
|
129 | + 'webm' => 'video/webm', |
|
130 | 130 | '3gp' => 'video/quicktime' ); |
@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | * xoops_url/modules/module_directory_name/admin_directory_name/ |
23 | 23 | */ |
24 | 24 | |
25 | -include_once dirname(__DIR__) . '/mainfile.php'; |
|
25 | +include_once dirname(__DIR__).'/mainfile.php'; |
|
26 | 26 | |
27 | 27 | $xoops = Xoops::getInstance(); |
28 | 28 | $xoops_url = \XoopsBaseConfig::get('url'); |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | $xoops->redirect($xoops_url, 1, XoopsLocale::E_NO_ACCESS_PERMISSION); |
41 | 41 | } |
42 | 42 | } else { |
43 | - $xoops->redirect($xoops_url . '/user.php', 1, XoopsLocale::E_NO_ACCESS_PERMISSION); |
|
43 | + $xoops->redirect($xoops_url.'/user.php', 1, XoopsLocale::E_NO_ACCESS_PERMISSION); |
|
44 | 44 | } |
45 | 45 | |
46 | 46 | // set config values for this module |