Added some missing form elements.

This commit is contained in:
JT Smith 2002-08-13 03:09:31 +00:00
parent e0ac5beaf6
commit a4afb3e064
2 changed files with 190 additions and 1 deletions

View file

@ -644,7 +644,6 @@ sub www_delete {
$output .= '&nbsp;&nbsp;&nbsp;&nbsp;<a href="'.WebGUI::URL::page().'">';
$output .= WebGUI::International::get(45);
$output .= '</a></div>';
WebGUI::ErrorHandler::audit("moved Wobject ".$_[0]->{_property}{wobjectId}." to the trash.");
return $output;
} else {
return WebGUI::Privilege::insufficient();
@ -662,6 +661,7 @@ sub www_delete {
sub www_deleteConfirm {
if (WebGUI::Privilege::canEditPage()) {
$_[0]->set({pageId=>3, templatePosition=>0});
WebGUI::ErrorHandler::audit("moved Wobject ".$_[0]->{_property}{wobjectId}." to the trash.");
_reorderWobjects($_[0]->get("pageId"));
return "";
} else {