Project

General

Profile

« Previous | Next » 

Revision 1092

Added by Matthias over 15 years ago

fixed bug with page not showing if 2 sections active (ticket #751) (Thanks to Pumpi)

View differences:

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>&nbsp;</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