Changed all smaller forms and tables to be uniform. Copyright notes.
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Sat, 17 Jan 2009 15:28:54 +0000 (15:28 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Sat, 17 Jan 2009 15:28:54 +0000 (15:28 +0000)
17 files changed:
CHANGELOG.txt
admin/attachments.php
admin/forms_setup.php
gl/manage/exchange_rates.php
gl/manage/gl_quick_entries.php
inventory/manage/item_categories.php
inventory/manage/item_units.php
inventory/manage/movement_types.php
manufacturing/manage/work_centres.php
sales/manage/credit_status.php
sales/manage/recurrent_invoices.php
sales/manage/sales_areas.php
sales/manage/sales_groups.php
sales/manage/sales_people.php
sales/manage/sales_points.php
sales/manage/sales_types.php
update.html

index ea20a760f1e9659c3c635418fd25aa65a79fadb8..8f1d6f396edd15014107ed223c4f4945ce6ee379 100644 (file)
@@ -1,7 +1,7 @@
 /**
 * @version $Id$
 * @package FrontAccounting
-* @copyright (C) 2005 - 2008 FrontAccounting
+* @copyright (C) 2005 - 2009 FrontAccounting
 * @license http://www.gnu.org/copyleft/agpl-3.0.html GNU/AGPL
 * FrontAccounting is Free Software
 */
@@ -19,6 +19,10 @@ Legend:
 ! -> Note
 $ -> Affected files
 
+17-Jan-2009 Joe Hunt
+! Changed all smaller forms and tables to be uniform. Copyright notes.
+$ All files with small forms and tables.
+
 16-Jan-2009 Janusz Dobrowolski
 ! Fixed new pager generation on first display.
 $ /gl/manage/exchange_rates.php
index 5ecc7c5aa3f245301128266558340bd08e2a8c86..6481449e9c3ac50bc860c91cf58544b0afbba290 100644 (file)
@@ -213,7 +213,7 @@ if (isset($_POST['filterType']))
 
 start_form(true);
 
-start_table("$table_style2 width=30%");
+start_table($table_style2);
 
 if ($selected_id != -1)
 {
index 828a36fde3ab46e44ade65d6cc9302a1b722261a..23de52ef9f646baade54faf9fc142e1496b6c787 100644 (file)
@@ -37,6 +37,7 @@ if (isset($_POST['setprefs']))
 }
 
 start_form();
+
 start_table("class='tablestyle'");
 
 $systypes = get_systypes();
index 39ad4bea02df38c6895200205ee54fdaf97eac6c..a589de569779dfaea462567f0b4789a040fc3cb6 100644 (file)
@@ -1,5 +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 = 9;
 $path_to_root="../..";
 include($path_to_root . "/includes/db_pager.inc");
index 323580a777c497c82fe681c2df10a7effc653b0f..c042c213aa6aa5cfefe568105f04efd721f3582b 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**********************************************************************
-    Copyright (C) 2005-2008  FrontAccounting, LLC.
+    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.
index 4bf0cd78036304d2edbb0ae06dc9dea8c2b9d036..4e28d189f0928542709fc98411b91120ec9a5739 100644 (file)
@@ -1,5 +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 = 11;
 $path_to_root="../..";
 include($path_to_root . "/includes/session.inc");
@@ -86,7 +95,7 @@ while ($myrow = db_fetch($result))
 
        label_cell($myrow["description"]);
        edit_button_cell("Edit".$myrow[0], _("Edit"));
-       edit_button_cell("Delete".$myrow[0], _("Delete"));
+       delete_button_cell("Delete".$myrow[0], _("Delete"));
        end_row();
 }
 
@@ -97,7 +106,7 @@ echo '<br>';
 
 start_form();
 
-start_table("class='tablestyle_noborder'");
+start_table($table_style2);
 
 if ($selected_id != -1) 
 {
index b8e432bc54f439ed20bb16d2e2d82f793da1f4e3..fa84a350d14885d7703192dfee45c986f9e2620f 100644 (file)
@@ -1,4 +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 = 11;
 $path_to_root="../..";
 include($path_to_root . "/includes/session.inc");
@@ -71,7 +81,7 @@ if ($Mode == 'RESET')
 
 $result = get_all_item_units();
 start_form();
-start_table("$table_style width=50%");
+start_table("$table_style width=40%");
 $th = array(_('Unit'), _('Description'), _('Decimals'), "", "");
 
 table_header($th);
@@ -87,7 +97,7 @@ while ($myrow = db_fetch($result))
        label_cell(($myrow["decimals"]==-1?_("User Quantity Decimals"):$myrow["decimals"]));
 
        edit_button_cell("Edit".$myrow[0], _("Edit"));
-       edit_button_cell("Delete".$myrow[0], _("Delete"));
+       delete_button_cell("Delete".$myrow[0], _("Delete"));
        end_row();
 }
 
@@ -99,7 +109,7 @@ echo '<br>';
 
 start_form();
 
-start_table("class='tablestyle_noborder'");
+start_table($table_style2);
 
 if ($selected_id != '') 
 {
index fb866fc2d0c6a308f2d68b8d379244e9299e64f9..5d114be72297a62a2094f1665c5fc481b6b0de31 100644 (file)
@@ -1,5 +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");
@@ -95,7 +104,7 @@ while ($myrow = db_fetch($result))
 
        label_cell($myrow["name"]);
        edit_button_cell("Edit".$myrow['id'], _("Edit"));
-       edit_button_cell("Delete".$myrow['id'], _("Delete"));
+       delete_button_cell("Delete".$myrow['id'], _("Delete"));
        end_row();
 }
 
@@ -107,7 +116,7 @@ echo '<br>';
 
 start_form();
 
-start_table();
+start_table($table_style2);
 
 if ($selected_id != -1) 
 {
index 4155fae8680a1e7c06cc1948dd3c5df0d3df4355..e67bdbfb8bfd723f12dfdb66f079aa360373fd65 100644 (file)
@@ -1,5 +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");
@@ -105,7 +114,7 @@ while ($myrow = db_fetch($result))
        label_cell($myrow["name"]);
        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();
 }
 
index 6b0ee02d608b233911389da2433b201ff0708edf..1e05949f1bae6d8ef0f2f05e6b9472ad44d266be 100644 (file)
@@ -1,5 +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");
@@ -108,7 +117,7 @@ while ($myrow = db_fetch($result))
        label_cell($myrow["reason_description"]);
        label_cell($disallow_text);
        edit_button_cell("Edit".$myrow['id'], _("Edit"));
-       edit_button_cell("Delete".$myrow['id'], _("Delete"));
+       delete_button_cell("Delete".$myrow['id'], _("Delete"));
        end_row();
 }
 
@@ -120,7 +129,7 @@ echo '<br>';
 
 start_form();
 
-start_table("$table_style2 width=40%");
+start_table($table_style2);
 
 if ($selected_id != -1) 
 {
index becc9fd28ed250f5170852e219c9ca1d5bdee49f..70ac0151c2f12ebea4cb44f5434cbd8eddcc9107 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");
@@ -14,7 +22,6 @@ if ($use_date_picker)
 
 page(_("Recurrent Invoices"), false, false, "", $js);
 
-
 simple_page_mode(true);
 
 if ($Mode=='ADD_ITEM' || $Mode=='UPDATE_ITEM') 
@@ -124,7 +131,7 @@ while ($myrow = db_fetch($result))
        label_cell($end);
        label_cell($last_sent);
        edit_button_cell("Edit".$myrow["id"], _("Edit"));
-       edit_button_cell("Delete".$myrow["id"], _("Delete"));
+       delete_button_cell("Delete".$myrow["id"], _("Delete"));
        end_row();
 }
 end_table();
@@ -136,7 +143,7 @@ echo '<br>';
 
 start_form();
 
-start_table("$table_style2 width=40%");
+start_table($table_style2);
 
 if ($selected_id != -1) 
 {
index 2f350ab8662b59af549f388adaf6e6c53c5e6c43..e1a54301ef6d848b45c785248b9b1fd25752659c 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."areas";
 $result = db_query($sql,"could not get areas");
 
 start_form();
-start_table("$table_style width=40%");
+start_table("$table_style width=30%");
 $th = array(_("Area Name"), "", "");
 table_header($th);
 $k = 0; 
@@ -90,7 +98,7 @@ while ($myrow = db_fetch($result))
                
        label_cell($myrow["description"]);
        edit_button_cell("Edit".$myrow["area_code"], _("Edit"));
-       edit_button_cell("Delete".$myrow["area_code"], _("Delete"));
+       delete_button_cell("Delete".$myrow["area_code"], _("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) 
 {
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) 
 {
index aef3ad25ae08772cd46f3bdb4c10b8ca8c025036..bf4899e59f84da66c43b766915c505b0eab4c3b7 100644 (file)
@@ -171,7 +171,7 @@ if ($selected_id != -1)
                $_POST['provision2'] = percent_format(0);       
 }
 
-start_table("$table_style2 width=60%");
+start_table($table_style2);
 
 text_row_ex(_("Sales person name:"), 'salesman_name', 30);
 text_row_ex(_("Telephone number:"), 'salesman_phone', 20);
index 7aaac3580fbce0e3a5f14ad9cdd2f0431d77b316..6ad6086eeb5f6791f6cb58242b00b2a455de50d2 100644 (file)
@@ -1,5 +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 = 15;
 $path_to_root="../..";
 include_once($path_to_root . "/includes/session.inc");
@@ -86,7 +95,7 @@ while ($myrow = db_fetch($result))
        label_cell($myrow["location_name"], "");
        label_cell($myrow["bank_account_name"], "");
        edit_button_cell("Edit".$myrow['id'], _("Edit"));
-       edit_button_cell("Delete".$myrow['id'], _("Delete"));
+       delete_button_cell("Delete".$myrow['id'], _("Delete"));
        end_row();
 }
 
@@ -97,7 +106,7 @@ echo '<br>';
 
 start_form();
 
-start_table("$table_style2 width=30%");
+start_table($table_style2);
 
 if ($selected_id != -1)
 {
index a99c322bf3822e18fca8ed0a5329f1c11cd69c47..4365a78e417cdfafed2d4283abb3926df0bd5eb7 100644 (file)
@@ -1,5 +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 = 14;
 $path_to_root="../..";
 include_once($path_to_root . "/includes/session.inc");
@@ -117,7 +126,7 @@ while ($myrow = db_fetch($result))
        label_cell($f);
        label_cell($myrow["tax_included"] ? _('Yes'):_('No'), 'align=center');
        edit_button_cell("Edit".$myrow['id'], _("Edit"));
-       edit_button_cell("Delete".$myrow['id'], _("Delete"));
+       delete_button_cell("Delete".$myrow['id'], _("Delete"));
        end_row();
 }
 
@@ -133,7 +142,7 @@ start_form();
  if (!isset($_POST['base']))
        $_POST['base'] = 0;
 
-start_table("$table_style2 width=30%");
+start_table($table_style2);
 
 if ($selected_id != -1)
 {
index 0b3ba9ca2141edb3c45667a06be009de01f86a8d..17f615765153752787829611fffd6a0e99100e87 100644 (file)
@@ -48,7 +48,7 @@ process earlier). </li>
   </li><li><strong>When
 updating release&nbsp;2.0.X to release 2.1.X, you must immediately,
 after login (admin), go to the 'Setup' tab and run 'Software Upgrade'.
-Mark the checkbox 'Force upgrade' and press 'Upgrade System'. &nbsp;This will upgrade ALL your companies.</strong></li><li><strong></strong><strong>There are no database changes during a major and minor release. Like from 2.1 to 2.1.1 - 2.1.5 .</strong></li>
+Mark the checkbox 'Install' and press 'Upgrade System'. &nbsp;This will upgrade ALL your companies.</strong></li><li style="font-weight: bold;">If something goes wrong during upgrade, you can enter here again and try 'Force Upgrade', and press 'Upgrade System' again.</li><li><strong style="font-weight: bold;"></strong><strong>There are no database changes during a major and minor release. Like from 2.1 to 2.1.1 - 2.1.5 .</strong></li>
 </ul>
 
 <p>&nbsp;</p>