Project

General

Profile

« Previous | Next » 

Revision 384

Added by Matthias almost 18 years ago

Added List sorting in admin area (thanks to rsmith)

View differences:

settings.php
286 286
}
287 287
// Templates list
288 288
$template->set_block('main_block', 'template_list_block', 'template_list');
289
$result = $database->query("SELECT * FROM ".TABLE_PREFIX."addons WHERE type = 'template'");
289
$result = $database->query("SELECT * FROM ".TABLE_PREFIX."addons WHERE type = 'template' order by name");
290 290
if($result->numRows() > 0) {
291 291
	while($addon = $result->fetchRow()) { 
292 292
		// Check if the user has perms to use this template

Also available in: Unified diff