Changed all smaller forms and tables to be uniform. Copyright notes.
[fa-stable.git] / sales / manage / sales_groups.php
index 1e16577969381461a2e3e19809c76644dca70cec..f2c4126f35d708625f0c78602d4dc8aeaa961dfc 100644 (file)
@@ -1,6 +1,14 @@
 <?php
-
-
+/**********************************************************************
+    Copyright (C) FrontAccounting, LLC.
+       Released under the terms of the GNU Affero General Public License,
+       AGPL, 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/agpl-3.0.html>.
+***********************************************************************/
 $page_security = 3;
 $path_to_root="../..";
 include($path_to_root . "/includes/session.inc");
@@ -78,7 +86,7 @@ $sql = "SELECT * FROM ".TB_PREF."groups ORDER BY description";
 $result = db_query($sql,"could not get groups");
 
 start_form();
-start_table("$table_style width=40%");
+start_table("$table_style width=30%");
 $th = array(_("Group Name"), "", "");
 table_header($th);
 $k = 0; 
@@ -90,7 +98,7 @@ while ($myrow = db_fetch($result))
                
        label_cell($myrow["description"]);
        edit_button_cell("Edit".$myrow["id"], _("Edit"));
-       edit_button_cell("Delete".$myrow["id"], _("Delete"));
+       delete_button_cell("Delete".$myrow["id"], _("Delete"));
        end_row();
 }
 
@@ -103,7 +111,7 @@ echo '<br>';
 
 start_form();
 
-start_table("$table_style2 width=40%");
+start_table($table_style2);
 
 if ($selected_id != -1) 
 {