X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=admin%2Fforms_setup.php;h=f282b92d9bde3e3db45d675c3e36d6af3463e5c1;hb=a92ebdde7985571d5ce5e9777b5b436ec3cec110;hp=828a36fde3ab46e44ade65d6cc9302a1b722261a;hpb=d2bd6087025dfd8497777f6ce2305ff98879473a;p=fa-stable.git diff --git a/admin/forms_setup.php b/admin/forms_setup.php index 828a36fd..f282b92d 100644 --- a/admin/forms_setup.php +++ b/admin/forms_setup.php @@ -1,19 +1,19 @@ . + 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")); +page(_($help_context = "Forms Setup")); include($path_to_root . "/includes/ui.inc"); @@ -37,21 +37,28 @@ 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++ == ST_CUSTCREDIT) + { + 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);