@@ -209,7 +209,7 @@ |
||
| 209 | 209 | $xc = TDMCreateXoopsCode::getInstance(); |
| 210 | 210 | $fields = $this->getTableFields($tableMid, $tableId); |
| 211 | 211 | $cases = array('form' => array($this->getUserSubmitForm($tableName, $language, $t)), |
| 212 | - 'save' => array($this->getUserSubmitSave($moduleDirname, $fields, $tableName, $tableSolename, $tableSubmit, $tableAutoincrement, $language, $t)), ); |
|
| 212 | + 'save' => array($this->getUserSubmitSave($moduleDirname, $fields, $tableName, $tableSolename, $tableSubmit, $tableAutoincrement, $language, $t)),); |
|
| 213 | 213 | |
| 214 | 214 | return $xc->getXcSwitch('op', $cases, true, false, $t); |
| 215 | 215 | } |
@@ -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: tables.php 12258 2014-01-02 09:33:29Z timgno $ |
| 23 | 23 | */ |
| 24 | -include __DIR__ .'/header.php'; |
|
| 24 | +include __DIR__.'/header.php'; |
|
| 25 | 25 | // Recovered value of arguments op in the URL $ |
| 26 | 26 | $op = XoopsRequest::getString('op', 'list'); |
| 27 | 27 | // |
@@ -132,7 +132,7 @@ discard block |
||
| 132 | 132 | $tablesObj = &$tables->create(); |
| 133 | 133 | } |
| 134 | 134 | $tableOrder = XoopsRequest::getInt('table_order'); |
| 135 | - $order = $tablesObj->isNew() ? $tableOrder + 1 : $tableOrder; |
|
| 135 | + $order = $tablesObj->isNew() ? $tableOrder+1 : $tableOrder; |
|
| 136 | 136 | // Form save tables |
| 137 | 137 | $tablesObj->setVars(array( |
| 138 | 138 | 'table_mid' => $tableMid, |
@@ -141,7 +141,7 @@ discard block |
||
| 141 | 141 | 'table_category' => (1 == $_REQUEST['table_category']) ? 1 : 0, |
| 142 | 142 | 'table_fieldname' => $tableFieldname, |
| 143 | 143 | 'table_nbfields' => $tableNumbFields, |
| 144 | - 'table_order' => $order, )); |
|
| 144 | + 'table_order' => $order,)); |
|
| 145 | 145 | //Form table_image |
| 146 | 146 | include_once XOOPS_ROOT_PATH.'/class/uploader.php'; |
| 147 | 147 | $uploaddir = is_dir(XOOPS_ICONS32_PATH) ? XOOPS_ICONS32_PATH : TDMC_UPLOAD_IMGTAB_PATH; |
@@ -298,4 +298,4 @@ discard block |
||
| 298 | 298 | } |
| 299 | 299 | break; |
| 300 | 300 | } |
| 301 | -include __DIR__ .'/footer.php'; |
|
| 301 | +include __DIR__.'/footer.php'; |
|
@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | * |
| 22 | 22 | * @version $Id: 1.91 fields.php 12258 2014-01-02 09:33:29Z timgno $ |
| 23 | 23 | */ |
| 24 | -include __DIR__ .'/header.php'; |
|
| 24 | +include __DIR__.'/header.php'; |
|
| 25 | 25 | // Recovered value of arguments op in the URL $ |
| 26 | 26 | $op = XoopsRequest::getString('op', 'list'); |
| 27 | 27 | // Get fields Variables |
@@ -151,7 +151,7 @@ discard block |
||
| 151 | 151 | $fieldsObj->setVar('field_tfoot', (1 == $_REQUEST['field_tfoot'][$key]) ? 1 : 0); |
| 152 | 152 | $fieldsObj->setVar('field_block', (1 == $_REQUEST['field_block'][$key]) ? 1 : 0); |
| 153 | 153 | $fieldsObj->setVar('field_main', ($key == $_REQUEST['field_main'] ? 1 : 0)); |
| 154 | - $fieldsObj->setVar('field_search', (1 == $_REQUEST['field_search'][$key]) ? 1 : 0); |
|
| 154 | + $fieldsObj->setVar('field_search', (1 == $_REQUEST['field_search'][$key]) ? 1 : 0); |
|
| 155 | 155 | $fieldsObj->setVar('field_required', (1 == $_REQUEST['field_required'][$key]) ? 1 : 0); |
| 156 | 156 | // Insert Data |
| 157 | 157 | $tdmcreate->getHandler('fields')->insert($fieldsObj); |
@@ -246,4 +246,4 @@ discard block |
||
| 246 | 246 | } |
| 247 | 247 | break; |
| 248 | 248 | } |
| 249 | -include __DIR__ .'/footer.php'; |
|
| 249 | +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'; |
|
@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | * |
| 22 | 22 | * @version $Id: 1.59 settings.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 | // |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | 'set_release_info' => $_POST['set_release_info'], |
| 104 | 104 | 'set_release_file' => $_POST['set_release_file'], |
| 105 | 105 | 'set_manual' => $_POST['set_manual'], |
| 106 | - 'set_manual_file' => $_POST['set_manual_file'], )); |
|
| 106 | + 'set_manual_file' => $_POST['set_manual_file'],)); |
|
| 107 | 107 | //Form set_image |
| 108 | 108 | $settingsObj->setVar('set_image', $_POST['set_image']); |
| 109 | 109 | //Form module save |
@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | 'set_release' => $_POST['set_release'], |
| 118 | 118 | 'set_status' => $_POST['set_status'], |
| 119 | 119 | 'set_donations' => $_POST['set_donations'], |
| 120 | - 'set_subversion' => $_POST['set_subversion'], ) |
|
| 120 | + 'set_subversion' => $_POST['set_subversion'],) |
|
| 121 | 121 | ); |
| 122 | 122 | $settingOption = XoopsRequest::getArray('setting_option', array()); |
| 123 | 123 | $settingsObj->setVar('set_admin', in_array('admin', $settingOption)); |
@@ -177,4 +177,4 @@ discard block |
||
| 177 | 177 | } |
| 178 | 178 | break; |
| 179 | 179 | } |
| 180 | -include __DIR__ .'/footer.php'; |
|
| 180 | +include __DIR__.'/footer.php'; |
|
@@ -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'; |
|