yacy_search_server/htroot/Wiki.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

114 lines
4.3 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]#': Wiki</title>
#%env/templates/metas.template%#
</head>
<body id="Wiki">
#%env/templates/header.template%#
#(mode)#
<!-- 0: viewing -->
<div class="Post">
<h2 class="PostSubject">yacyWiki page: #[pagename]#</h2>
<div class="PostBody">
#[page]#
</div>
<p class="PostInfo">
last edited by #[author]# | change date #[date]# | <a href="Wiki.html?page=#[pagename]#&amp;edit=Edit">Edit</a>
</p>
</div>
<p class="Navigation"><a href="Wiki.html">Start Page</a> - <a href="Wiki.html?index=Index">Index</a></p>
::
<!-- 1: edit -->
<form action="Wiki.html" method="post" enctype="multipart/form-data" accept-charset="UTF-8">
<fieldset>
<dl>
<dt><label for="author">Author:</label></dt>
<dd>
<input name="author" id="author" type="text" size="80" maxlength="80" value="#[author]#" />
</dd>
<dt><label for="content">Text:</label></dt>
<dd>
<textarea name="content" id="content" cols="80" rows="24">#[page-code]#</textarea>
</dd>
</dl>
<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>
<input type="hidden" name="page" value="#[pagename]#" />
<input type="hidden" name="reason" value="edit" />
<input type="submit" name="submit" value="Submit" />
<input type="submit" name="preview" value="Preview" />
<input type="submit" name="view" value="Discard" />
</fieldset>
</form>
::
<!-- 2: preview -->
<h2>Preview</h2>
<p>No changes have been submitted so far!</p>
<div class="Post">
<h2 class="PostSubject">yacyWiki page: #[pagename]#</h2>
<div class="PostBody">
#[page]#
</div>
<p class="PostInfo">
last edited by #[author]# | change date #[date]#
</p>
</div>
<form action="Wiki.html" method="post" enctype="multipart/form-data" accept-charset="UTF-8">
<fieldset>
<input type="submit" name="submit" value="Submit" />
<input type="submit" name="view" value="Discard" />
</fieldset>
<h2>Edit</h2>
<fieldset>
<dl>
<dt><label for="author">Author:</label></dt>
<dd>
<input name="author" id="author" type="text" size="80" maxlength="80" value="#[author]#" />
</dd>
<dt><label for="content">Text:</label></dt>
<dd>
<textarea name="content" id="content" cols="80" rows="24">#[page-code]#</textarea>
</dd>
</dl>
<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>
<input type="hidden" name="page" value="#[pagename]#" />
<input type="hidden" name="reason" value="edit" />
<input type="submit" name="submit" value="Submit" />
<input type="submit" name="preview" value="Preview" />
<input type="submit" name="view" value="Discard" />
</fieldset>
</form>
::
<!-- 3: Index -->
<table border="0" cellpadding="5" cellspacing="0">
<tr class="TableHeader">
<td>Subject</td>
<td>Change Date</td>
<td>Last Author</td>
</tr>
#{pages}#
<tr class="TableCellLight">
<td><a href="Wiki.html?page=#[name]#">#[subject]#</a></td>
<td>#[date]#</td>
<td>#[author]#</td>
</tr>
#{/pages}#
</table>
#(error)#::<p class="error">IO Error reading wiki database: #[message]#</p>#(/error)#
<p class="Navigation">
<a href="Wiki.html">Start Page</a>
</p>
#(/mode)#
<p>Changes will be published as announcement on YaCyNews</p>
#%env/templates/footer.template%#
</body>
</html>