- submit('close', _("Close This Dimension"), true, _('Mark this dimension as closed'), true);
+ 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);