Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 1517)
+++ branches/2.8.x/CHANGELOG	(revision 1518)
@@ -12,6 +12,8 @@
 
 =============================== FEATURES FREEZE ================================
 ----------------------------------- Fixes 2.8.2 --------------------------------
+26 Okt-2011 Build 1518 Dietmar Woellbrink (Luisehahne)
+# see http://www.websitebaker2.org/forum/index.php/topic,22649.msg152666.html#msg152666
 24 Okt-2011 Build 1517 Dietmar Woellbrink (Luisehahne)
 # fix SERVER_EMAIL in language files
 # fix encoded text in sections.php
Index: branches/2.8.x/wb/admin/pages/sections.php
===================================================================
--- branches/2.8.x/wb/admin/pages/sections.php	(revision 1517)
+++ branches/2.8.x/wb/admin/pages/sections.php	(revision 1518)
@@ -266,8 +266,10 @@
 					{
 						$edit_page = '';
 					}
+					$sec_anchor = (defined( 'SEC_ANCHOR' ) && ( SEC_ANCHOR != '' )  ? SEC_ANCHOR : '');
 					$edit_page_0 = '<a id="sid'.$section['section_id'].'" href="'.ADMIN_URL.'/pages/modify.php?page_id='.$results_array['page_id'];
-					$edit_page_1 = $section['section_id'].'">'.$section['module'].'</a>';
+					$edit_page_1  = ($sec_anchor!='') ? '#'.$sec_anchor.$section['section_id'].'">' : '">';
+					$edit_page_1 .= $section['module'].'</a>';
 					if(SECTION_BLOCKS)
 		            {
 						if($edit_page == '')
@@ -274,9 +276,9 @@
 						{
 							if(defined('EDIT_ONE_SECTION') && EDIT_ONE_SECTION)
 							{
-								$edit_page = $edit_page_0.'&amp;wysiwyg='.$edit_page_1;
+								$edit_page = $edit_page_0.'&amp;wysiwyg='.$section['section_id'].$edit_page_1;
 							} else {
-								$edit_page = $edit_page_0.'#wb_'.$edit_page_1;
+								$edit_page = $edit_page_0.$edit_page_1;
 							}
 						}
 						$input_attribute = 'input_normal';
Index: branches/2.8.x/wb/admin/interface/version.php
===================================================================
--- branches/2.8.x/wb/admin/interface/version.php	(revision 1517)
+++ branches/2.8.x/wb/admin/interface/version.php	(revision 1518)
@@ -52,4 +52,4 @@
 
 // check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
 if(!defined('VERSION')) define('VERSION', '2.8.2');
-if(!defined('REVISION')) define('REVISION', '1517');
+if(!defined('REVISION')) define('REVISION', '1518');
