@@ -61,11 +61,11 @@ |
||
61 | 61 | $query = sprintf('ALTER TABLE %s RENAME %s', $from, $to); |
62 | 62 | $ret = $xoopsDB->queryF($query); |
63 | 63 | if (!$ret) { |
64 | - echo ' ' . sprintf(_SDU_MSG_RENAME_TABLE_ERR, $from) . '<br>'; |
|
64 | + echo ' '.sprintf(_SDU_MSG_RENAME_TABLE_ERR, $from).'<br>'; |
|
65 | 65 | |
66 | 66 | return false; |
67 | 67 | } else { |
68 | - echo ' ' . sprintf(_SDU_MSG_RENAME_TABLE, $from, $to) . '<br>'; |
|
68 | + echo ' '.sprintf(_SDU_MSG_RENAME_TABLE, $from, $to).'<br>'; |
|
69 | 69 | |
70 | 70 | return true; |
71 | 71 | } |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | $filename = 'open_category.php'; |
167 | 167 | } |
168 | 168 | if ($withAllLink) { |
169 | - $ret = "<a href='" . XOOPS_URL . '/modules/smartfaq/' . $filename . '?categoryid=' . $this->categoryid() . "'>" . $this->name() . '</a>'; |
|
169 | + $ret = "<a href='".XOOPS_URL.'/modules/smartfaq/'.$filename.'?categoryid='.$this->categoryid()."'>".$this->name().'</a>'; |
|
170 | 170 | } else { |
171 | 171 | $ret = $this->name(); |
172 | 172 | } |
@@ -179,7 +179,7 @@ discard block |
||
179 | 179 | exit; |
180 | 180 | } |
181 | 181 | $parentid = $parentObj->parentid(); |
182 | - $ret = $parentObj->getCategoryPath(true, $open) . ' > ' . $ret; |
|
182 | + $ret = $parentObj->getCategoryPath(true, $open).' > '.$ret; |
|
183 | 183 | } |
184 | 184 | |
185 | 185 | return $ret; |
@@ -236,7 +236,7 @@ discard block |
||
236 | 236 | $tags = []; |
237 | 237 | $tags['MODULE_NAME'] = $myts->htmlSpecialChars($smartModule->getVar('name')); |
238 | 238 | $tags['CATEGORY_NAME'] = $this->name(); |
239 | - $tags['CATEGORY_URL'] = XOOPS_URL . '/modules/' . $smartModule->getVar('dirname') . '/category.php?categoryid=' . $this->categoryid(); |
|
239 | + $tags['CATEGORY_URL'] = XOOPS_URL.'/modules/'.$smartModule->getVar('dirname').'/category.php?categoryid='.$this->categoryid(); |
|
240 | 240 | |
241 | 241 | $notificationHandler = xoops_getHandler('notification'); |
242 | 242 | $notificationHandler->triggerEvent('global_faq', 0, 'category_created', $tags); |
@@ -252,9 +252,9 @@ discard block |
||
252 | 252 | $category['categoryid'] = $this->categoryid(); |
253 | 253 | $category['name'] = $this->name(); |
254 | 254 | if (false !== $open) { |
255 | - $category['categorylink'] = "<a href='" . XOOPS_URL . '/modules/smartfaq/open_category.php?categoryid=' . $this->categoryid() . "'>" . $this->name() . '</a>'; |
|
255 | + $category['categorylink'] = "<a href='".XOOPS_URL.'/modules/smartfaq/open_category.php?categoryid='.$this->categoryid()."'>".$this->name().'</a>'; |
|
256 | 256 | } else { |
257 | - $category['categorylink'] = "<a href='" . XOOPS_URL . '/modules/smartfaq/category.php?categoryid=' . $this->categoryid() . "'>" . $this->name() . '</a>'; |
|
257 | + $category['categorylink'] = "<a href='".XOOPS_URL.'/modules/smartfaq/category.php?categoryid='.$this->categoryid()."'>".$this->name().'</a>'; |
|
258 | 258 | } |
259 | 259 | $category['total'] = $this->getVar('faqcount'); |
260 | 260 | $category['description'] = $this->description(); |
@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | //Verifies that a MySQL table exists |
23 | 23 | $xoopsDB = \XoopsDatabaseFactory::getDatabaseConnection(); |
24 | 24 | $realname = $xoopsDB->prefix($table); |
25 | - $sql = 'SHOW TABLES FROM ' . XOOPS_DB_NAME; |
|
25 | + $sql = 'SHOW TABLES FROM '.XOOPS_DB_NAME; |
|
26 | 26 | $ret = $xoopsDB->queryF($sql); |
27 | 27 | while (list($m_table) = $xoopsDB->fetchRow($ret)) { |
28 | 28 | if ($m_table == $realname) { |
@@ -163,14 +163,14 @@ discard block |
||
163 | 163 | public function getExistingFieldsArray() |
164 | 164 | { |
165 | 165 | global $xoopsDB; |
166 | - $result = $xoopsDB->queryF('SHOW COLUMNS FROM ' . $this->name()); |
|
166 | + $result = $xoopsDB->queryF('SHOW COLUMNS FROM '.$this->name()); |
|
167 | 167 | while ($existing_field = $xoopsDB->fetchArray($result)) { |
168 | 168 | $fields[$existing_field['Field']] = $existing_field['Type']; |
169 | 169 | if ('YES' !== $existing_field['Null']) { |
170 | 170 | $fields[$existing_field['Field']] .= ' NOT NULL'; |
171 | 171 | } |
172 | 172 | if ($existing_field['Extra']) { |
173 | - $fields[$existing_field['Field']] .= ' ' . $existing_field['Extra']; |
|
173 | + $fields[$existing_field['Field']] .= ' '.$existing_field['Extra']; |
|
174 | 174 | } |
175 | 175 | } |
176 | 176 | |
@@ -246,9 +246,9 @@ discard block |
||
246 | 246 | $query = sprintf('INSERT INTO %s VALUES ("%s")', $this->name(), $data); |
247 | 247 | $ret = $xoopsDB->queryF($query); |
248 | 248 | if (!$ret) { |
249 | - echo ' ' . sprintf(_SDU_MSG_ADD_DATA_ERR, $this->name()) . '<br>'; |
|
249 | + echo ' '.sprintf(_SDU_MSG_ADD_DATA_ERR, $this->name()).'<br>'; |
|
250 | 250 | } else { |
251 | - echo ' ' . sprintf(_SDU_MSG_ADD_DATA, $this->name()) . '<br>'; |
|
251 | + echo ' '.sprintf(_SDU_MSG_ADD_DATA, $this->name()).'<br>'; |
|
252 | 252 | } |
253 | 253 | } |
254 | 254 | |
@@ -413,9 +413,9 @@ discard block |
||
413 | 413 | |
414 | 414 | $ret = $xoopsDB->queryF($query); |
415 | 415 | if (!$ret) { |
416 | - echo ' ' . sprintf(_SDU_MSG_CREATE_TABLE_ERR, $this->name()) . '<br>'; |
|
416 | + echo ' '.sprintf(_SDU_MSG_CREATE_TABLE_ERR, $this->name()).'<br>'; |
|
417 | 417 | } else { |
418 | - echo ' ' . sprintf(_SDU_MSG_CREATE_TABLE, $this->name()) . '<br>'; |
|
418 | + echo ' '.sprintf(_SDU_MSG_CREATE_TABLE, $this->name()).'<br>'; |
|
419 | 419 | } |
420 | 420 | |
421 | 421 | return $ret; |
@@ -434,11 +434,11 @@ discard block |
||
434 | 434 | $query = sprintf('DROP TABLE %s', $this->name()); |
435 | 435 | $ret = $xoopsDB->queryF($query); |
436 | 436 | if (!$ret) { |
437 | - echo ' ' . sprintf(_SDU_MSG_DROP_TABLE_ERR, $this->name()) . '<br>'; |
|
437 | + echo ' '.sprintf(_SDU_MSG_DROP_TABLE_ERR, $this->name()).'<br>'; |
|
438 | 438 | |
439 | 439 | return false; |
440 | 440 | } else { |
441 | - echo ' ' . sprintf(_SDU_MSG_DROP_TABLE, $this->name()) . '<br>'; |
|
441 | + echo ' '.sprintf(_SDU_MSG_DROP_TABLE, $this->name()).'<br>'; |
|
442 | 442 | |
443 | 443 | return true; |
444 | 444 | } |
@@ -462,9 +462,9 @@ discard block |
||
462 | 462 | $ret = $ret && $xoopsDB->queryF($query); |
463 | 463 | if ($alteredField['showerror']) { |
464 | 464 | if (!$ret) { |
465 | - echo ' ' . sprintf(_SDU_MSG_CHGFIELD_ERR, $alteredField['name'], $this->name()) . '<br>'; |
|
465 | + echo ' '.sprintf(_SDU_MSG_CHGFIELD_ERR, $alteredField['name'], $this->name()).'<br>'; |
|
466 | 466 | } else { |
467 | - echo ' ' . sprintf(_SDU_MSG_CHGFIELD, $alteredField['name'], $this->name()) . '<br>'; |
|
467 | + echo ' '.sprintf(_SDU_MSG_CHGFIELD, $alteredField['name'], $this->name()).'<br>'; |
|
468 | 468 | } |
469 | 469 | } |
470 | 470 | } |
@@ -488,9 +488,9 @@ discard block |
||
488 | 488 | //echo $query; |
489 | 489 | $ret = $ret && $xoopsDB->queryF($query); |
490 | 490 | if (!$ret) { |
491 | - echo ' ' . sprintf(_SDU_MSG_NEWFIELD_ERR, $newField['name'], $this->name()) . '<br>'; |
|
491 | + echo ' '.sprintf(_SDU_MSG_NEWFIELD_ERR, $newField['name'], $this->name()).'<br>'; |
|
492 | 492 | } else { |
493 | - echo ' ' . sprintf(_SDU_MSG_NEWFIELD, $newField['name'], $this->name()) . '<br>'; |
|
493 | + echo ' '.sprintf(_SDU_MSG_NEWFIELD, $newField['name'], $this->name()).'<br>'; |
|
494 | 494 | } |
495 | 495 | } |
496 | 496 | |
@@ -513,9 +513,9 @@ discard block |
||
513 | 513 | $query = sprintf('UPDATE %s SET %s = %s', $this->name(), $updatedField['name'], $updatedField['value']); |
514 | 514 | $ret = $ret && $xoopsDB->queryF($query); |
515 | 515 | if (!$ret) { |
516 | - echo ' ' . sprintf(_SDU_MSG_UPDATE_TABLE_ERR, $this->name()) . '<br>'; |
|
516 | + echo ' '.sprintf(_SDU_MSG_UPDATE_TABLE_ERR, $this->name()).'<br>'; |
|
517 | 517 | } else { |
518 | - echo ' ' . sprintf(_SDU_MSG_UPDATE_TABLE, $this->name()) . '<br>'; |
|
518 | + echo ' '.sprintf(_SDU_MSG_UPDATE_TABLE, $this->name()).'<br>'; |
|
519 | 519 | } |
520 | 520 | } |
521 | 521 | |
@@ -538,9 +538,9 @@ discard block |
||
538 | 538 | //echo $query."<br>"; |
539 | 539 | $ret = $ret && $xoopsDB->queryF($query); |
540 | 540 | if (!$ret) { |
541 | - echo ' ' . sprintf(_SDU_MSG_UPDATE_TABLE_ERR, $this->name()) . '<br>'; |
|
541 | + echo ' '.sprintf(_SDU_MSG_UPDATE_TABLE_ERR, $this->name()).'<br>'; |
|
542 | 542 | } else { |
543 | - echo ' ' . sprintf(_SDU_MSG_UPDATE_TABLE, $this->name()) . '<br>'; |
|
543 | + echo ' '.sprintf(_SDU_MSG_UPDATE_TABLE, $this->name()).'<br>'; |
|
544 | 544 | } |
545 | 545 | } |
546 | 546 | |
@@ -564,9 +564,9 @@ discard block |
||
564 | 564 | |
565 | 565 | $ret = $ret && $xoopsDB->queryF($query); |
566 | 566 | if (!$ret) { |
567 | - echo ' ' . sprintf(_SDU_MSG_DROPFIELD_ERR, $droppedField, $this->name()) . '<br>'; |
|
567 | + echo ' '.sprintf(_SDU_MSG_DROPFIELD_ERR, $droppedField, $this->name()).'<br>'; |
|
568 | 568 | } else { |
569 | - echo ' ' . sprintf(_SDU_MSG_DROPFIELD, $droppedField, $this->name()) . '<br>'; |
|
569 | + echo ' '.sprintf(_SDU_MSG_DROPFIELD, $droppedField, $this->name()).'<br>'; |
|
570 | 570 | } |
571 | 571 | } |
572 | 572 |
@@ -71,7 +71,7 @@ |
||
71 | 71 | { |
72 | 72 | $ret = false; |
73 | 73 | $db = \XoopsDatabaseFactory::getDatabaseConnection(); |
74 | - $class = '\\XoopsModules\\' . ucfirst(strtolower(basename(dirname(__DIR__)))) . '\\' . $name . 'Handler'; |
|
74 | + $class = '\\XoopsModules\\'.ucfirst(strtolower(basename(dirname(__DIR__)))).'\\'.$name.'Handler'; |
|
75 | 75 | $ret = new $class($db); |
76 | 76 | return $ret; |
77 | 77 | } |
@@ -12,7 +12,7 @@ |
||
12 | 12 | |
13 | 13 | // defined('XOOPS_ROOT_PATH') || die('Restricted access'); |
14 | 14 | |
15 | -require_once XOOPS_ROOT_PATH . '/class/uploader.php'; |
|
15 | +require_once XOOPS_ROOT_PATH.'/class/uploader.php'; |
|
16 | 16 | |
17 | 17 | /** |
18 | 18 | * Class Uploader |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | * |
21 | 21 | */ |
22 | 22 | |
23 | -require_once __DIR__ . '/../../include/common.php'; |
|
23 | +require_once __DIR__.'/../../include/common.php'; |
|
24 | 24 | |
25 | 25 | /** |
26 | 26 | * Class Configurator |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | class Configurator |
29 | 29 | { |
30 | 30 | public $uploadFolders = []; |
31 | - public $blankFiles = []; |
|
31 | + public $blankFiles = []; |
|
32 | 32 | public $templateFolders = []; |
33 | 33 | public $oldFiles = []; |
34 | 34 | public $oldFolders = []; |
@@ -43,16 +43,16 @@ discard block |
||
43 | 43 | $capsDirName = strtoupper($moduleDirName); |
44 | 44 | $this->name = 'Module Configurator'; |
45 | 45 | $this->uploadFolders = [ |
46 | - constant($capsDirName . '_UPLOAD_PATH'), |
|
47 | - constant($capsDirName . '_UPLOAD_PATH') . '/content', |
|
48 | - constant($capsDirName . '_UPLOAD_PATH') . '/images', |
|
49 | - constant($capsDirName . '_UPLOAD_PATH') . '/images/category', |
|
50 | - constant($capsDirName . '_UPLOAD_PATH') . '/images/thumbnails', |
|
46 | + constant($capsDirName.'_UPLOAD_PATH'), |
|
47 | + constant($capsDirName.'_UPLOAD_PATH').'/content', |
|
48 | + constant($capsDirName.'_UPLOAD_PATH').'/images', |
|
49 | + constant($capsDirName.'_UPLOAD_PATH').'/images/category', |
|
50 | + constant($capsDirName.'_UPLOAD_PATH').'/images/thumbnails', |
|
51 | 51 | ]; |
52 | 52 | $this->blankFiles = [ |
53 | - constant($capsDirName . '_UPLOAD_PATH'), |
|
54 | - constant($capsDirName . '_UPLOAD_PATH') . '/images/category', |
|
55 | - constant($capsDirName . '_UPLOAD_PATH') . '/images/thumbnails', |
|
53 | + constant($capsDirName.'_UPLOAD_PATH'), |
|
54 | + constant($capsDirName.'_UPLOAD_PATH').'/images/category', |
|
55 | + constant($capsDirName.'_UPLOAD_PATH').'/images/thumbnails', |
|
56 | 56 | ]; |
57 | 57 | |
58 | 58 | $this->templateFolders = [ |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | '/templates/admin/' |
62 | 62 | |
63 | 63 | ]; |
64 | - $this->oldFiles = [ |
|
64 | + $this->oldFiles = [ |
|
65 | 65 | '/class/request.php', |
66 | 66 | '/class/registry.php', |
67 | 67 | '/class/utilities.php', |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | '/include/functions.php', |
71 | 71 | '/ajaxrating.txt' |
72 | 72 | ]; |
73 | - $this->oldFolders = [ |
|
73 | + $this->oldFolders = [ |
|
74 | 74 | '/images', |
75 | 75 | '/css', |
76 | 76 | '/js', |
@@ -37,13 +37,13 @@ discard block |
||
37 | 37 | //check for minimum XOOPS version |
38 | 38 | $currentVer = substr(XOOPS_VERSION, 6); // get the numeric part of string |
39 | 39 | if (null === $requiredVer) { |
40 | - $requiredVer = '' . $module->getInfo('min_xoops'); //making sure it's a string |
|
40 | + $requiredVer = ''.$module->getInfo('min_xoops'); //making sure it's a string |
|
41 | 41 | } |
42 | - $success = true; |
|
42 | + $success = true; |
|
43 | 43 | |
44 | 44 | if (version_compare($currentVer, $requiredVer, '<')) { |
45 | - $success = false; |
|
46 | - $module->setErrors(sprintf(constant('CO_' . $moduleDirNameUpper . '_ERROR_BAD_XOOPS'), $requiredVer, $currentVer)); |
|
45 | + $success = false; |
|
46 | + $module->setErrors(sprintf(constant('CO_'.$moduleDirNameUpper.'_ERROR_BAD_XOOPS'), $requiredVer, $currentVer)); |
|
47 | 47 | } |
48 | 48 | |
49 | 49 | return $success; |
@@ -63,10 +63,10 @@ discard block |
||
63 | 63 | // check for minimum PHP version |
64 | 64 | $success = true; |
65 | 65 | $verNum = PHP_VERSION; |
66 | - $reqVer =& $module->getInfo('min_php'); |
|
66 | + $reqVer = & $module->getInfo('min_php'); |
|
67 | 67 | if (false !== $reqVer && '' !== $reqVer) { |
68 | 68 | if (version_compare($verNum, $reqVer, '<')) { |
69 | - $module->setErrors(sprintf(constant('CO_' . $moduleDirNameUpper . '_ERROR_BAD_PHP'), $reqVer, $verNum)); |
|
69 | + $module->setErrors(sprintf(constant('CO_'.$moduleDirNameUpper.'_ERROR_BAD_PHP'), $reqVer, $verNum)); |
|
70 | 70 | $success = false; |
71 | 71 | } |
72 | 72 | } |
@@ -70,7 +70,7 @@ |
||
70 | 70 | require_once $GLOBALS['xoops']->path('class/template.php'); |
71 | 71 | $breadcrumbTpl = new \XoopsTpl(); |
72 | 72 | $breadcrumbTpl->assign('breadcrumb', $this->bread); |
73 | - $html = $breadcrumbTpl->fetch('db:' . $this->dirname . '_common_breadcrumb.tpl'); |
|
73 | + $html = $breadcrumbTpl->fetch('db:'.$this->dirname.'_common_breadcrumb.tpl'); |
|
74 | 74 | unset($breadcrumbTpl); |
75 | 75 | |
76 | 76 | return $html; |
@@ -34,19 +34,19 @@ discard block |
||
34 | 34 | // $sql .= " WHERE metakey='version' LIMIT 1"; |
35 | 35 | // $query = $GLOBALS['xoopsDB']->query($sql); |
36 | 36 | // list($meta) = $GLOBALS['xoopsDB']->fetchRow($query); |
37 | - $html .= "<fieldset><legend style='font-weight: bold; color: #900;'>" . constant('CO_' . $moduleDirNameUpper . '_IMAGEINFO') . "</legend>\n"; |
|
37 | + $html .= "<fieldset><legend style='font-weight: bold; color: #900;'>".constant('CO_'.$moduleDirNameUpper.'_IMAGEINFO')."</legend>\n"; |
|
38 | 38 | $html .= "<div style='padding: 8px;'>\n"; |
39 | 39 | // $html .= '<div>' . constant('CO_' . $moduleDirNameUpper . '_METAVERSION') . $meta . "</div>\n"; |
40 | 40 | // $html .= "<br>\n"; |
41 | 41 | // $html .= "<br>\n"; |
42 | - $html .= '<div>' . constant('CO_' . $moduleDirNameUpper . '_SPHPINI') . "</div>\n"; |
|
42 | + $html .= '<div>'.constant('CO_'.$moduleDirNameUpper.'_SPHPINI')."</div>\n"; |
|
43 | 43 | $html .= "<ul>\n"; |
44 | 44 | // |
45 | - $gdlib = function_exists('gd_info') ? '<span style="color: green;">' . constant('CO_' . $moduleDirNameUpper . '_GDON') . '</span>' : '<span style="color: red;">' . constant('CO_' . $moduleDirNameUpper . '_GDOFF') . '</span>'; |
|
46 | - $html .= '<li>' . constant('CO_' . $moduleDirNameUpper . '_GDLIBSTATUS') . $gdlib; |
|
45 | + $gdlib = function_exists('gd_info') ? '<span style="color: green;">'.constant('CO_'.$moduleDirNameUpper.'_GDON').'</span>' : '<span style="color: red;">'.constant('CO_'.$moduleDirNameUpper.'_GDOFF').'</span>'; |
|
46 | + $html .= '<li>'.constant('CO_'.$moduleDirNameUpper.'_GDLIBSTATUS').$gdlib; |
|
47 | 47 | if (function_exists('gd_info')) { |
48 | 48 | if (true === ($gdlib = gd_info())) { |
49 | - $html .= '<li>' . constant('CO_' . $moduleDirNameUpper . '_GDLIBVERSION') . '<b>' . $gdlib['GD Version'] . '</b>'; |
|
49 | + $html .= '<li>'.constant('CO_'.$moduleDirNameUpper.'_GDLIBVERSION').'<b>'.$gdlib['GD Version'].'</b>'; |
|
50 | 50 | } |
51 | 51 | } |
52 | 52 | // |
@@ -56,18 +56,18 @@ discard block |
||
56 | 56 | // $registerglobals = (!ini_get('register_globals')) ? "<span style=\"color: green;\">" . constant('CO_' . $moduleDirNameUpper . '_OFF') . '</span>' : "<span style=\"color: red;\">" . constant('CO_' . $moduleDirNameUpper . '_ON') . '</span>'; |
57 | 57 | // $html .= '<li>' . constant('CO_' . $moduleDirNameUpper . '_REGISTERGLOBALS . $registerglobals; |
58 | 58 | // |
59 | - $downloads = ini_get('file_uploads') ? '<span style="color: green;">' . constant('CO_' . $moduleDirNameUpper . '_ON') . '</span>' : '<span style="color: red;">' . constant('CO_' . $moduleDirNameUpper . '_OFF') . '</span>'; |
|
60 | - $html .= '<li>' . constant('CO_' . $moduleDirNameUpper . '_SERVERUPLOADSTATUS') . $downloads; |
|
59 | + $downloads = ini_get('file_uploads') ? '<span style="color: green;">'.constant('CO_'.$moduleDirNameUpper.'_ON').'</span>' : '<span style="color: red;">'.constant('CO_'.$moduleDirNameUpper.'_OFF').'</span>'; |
|
60 | + $html .= '<li>'.constant('CO_'.$moduleDirNameUpper.'_SERVERUPLOADSTATUS').$downloads; |
|
61 | 61 | // |
62 | - $html .= '<li>' . constant('CO_' . $moduleDirNameUpper . '_MAXUPLOADSIZE') . ' <b><span style="color: blue;">' . ini_get('upload_max_filesize') . "</span></b>\n"; |
|
63 | - $html .= '<li>' . constant('CO_' . $moduleDirNameUpper . '_MAXPOSTSIZE') . ' <b><span style="color: blue;">' . ini_get('post_max_size') . "</span></b>\n"; |
|
64 | - $html .= '<li>' . constant('CO_' . $moduleDirNameUpper . '_MEMORYLIMIT') . ' <b><span style="color: blue;">' . ini_get('memory_limit') . "</span></b>\n"; |
|
62 | + $html .= '<li>'.constant('CO_'.$moduleDirNameUpper.'_MAXUPLOADSIZE').' <b><span style="color: blue;">'.ini_get('upload_max_filesize')."</span></b>\n"; |
|
63 | + $html .= '<li>'.constant('CO_'.$moduleDirNameUpper.'_MAXPOSTSIZE').' <b><span style="color: blue;">'.ini_get('post_max_size')."</span></b>\n"; |
|
64 | + $html .= '<li>'.constant('CO_'.$moduleDirNameUpper.'_MEMORYLIMIT').' <b><span style="color: blue;">'.ini_get('memory_limit')."</span></b>\n"; |
|
65 | 65 | $html .= "</ul>\n"; |
66 | 66 | $html .= "<ul>\n"; |
67 | - $html .= '<li>' . constant('CO_' . $moduleDirNameUpper . '_SERVERPATH') . ' <b>' . XOOPS_ROOT_PATH . "</b>\n"; |
|
67 | + $html .= '<li>'.constant('CO_'.$moduleDirNameUpper.'_SERVERPATH').' <b>'.XOOPS_ROOT_PATH."</b>\n"; |
|
68 | 68 | $html .= "</ul>\n"; |
69 | 69 | $html .= "<br>\n"; |
70 | - $html .= constant('CO_' . $moduleDirNameUpper . '_UPLOADPATHDSC') . "\n"; |
|
70 | + $html .= constant('CO_'.$moduleDirNameUpper.'_UPLOADPATHDSC')."\n"; |
|
71 | 71 | $html .= '</div>'; |
72 | 72 | $html .= '</fieldset><br>'; |
73 | 73 |