projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Better layout in Form setup
[fa-stable.git]
/
admin
/
forms_setup.php
diff --git
a/admin/forms_setup.php
b/admin/forms_setup.php
index 23de52ef9f646baade54faf9fc142e1496b6c787..5ca44040ad69ac87d315e1fe2296597845ff42f7 100644
(file)
--- a/
admin/forms_setup.php
+++ b/
admin/forms_setup.php
@@
-38,19
+38,25
@@
if (isset($_POST['setprefs']))
start_form();
start_form();
-start_table("class='tablestyle'");
+start_
outer_
table("class='tablestyle'");
$systypes = get_systypes();
$systypes = get_systypes();
+table_section(1);
$th = array(_("Form"), _("Next Reference"));
table_header($th);
$th = array(_("Form"), _("Next Reference"));
table_header($th);
-
+$i = 0;
while ($type = db_fetch($systypes))
{
while ($type = db_fetch($systypes))
{
+ if ($i++ == 11)
+ {
+ table_section(2);
+ table_header($th);
+ }
ref_row(systypes::name($type["type_id"]), 'id' . $type["type_id"], '', $type["next_reference"]);
}
ref_row(systypes::name($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, '', true);