Project

General

Profile

« Previous | Next » 

Revision 796

Added by doc about 16 years ago

some code clean up in news/form module

View differences:

trunk/CHANGELOG
12 12

  
13 13
------------------------------------- 2.7.0 -------------------------------------
14 14
03-Apr-2008 Christian Sommer
15
!	some code clean up in news/form module
15 16
!	small adaption of the edit CSS function file css.functions.php
16 17
!	updated edit module CSS functions to include backend.css into head if possible
17 18
#	fixed bug in Javascript decryption routines of the Output-Filter module
trunk/wb/modules/form/css.functions.php
77 77
// this function displays a button to toggle between CSS files (invoked from edit_css.php)
78 78
if (!function_exists('toggle_css_file')) {
79 79
	function toggle_css_file($mod_dir, $base_css_file = 'frontend.css') {
80
		global $page_id, $section_id, $CAP_TOGGLE_CSS;
80
		global $page_id, $section_id;
81 81
		// check if specified module directory is valid
82 82
		if(check_module_dir($mod_dir) == '') return;
83 83

  
trunk/wb/modules/news/css.functions.php
77 77
// this function displays a button to toggle between CSS files (invoked from edit_css.php)
78 78
if (!function_exists('toggle_css_file')) {
79 79
	function toggle_css_file($mod_dir, $base_css_file = 'frontend.css') {
80
		global $page_id, $section_id, $CAP_TOGGLE_CSS;
80
		global $page_id, $section_id;
81 81
		// check if specified module directory is valid
82 82
		if(check_module_dir($mod_dir) == '') return;
83 83

  

Also available in: Unified diff