| @@ 139-141 (lines=3) @@ | ||
| 136 | $this->pObj->MOD_SETTINGS = BackendUtility::getModuleData($this->pObj->MOD_MENU, GeneralUtility::_GP('SET'), $this->pObj->MCONF['name']); |
|
| 137 | // Resetting the menu (stop) |
|
| 138 | $assigns['title'] = $this->pObj->linkWrapTemplateTitle($this->templateRow['title'], 'constants'); |
|
| 139 | if (!empty($this->pObj->MOD_MENU['constant_editor_cat'])) { |
|
| 140 | $assigns['constantsMenu'] = BackendUtility::getDropdownMenu($this->pObj->id, 'SET[constant_editor_cat]', $this->pObj->MOD_SETTINGS['constant_editor_cat'], $this->pObj->MOD_MENU['constant_editor_cat']); |
|
| 141 | } |
|
| 142 | // Category and constant editor config: |
|
| 143 | $category = $this->pObj->MOD_SETTINGS['constant_editor_cat']; |
|
| 144 | ||
| @@ 360-362 (lines=3) @@ | ||
| 357 | $assigns['checkBoxShowComments'] = BackendUtility::getFuncCheck($this->pObj->id, 'SET[ts_browser_showComments]', $this->pObj->MOD_SETTINGS['ts_browser_showComments'], '', '', 'id="checkTs_browser_showComments"'); |
|
| 358 | $assigns['checkBoxAlphaSort'] = BackendUtility::getFuncCheck($this->pObj->id, 'SET[ts_browser_alphaSort]', $this->pObj->MOD_SETTINGS['ts_browser_alphaSort'], '', '', 'id="checkTs_browser_alphaSort"'); |
|
| 359 | $assigns['checkBoxCropLines'] = BackendUtility::getFuncCheck($this->pObj->id, 'SET[ts_browser_fixedLgd]', $this->pObj->MOD_SETTINGS['ts_browser_fixedLgd'], '', '', 'id="checkTs_browser_fixedLgd"'); |
|
| 360 | if ($bType === 'setup' && !$this->pObj->MOD_SETTINGS['ts_browser_fixedLgd']) { |
|
| 361 | $assigns['dropdownDisplayConstants'] = BackendUtility::getDropdownMenu($this->pObj->id, 'SET[ts_browser_const]', $this->pObj->MOD_SETTINGS['ts_browser_const'], $this->pObj->MOD_MENU['ts_browser_const']); |
|
| 362 | } |
|
| 363 | ||
| 364 | // Conditions: |
|
| 365 | $assigns['hasConditions'] = is_array($this->templateService->sections) && !empty($this->templateService->sections); |
|