Revision 1048
Added by Matthias over 16 years ago
| sections.php | ||
|---|---|---|
| 219 | 219 |
$edit_page = $module_name; |
| 220 | 220 |
$input_attribute = 'input_small'; |
| 221 | 221 |
$template->set_var(array( |
| 222 |
'STYLE_DISPLAY_SECTION_BLOCK' => ' style="display:none;"',
|
|
| 222 |
'STYLE_DISPLAY_SECTION_BLOCK' => ' style="visibility: hidden;"',
|
|
| 223 | 223 |
'NAME_SIZE' => 270, |
| 224 | 224 |
'INPUT_ATTRIBUTE' => $input_attribute, |
| 225 | 225 |
'VAR_SECTION_ID' => $section['section_id'], |
| ... | ... | |
| 269 | 269 |
) ); |
| 270 | 270 |
} |
| 271 | 271 |
} |
| 272 |
$template->set_var(array( |
|
| 273 |
'DISPLAY_DEBUG' => ' style="visibility="visible;"', |
|
| 274 |
'TEXT_SID' => 'SID', |
|
| 275 |
'DEBUG_COLSPAN_SIZE' => 9, |
|
| 276 |
) ); |
|
| 272 | 277 |
if($debug) {
|
| 273 | 278 |
$template->set_var(array( |
| 274 | 279 |
'DISPLAY_DEBUG' => ' style="visibility="visible;"', |
| 275 | 280 |
'TEXT_PID' => 'PID', |
| 276 | 281 |
'TEXT_SID' => 'SID', |
| 277 | 282 |
'POSITION' => $section['position'], |
| 278 |
'DEBUG_COLSPAN_SIZE' => 9, |
|
| 279 | 283 |
) ); |
| 280 | 284 |
} else {
|
| 281 | 285 |
$template->set_var(array( |
| 282 |
'DISPLAY_DEBUG' => ' style="display: none;"',
|
|
| 286 |
'DISPLAY_DEBUG' => ' style="visibility="hidden;"',
|
|
| 283 | 287 |
'TEXT_PID' => '', |
| 284 |
'TEXT_SID' => '', |
|
| 285 | 288 |
'POSITION' => '', |
| 286 |
'DEBUG_COLSPAN_SIZE' => 7, |
|
| 287 | 289 |
) ); |
| 288 | 290 |
} |
| 289 | 291 |
$template->parse('section_list', 'section_block', true);
|
Also available in: Unified diff
- Added PageID and SectionID to all backend themes (Thanks to Luiseshahne)
- Fixed some display issues in all backend themes (Thanks to Luisehahne)