Project

General

Profile

« Previous | Next » 

Revision 1317

Added by Dietmar over 14 years ago

Ticket #977 Templates sorted in alphabetical order

View differences:

branches/2.8.x/CHANGELOG
11 11
! = Update/Change
12 12

  
13 13
------------------------------------- 2.8.1 -------------------------------------
14
11-Apr-2010 Dietmar Woellbrink (Luisehahne)
14
14-Apr-2010 Dietmar Woellbrink (Luisehahne)
15
#	Ticket #977 Templates sorted in alphabetical order
16
14-Apr-2010 Dietmar Woellbrink (Luisehahne)
15 17
#	Ticket #978 Add additional PHP 5.2 check to installation
16 18
#	Ticket #979 False PHP 4 requirements in install
17 19
#	Ticket #980 Usebility - Bug in the settings-interface
branches/2.8.x/wb/admin/groups/index.php
121 121

  
122 122
// Insert values into module list
123 123
$template->set_block('main_block', 'module_list_block', 'module_list');
124
$result = $database->query("SELECT * FROM ".TABLE_PREFIX."addons WHERE type = 'module' AND function = 'page'");
124
$result = $database->query('SELECT * FROM `'.TABLE_PREFIX.'addons` WHERE `type` = "module" AND `function` = "page" ORDER BY `name`');
125 125
if($result->numRows() > 0) {
126 126
	while($addon = $result->fetchRow()) {
127 127
		$template->set_var('VALUE', $addon['directory']);
......
132 132

  
133 133
// Insert values into template list
134 134
$template->set_block('main_block', 'template_list_block', 'template_list');
135
$result = $database->query("SELECT * FROM ".TABLE_PREFIX."addons WHERE type = 'template'");
135
$result = $database->query('SELECT * FROM `'.TABLE_PREFIX.'addons` WHERE `type` = "template" ORDER BY `name`');
136 136
if($result->numRows() > 0) {
137 137
	while($addon = $result->fetchRow()) {
138 138
		$template->set_var('VALUE', $addon['directory']);
branches/2.8.x/wb/admin/interface/version.php
52 52

  
53 53
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
54 54
if(!defined('VERSION')) define('VERSION', '2.8.x');
55
if(!defined('REVISION')) define('REVISION', '1316');
55
if(!defined('REVISION')) define('REVISION', '1317');
56 56

  
57 57
?>

Also available in: Unified diff