GUIFile("SPT--EditResourceCommon.html")); # get the "ReturnTo" address for the botton insertion point $ReturnToString = urlencode($GLOBALS["AF"]-> GetCleanUrlForPath("index.php?P=FullRecord&ID=".$G_Resource->Id())); ?>

# Confirm Deletion

# Resource Deleted

SignalEvent("EVENT_HTML_INSERTION_POINT", array($AF->GetPageName(), "Buttons Top", array( "Action" => "Delete", "ReturnTo" => $ReturnToString )));?>

# Deletion Cancelled

# Adding New Cancelled

# Editing Cancelled

# Updated

SignalEvent("EVENT_HTML_INSERTION_POINT", array($AF->GetPageName(), "Buttons Top", array( "Action" => "Cancel", "ReturnTo" => $ReturnToString )));?>
SignalEvent("EVENT_HTML_INSERTION_POINT", array($AF->GetPageName(), "Buttons Top", array( "Resource" => $G_Resource, "Action" => "Update", "ReturnTo" => $ReturnToString )));?>
SignalEvent("EVENT_HTML_INSERTION_POINT", array($GLOBALS["AF"]->GetPageName(), "Above Edit Form", array( "Resource" => $G_Resource, "Action" => isset($_POST["Submit"]) ? $_POST["Submit"] : NULL ))); ?>
SignalEvent("EVENT_HTML_INSERTION_POINT", array($GLOBALS["AF"]->GetPageName(), "Bottom of Edit Form", array( "Resource" => $G_Resource, "Action" => isset($_POST["Submit"]) ? $_POST["Submit"] : NULL ))); ?>