Changed license type to GPLv3 in top of files
[fa-stable.git] / admin / forms_setup.php
index 66e54a38a98a8e137fc427ce4d681171397facb2..dd14046b8dfeea82ae722441e4c20ca3b638c80c 100644 (file)
@@ -1,5 +1,14 @@
 <?php
-
+/**********************************************************************
+    Copyright (C) FrontAccounting, LLC.
+       Released under the terms of the GNU General Public License, GPL, 
+       as published by the Free Software Foundation, either version 3 
+       of the License, or (at your option) any later version.
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
+    See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
+***********************************************************************/
 $page_security =10;
 $path_to_root="..";
 include($path_to_root . "/includes/session.inc");
@@ -28,21 +37,28 @@ if (isset($_POST['setprefs']))
 }
 
 start_form();
-start_table("class='tablestyle'");
+
+start_outer_table("class='tablestyle'");
 
 $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::name($type["type_id"]), 'id' . $type["type_id"], '', $type["next_reference"]);
 }
 
-end_table(1);
+end_outer_table(1);
 
-submit_center('setprefs', _("Update"));
+submit_center('setprefs', _("Update"), true, '', true);
 
 end_form(2);