bugfixes for pending submission revisions

This commit is contained in:
JT Smith 2005-10-14 15:42:50 +00:00
parent 5480dcf42d
commit 11bf217ce6
2 changed files with 5 additions and 5 deletions

View file

@ -24,7 +24,7 @@
by adding a generic www_edit generator in Wobject.pm.
- Fixed a lot of the www_ methods in Survey.pm to return in styled pages
instead of raw <p> tags without <html><head>etc</head><body></body>
- fix [ 1293897 ] 6.7.4 - asset manager reorder by rank
6.7.6
- Fixed invalid i18n keys that were causing missing labels.

View file

@ -229,7 +229,7 @@ Formats the URL to approve a post.
sub getApproveUrl {
my $self = shift;
return $self->getUrl("func=approve;mlog=".$session{form}{mlog});
return $self->getUrl("revision=".$self->get("revisionDate").";func=approve;mlog=".$session{form}{mlog});
}
#-------------------------------------------------------------------
@ -242,7 +242,7 @@ Formats the url to delete a post.
sub getDeleteUrl {
my $self = shift;
return $self->getUrl("func=delete");
return $self->getUrl("func=delete;revision=".$self->get("revisionDate"));
}
#-------------------------------------------------------------------
@ -255,7 +255,7 @@ Formats the url to deny a post.
sub getDenyUrl {
my $self = shift;
return $self->getUrl("func=deny;mlog=".$session{form}{mlog});
return $self->getUrl("revision=".$self->get("revisionDate").";func=deny;mlog=".$session{form}{mlog});
}
#-------------------------------------------------------------------
@ -268,7 +268,7 @@ Formats the url to edit a post.
sub getEditUrl {
my $self = shift;
return $self->getUrl("func=edit");
return $self->getUrl("func=edit;revision=".$self->get("revisionDate"));
}