Revision 1092
Added by Matthias over 15 years ago
trunk/CHANGELOG | ||
---|---|---|
12 | 12 |
|
13 | 13 |
------------------------------------- 2.8.0 ------------------------------------- |
14 | 14 |
23-July 2009 Matthias Gallas |
15 |
# fixed bug with page not showing if 2 sections active (ticket #751) (Thanks to Pumpi) |
|
15 | 16 |
# readded to phplib/template.inc $clear: whether to delete undefined vars or not |
16 |
was already added in WB 2.7 but was deleted for unknown reasons |
|
17 |
was already added in WB 2.7 but was deleted for unknown reasons (Thanks to FrankH)
|
|
17 | 18 |
22-July 2009 Matthias Gallas |
18 | 19 |
! set Version to RC2 |
19 | 20 |
! small modification on german language file (ticket #746) |
trunk/wb/admin/pages/sections.php | ||
---|---|---|
85 | 85 |
// Include the selected modules add file if it exists |
86 | 86 |
if(file_exists(WB_PATH.'/modules/'.$module.'/add.php')) { |
87 | 87 |
require(WB_PATH.'/modules/'.$module.'/add.php'); |
88 |
}
|
|
88 |
} |
|
89 | 89 |
} |
90 | 90 |
|
91 | 91 |
// Get perms |
... | ... | |
149 | 149 |
$template->set_block('page', 'main_block', 'main'); |
150 | 150 |
$template->set_block('main_block', 'module_block', 'module_list'); |
151 | 151 |
$template->set_block('main_block', 'section_block', 'section_list'); |
152 |
$template->set_block('section_block', 'block_block', 'block_list'); |
|
152 |
$template->set_block('section_block', ' block_block', 'block_list');
|
|
153 | 153 |
$template->set_block('main_block', 'calendar_block', 'calendar_list'); |
154 | 154 |
|
155 | 155 |
// set first defaults and messages |
... | ... | |
227 | 227 |
'VAR_SECTION_ID' => $section['section_id'], |
228 | 228 |
'VAR_POSITION' => $section['position'], |
229 | 229 |
'LINK_MODIFY_URL_VAR_MODUL_NAME' => $edit_page, |
230 |
'SET_NONE_DISPLAY_OPTION' => '<option> </option>', |
|
230 |
'NAME' => htmlentities(strip_tags($block[1])), |
|
231 |
'VALUE' => 1, |
|
232 |
'SET_NONE_DISPLAY_OPTION' => '', |
|
231 | 233 |
) ); |
232 | 234 |
} |
233 | 235 |
// Insert icon and images |
Also available in: Unified diff
fixed bug with page not showing if 2 sections active (ticket #751) (Thanks to Pumpi)