Index: trunk/CHANGELOG
===================================================================
--- trunk/CHANGELOG	(revision 795)
+++ trunk/CHANGELOG	(revision 796)
@@ -12,6 +12,7 @@
 
 ------------------------------------- 2.7.0 -------------------------------------
 03-Apr-2008 Christian Sommer
+!	some code clean up in news/form module
 !	small adaption of the edit CSS function file css.functions.php
 !	updated edit module CSS functions to include backend.css into head if possible
 #	fixed bug in Javascript decryption routines of the Output-Filter module
Index: trunk/wb/modules/form/css.functions.php
===================================================================
--- trunk/wb/modules/form/css.functions.php	(revision 795)
+++ trunk/wb/modules/form/css.functions.php	(revision 796)
@@ -77,7 +77,7 @@
 // this function displays a button to toggle between CSS files (invoked from edit_css.php)
 if (!function_exists('toggle_css_file')) {
 	function toggle_css_file($mod_dir, $base_css_file = 'frontend.css') {
-		global $page_id, $section_id, $CAP_TOGGLE_CSS;
+		global $page_id, $section_id;
 		// check if specified module directory is valid
 		if(check_module_dir($mod_dir) == '') return;
 
Index: trunk/wb/modules/news/css.functions.php
===================================================================
--- trunk/wb/modules/news/css.functions.php	(revision 795)
+++ trunk/wb/modules/news/css.functions.php	(revision 796)
@@ -77,7 +77,7 @@
 // this function displays a button to toggle between CSS files (invoked from edit_css.php)
 if (!function_exists('toggle_css_file')) {
 	function toggle_css_file($mod_dir, $base_css_file = 'frontend.css') {
-		global $page_id, $section_id, $CAP_TOGGLE_CSS;
+		global $page_id, $section_id;
 		// check if specified module directory is valid
 		if(check_module_dir($mod_dir) == '') return;
 
