Fixed warning displayed before 2.2 db upgrade.
[fa-stable.git] / dimensions / dimension_entry.php
index af266300bbef89dad7433853b94fa2d134d2692e..c0e99521f5860af7a965c8b52e7ec03adc9b8165 100644 (file)
@@ -1,6 +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_once($path_to_root . "/includes/session.inc");
@@ -249,13 +257,13 @@ end_table(1);
 if ($selected_id != -1) 
 {
        echo "<br>";
-       submit_center_first('UPDATE_ITEM', _("Update"), _('Save changes to dimension'), true);
+       submit_center_first('UPDATE_ITEM', _("Update"), _('Save changes to dimension'), 'default');
        submit('close', _("Close This Dimension"), true, _('Mark this dimension as closed'), true);
        submit_center_last('delete', _("Delete This Dimension"), _('Delete unused dimension'), true);
 }
 else
 {
-       submit_center('ADD_ITEM', _("Add"), true, '', true);
+       submit_center('ADD_ITEM', _("Add"), true, '', 'default');
 }
 end_form();