Project

General

Profile

« Previous | Next » 

Revision 712

Added by Matthias almost 17 years ago

Changed language sorting from directory to name (needs additional to be escaped!)

View differences:

trunk/CHANGELOG
12 12

  
13 13
------------------------------------- 2.7.0 -------------------------------------
14 14
19-Feb-2008	Matthias Gallas
15
!	Changed language sorting from directory to name (needs additional to be escaped!)
15 16
+	added new languages to install script
16 17
#	fixed some issues and typos in languagefiles
17 18
18-Feb-2008 Thomas Hornik
trunk/wb/admin/settings/index.php
133 133

  
134 134
// Insert language values
135 135
$template->set_block('main_block', 'language_list_block', 'language_list');
136
$result = $database->query("SELECT * FROM ".TABLE_PREFIX."addons WHERE type = 'language' order by directory");
136
$result = $database->query("SELECT * FROM ".TABLE_PREFIX."addons WHERE type = 'language' order by name");
137 137
if($result->numRows() > 0) {
138 138
	while ($addon = $result->fetchRow()) {
139 139
		// Insert code and name
trunk/wb/admin/preferences/index.php
47 47

  
48 48
// Insert language values
49 49
$template->set_block('main_block', 'language_list_block', 'language_list');
50
$result = $database->query("SELECT * FROM ".TABLE_PREFIX."addons WHERE type = 'language'");
50
$result = $database->query("SELECT * FROM ".TABLE_PREFIX."addons WHERE type = 'language' order by name");
51 51
if($result->numRows() > 0) {
52 52
	while($addon = $result->fetchRow()) {
53 53
		// Insert code and name

Also available in: Unified diff