Project

General

Profile

« Previous | Next » 

Revision 903

Added by aldus almost 16 years ago

Code-Snippets are not longer displayed as type unkown; addidtional key $TEXT['CODE_SNIPPET'] in the languagefiles; not full translated

View differences:

details.php
87 87
switch ($module['function']) {
88 88
	case NULL:
89 89
		$type_name = $TEXT['UNKNOWN'];
90
	break;
90
		break;
91 91
	case 'page':
92 92
		$type_name = $TEXT['PAGE'];
93
	break;
93
		break;
94 94
	case 'wysiwyg':
95 95
		$type_name = $TEXT['WYSIWYG_EDITOR'];
96
	break;
96
		break;
97 97
	case 'tool':
98 98
		$type_name = $TEXT['ADMINISTRATION_TOOL'];
99
	break;
99
		break;
100 100
	case 'admin':
101 101
		$type_name = $TEXT['ADMIN'];
102
	break;
102
		break;
103 103
	case 'administration':
104 104
		$type_name = $TEXT['ADMINISTRATION'];
105
	break;
105
		break;
106
	case 'snippet':
107
		$type_name = $TEXT['CODE_SNIPPET'];
108
		break;
106 109
	default:
107
	$type_name = $TEXT['UNKNOWN'];
110
		$type_name = $TEXT['UNKNOWN'];
108 111
}
109 112
$template->set_var('TYPE', $type_name);
110 113

  

Also available in: Unified diff