@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | * |
| 22 | 22 | * @version $Id: 1.59 modules.php 11297 2013-03-24 10:58:10Z timgno $ |
| 23 | 23 | */ |
| 24 | -include __DIR__ .'/header.php'; |
|
| 24 | +include __DIR__.'/header.php'; |
|
| 25 | 25 | // Recovered value of argument op in the URL $ |
| 26 | 26 | $op = XoopsRequest::getString('op', 'list'); |
| 27 | 27 | // |
@@ -108,7 +108,7 @@ discard block |
||
| 108 | 108 | 'mod_release_info' => $_POST['mod_release_info'], |
| 109 | 109 | 'mod_release_file' => $_POST['mod_release_file'], |
| 110 | 110 | 'mod_manual' => $_POST['mod_manual'], |
| 111 | - 'mod_manual_file' => $_POST['mod_manual_file'], )); |
|
| 111 | + 'mod_manual_file' => $_POST['mod_manual_file'],)); |
|
| 112 | 112 | //Form mod_image |
| 113 | 113 | include_once XOOPS_ROOT_PATH.'/class/uploader.php'; |
| 114 | 114 | $uploader = new XoopsMediaUploader(TDMC_UPLOAD_IMGMOD_PATH, $tdmcreate->getConfig('mimetypes'), |
@@ -135,7 +135,7 @@ discard block |
||
| 135 | 135 | 'mod_release' => $_POST['mod_release'], |
| 136 | 136 | 'mod_status' => $_POST['mod_status'], |
| 137 | 137 | 'mod_donations' => $_POST['mod_donations'], |
| 138 | - 'mod_subversion' => $_POST['mod_subversion'], ) |
|
| 138 | + 'mod_subversion' => $_POST['mod_subversion'],) |
|
| 139 | 139 | ); |
| 140 | 140 | $moduleOption = XoopsRequest::getArray('module_option', array()); |
| 141 | 141 | $modulesObj->setVar('mod_admin', in_array('admin', $moduleOption)); |
@@ -209,4 +209,4 @@ discard block |
||
| 209 | 209 | break; |
| 210 | 210 | } |
| 211 | 211 | |
| 212 | -include __DIR__ .'/footer.php'; |
|
| 212 | +include __DIR__.'/footer.php'; |
|
@@ -21,11 +21,11 @@ |
||
| 21 | 21 | * |
| 22 | 22 | * @version $Id: about.php 11084 2013-02-23 15:44:20Z timgno $ |
| 23 | 23 | */ |
| 24 | -include __DIR__ .'/header.php'; |
|
| 24 | +include __DIR__.'/header.php'; |
|
| 25 | 25 | $templateMain = 'tdmcreate_about.tpl'; |
| 26 | 26 | $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->displayNavigation('about.php')); |
| 27 | 27 | $about = $adminMenu->renderAbout($adminMenu->setPaypal('7LFE862PGJN88'), false); |
| 28 | 28 | $aboutRes = TDMCreate_MakeDonationForm($about); |
| 29 | 29 | $GLOBALS['xoopsTpl']->assign('maintained', sprintf(_AM_TDMCREATE_MAINTAINED, $GLOBALS['xoopsModule']->getVar('name'))); |
| 30 | 30 | $GLOBALS['xoopsTpl']->assign('about', $aboutRes); |
| 31 | -include __DIR__ .'/footer.php'; |
|
| 31 | +include __DIR__.'/footer.php'; |
|
@@ -21,11 +21,11 @@ |
||
| 21 | 21 | * |
| 22 | 22 | * @version $Id: about.php 11084 2013-02-23 15:44:20Z timgno $ |
| 23 | 23 | */ |
| 24 | -include __DIR__ .'/header.php'; |
|
| 24 | +include __DIR__.'/header.php'; |
|
| 25 | 25 | $templateMain = 'tdmcreate_about.tpl'; |
| 26 | 26 | $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->displayNavigation('about.php')); |
| 27 | 27 | $about = $adminMenu->renderAbout($adminMenu->setPaypal('7LFE862PGJN88'), false); |
| 28 | 28 | $aboutRes = TDMCreate_MakeDonationForm($about); |
| 29 | 29 | $GLOBALS['xoopsTpl']->assign('maintained', sprintf(_AM_TDMCREATE_MAINTAINED, $GLOBALS['xoopsModule']->getVar('name'))); |
| 30 | 30 | $GLOBALS['xoopsTpl']->assign('about', $aboutRes); |
| 31 | -include __DIR__ .'/footer.php'; |
|
| 31 | +include __DIR__.'/footer.php'; |
|
@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | * |
| 22 | 22 | * @version $Id: 1.59 addfiles.php 11297 2013-03-24 10:58:10Z timgno $ |
| 23 | 23 | */ |
| 24 | -include __DIR__ .'/header.php'; |
|
| 24 | +include __DIR__.'/header.php'; |
|
| 25 | 25 | // Recovered value of argument op in the URL $ |
| 26 | 26 | $op = XoopsRequest::getString('op', 'list'); |
| 27 | 27 | // |
@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | 'file_mid' => $_POST['file_mid'], |
| 95 | 95 | 'file_name' => $_POST['file_name'], |
| 96 | 96 | 'file_extension' => $_POST['file_extension'], |
| 97 | - 'file_infolder' => $_POST['file_infolder'], )); |
|
| 97 | + 'file_infolder' => $_POST['file_infolder'],)); |
|
| 98 | 98 | |
| 99 | 99 | if ($tdmcreate->getHandler('addfiles')->insert($addfilesObj)) { |
| 100 | 100 | if ($addfilesObj->isNew()) { |
@@ -140,4 +140,4 @@ discard block |
||
| 140 | 140 | break; |
| 141 | 141 | } |
| 142 | 142 | |
| 143 | -include __DIR__ .'/footer.php'; |
|
| 143 | +include __DIR__.'/footer.php'; |
|
@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | '# http://www.phpmyadmin.net', '#', "# Host: {$serverName}", |
| 88 | 88 | "# Generated on: {$date} to {$time}", "# Server version: {$serverVersion}", |
| 89 | 89 | "# PHP Version: {$phpVersion}\n"); |
| 90 | - foreach($arrayServerInfo as $serverInfo) { |
|
| 90 | + foreach ($arrayServerInfo as $serverInfo) { |
|
| 91 | 91 | $ret .= $this->getSimpleString($serverInfo); |
| 92 | 92 | } |
| 93 | 93 | |
@@ -109,7 +109,7 @@ discard block |
||
| 109 | 109 | $ret = ''; |
| 110 | 110 | $arrayDbTable = array('#', "# Structure table for `{$moduleDirname}_{$tableName}` {$fieldsNumb}", |
| 111 | 111 | '#', "\nCREATE TABLE `{$moduleDirname}_{$tableName}` ("); |
| 112 | - foreach($arrayDbTable as $dbTable) { |
|
| 112 | + foreach ($arrayDbTable as $dbTable) { |
|
| 113 | 113 | $ret .= $this->getSimpleString($dbTable); |
| 114 | 114 | } |
| 115 | 115 | |
@@ -304,7 +304,7 @@ discard block |
||
| 304 | 304 | } |
| 305 | 305 | // ================= COMMA ================= // |
| 306 | 306 | for ($i = 0; $i < $j; ++$i) { |
| 307 | - if ($i != $j - 1) { |
|
| 307 | + if ($i != $j-1) { |
|
| 308 | 308 | $row[] = $comma[$i].','; |
| 309 | 309 | } else { |
| 310 | 310 | $row[] = $comma[$i]; |
@@ -414,7 +414,7 @@ discard block |
||
| 414 | 414 | { |
| 415 | 415 | // Comma issue |
| 416 | 416 | for ($i = 1; $i <= $index; ++$i) { |
| 417 | - if ($i != $index - 1) { |
|
| 417 | + if ($i != $index-1) { |
|
| 418 | 418 | $ret = $this->getComma(isset($comma[$i]), ',')."\n"; |
| 419 | 419 | } else { |
| 420 | 420 | $ret = $this->getComma(isset($comma[$i]))."\n"; |