Files
i2p.itoopie/apps/i2pbote/WebContent/newEmail.jsp
2009-11-16 07:28:14 +00:00

59 lines
2.1 KiB
Plaintext

<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ib" uri="I2pBoteTags" %>
<jsp:include page="header.jsp">
<jsp:param name="title" value="New Email"/>
</jsp:include>
<div class="main">
<form action="sendEmail.jsp">
<table>
<tr>
<td>
From:
</td>
<td>
<select name="sender">
<option value="anonymous">Anonymous</option>
<c:forEach items="${ib:getIdentities().all}" var="identity">
<option value="${identity.key}">
${identity.publicName}
<c:if test="${!empty identity.description}"> - ${identity.description}</c:if>
</option>
</c:forEach>
</select>
</td>
</tr>
<tr>
<td>
<select name="recipientType0">
<option value="to">To:</option>
<option value="cc">CC:</option>
<option value="bcc">BCC:</option>
<option value="reply_to">Reply To:</option>
</select>
</td>
<td>
<input type="text" size="80" name="recipient0"/>
</td>
</tr>
<tr>
<td valign="top"><br/>Message:</td>
<td><textarea rows="30" cols="80" name="message"></textarea></td>
</tr>
<tr>
<td colspan=2 align="center">
<input type="submit" value="Send"/>
<input type="submit" value="Cancel"/>
<input type="submit" value="Save"/>
</td>
</tr>
</table>
</form>
</div>
<jsp:include page="footer.jsp"/>