Project

General

Profile

« Previous | Next » 

Revision 1518

Added by Dietmar about 13 years ago

View differences:

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.'&amp;wysiwyg='.$edit_page_1;
279
								$edit_page = $edit_page_0.'&amp;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