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:

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

Also available in: Unified diff