Forráskód Böngészése

! <tbody> created even if no <thead> present in template_show_list [topic 468405]

emanuele 13 éve
szülő
commit
71295fac64
1 módosított fájl, 4 hozzáadás és 2 törlés
  1. 4 2
      Themes/default/GenericList.template.php

+ 4 - 2
Themes/default/GenericList.template.php

@@ -105,10 +105,12 @@ function template_show_list($list_id = null)
 
 		echo '
 				</tr>
-			</thead>
-			<tbody>';
+			</thead>';
 	}
 
+		echo '
+			<tbody>';
+
 	// Show a nice message informing there are no items in this list.
 	if (empty($cur_list['rows']) && !empty($cur_list['no_items_label']))
 		echo '