click to add dest to addressbook

This commit is contained in:
zzz
2009-03-03 19:06:52 +00:00
parent ca783caff1
commit 1d690f46ae
2 changed files with 5 additions and 2 deletions

View File

@ -149,7 +149,9 @@
<span class="accessKey">L</span>ocal destination: <span class="accessKey">L</span>ocal destination:
</label> </label>
<textarea rows="1" cols="60" readonly="readonly" id="localDestination" title="Read Only: Local Destination (if known)" wrap="off"><%=editBean.getDestinationBase64(curTunnel)%></textarea> <textarea rows="1" cols="60" readonly="readonly" id="localDestination" title="Read Only: Local Destination (if known)" wrap="off"><%=editBean.getDestinationBase64(curTunnel)%></textarea>
<span class="comment">(if known)</span> <% if (!"".equals(editBean.getDestinationBase64(curTunnel))) { %>
<a href="/susidns/addressbook.jsp?book=private&hostname=<%=editBean.getTunnelName(curTunnel)%>&destination=<%=editBean.getDestinationBase64(curTunnel)%>#add">Add to local addressbook</a>
<% } %>
</div> </div>
<div class="footer"> <div class="footer">

View File

@ -160,7 +160,8 @@
<div id="add"> <div id="add">
<p class="add"> <p class="add">
<h3>Add new destination:</h3> <h3>Add new destination:</h3>
Hostname: <input type="text" name="hostname" value="" size="20"> Destination: <textarea name="destination" rows="1" cols="20" wrap="off" ></textarea><br/> Hostname: <input type="text" name="hostname" value="${book.hostname}" size="20">
Destination: <textarea name="destination" rows="1" cols="20" wrap="off" >${book.destination}</textarea><br/>
<input type="image" name="action" value="add" src="images/add.png" alt="Add destination" /> <input type="image" name="action" value="add" src="images/add.png" alt="Add destination" />
</p> </p>
</div> </div>