Revision 1518
Added by Dietmar about 13 years ago
sections.php | ||
---|---|---|
266 | 266 |
{ |
267 | 267 |
$edit_page = ''; |
268 | 268 |
} |
269 |
$sec_anchor = (defined( 'SEC_ANCHOR' ) && ( SEC_ANCHOR != '' ) ? SEC_ANCHOR : ''); |
|
269 | 270 |
$edit_page_0 = '<a id="sid'.$section['section_id'].'" href="'.ADMIN_URL.'/pages/modify.php?page_id='.$results_array['page_id']; |
270 |
$edit_page_1 = $section['section_id'].'">'.$section['module'].'</a>'; |
|
271 |
$edit_page_1 = ($sec_anchor!='') ? '#'.$sec_anchor.$section['section_id'].'">' : '">'; |
|
272 |
$edit_page_1 .= $section['module'].'</a>'; |
|
271 | 273 |
if(SECTION_BLOCKS) |
272 | 274 |
{ |
273 | 275 |
if($edit_page == '') |
274 | 276 |
{ |
275 | 277 |
if(defined('EDIT_ONE_SECTION') && EDIT_ONE_SECTION) |
276 | 278 |
{ |
277 |
$edit_page = $edit_page_0.'&wysiwyg='.$edit_page_1; |
|
279 |
$edit_page = $edit_page_0.'&wysiwyg='.$section['section_id'].$edit_page_1;
|
|
278 | 280 |
} else { |
279 |
$edit_page = $edit_page_0.'#wb_'.$edit_page_1;
|
|
281 |
$edit_page = $edit_page_0.$edit_page_1; |
|
280 | 282 |
} |
281 | 283 |
} |
282 | 284 |
$input_attribute = 'input_normal'; |
Also available in: Unified diff
see http://www.websitebaker2.org/forum/index.php/topic,22649.msg152666.html#msg152666