Index: trunk/CHANGELOG
===================================================================
--- trunk/CHANGELOG	(revision 972)
+++ trunk/CHANGELOG	(revision 973)
@@ -11,6 +11,8 @@
 ! = Update/Change
 
 ------------------------------------- 2.8.0 -------------------------------------
+23-Apr-2009 Matthias Gallas
+#	Fixed bug with dropdownlist in pages settings (ticket #713)
 20-Apr-2009 Matthias Gallas
 !	Update show_menu2 to version 4.8 (ticket #712)
 #	Fixed small error in Spain language file (ticket #711)
Index: trunk/wb/admin/pages/settings.php
===================================================================
--- trunk/wb/admin/pages/settings.php	(revision 972)
+++ trunk/wb/admin/pages/settings.php	(revision 973)
@@ -323,7 +323,7 @@
 }
 // Templates list
 $template->set_block('main_block', 'template_list_block', 'template_list');
-$result = $database->query("SELECT * FROM ".TABLE_PREFIX."addons WHERE type = 'template' order by name");
+$result = $database->query("SELECT * FROM ".TABLE_PREFIX."addons WHERE type = 'template' and function = 'template' order by name");
 if($result->numRows() > 0) {
 	while($addon = $result->fetchRow()) { 
 		// Check if the user has perms to use this template
