You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
100 lines
2.8 KiB
100 lines
2.8 KiB
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>YaCy '#[clientname]#': Messages</title>
|
|
#%env/templates/metas.template%#
|
|
</head>
|
|
<body id="Messages">
|
|
#%env/templates/header.template%#
|
|
<h2>Messages</h2>
|
|
#(peersKnown)#::
|
|
<form enctype="multipart/form-data" action="MessageSend_p.html" method="get">
|
|
<fieldset><legend>Compose Message</legend>
|
|
<dl>
|
|
<dt><label for="peers">Send message to peer</label>:</dt>
|
|
<dd>
|
|
<select id="peers" name="hash">#{peers}#
|
|
<option value="#[hash]#">#[name]#</option>#{/peers}#
|
|
</select>
|
|
<input type="submit" name="submit" value="Compose" />
|
|
</dd>
|
|
</dl>
|
|
</fieldset></form>
|
|
#(/peersKnown)#
|
|
#(mode)#
|
|
<!-- List -->
|
|
<table border="0" cellpadding="2" cellspacing="1">
|
|
<tr class="TableHeader">
|
|
<td>Date</td>
|
|
<td>From</td>
|
|
<td>To</td>
|
|
<td>Subject</td>
|
|
<td>Action</td>
|
|
</tr>
|
|
#{messages}#
|
|
<tr class="TableCell#(dark)#Light::Dark#(/dark)#">
|
|
<td>#[date]#</td>
|
|
<td><a href="ViewProfile.html?hash=#[hash]#&display=1" title="View profile of peer #[from]#">#[from]#</a></td>
|
|
<td>#[to]#</td>
|
|
<td>#[subject]#</td>
|
|
<td>
|
|
<a href="Messages_p.html?action=view&object=#[key]#">view</a>
|
|
/
|
|
<a href="MessageSend_p.html?hash=#[hash]#&subject=Re: #[subject]#">reply</a>
|
|
/
|
|
<a href="Messages_p.html?action=delete&object=#[key]#">delete</a>
|
|
</td>
|
|
</tr>
|
|
#{/messages}#
|
|
</table>
|
|
#(error)#::<p class="error">I/O error reading message table: #[message]#</p>#(/error)#
|
|
::
|
|
<!-- View -->
|
|
<dl class="pairs">
|
|
<dt>
|
|
From:
|
|
</dt>
|
|
<dd>
|
|
<a href="ViewProfile.html?hash=#[hash]#&display=1" title="View profile of peer #[from]#">#[from]#</a>
|
|
</dd>
|
|
<dt>
|
|
To:
|
|
</dt>
|
|
<dd>
|
|
#[to]#
|
|
</dd>
|
|
<dt>
|
|
Date:
|
|
</dt>
|
|
<dd>
|
|
#[date]#
|
|
</dd>
|
|
<dt>
|
|
Subject:
|
|
</dt>
|
|
<dd>
|
|
#[subject]#
|
|
</dd>
|
|
<dt>
|
|
Message:
|
|
</dt>
|
|
<dd>
|
|
#[message]#
|
|
</dd>
|
|
<dt>
|
|
Action:
|
|
</dt>
|
|
<dd>
|
|
<a href="Messages_p.html">inbox</a>
|
|
/
|
|
<a href="MessageSend_p.html?hash=#[hash]#&subject=Re: #[subject]#">reply</a>
|
|
/
|
|
<a href="Messages_p.html?action=delete&object=#[key]#">delete</a>
|
|
</dd>
|
|
</dl>
|
|
#(/mode)#
|
|
|
|
#%env/templates/footer.template%#
|
|
</body>
|
|
</html>
|