projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A couple of additional smaller fixes.
[fa-stable.git]
/
admin
/
forms_setup.php
diff --git
a/admin/forms_setup.php
b/admin/forms_setup.php
index 33982b1e4c7cd48f0b06b4255a4a69d09454bca0..f006557612fe8db0d73b7d852ec508c2bdacd836 100644
(file)
--- a/
admin/forms_setup.php
+++ b/
admin/forms_setup.php
@@
-13,7
+13,7
@@
$page_security = 'SA_FORMSETUP';
$path_to_root = "..";
include($path_to_root . "/includes/session.inc");
$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");
include($path_to_root . "/includes/ui.inc");
@@
-38,7
+38,7
@@
if (isset($_POST['setprefs']))
start_form();
start_form();
-start_outer_table(
$table_style
2);
+start_outer_table(
TABLESTYLE
2);
$systypes = get_systypes();
table_section(1);
$systypes = get_systypes();
table_section(1);
@@
-48,12
+48,12
@@
table_header($th);
$i = 0;
while ($type = db_fetch($systypes))
{
$i = 0;
while ($type = db_fetch($systypes))
{
- if ($i++ ==
11
)
+ if ($i++ ==
ST_CUSTCREDIT
)
{
table_section(2);
table_header($th);
}
{
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);
}
end_outer_table(1);