-
- submit_center_first('close', _("Close This Dimension"));
- submit_center_last('delete', _("Delete This Dimension"));
+ submit_center_first('UPDATE_ITEM', _("Update"), _('Save changes to dimension'), 'default');
+ if ($_POST['closed'] == 1)
+ submit('reopen', _("Re-open This Dimension"), true, _('Mark this dimension as re-opened'), true);
+ else
+ 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, '', 'default');