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 2890 sgarg
<body onload="get_reviews('[%reviewdocid%]')">
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 2890 sgarg
[% IF reviewdocid != '' %]
37
	<h3 style="margin-top:-8px" class="review_emphasis">
38
	Reviews
39 4373 walbridge
	<img id="busy" src="[% contextUrl %]/style/images/spinner.gif" style="display:none; margin-bottom: -3px;"/>
40 2890 sgarg
	</h3>
41 2888 anderson
42 2890 sgarg
	<!-- ajax will populate this node -->
43
	<div id="review_list_container"><div id="review_list"></div></div>
44 2888 anderson
45
[% ELSE %]
46 2890 sgarg
	No reviews found.
47 2888 anderson
[% END %]
48 2890 sgarg
49 2867 sgarg
</body>
50
</html>
51