border-color: #AAF;
}
-.wikitext h2 { font-size: 1.5em; margin: .3em 0em; }
-.wikitext h3 { font-size: 1.2em; }
+.wikitext h1 { font-size: 1.5em; margin: .3em 0em; }
+.wikitext h2 { font-size: 1.2em; }
}
show_news(){
- stat -c '' Home/<0000000000-9999999999>_<000-999>.news && for each in $(ls -c Home/<0000000000-9999999999>_<000-999>.news); do
+ for each in $(ls -r Home/<0000000000-9999999999>_<000-999>.news); do
info="$(sed 's:Home/::;s:.news::' <<<"$each")"
cat <<HomeEND
TasksEND
}
-setup_taks(){
+setup_task(){
cat <<TaskEnd
- <form class="Task" style="height:20em;" method="post" action="write/$($LOGIN && echo user_)taskmeta.cgi" accept-charset="UTF-8">
+ <form class="Task" style="height:20em;" method="post" action="?action=taskmeta" accept-charset="UTF-8">
<h1>$new</h1>
<input type="hidden" name="headline" value="$new">
<input type="hidden" name="status" value="new">
.article a{
text-decoration: none;
}
+
+.wikitext h1.wikihead {
+ text-align: center;
+ font: normal bold 2em sans-serif;
+ margin: 0em 0em 0em 0em;
+ border-style: none none solid none;
+ border-width: 1px;
+}
+.wikitext h1.wikihead + h1{
+ margin: .5em 0em .3em 0em;
+}
+
list_comments() {
base="$1"
- stat -c '' Wiki/${base}.comment.<0000000001-9999999999>_<000-999> \
- && for each in $(ls -c Wiki/${base}.comment.<0000000001-9999999999>_<000-999>); do
+ for each in $(ls -r Wiki/${base}.comment.<0000000001-9999999999>_<000-999>); do
author=$(grep -m1 '^author=' "$each" |cut -d= -f2-)
echo "<div class='comment'><h1>$author wrote:</h1><div class='wikitext'>"
tail -n+2 $each |_wiki
</div>
<div id="MAIN">
<div class="wiki"><div class="wikitext">
- <h1>$title</h1>
+ <h1 class="wikihead">$title</h1>
$(_wiki Wiki/"${info}${rev}")
</div></div>
</div>
padding: 0em; margin: 0em;
}
.wikitext h1 {
- text-align: center;
- font: normal bold 2em sans-serif;
- margin: 0em 0em 0em 0em;
- border-style: none none solid none;
- border-width: 1px;
-}
-.wikitext h1 + h2{
- margin: .5em 0em .3em 0em;
-}
-.wikitext h2 {
text-align: left;
font: normal bold 1.3em sans-serif;
margin: 1em 0em .3em 0em;
border-style: none none solid none;
border-width: 1px; border-color: #AAF;
}
-.wikitext h2 + p { margin: 0em; }
-.wikitext h3 {
+.wikitext h1 + p { margin: 0em; }
+.wikitext h2 {
text-align: left;
font-size: 1.1em;
margin: .6em 0em .3em 0em;
}
-.wikitext h3 + p { margin: 0em; }
-.wikitext h4 {
+.wikitext h2 + p { margin: 0em; }
+.wikitext h3 {
text-align: left;
font-size: 1em;
margin: .6em 0em .3em 0em;
}
-.wikitext h4 + p { margin: 0em; }
+.wikitext h3 + p { margin: 0em; }
.wikitext p {
margin: .6em 0em;
}