Project

General

Profile

« Previous | Next » 

Revision 439

Added by Matthias over 17 years ago

changed MODULE_DESCRIPTION variable to module_description as we use in the modules languages also the lowercase version

View differences:

trunk/wb/admin/modules/details.php
68 68
	if(file_exists(WB_PATH.'/modules/'.$file.'/languages/'.$user_language.'.php')) {
69 69
		require(WB_PATH.'/modules/'.$file.'/languages/'.$user_language.'.php');
70 70
		
71
		// Check to see if new variable exists... -> $MODULE_DESCRIPTION
72
		if (isset($MODULE_DESCRIPTION)) {
71
		// Check to see if new variable exists... -> $module_description
72
		if (isset($module_description)) {
73 73
			// Override the module-description with correct desription in users language
74
			$module['description']=$MODULE_DESCRIPTION;
74
			$module['description']=$module_description;
75 75
		}	
76 76
	}
77 77
}

Also available in: Unified diff