discourse-legacysite-perl/site/slowtwitch.com/cgi-bin/articles/admin/templates/luna/review_edit.html
2024-06-17 21:49:12 +10:00

94 lines
4.2 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title><%site_title%>: Edit Review</title>
<%include include_common_head.html%>
</head>
<body id="review_edit">
<%include include_accessibility.html%>
<div id="wrapper">
<%include include_header.html%>
<%include include_contentheader.html%>
<div id="ocwrapper" class="clear">
<div id="icwrapper" class="clear">
<%include include_leftsidebar.html%>
<div id="contentwrapper" class="shadowleft">
<%include include_contentwrapper_top.html%>
<div class="shadowtop"><div class="shadowtopleft"></div><div class="shadowtopright"></div></div>
<div class="shadowright">
<div id="content">
<%include include_content_top.html%>
<div class="crumb"><%Links::Utils::format_title($main_title_loop, separator => $crumb_separator, no_escape_separator => $no_escape_crumb_separator, include_home => 1, link_type => 2)%></div>
<h2>Edit Review</h2>
<%if URL%><%include link.html%><%endif%>
<p>
<%~if confirm%>
You have already submitted a review for this link. Press "Continue" to edit your review.
<%~else%>
Please edit your review below, and we'll update your review as soon as possible.
<%~endif%>
</p>
<form action="<%config.db_cgi_url%>/review.cgi" method="post">
<input type="hidden" name="edit_review" value="1" />
<input type="hidden" name="ID" value="<%escape_html ID%>" />
<%~if confirm%>
<div class="formsubmit">
<input type="submit" name="confirmed" value="Continue" class="submit" />
<input type="submit" name="cancelled" value="Cancel" class="submit" />
</div>
<%~else%>
<input type="hidden" name="ReviewID" value="<%if ReviewID%><%escape_html ReviewID%><%endif%>" />
<div class="row required clear">
<label class="name">Your Rating: <span>*</span></label>
<div class="value">
<input type="radio" id="Review_Rating-1" name="Review_Rating" value="1"<%if Review_Rating == 1%> checked="checked"<%endif%> class="radio" /><label for="Review_Rating-1">1</label>
<input type="radio" id="Review_Rating-2" name="Review_Rating" value="2"<%if Review_Rating == 2%> checked="checked"<%endif%> class="radio" /><label for="Review_Rating-2">2</label>
<input type="radio" id="Review_Rating-3" name="Review_Rating" value="3"<%if Review_Rating == 3%> checked="checked"<%endif%> class="radio" /><label for="Review_Rating-3">3</label>
<input type="radio" id="Review_Rating-4" name="Review_Rating" value="4"<%if Review_Rating == 4%> checked="checked"<%endif%> class="radio" /><label for="Review_Rating-4">4</label>
<input type="radio" id="Review_Rating-5" name="Review_Rating" value="5"<%if Review_Rating == 5%> checked="checked"<%endif%> class="radio" /><label for="Review_Rating-5">5</label>
</div>
</div>
<div class="row required clear">
<label for="Review_Subject" class="name">Subject: <span>*</span></label>
<div class="value">
<input type="text" id="Review_Subject" name="Review_Subject" value="<%if Review_Subject%><%escape_html Review_Subject%><%endif%>" class="text" />
</div>
</div>
<div class="row clear">
<label for="Review_ByLine" class="name">By Line:</label>
<div class="value">
<input type="text" id="Review_ByLine" name="Review_ByLine" value="<%if Review_ByLine%><%escape_html Review_ByLine%><%endif%>" class="text" />
</div>
</div>
<div class="row required clear">
<label for="Review_Contents" class="name">Your Review: <span>*</span></label>
<div class="value">
<textarea id="Review_Contents" name="Review_Contents" rows="3" cols="42"><%if Review_Contents%><%escape_html Review_Contents%><%endif%></textarea>
</div>
</div>
<div class="formsubmit">
<input type="submit" name="update_this_review" value="Update Review" class="submit" />
</div>
<%~endif%>
</form>
<%include include_content_bottom.html%>
</div>
</div>
<div class="shadowbottom"><div class="shadowbottomleft"></div><div class="shadowbottomright"></div></div>
<%include include_contentwrapper_bottom.html%>
</div>
<%include include_rightsidebar.html%>
</div>
</div>
<%include include_contentfooter.html%>
<%include include_footer.html%>
</div>
</body>
</html>