Project

General

Profile

1 2867 sgarg
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml">
3
<head>
4
  <title>Reviews</title>
5
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
6 2888 anderson
7 3915 walbridge
  <script src="[% styleCommonPath %]/prototype.js"></script>
8
  <script src="[% styleCommonPath %]/accordion.js"></script>
9
  <script src="[% styleCommonPath %]/review_behaviors.js"></script>
10
  <link href="[% styleCommonPath %]/reviews.css" media="all" rel="Stylesheet" type="text/css" />
11 2867 sgarg
12
</head>
13
14 4613 walbridge
<body onload="get_reviews('[%reviewdocid%]', '[% metacatUrl %]')">
15 2867 sgarg
16
[% IF isModerator == 'true' %]
17 2888 anderson
	<div class="comment_form">
18 2867 sgarg
	<p class="sectionnames">Moderator Actions</p>
19 3915 walbridge
	<form target="_top" id="reviewForm" method="POST" action="[% cgiPrefix %]/register-dataset.cgi">
20 2889 sgarg
		<input value="mod_accept" id="stage" name="stage" type="hidden">
21 2867 sgarg
		<input value="esa" name="cfg" type="hidden">
22
		<input name="docid" type="hidden" value="[%docid%]">
23 2888 anderson
	<h3 style="margin-bottom: -18px;" class="review_emphasis">Please comment</h3>
24
	<ul>
25
	<li>
26
	<textarea name="review" rows="5" cols="25"></textarea>
27
	</li>
28
	<li>
29 2889 sgarg
	<input name="Accept" value=" Accept " type="SUBMIT" onClick="document.getElementById('stage').value='mod_accept';">
30
	<input name="Decline" value="Decline" type="SUBMIT" onClick="document.getElementById('stage').value='mod_decline';">
31
	<input name="Revise" value=" Revise " type="SUBMIT" onClick="document.getElementById('stage').value='mod_revise';">
32 2867 sgarg
	</form>
33 2888 anderson
	</div>
34 2867 sgarg
[% END %]
35
36 4756 walbridge
[% IF (matches = reviewdocid.match('^Error')) %]
37
   [% reviewdocid %]
38
[% ELSIF reviewdocid != '' %]
39 2890 sgarg
	<h3 style="margin-top:-8px" class="review_emphasis">
40
	Reviews
41 4373 walbridge
	<img id="busy" src="[% contextUrl %]/style/images/spinner.gif" style="display:none; margin-bottom: -3px;"/>
42 2890 sgarg
	</h3>
43 2888 anderson
44 2890 sgarg
	<!-- ajax will populate this node -->
45
	<div id="review_list_container"><div id="review_list"></div></div>
46 2888 anderson
47
[% ELSE %]
48 2890 sgarg
	No reviews found.
49 2888 anderson
[% END %]
50 2890 sgarg
51 2867 sgarg
</body>
52
</html>
53