Collation selection in installer and company creation, rewritten Create Companies...
[fa-stable.git] / includes / ui / ui_lists.inc
index 6170e79f41496303cda59347fc4fd520a38bb721..88b33f4fb111fa0fe4b805be208bd26ea6f4612a 100644 (file)
@@ -2445,3 +2445,16 @@ function users_list_cells($label, $name, $selected_id=null, $submit_on_change=fa
 
 }
 
+function collations_list_row($label, $name, $selected_id=null)
+{
+       global $supported_collations;
+
+       echo "<tr>";
+       if ($label != null)
+               echo "<td class='label'>$label</td>\n";
+       echo "<td>";
+
+       echo array_selector($name, $selected_id, $supported_collations, 
+               array('select_submit'=> false) );
+       echo "</td></tr>\n";
+}