X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=admin%2Fforms_setup.php;h=f282b92d9bde3e3db45d675c3e36d6af3463e5c1;hb=081465f30442afc4f008a1c7038bef320466a730;hp=a15cfe4a72171390e88a2b1b78e9adb0215ff40e;hpb=4d4371fb200bb27fd6b680ebd2d1aaa450a0be7e;p=fa-stable.git diff --git a/admin/forms_setup.php b/admin/forms_setup.php index a15cfe4a..f282b92d 100644 --- a/admin/forms_setup.php +++ b/admin/forms_setup.php @@ -9,11 +9,11 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 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"); @@ -48,12 +48,12 @@ table_header($th); $i = 0; while ($type = db_fetch($systypes)) { - if ($i++ == 11) + if ($i++ == ST_CUSTCREDIT) { table_section(2); table_header($th); } - ref_row(systypes::name($type["type_id"]), 'id' . $type["type_id"], '', $type["next_reference"]); + ref_row($systypes_array[$type["type_id"]], 'id' . $type["type_id"], '', $type["next_reference"]); } end_outer_table(1);