X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=admin%2Fforms_setup.php;h=bb21dc368456d6e59fe25436ad136aa6acd27351;hb=80dd97a37f674cc3691fa04af4c29607067566b2;hp=23de52ef9f646baade54faf9fc142e1496b6c787;hpb=b61fe995e432d77ff3ff0b5850bb921920f3befb;p=fa-stable.git diff --git a/admin/forms_setup.php b/admin/forms_setup.php index 23de52ef..bb21dc36 100644 --- a/admin/forms_setup.php +++ b/admin/forms_setup.php @@ -1,16 +1,16 @@ . + See the License here . ***********************************************************************/ -$page_security =10; -$path_to_root=".."; +$page_security = 'SA_FORMSETUP'; +$path_to_root = ".."; include($path_to_root . "/includes/session.inc"); page(_("Forms Setup")); @@ -38,21 +38,27 @@ if (isset($_POST['setprefs'])) start_form(); -start_table("class='tablestyle'"); +start_outer_table($table_style2); $systypes = get_systypes(); +table_section(1); $th = array(_("Form"), _("Next Reference")); table_header($th); - +$i = 0; while ($type = db_fetch($systypes)) { - ref_row(systypes::name($type["type_id"]), 'id' . $type["type_id"], '', $type["next_reference"]); + if ($i++ == 11) + { + table_section(2); + table_header($th); + } + ref_row($systypes_array[$type["type_id"]], 'id' . $type["type_id"], '', $type["next_reference"]); } -end_table(1); +end_outer_table(1); -submit_center('setprefs', _("Update"), true, '', true); +submit_center('setprefs', _("Update"), true, '', 'default'); end_form(2);