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:

sections.php
233 233
			<select name="module" style="width: 100%;">
234 234
			<?php
235 235
			// Insert module list
236
			$result = $database->query("SELECT * FROM ".TABLE_PREFIX."addons WHERE type = 'module' AND function = 'page' AND directory != 'menu_link'");
236
			$result = $database->query("SELECT * FROM ".TABLE_PREFIX."addons WHERE type = 'module' AND function = 'page' AND directory != 'menu_link' order by name");
237 237
			if($result->numRows() > 0) {
238 238
				while($module = $result->fetchRow()) {
239 239
					// Check if user is allowed to use this module

Also available in: Unified diff