header("Submit or Update A Review For Paper #$paperId") ?> popupWarning( "You appear to be using netscape 4.7." . "With this browser, resizing the window discards " . "existing form contents. Make certain you click on " . "the \"save review\" button before resizing."); $ToldYouAboutNetscape47 = 1; } if ( ! $Me->iCanReview($paperId, $Conf) ) { $Conf->errorMsg("You aren't supposed to be able to review paper #$paperId. " . "If you think this is in error, contact the program chair. "); exit(); } $Review = ReviewFactory($Conf, $Me->contactId, $paperId); if (IsSet($submit)) { // // Check form & modify finalized.. // if ($Review->finalized()) { $Conf->errorMsg("This review is already finalized, you can't submit it again"); } else { $Review-> checkForm($Conf); $Review->load($HTTP_POST_VARS); $Review->saveReview($Conf, $Me->contactId); $Conf->log("Save review for $paperId", $Me); // // Read the review again, just to be certain // they see the proper values // $Review = ReviewFactory($Conf, $Me->contactId, $paperId); // // Check if this review has been finalized during // the author rebuttal period. If so, send mail // to the author // if ($Review->finalized() ) { $Conf->infoMsg("Your review has been finalized!"); $Conf->log("Review for paper #$paperId finalized", $Me); if ( $Conf->validTimeFor("notifyChairAboutReviews",0) ) { $email = $Conf->contactEmail; $title = $Review->paperFields['title']; $message = "This is just to let you know that another review \n" . "for paper #$paperId - $title, \n" . "has been finalized."; mail($email, "Additional review has arrived for paper #$paperId", $message, "From: $Conf->emailFrom" ); } if ( $Conf->validTimeFor("authorViewReviews",0) ) { $email = $Review->authorFields['email']; $title = $Review->paperFields['title']; $message = "This is just to let you know that another review \n" . "for your paper #$paperId - $title, \n" . "has been finalized. You may wish to augment or amend \n" . "your response."; mail($email, "Additional review has arrived for paper #$paperId", $message, "From: $Conf->emailFrom" ); } } else { $Conf->infoMsg("Your review has been saved!"); } } } if (IsSet($emailReview)) { // // Empty // mail($Me->email, "Your review for paper #$paperId", $Review -> getAnonReviewHeaderASCII($Conf) . $Review -> getReviewASCII(), "From: $Conf->emailFrom" ); $Conf->infoMsg("Sent email with review"); exit(); } if ( !IsSet($printableView) ) { $Review -> printAnonReviewHeader($Conf); } ?>
finalized()) { ?>

You have already finalized your review for this paper.
You can no longer modify it, but you may view it.

If you made a mistake in your review and you want it "unfinalized",
you may send mail to the program chair asking them to unfinalize it

>
printViewable(); ?> Here is a printable version of the review current stored in the database. "; $Review -> printViewable(); } else { $Conf->infoMsg("Enter your review of this paper below. " . "Note that you will be automatically logged " . " out if you are idle for more than " . round(get_cfg_var("session.gc_maxlifetime")/60) . " minutes, so you may want to save your review " . "periodically (by marking \"don't finalize\" " . " and hitting \"Submit your paper review\") " . " and then return to edit them later. " ); ?>
>
>
> printEditable() ?>
>
footer() ?>