<?xml version="1.0" standalone="no" ?>
<!DOCTYPE page SYSTEM "entities.dtd" >
<xpage:page xmlns="http://www.w3.org/1999/xhtml" xmlns:xpage="http://eprints.org/ep3/xpage" xmlns:epc="http://eprints.org/ep3/control">
	<xpage:head>
		<style>
			#email-summary h3 {font-size: 12px; border-top:1px #3333DD solid; border-bottom: 1px #3333DD dashed; padding-top:5px;}
			#email-summary hr {height:1px; background-color:#AAA;}
			.section {border-bottom:2px grey solid; margin-top:2em;}
			div.mail {margin:0.5em; padding:0.5em; border: 1px grey solid;}
		</style>
	</xpage:head>
	<xpage:title>Summary of request process/emails</xpage:title>
	<xpage:body>
	<div id="email-summary">
		<div class="section" id="requests">
			<h2>Requests</h2>
			<p>If a file is not publicly available, but is visible, and the EPrint has a 'contact email' defined,
				a 'Request this item' button is shown which generates an email to the  contact email address
				and allows the recipient to accept or reject the request. If the request is accepted, a copy
				of the file is emailed to the requester. If it is rejected, a reason can be specified.
			</p>
			<p>These are the bits of text used in the process:</p>

			<h3>Document request page</h3>
			<div>
				<h1 class="ep_tm_pagetitle">Request a copy</h1>
				<div class="ep_sr_component">
					<div class="ep_sr_content">
						<epc:phrase ref="request_intro"/>
					</div>
				</div>
				<span class="person_name">Bloggs, Joe</span>
				(2012)
				<em>This is the title of the thesis.</em>	
				PhD thesis, University of White Rose.

				<div class="ep_block">
					<table style="margin: 0 auto;">
						<tbody>
							<tr>
								<td valign="center">
									<a href="#"><img border="0" src="/style/images/fileicons/text.png" alt="[img]" class="ep_doc_icon" /></a>
								</td>
								<td>
									<span class="ep_document_citation">
										<a href="#"><span class="document_format">Text</span></a>
										<br /><span class="document_filename">Thesis.pdf</span>
										<br />Temporary Embargo (access restricted until embargo expiry date) until March 2017.  
									</span>
									<br />10Mb
								</td>
							</tr>
						</tbody>
					</table>
				</div>
				<div class="ep_sr_component">
					<div class="ep_sr_content">
						<div>Field: <strong>email address</strong> (required)</div>
						<div>Field: <strong>reason</strong></div>
					</div>
				</div>

			</div>

			<hr />

			<h3>Emails sent when request is placed</h3>
			<div class="mail">
				<div><strong>Sent to:</strong> contact email</div>
				<div><strong>Subject:</strong> <epc:phrase ref="request/request_email:subject"><epc:param name="eprint">Thesis title</epc:param></epc:phrase>
				</div>
				<div><strong>Body:</strong>
					<epc:phrase ref="request/request_email:body"><epc:param name="eprint">Thesis title link</epc:param><epc:param name="document">Document</epc:param><epc:param name="requester">requester@email</epc:param><epc:param name="reason">The reason specified</epc:param></epc:phrase>
					<epc:phrase ref="request/request_email:links"><epc:param name="accept"><a href="#">Accept link</a> </epc:param><epc:param name="reject"><a href="#">Reject link</a> </epc:param></epc:phrase>
				</div>
			</div>
			<hr />
			
			<div class="mail">
				<div><strong>Sent to:</strong> requester email</div>
				<div><strong>Subject:</strong> <epc:phrase ref="request/ack_email:subject"><epc:param name="eprint">Thesis title</epc:param></epc:phrase>
				</div>
				<div><strong>Body:</strong>
					<epc:phrase ref="request/ack_email:body"><epc:param name="eprint">Thesis title link</epc:param><epc:param name="document">Document</epc:param></epc:phrase>

				</div>
			</div>

			<hr />

			<h3>Emails sent when request is <strong>ACCEPTED</strong></h3>
			<div class="mail">
				<div><strong>Sent to:</strong> requester email</div>
				<div><strong>Subject:</strong> <epc:phrase ref="request/response_email:subject"><epc:param name="eprint">Thesis title</epc:param></epc:phrase>
				</div>
				<div><strong>Body:</strong>
					<epc:phrase ref="request/response_email:body_accept"><epc:param name="eprint">Thesis title link</epc:param><epc:param name="document">Document</epc:param><epc:param name="reason">The reason specified</epc:param></epc:phrase>
					<br />(If no rejection reason is specified, this is added: &quot;<epc:phrase ref="Plugin/Screen/EPrint/RequestRemoval:reason" />&quot;)<br />
				</div>
				<div><strong>Attachments:</strong> The requested file is attached to the email.</div>
			</div>
			<hr />
			<h3>Emails sent when request is <strong>REJECTED</strong></h3>
			<div class="mail">
				<div><strong>Sent to:</strong> requester email</div>
				<div><strong>Subject:</strong> <epc:phrase ref="request/response_email:subject"><epc:param name="eprint">Thesis title</epc:param></epc:phrase>
				</div>
				<div><strong>Body:</strong>
					<epc:phrase ref="request/response_email:body_reject"><epc:param name="eprint">Thesis title link</epc:param><epc:param name="document">Document</epc:param><epc:param name="reason">The reason specified</epc:param></epc:phrase>
					<br />(If no rejection reason is specified, this is added: &quot;<epc:phrase ref="Plugin/Screen/EPrint/RequestRemoval:reason" />&quot;)<br />
				</div>
			</div>
		</div>
	</div>
</xpage:body>
</xpage:page>
