Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 1757)
+++ branches/2.8.x/CHANGELOG	(revision 1758)
@@ -13,6 +13,9 @@
 
 
 
+16 Sep-2012 Build 1758 Dietmar Woellbrink (Luisehahne)
+! forgot to upload the install.php from wysiwyg modul in Revision 1756
+! correcting some more SEC_ANCHOR 
 16 Sep-2012 Build 1757 Dietmar Woellbrink (Luisehahne)
 # fixed mysql_fetch_array() expects parameter 1 to be resource, boolean given
   by adding a new form on page, 
Index: branches/2.8.x/wb/admin/pages/modify.php
===================================================================
--- branches/2.8.x/wb/admin/pages/modify.php	(revision 1757)
+++ branches/2.8.x/wb/admin/pages/modify.php	(revision 1758)
@@ -230,7 +230,7 @@
 						}
 					}
 
-                    $sec_anchor = (defined( 'SEC_ANCHOR' ) && ( SEC_ANCHOR != '' )  ? 'id="'.SEC_ANCHOR.$section['section_id'].'"' : '');
+                    $sec_anchor = (defined( 'SEC_ANCHOR' ) && ( SEC_ANCHOR != '' )  ? 'id="'.SEC_ANCHOR.$section['section_id'].'"' : 'section_'.$section_id);
 					print '<div class="section-info" '.$sec_anchor.' ><b>' . $TEXT['BLOCK'] . ': </b>' . $block_name;
 					print '<b>  Modul: </b>' . $section['module']." ";
 					print '<b>  ID: </b>' . $section_id."</div>\n";
Index: branches/2.8.x/wb/admin/pages/sections.php
===================================================================
--- branches/2.8.x/wb/admin/pages/sections.php	(revision 1757)
+++ branches/2.8.x/wb/admin/pages/sections.php	(revision 1758)
@@ -323,7 +323,7 @@
 					{
 						$edit_page = '';
 					}
-					$sec_anchor = (defined( 'SEC_ANCHOR' ) && ( SEC_ANCHOR != '' )  ? SEC_ANCHOR : '');
+					$sec_anchor = (defined( 'SEC_ANCHOR' ) && ( SEC_ANCHOR != '' )  ? SEC_ANCHOR : 'section_');
 					$edit_page_0 = '<a id="sid'.$section['section_id'].'" href="'.ADMIN_URL.'/pages/modify.php?page_id='.$results_array['page_id'];
 					$edit_page_1  = ($sec_anchor!='') ? '#'.$sec_anchor.$section['section_id'].'">' : '">';
 					$edit_page_1 .= $section['module'].'</a>';
Index: branches/2.8.x/wb/admin/interface/version.php
===================================================================
--- branches/2.8.x/wb/admin/interface/version.php	(revision 1757)
+++ branches/2.8.x/wb/admin/interface/version.php	(revision 1758)
@@ -51,5 +51,5 @@
 
 // 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.3');
-if(!defined('REVISION')) define('REVISION', '1757');
+if(!defined('REVISION')) define('REVISION', '1758');
 if(!defined('SP')) define('SP', '');
Index: branches/2.8.x/wb/modules/wysiwyg/install.php
===================================================================
--- branches/2.8.x/wb/modules/wysiwyg/install.php	(revision 1757)
+++ branches/2.8.x/wb/modules/wysiwyg/install.php	(revision 1758)
@@ -19,49 +19,11 @@
 if(!defined('WB_PATH')) {
 	require_once(dirname(dirname(dirname(__FILE__))).'/framework/globalExceptionHandler.php');
 	throw new IllegalFileException();
-}
-/* -------------------------------------------------------- */
-
-if(defined('WB_URL'))
-{
+} else {
 	// Create table
-	//$database->query("DROP TABLE IF EXISTS `".TABLE_PREFIX."mod_wysiwyg`");
-	$mod_wysiwyg = 'CREATE TABLE IF NOT EXISTS `'.TABLE_PREFIX.'mod_wysiwyg` ( '
-		. ' `section_id` INT NOT NULL DEFAULT \'0\','
-		. ' `page_id` INT NOT NULL DEFAULT \'0\','
-		. ' `content` LONGTEXT NOT NULL ,'
-		. ' `text` LONGTEXT NOT NULL ,'
-		. ' PRIMARY KEY ( `section_id` ) '
-		. ' ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci';
-	$database->query($mod_wysiwyg);
 
+$database->SqlImport(dirname(__FILE__).'/sql/mod_wysiwyg.sql',TABLE_PREFIX,false);
+
 // remove old version of search (deprecated)
-//    $mod_search = "SELECT * FROM ".TABLE_PREFIX."search  WHERE value = 'wysiwyg'";
-//    $insert_search = $database->query($mod_search);
-//    if( $insert_search->numRows() == 0 )
-//    {
-//    	// Insert info into the search table
-//    	// Module query info
-//    	$field_info = array();
-//    	$field_info['page_id'] = 'page_id';
-//    	$field_info['title'] = 'page_title';
-//    	$field_info['link'] = 'link';
-//    	$field_info['description'] = 'description';
-//    	$field_info['modified_when'] = 'modified_when';
-//    	$field_info['modified_by'] = 'modified_by';
-//    	$field_info = serialize($field_info);
-//    	$database->query("INSERT INTO ".TABLE_PREFIX."search (name,value,extra) VALUES ('module', 'wysiwyg', '$field_info')");
-//    	// Query start
-//    	$query_start_code = "SELECT [TP]pages.page_id, [TP]pages.page_title,	[TP]pages.link, [TP]pages.description, [TP]pages.modified_when, [TP]pages.modified_by	FROM [TP]mod_wysiwyg, [TP]pages WHERE ";
-//    	$database->query("INSERT INTO ".TABLE_PREFIX."search (name,value,extra) VALUES ('query_start', '$query_start_code', 'wysiwyg')");
-//    	// Query body
-//    	$query_body_code = " [TP]pages.page_id = [TP]mod_wysiwyg.page_id AND [TP]mod_wysiwyg.text [O] \'[W][STRING][W]\' AND [TP]pages.searching = \'1\'";
-//    	$database->query("INSERT INTO ".TABLE_PREFIX."search (name,value,extra) VALUES ('query_body', '$query_body_code', 'wysiwyg')");
-//    	// Query end
-//    	$query_end_code = "";
-//    	$database->query("INSERT INTO ".TABLE_PREFIX."search (name,value,extra) VALUES ('query_end', '$query_end_code', 'wysiwyg')");
-//
-//    	// Insert blank row (there needs to be at least on row for the search to work)
-//    	$database->query("INSERT INTO ".TABLE_PREFIX."mod_wysiwyg (page_id,section_id) VALUES ('0','0')");
-//    }
+
 }
