Revision 712
Added by Matthias almost 17 years ago
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
Changed language sorting from directory to name (needs additional to be escaped!)