X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=dimensions%2Fdimension_entry.php;h=9014f22af97a2e40af313868e05d6f83c0f07c66;hb=499e0e615d1a845c6c519754b3a213fdda0513ba;hp=fb45de5a5c5efc04e11e612461670f2c6c5a49a1;hpb=ff164518757006525f9475ce01d501b023bc40be;p=fa-stable.git
diff --git a/dimensions/dimension_entry.php b/dimensions/dimension_entry.php
index fb45de5a..9014f22a 100644
--- a/dimensions/dimension_entry.php
+++ b/dimensions/dimension_entry.php
@@ -1,6 +1,14 @@
.
+***********************************************************************/
$page_security = 10;
$path_to_root="..";
include_once($path_to_root . "/includes/session.inc");
@@ -76,9 +84,9 @@ function safe_exit()
{
global $path_to_root;
- hyperlink_no_params("", _("Enter a new dimension"));
+ hyperlink_no_params("", _("Enter a &new dimension"));
echo "
";
- hyperlink_no_params($path_to_root . "/dimensions/inquiry/search_dimensions.php", _("Select an existing dimension"));
+ hyperlink_no_params($path_to_root . "/dimensions/inquiry/search_dimensions.php", _("&Select an existing dimension"));
display_footer_exit();
}
@@ -246,16 +254,17 @@ textarea_row(_("Memo:"), 'memo_', null, 40, 5);
end_table(1);
-submit_add_or_update_center($selected_id == -1, '', true);
-
if ($selected_id != -1)
{
echo "
";
-
- submit_center_first('close', _("Close This Dimension"), _('Mark this dimension as closed'), true);
+ submit_center_first('UPDATE_ITEM', _("Update"), _('Save changes to dimension'), true);
+ 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);
+}
end_form();
//--------------------------------------------------------------------------------------------