Collation selection in installer and company creation, rewritten Create Companies...
[fa-stable.git] / admin / forms_setup.php
index bb21dc368456d6e59fe25436ad136aa6acd27351..5a91d31e8559fc4865906ad4b6bdd51e5db495da 100644 (file)
@@ -13,7 +13,7 @@ $page_security = 'SA_FORMSETUP';
 $path_to_root = "..";
 include($path_to_root . "/includes/session.inc");
 
-page(_("Forms Setup"));
+page(_($help_context = "Forms Setup"));
 
 include($path_to_root . "/includes/ui.inc");
 
@@ -38,7 +38,7 @@ if (isset($_POST['setprefs']))
 
 start_form();
 
-start_outer_table($table_style2);
+start_outer_table(TABLESTYLE2);
 
 $systypes = get_systypes();
 table_section(1);
@@ -48,7 +48,7 @@ table_header($th);
 $i = 0;
 while ($type = db_fetch($systypes)) 
 {
-       if ($i++ == 11)
+       if ($i++ == ST_CUSTCREDIT)
        {
                table_section(2);
                table_header($th);
@@ -66,4 +66,3 @@ end_form(2);
 
 end_page();
 
-?>
\ No newline at end of file