summaryrefslogtreecommitdiff
path: root/htroot/MessageSend_p.html
diff options
context:
space:
mode:
authormichitux <michitux@6c8d7289-2bf4-0310-a012-ef5d649a1542>2006-09-11 18:18:12 +0000
committermichitux <michitux@6c8d7289-2bf4-0310-a012-ef5d649a1542>2006-09-11 18:18:12 +0000
commit31393312d03342691b394caa3cde8a2f291f8a9b (patch)
tree7489067e9a32db0a25088d65c13ed419c49b83c1 /htroot/MessageSend_p.html
parent005400a13747bca0023e03d7ec0ef0894bb7b8df (diff)
New XHTML-template for a large part of the frontend, for details see http://yacy-websuche.de/wiki/index.php/Dev:XHTML
If you don't use the default skin, the style will be broken or at least not complete. YaCy now has two css-files: base.css in htroot/env and the skin. In base.css the layout and black/white text-formating-rules are defined. Colors are only defined in the skin. The skin is now very easy to read and to change. If you want to make more changes than the colors you see in the default-skin, feel free to use the full power of css, but you are warned: The code is still not ready and may change, but we try to avoid changes which affect anything in the default-style. Translation will be broken too because the language-files contain HTML-Code which has changed. git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2547 6c8d7289-2bf4-0310-a012-ef5d649a1542
Diffstat (limited to 'htroot/MessageSend_p.html')
-rw-r--r--htroot/MessageSend_p.html160
1 files changed, 83 insertions, 77 deletions
diff --git a/htroot/MessageSend_p.html b/htroot/MessageSend_p.html
index 8f9da8db0..795181d19 100644
--- a/htroot/MessageSend_p.html
+++ b/htroot/MessageSend_p.html
@@ -1,78 +1,84 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
-<html>
-<head>
-<title>YaCy '#[clientname]#': Send message</title>
-#%env/templates/metas.template%#
-</head>
-<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
-#%env/templates/header.template%#
-<br><br>
-<h2>Send message</h2><br>
-
-#(mode)#
-<!-- =========================== write message =========================== -->
- #(permission)#
- <!-- we have no permission to send the message -->
- <p>You cannot send a message to <b>#[peerName]#</b>.<br>
- The peer does not respond. It was now removed from the peer-list.
- </p>
- ::
- <!-- we have the permission to send the message -->
- <p>The peer <b>#[peerName]#</b> is alive and responded:</p>
- <p><tt class="MessageBackground">#[response]#
- You are allowed to send me a message &le; #[messagesize]# kb and an
- attachment &le; #[attachmentsize]#.</tt>
- </p>
-
- <form action="MessageSend_p.html" method="post" enctype="multipart/form-data" accept-charset="UTF-8">
- <br>
- <br>
- <p><h3>Your Message</h3></p>
- <p>Subject:<br>
- <input name="subject" type="text" size="80" maxlength="80" value="#[subject]#">
- </p>
- <p>Text:<br>
- <textarea name="message" cols="80" rows="8">#[message]#</textarea>
- <br><font size="-1">You can use <a href="WikiHelp.html" target="_blank" onClick="window.open('WikiHelp.html','WikiHelp','toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=640,height=480');return false;">Wiki Code</a> here.</font>
- </p>
- <input type="hidden" name="hash" value="#[hash]#">
- <input type="hidden" name="messagesize" value="#[messagesize]#">
- <input type="hidden" name="attachmentsize" value="#[attachmentsize]#">
- <input name="new" type="submit" value="Enter">
- </form>
- ::
- <!-- peer cannot respond -->
- <p>You cannot send a message to <b>#[peerName]#</b>.<br>
- The peer is alive but cannot respond. Sorry.
- </p>
- #(/permission)#
-
-::
-<!-- =========================== send message =========================== -->
- #(status)#
- <!-- Message send successfully -->
-
- <p>Your message has been sent. The target peer responded:</p>
- <p><tt class="MessageBackground">#[response]#</tt></p>
-
- :: <!-- Message could not be send -->
-
- <p>The target peer is alive but did not receive your message. Sorry.</p>
- <p>
- Here is a copy of your message, so you can copy it to save it for further attempts:<br>
- <tt class="MessageBackground">#[message]#</tt>
- </p>
- #(/status)#
-
-::
-<!-- illegal usage of this page -->
- <p>You cannot call this page directly. Instead, use a link on the <a href="Network.html">Network</a> page.</p>
-#(/mode)#
-
-<!--
-#[body]#
--->
-
-#%env/templates/footer.template%#
-</body>
+<!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]#': Send message</title>
+ #%env/templates/metas.template%#
+ </head>
+ <body id="MessageSend">
+ #%env/templates/header.template%#
+ <h2>Send message</h2>
+ #(mode)#
+ <!-- =========================== write message =========================== -->
+ #(permission)#
+ <!-- we have no permission to send the message -->
+ <p>You cannot send a message to <strong>#[peerName]#</strong>.<br />
+ The peer does not respond. It was now removed from the peer-list.
+ </p>
+ ::
+ <!-- we have the permission to send the message -->
+ <p>The peer <b>#[peerName]#</b> is alive and responded:</p>
+ <p><tt class="MessageBackground">#[response]#
+ You are allowed to send me a message &le; #[messagesize]# kb and an
+ attachment &le; #[attachmentsize]#.</tt>
+ </p>
+
+ <form action="MessageSend_p.html" method="post" enctype="multipart/form-data" accept-charset="UTF-8">
+ <fieldset>
+ <legend>Your Message</legend>
+ <dl>
+ <dt>
+ <label for="subject">Subject:</label>
+ </dt>
+ <dd>
+ <input name="subject" id="subject" type="text" size="80" maxlength="80" value="#[subject]#" />
+ </dd>
+ <dt>
+ <label for="message">Text:</label>
+ </dt>
+ <dd>
+ <textarea name="message" id="message" cols="80" rows="8">#[message]#</textarea>
+ <p class="help">
+ You can use <a href="WikiHelp.html" onclick="window.open('WikiHelp.html','WikiHelp','toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=640,height=480');return false;">Wiki Code</a> here.
+ </p>
+ </dd>
+ </dl>
+ <input type="hidden" name="hash" value="#[hash]#" />
+ <input type="hidden" name="messagesize" value="#[messagesize]#" />
+ <input type="hidden" name="attachmentsize" value="#[attachmentsize]#" />
+ <input name="new" type="submit" value="Enter" />
+ </fieldset>
+ </form>
+ ::
+ <!-- peer cannot respond -->
+ <p>
+ You cannot send a message to <strong>#[peerName]#</strong>.<br />
+ The peer is alive but cannot respond. Sorry.
+ </p>
+ #(/permission)#
+ ::
+ <!-- =========================== send message =========================== -->
+ #(status)#
+ <!-- Message send successfully -->
+
+ <p>Your message has been sent. The target peer responded:</p>
+ <p class="Message"><tt>#[response]#</tt></p>
+
+ :: <!-- Message could not be send -->
+
+ <p>The target peer is alive but did not receive your message. Sorry.</p>
+ <p>
+ Here is a copy of your message, so you can copy it to save it for further attempts:
+ </p>
+ <p class="Message">
+ <tt>#[message]#</tt>
+ </p>
+ #(/status)#
+
+ ::
+ <!-- illegal usage of this page -->
+ <p>You cannot call this page directly. Instead, use a link on the <a href="Network.html">Network</a> page.</p>
+ #(/mode)#
+
+ #%env/templates/footer.template%#
+ </body>
</html>