1
|
<!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
|
|
7
|
<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
|
|
12
|
</head>
|
13
|
|
14
|
<body onload="get_reviews('[%reviewdocid%]', '[% metacatUrl %]')">
|
15
|
|
16
|
[% IF isModerator == 'true' %]
|
17
|
<div class="comment_form">
|
18
|
<p class="sectionnames">Moderator Actions</p>
|
19
|
<form target="_top" id="reviewForm" method="POST" action="[% cgiPrefix %]/register-dataset.cgi">
|
20
|
<input value="mod_accept" id="stage" name="stage" type="hidden">
|
21
|
<input value="esa" name="cfg" type="hidden">
|
22
|
<input name="docid" type="hidden" value="[%docid%]">
|
23
|
<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
|
<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
|
</form>
|
33
|
</div>
|
34
|
[% END %]
|
35
|
|
36
|
[% IF reviewdocid != '' %]
|
37
|
<h3 style="margin-top:-8px" class="review_emphasis">
|
38
|
Reviews
|
39
|
<img id="busy" src="[% contextUrl %]/style/images/spinner.gif" style="display:none; margin-bottom: -3px;"/>
|
40
|
</h3>
|
41
|
|
42
|
<!-- ajax will populate this node -->
|
43
|
<div id="review_list_container"><div id="review_list"></div></div>
|
44
|
|
45
|
[% ELSE %]
|
46
|
No reviews found.
|
47
|
[% END %]
|
48
|
|
49
|
</body>
|
50
|
</html>
|
51
|
|
52
|
|