yacy_search_server/htroot/CookieTest.html
michitux 31393312d0 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
2006-09-11 18:18:12 +00:00

64 lines
2.0 KiB
HTML

<!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]#': Cookie - Test Page</title>
#%env/templates/metas.template%#
</head>
<body id="CookieTest">
#%env/templates/header.template%#
<p>Here is a cookie test page.</p>
<hr />
<form action="">
<fieldset>
<input type="hidden" name="act" value="clear_cookie" />
<input type="submit" name="set_action" value="Just clean it" />
</fieldset>
</form>
<hr />
<form action="">
<fieldset>
<input type="hidden" name="act" value="set_cookie" />
<dl>
<dt><label for="cookie_name">Name:</label></dt>
<dd><input type="text" name="cookie_name" id="cookie_name" /></dd>
<dt><label for="cookie_value">Value:</label></dt>
<dd><input type="text" name="cookie_value" id="cookie_value" /></dd>
</dl>
<input type="submit" name="set_action" value="Dear server, set this coockie for me!" />
</fieldset>
</form>
<hr />
<p>Cookies at this browser:</p>
<p>
<script type="text/javascript">
<!--
document.write(document.cookie.split(';').join(';<br />'))
//-->
</script>
</p>
#(cookiesout)#
::
<hr />
<p>Cookies coming to server:</p>
#(/cookiesout)#
<p>#{cookiesout}#
#[string]#
#{/cookiesout}#</p>
#(cookiesin)#
::
<hr />
<p>Cookies server sent:</p>
#(/cookiesin)#
<p>#{cookiesin}#
#[name]# = #[value]#
#{/cookiesin}#</p>
<p class="info">YaCy is a GPL'ed project
with the target of implementing a P2P-based global search engine.<br />
Architecture (C) by Michael Peter Christen,
<img src="/env/grafics/mcemailh.gif" alt="Mail-Adresse von Michael Peter Christen" />
</p>
#%env/templates/footer.template%#
</body>
</html>