@@ -164,8 +164,8 @@ discard block |
||
| 164 | 164 | |
| 165 | 165 | $html[] = '<div class="formengine-field-item t3js-formengine-field-item">'; |
| 166 | 166 | $html[] = $fieldInformationHtml; |
| 167 | - $html[] = '<div class="form-wizards-wrap">'; |
|
| 168 | - $html[] = '<div class="form-wizards-element">'; |
|
| 167 | + $html[] = '<div class="form-wizards-wrap">'; |
|
| 168 | + $html[] = '<div class="form-wizards-element">'; |
|
| 169 | 169 | |
| 170 | 170 | // Add an empty hidden field which will send a blank value if all items are unselected. |
| 171 | 171 | $html[] = '<input type="hidden" class="select-checkbox" name="' . htmlspecialchars($parameterArray['itemFormElName']) . '" value="">'; |
@@ -189,22 +189,22 @@ discard block |
||
| 189 | 189 | // Render rows |
| 190 | 190 | foreach ($group['items'] as $item) { |
| 191 | 191 | $tableRows[] = '<tr class="' . $item['class'] . '">'; |
| 192 | - $tableRows[] = '<td class="col-checkbox">'; |
|
| 193 | - $tableRows[] = '<input type="checkbox" class="t3js-checkbox" ' |
|
| 192 | + $tableRows[] = '<td class="col-checkbox">'; |
|
| 193 | + $tableRows[] = '<input type="checkbox" class="t3js-checkbox" ' |
|
| 194 | 194 | . 'id="' . $item['id'] . '" ' |
| 195 | 195 | . 'name="' . htmlspecialchars($item['name']) . '" ' |
| 196 | 196 | . 'value="' . htmlspecialchars($item['value']) . '" ' |
| 197 | 197 | . 'onclick="' . htmlspecialchars($sOnChange) . '" ' |
| 198 | 198 | . ($item['checked'] ? 'checked=checked ' : '') |
| 199 | 199 | . ($item['disabled'] ? 'disabled=disabled ' : '') . '>'; |
| 200 | - $tableRows[] = '</td>'; |
|
| 201 | - $tableRows[] = '<td class="col-icon">'; |
|
| 202 | - $tableRows[] = '<label class="label-block" for="' . $item['id'] . '">' . $item['icon'] . '</label>'; |
|
| 203 | - $tableRows[] = '</td>'; |
|
| 204 | - $tableRows[] = '<td class="col-title">'; |
|
| 205 | - $tableRows[] = '<label class="label-block nowrap-disabled" for="' . $item['id'] . '">' . htmlspecialchars($this->appendValueToLabelInDebugMode($item['title'], $item['value']), ENT_COMPAT, 'UTF-8', false) . '</label>'; |
|
| 206 | - $tableRows[] = '</td>'; |
|
| 207 | - $tableRows[] = '<td class="text-right">' . $item['help'] . '</td>'; |
|
| 200 | + $tableRows[] = '</td>'; |
|
| 201 | + $tableRows[] = '<td class="col-icon">'; |
|
| 202 | + $tableRows[] = '<label class="label-block" for="' . $item['id'] . '">' . $item['icon'] . '</label>'; |
|
| 203 | + $tableRows[] = '</td>'; |
|
| 204 | + $tableRows[] = '<td class="col-title">'; |
|
| 205 | + $tableRows[] = '<label class="label-block nowrap-disabled" for="' . $item['id'] . '">' . htmlspecialchars($this->appendValueToLabelInDebugMode($item['title'], $item['value']), ENT_COMPAT, 'UTF-8', false) . '</label>'; |
|
| 206 | + $tableRows[] = '</td>'; |
|
| 207 | + $tableRows[] = '<td class="text-right">' . $item['help'] . '</td>'; |
|
| 208 | 208 | $tableRows[] = '</tr>'; |
| 209 | 209 | } |
| 210 | 210 | |
@@ -225,20 +225,20 @@ discard block |
||
| 225 | 225 | } |
| 226 | 226 | $checkboxId = StringUtility::getUniqueId($groupId); |
| 227 | 227 | $title = htmlspecialchars($this->getLanguageService()->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.toggleall')); |
| 228 | - $html[] = '<div class="table-responsive">'; |
|
| 229 | - $html[] = '<table class="table table-transparent table-hover">'; |
|
| 230 | - $html[] = '<thead>'; |
|
| 231 | - $html[] = '<tr>'; |
|
| 232 | - $html[] = '<th class="col-checkbox">'; |
|
| 233 | - $html[] = '<input type="checkbox" id="' . $checkboxId . '" class="t3js-toggle-checkboxes" data-trigger="hover" data-placement="right" data-title="' . $title . '" data-toggle="tooltip" />'; |
|
| 234 | - $html[] = '</th>'; |
|
| 235 | - $html[] = '<th class="col-title" colspan="2"><label for="' . $checkboxId . '">' . $title . '</label></th>'; |
|
| 236 | - $html[] = '<th class="text-right">' . $resetGroupBtn . '</th>'; |
|
| 237 | - $html[] = '</tr>'; |
|
| 238 | - $html[] = '</thead>'; |
|
| 239 | - $html[] = '<tbody>' . implode(LF, $tableRows) . '</tbody>'; |
|
| 240 | - $html[] = '</table>'; |
|
| 241 | - $html[] = '</div>'; |
|
| 228 | + $html[] = '<div class="table-responsive">'; |
|
| 229 | + $html[] = '<table class="table table-transparent table-hover">'; |
|
| 230 | + $html[] = '<thead>'; |
|
| 231 | + $html[] = '<tr>'; |
|
| 232 | + $html[] = '<th class="col-checkbox">'; |
|
| 233 | + $html[] = '<input type="checkbox" id="' . $checkboxId . '" class="t3js-toggle-checkboxes" data-trigger="hover" data-placement="right" data-title="' . $title . '" data-toggle="tooltip" />'; |
|
| 234 | + $html[] = '</th>'; |
|
| 235 | + $html[] = '<th class="col-title" colspan="2"><label for="' . $checkboxId . '">' . $title . '</label></th>'; |
|
| 236 | + $html[] = '<th class="text-right">' . $resetGroupBtn . '</th>'; |
|
| 237 | + $html[] = '</tr>'; |
|
| 238 | + $html[] = '</thead>'; |
|
| 239 | + $html[] = '<tbody>' . implode(LF, $tableRows) . '</tbody>'; |
|
| 240 | + $html[] = '</table>'; |
|
| 241 | + $html[] = '</div>'; |
|
| 242 | 242 | if (is_array($group['header'])) { |
| 243 | 243 | $html[] = '</div>'; |
| 244 | 244 | } |
@@ -252,13 +252,13 @@ discard block |
||
| 252 | 252 | $html[] = '</div>'; |
| 253 | 253 | } |
| 254 | 254 | |
| 255 | - $html[] = '</div>'; |
|
| 255 | + $html[] = '</div>'; |
|
| 256 | 256 | if (!$disabled && !empty($fieldWizardHtml)) { |
| 257 | - $html[] = '<div class="form-wizards-items-bottom">'; |
|
| 258 | - $html[] = $fieldWizardHtml; |
|
| 259 | - $html[] = '</div>'; |
|
| 257 | + $html[] = '<div class="form-wizards-items-bottom">'; |
|
| 258 | + $html[] = $fieldWizardHtml; |
|
| 259 | + $html[] = '</div>'; |
|
| 260 | 260 | } |
| 261 | - $html[] = '</div>'; |
|
| 261 | + $html[] = '</div>'; |
|
| 262 | 262 | $html[] = '</div>'; |
| 263 | 263 | } |
| 264 | 264 | |