inital commit - Durchstich
@@ -0,0 +1,42 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:template match="admin-page">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="/admin/shutdown" accesskey="s" title="Shutdown [Alt-s]">shutdown this wiki server</a>
|
||||
</li>
|
||||
<li>
|
||||
<xsl:choose>
|
||||
<xsl:when
|
||||
test="only-local-connections/@value = 'yes'">
|
||||
<a href="/admin/toggleconnections" accesskey="a" title="Allow [Alt-a]">
|
||||
allow remote connections to this wiki server
|
||||
</a>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<a href="/admin/toggleconnections" accesskey="b" title="Block [Alt-b]">
|
||||
block remote connections to this wiki server
|
||||
</a>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</li>
|
||||
</ul>
|
||||
<p> </p>
|
||||
<p>
|
||||
If remote connections are allowed, everybody who knows the
|
||||
host name and port of the machine that is running the wiki
|
||||
server can connect to it. That is useful if you would like
|
||||
access to your notes from other machines, but keep in mind
|
||||
that other people have access as well.
|
||||
</p>
|
||||
<p> </p>
|
||||
<p>
|
||||
By default the wiki server is blocking all connections that
|
||||
come from remote machines.
|
||||
</p>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
@@ -0,0 +1,6 @@
|
||||
#calendar {
|
||||
float: right;
|
||||
padding-top: 10px;
|
||||
padding-right: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
@@ -0,0 +1,135 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:template match="calendar">
|
||||
<div id="calendar">
|
||||
<table id="month">
|
||||
<caption>
|
||||
<a title="Previous [Alt-p]" accesskey="p">
|
||||
<xsl:attribute name="href">
|
||||
<xsl:value-of select="month/@prevlink" />
|
||||
</xsl:attribute>
|
||||
«
|
||||
</a>
|
||||
<xsl:value-of select="month/@name" />
|
||||
 
|
||||
<xsl:value-of select="month/@year" />
|
||||
<a title="Next [Alt-n]" accesskey="n">
|
||||
<xsl:attribute name="href">
|
||||
<xsl:value-of select="month/@nextlink" />
|
||||
</xsl:attribute>
|
||||
»
|
||||
</a>
|
||||
</caption>
|
||||
<tr>
|
||||
<th>S</th>
|
||||
<th>M</th>
|
||||
<th>T</th>
|
||||
<th>W</th>
|
||||
<th>T</th>
|
||||
<th>F</th>
|
||||
<th>S</th>
|
||||
</tr>
|
||||
<xsl:apply-templates select="month/week" />
|
||||
</table>
|
||||
</div>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="week">
|
||||
<tr>
|
||||
<xsl:for-each select="filler">
|
||||
<td />
|
||||
</xsl:for-each>
|
||||
<xsl:for-each select="day">
|
||||
<td>
|
||||
<xsl:choose>
|
||||
<xsl:when test="@eventlink">
|
||||
<a>
|
||||
<xsl:attribute name="href">
|
||||
<xsl:value-of select="@eventlink" />
|
||||
</xsl:attribute>
|
||||
<xsl:value-of select="@dayofmonth" />
|
||||
</a>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:choose>
|
||||
<xsl:when test="@weekend = 'yes'">
|
||||
<b>
|
||||
<xsl:value-of
|
||||
select="@dayofmonth" />
|
||||
</b>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="@dayofmonth" />
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</td>
|
||||
</xsl:for-each>
|
||||
</tr>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="events">
|
||||
<xsl:apply-templates select="past" />
|
||||
<xsl:apply-templates select="today" />
|
||||
<xsl:apply-templates select="future" />
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="past">
|
||||
<xsl:if test="count(event) > 0">
|
||||
<h2>Past Events</h2>
|
||||
<ul>
|
||||
<xsl:apply-templates select="event" />
|
||||
</ul>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="future">
|
||||
<xsl:if test="count(event) > 0">
|
||||
<h2>Upcoming Events</h2>
|
||||
<ul>
|
||||
<xsl:apply-templates select="event" />
|
||||
</ul>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="today">
|
||||
<xsl:if test="count(event) > 0">
|
||||
<h2>Today's Events</h2>
|
||||
<ul>
|
||||
<xsl:apply-templates select="event" />
|
||||
</ul>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="event">
|
||||
<li>
|
||||
<xsl:choose>
|
||||
<xsl:when test="@isbirthday = 'true'">
|
||||
<a>
|
||||
<xsl:attribute name="href">
|
||||
/vcard/show/
|
||||
<xsl:value-of select="@id" />
|
||||
</xsl:attribute>
|
||||
<xsl:value-of select="@id" />
|
||||
's birthday (
|
||||
<xsl:value-of select="@date" />
|
||||
)
|
||||
</a>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<a>
|
||||
<xsl:attribute name="href">
|
||||
/wiki/show/
|
||||
<xsl:value-of select="@id" />
|
||||
</xsl:attribute>
|
||||
<xsl:value-of select="@id" />
|
||||
</a>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</li>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
|
After Width: | Height: | Size: 693 B |
|
After Width: | Height: | Size: 693 B |
|
After Width: | Height: | Size: 285 B |
|
After Width: | Height: | Size: 279 B |
|
After Width: | Height: | Size: 285 B |
|
After Width: | Height: | Size: 420 B |
|
After Width: | Height: | Size: 420 B |
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:template match="error">
|
||||
<h2>Error</h2>
|
||||
<pre>
|
||||
<xsl:value-of select="message" />
|
||||
</pre>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
@@ -0,0 +1,13 @@
|
||||
#pretty_table {
|
||||
margin:1em 1em 1em 0;
|
||||
border:solid 1px #AAAAAA;
|
||||
border-collapse:collapse;
|
||||
empty-cells:show;
|
||||
}
|
||||
|
||||
#content_table {
|
||||
border:solid 1px;
|
||||
cellspacing: 0;
|
||||
cellpadding: 10
|
||||
rules: none;
|
||||
}
|
||||
|
After Width: | Height: | Size: 51 B |
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,94 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:template match="main-menu">
|
||||
<table cellspacing="0" cellpadding="0" border="0"
|
||||
style="padding: 0; margin: 0; border: 0">
|
||||
<tr>
|
||||
<td width="5px">
|
||||
<img src="/public/skins/default/common/ctl.png"
|
||||
height="24" />
|
||||
</td>
|
||||
<td style="padding-left: 10px"></td>
|
||||
<xsl:apply-templates select="home-menu-entry" />
|
||||
<xsl:apply-templates select="main-menu-entry" />
|
||||
<xsl:apply-templates select="article-menu" />
|
||||
<td width="100%"></td>
|
||||
<td>
|
||||
<form method="GET" action="/find/pages/"
|
||||
name="findform">
|
||||
<div id="search-bar">
|
||||
<input id="search-txt" type="text"
|
||||
tabindex="0" name="query" accesskey="f" title="Find [Alt-f]" />
|
||||
<input id="search-btn" type="submit"
|
||||
value="" title="Find [Alt-f]" />
|
||||
</div>
|
||||
</form>
|
||||
<script language="javascript">
|
||||
<!--
|
||||
document.findform.query.focus();
|
||||
// -->
|
||||
</script>
|
||||
</td>
|
||||
<td style="padding: 0; text-align: right">
|
||||
<img src="/public/skins/default/common/ctr.png"
|
||||
height="24" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="article-menu">
|
||||
<td>
|
||||
<img src="/public/skins/default/common/left-corner.gif"
|
||||
width="4" height="24" />
|
||||
</td>
|
||||
<td id="tab-selected">
|
||||
<xsl:attribute name="bgcolor">#FFFFFF</xsl:attribute>
|
||||
<xsl:value-of select="/page/article/id" />
|
||||
</td>
|
||||
<td>
|
||||
<img src="/public/skins/default/common/right-corner.gif"
|
||||
width="15" height="24" />
|
||||
</td>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="main-menu-entry">
|
||||
<xsl:choose>
|
||||
<xsl:when test="@selected = 'yes'">
|
||||
<td>
|
||||
<img
|
||||
src="/public/skins/default/common/left-corner.gif" width="4"
|
||||
height="24" />
|
||||
</td>
|
||||
<td id="tab-selected">
|
||||
<xsl:value-of select="@value" />
|
||||
</td>
|
||||
<td>
|
||||
<img
|
||||
src="/public/skins/default/common/right-corner.gif" width="15"
|
||||
height="24" />
|
||||
</td>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<td id="menu-entry">
|
||||
<a style="color: #FFF; font-weight: bold; ">
|
||||
<xsl:attribute name="href">
|
||||
<xsl:value-of select="@link" />
|
||||
</xsl:attribute>
|
||||
<xsl:attribute name="title">
|
||||
<xsl:value-of select="@title" />
|
||||
</xsl:attribute>
|
||||
<xsl:attribute name="accesskey">
|
||||
<xsl:value-of select="@accesskey" />
|
||||
</xsl:attribute>
|
||||
<xsl:value-of select="@value" />
|
||||
</a>
|
||||
</td>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
After Width: | Height: | Size: 88 B |
@@ -0,0 +1,280 @@
|
||||
body {
|
||||
text-align: center;
|
||||
margin: 0 0 40px 0;
|
||||
padding: 0;
|
||||
background-color: #EF8F00;
|
||||
font-family: arial, sans-serif;
|
||||
font-size: 9pt;
|
||||
}
|
||||
|
||||
#header-content {
|
||||
background-color: #2D4386;
|
||||
}
|
||||
|
||||
#header-logo{
|
||||
margin: 0 20px;
|
||||
height: 45px;
|
||||
color: #FFF;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
#header-menu {
|
||||
margin: 0 20px;
|
||||
padding: 0;
|
||||
height: 24px;
|
||||
background-color: #5F76BC;
|
||||
}
|
||||
|
||||
#main-menu table{
|
||||
width: 100%;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
#menu-entry {
|
||||
padding-left: 0.5em;
|
||||
padding-right: 0.5em;
|
||||
font-size: 9pt;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#menu-entry span {
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
#tab-selected {
|
||||
background-color: #FFF;
|
||||
white-space: nowrap;
|
||||
padding-left: 0.5em;
|
||||
padding-right: 0.5em;
|
||||
font-size: 9pt;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#main-content {
|
||||
background-color: #DBCFBD;
|
||||
}
|
||||
|
||||
#sub-menu {
|
||||
text-align: left;
|
||||
margin: 0 20px;
|
||||
padding: 0.2em 0;
|
||||
border-bottom: 1px solid #DBCFBD;
|
||||
background-color: #FFF;
|
||||
font-size: 9pt;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#selected-sub-menu {
|
||||
color: GRAY;
|
||||
}
|
||||
|
||||
#sub-menu span {
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
#content {
|
||||
text-align: left;
|
||||
margin: 0 20px;
|
||||
padding: 0;
|
||||
background-color: #FFF;
|
||||
}
|
||||
|
||||
#inner {
|
||||
padding: 1em;
|
||||
text-align: left;
|
||||
min-height: 400px;
|
||||
}
|
||||
|
||||
p, h1, h2, h3, h4, h5, h6 {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
ol, ul, li {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
#inner h1 {
|
||||
font-size: 18pt;
|
||||
font-weight: bold;
|
||||
margin: 0 0 10px 0;
|
||||
padding: 0;
|
||||
color: #2D4386;
|
||||
}
|
||||
|
||||
#inner h2 {
|
||||
font-size: 15pt;
|
||||
font-weight: bold;
|
||||
margin: 1px 0 5px 0;
|
||||
padding: 0;
|
||||
color: #2D4386;
|
||||
}
|
||||
|
||||
#inner h3 {
|
||||
font-size: 12pt;
|
||||
font-weight: bold;
|
||||
margin: 10px 0 4px 0;
|
||||
padding: 0;
|
||||
color: #2D4386;
|
||||
}
|
||||
|
||||
#inner h4 {
|
||||
font-size: 10pt;
|
||||
font-weight: bold;
|
||||
margin: 10px 0 4px 0;
|
||||
padding: 0;
|
||||
color: #2D4386;
|
||||
}
|
||||
|
||||
#inner h5 {
|
||||
font-size: 8pt;
|
||||
font-weight: bold;
|
||||
margin: 10px 0 4px 0;
|
||||
padding: 0;
|
||||
color: #2D4386;
|
||||
}
|
||||
|
||||
#inner h6 {
|
||||
font-size: 6pt;
|
||||
font-weight: bold;
|
||||
margin: 10px 0 4px 0;
|
||||
padding: 0;
|
||||
color: #2D4386;
|
||||
}
|
||||
|
||||
#tag-list {
|
||||
border-top: 1px solid #DBCFBD;
|
||||
padding: 0.2em 1em;
|
||||
}
|
||||
|
||||
#footer-content {
|
||||
|
||||
}
|
||||
|
||||
#footer {
|
||||
margin: 0 20px;
|
||||
padding: 0;
|
||||
height: 45px;
|
||||
background-color: #EFBF77;
|
||||
}
|
||||
|
||||
/****************************************/
|
||||
|
||||
#header-menu a {
|
||||
text-decoration: none;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
#header-menu a:visited {
|
||||
text-decoration: none;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
#sub-menu a {
|
||||
text-decoration: none;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
#sub-menu a:visited {
|
||||
text-decoration: none;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
#editlink {
|
||||
color: #EF8F00;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #5F76BC;
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
}
|
||||
a:visited {
|
||||
color: #5F76BC;
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#intended {
|
||||
font-size: 8pt;
|
||||
}
|
||||
|
||||
/***************************************/
|
||||
/* SEARCH BAR */
|
||||
/***************************************/
|
||||
|
||||
#search-bar {
|
||||
white-space: nowrap;
|
||||
border: 1px solid GRAY;
|
||||
background-color: #FFF;
|
||||
height: 16px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
#search-btn {
|
||||
border-width: 0px;
|
||||
width: 25px;
|
||||
height: 14px;
|
||||
background: url(/public/skins/default/common/mag.png) no-repeat center;
|
||||
}
|
||||
#search-txt{
|
||||
border-width: 0px;
|
||||
margin: 2px 4px;
|
||||
height: 12px;
|
||||
font-size: 7pt;
|
||||
}
|
||||
|
||||
form {
|
||||
margin: 0; /* IE specific fix*/
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
ul {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* TODO LIST ITEMS */
|
||||
|
||||
|
||||
#todo-done {
|
||||
|
||||
list-style-type: none;
|
||||
|
||||
background: url(/public/skins/default/common/cbx_x.gif) no-repeat left;
|
||||
|
||||
margin-left: 0;
|
||||
|
||||
padding-left: 15px;
|
||||
|
||||
text-decoration: line-through;
|
||||
|
||||
}
|
||||
|
||||
|
||||
#todo-imp {
|
||||
|
||||
list-style-type: none;
|
||||
|
||||
background: url(/public/skins/default/common/cbx_imp.gif) no-repeat left;
|
||||
|
||||
margin-left: 0;
|
||||
|
||||
padding-left: 15px;
|
||||
|
||||
}
|
||||
|
||||
|
||||
#todo-normal {
|
||||
|
||||
list-style-type: none;
|
||||
|
||||
background: url(/public/skins/default/common/cbx.gif) no-repeat left;
|
||||
|
||||
margin-left: 0;
|
||||
|
||||
padding-left: 15px;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,101 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:output doctype-public="-//W3C//DTD XHTML 1.1//EN" />
|
||||
|
||||
<xsl:template match="/">
|
||||
<html>
|
||||
<head>
|
||||
<link href="/public/skins/default/master.css"
|
||||
rel="stylesheet" type="text/css" />
|
||||
<title>
|
||||
<xsl:choose>
|
||||
<xsl:when test="/page/article/id">
|
||||
<xsl:value-of select="/page/article/id" />
|
||||
</xsl:when>
|
||||
<xsl:otherwise>wiki in a jar</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="header-content">
|
||||
<div id="header-logo">
|
||||
<br />
|
||||
</div>
|
||||
<div id="header-menu">
|
||||
<xsl:apply-templates select="/page/main-menu" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="main-content">
|
||||
<xsl:apply-templates select="/page/sub-menu" />
|
||||
<div id="content">
|
||||
<xsl:apply-templates
|
||||
select="/page/article/calendar" />
|
||||
<div id="inner">
|
||||
|
||||
<xsl:apply-templates
|
||||
select="/page/article/show-article" />
|
||||
<xsl:apply-templates
|
||||
select="/page/article/edit-article" />
|
||||
<xsl:apply-templates select="/page/error" />
|
||||
<xsl:apply-templates
|
||||
select="/page/article/tagtree" />
|
||||
<xsl:apply-templates
|
||||
select="/page/article/vcard" />
|
||||
<xsl:apply-templates
|
||||
select="/page/admin-page" />
|
||||
<xsl:apply-templates
|
||||
select="/page/article/events" />
|
||||
</div>
|
||||
<xsl:apply-templates
|
||||
select="/page/article/tag-list" />
|
||||
</div>
|
||||
</div>
|
||||
<div id="footer-content">
|
||||
<div id="footer">
|
||||
<table cellspacing="0" cellpadding="0"
|
||||
border="0" style="padding: 0; margin: 0; border: 0">
|
||||
<tr>
|
||||
<td width="5px">
|
||||
<img
|
||||
src="/public/skins/default/common/cbl.png" height="45" />
|
||||
</td>
|
||||
<td style="padding-left: 10px"></td>
|
||||
<td>
|
||||
<a
|
||||
style="color: #FFF;font-weight:bold;"
|
||||
href="http://morewikiinajar.sourceforge.net/">
|
||||
sourceforge.net
|
||||
</a>
|
||||
</td>
|
||||
<td width="100%"
|
||||
style="color: #FFF;font-size: xx-small;">
|
||||
do good!
|
||||
</td>
|
||||
<!-- I know, the style stuff shouldn't be here, but this is to keep my sanity! -->
|
||||
<td>
|
||||
<a
|
||||
style="color: #FFF;font-weight:bold;"
|
||||
href="/wiki/show/About More Wiki in a Jar">
|
||||
about
|
||||
</a>
|
||||
</td>
|
||||
<td style="padding-left: 10px"></td>
|
||||
<td
|
||||
style="padding: 0; text-align: right">
|
||||
<img
|
||||
src="/public/skins/default/common/cbr.png" height="45" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
@@ -0,0 +1,50 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:template match="sub-menu">
|
||||
<div id="sub-menu">
|
||||
<xsl:apply-templates select="edit-menu" />
|
||||
<xsl:apply-templates select="sub-menu-entry" />
|
||||
</div>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="edit-menu">
|
||||
<span>
|
||||
<a accesskey="e" title="Edit [Alt-e]">
|
||||
<xsl:attribute name="href">
|
||||
/wiki/edit/
|
||||
<xsl:value-of select="/page/article/id" />
|
||||
</xsl:attribute>
|
||||
<xsl:value-of select="." />
|
||||
</a>
|
||||
</span>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="sub-menu-entry">
|
||||
<xsl:choose>
|
||||
<xsl:when test="@selected = 'yes'">
|
||||
<span id="selected-sub-menu">
|
||||
<xsl:value-of select="@value" />
|
||||
</span>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<span>
|
||||
<a>
|
||||
<xsl:attribute name="href">
|
||||
<xsl:value-of select="@link" />
|
||||
</xsl:attribute>
|
||||
<xsl:attribute name="accesskey">
|
||||
<xsl:value-of select="@accesskey" />
|
||||
</xsl:attribute>
|
||||
<xsl:attribute name="title">
|
||||
<xsl:value-of select="@title" />
|
||||
</xsl:attribute>
|
||||
<xsl:value-of select="@value" />
|
||||
</a>
|
||||
</span>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:template match="tag-list">
|
||||
|
||||
<xsl:if test="count(tag) > 0">
|
||||
<div id="tag-list">
|
||||
tagged as
|
||||
<xsl:for-each select="tag">
|
||||
<a>
|
||||
<xsl:attribute name="href">
|
||||
/tag/tree/
|
||||
<xsl:value-of select="." />
|
||||
</xsl:attribute>
|
||||
<xsl:value-of select="." />
|
||||
</a>
|
||||
 
|
||||
</xsl:for-each>
|
||||
</div>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
@@ -0,0 +1,9 @@
|
||||
<h1><a name="XML-Syntaxerror">XML-Syntaxerror</a></h1>
|
||||
<p> </p>
|
||||
The rendering of the wiki page had an XML-Syntax error. Use the edit function to find the wiki syntax that created the error.
|
||||
<p> </p>
|
||||
To localize the problem see SAX error message and stack trace. If you are not sure which element causes the error try to use <nowiki> tags to disable wiki formatting on some of the text parts.
|
||||
<p> </p>
|
||||
If you are sure that the error is caused of an defect in the wiki renderer, then please go to <a href='http://morewikiinajar.sourceforge.net/'>http://morewikiinajar.sourceforge.net/</a> and use the bug reporting system.
|
||||
<p> </p>
|
||||
<hr/>
|
||||
@@ -0,0 +1,8 @@
|
||||
|
||||
/* Master css file imports all sub level css files. */
|
||||
|
||||
@import 'common/root.css';
|
||||
@import 'common/extraformat.css';
|
||||
@import 'vcard/vcard.css';
|
||||
@import 'tagtree/tagtree.css';
|
||||
@import 'calendar/calendar.css';
|
||||
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:include href="common/root.xsl" />
|
||||
<xsl:include href="common/main-menu.xsl" />
|
||||
<xsl:include href="common/sub-menu.xsl" />
|
||||
<xsl:include href="common/tag-list.xsl" />
|
||||
<xsl:include href="common/error.xsl" />
|
||||
<xsl:include href="admin/admin-page.xsl" />
|
||||
<xsl:include href="wiki/show-article.xsl" />
|
||||
<xsl:include href="wiki/edit-article.xsl" />
|
||||
<xsl:include href="vcard/vcard.xsl" />
|
||||
<xsl:include href="tagtree/tagtree.xsl" />
|
||||
<xsl:include href="calendar/calendar.xsl" />
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
After Width: | Height: | Size: 249 B |
|
After Width: | Height: | Size: 130 B |
@@ -0,0 +1,8 @@
|
||||
#tagtree-tag {
|
||||
padding-left: 20px;
|
||||
background: url(/public/skins/default/tagtree/folder.gif) no-repeat top left;
|
||||
}
|
||||
#tagtree-link {
|
||||
padding-left: 15px;
|
||||
background: url(/public/skins/default/tagtree/rarr.gif) no-repeat left;
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:template match="tagtree">
|
||||
<xsl:apply-templates select="tag" />
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="tag">
|
||||
<div id="tagtree">
|
||||
<div id="tagtree-tag">
|
||||
<a>
|
||||
<xsl:attribute name="href">
|
||||
<xsl:value-of select="@link" />
|
||||
</xsl:attribute>
|
||||
<xsl:value-of select="@name" />
|
||||
</a>
|
||||
<xsl:apply-templates select="tag" />
|
||||
<xsl:for-each select="taggable">
|
||||
<div id="tagtree-link">
|
||||
<a>
|
||||
<xsl:attribute name="href">
|
||||
<xsl:value-of select="@link" />
|
||||
</xsl:attribute>
|
||||
<xsl:value-of select="." />
|
||||
</a>
|
||||
</div>
|
||||
</xsl:for-each>
|
||||
</div>
|
||||
</div>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
@@ -0,0 +1,9 @@
|
||||
#vcard td{
|
||||
border-bottom: 1px solid gray;
|
||||
border-right: 1px solid gray;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
#vcard-proptype {
|
||||
color: GRAY;
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:template match="vcard">
|
||||
<h1>
|
||||
<xsl:value-of select="../id" />
|
||||
</h1>
|
||||
<table id="vcard" cellspacing="7">
|
||||
<xsl:for-each select="property">
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="@name" /> 
|
||||
<xsl:if test="count(type) > 0">
|
||||
<span id="vcard-proptype">(<xsl:for-each select="type">
|
||||
<xsl:value-of
|
||||
select="normalize-space(.)" /> 
|
||||
</xsl:for-each>)</span>
|
||||
</xsl:if>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="value" />
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
|
||||
<xsl:for-each select="formatted-property">
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="@name" /> 
|
||||
<xsl:if test="count(type) > 0">
|
||||
<span id="vcard-proptype">(<xsl:for-each select="type">
|
||||
<xsl:value-of
|
||||
select="normalize-space(.)" /> 
|
||||
</xsl:for-each>)</span>
|
||||
</xsl:if>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:copy-of select="value" />
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
|
||||
</table>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
@@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:template match="edit-article">
|
||||
<h1>
|
||||
Edit:
|
||||
<xsl:value-of select="normalize-space(/page/article/id)" />
|
||||
</h1>
|
||||
<a href="/wiki/show/Help+Formatting"
|
||||
onclick="javascript:w = window.open('/wiki/show/Help+Formatting','formattinghelp', config='height=300,width=800, toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, directories=no, status=no'); w.focus();return false;">
|
||||
Formatting help
|
||||
</a>
|
||||
<form method="POST" name="editform">
|
||||
<xsl:attribute name="action">
|
||||
/wiki/save/
|
||||
<xsl:value-of
|
||||
select="normalize-space(editfield/content-id)" />
|
||||
</xsl:attribute>
|
||||
<textarea name="article-content" rows="20" cols="80">
|
||||
<xsl:value-of select="editfield/content" />
|
||||
</textarea>
|
||||
<input type="hidden" name="article-name">
|
||||
<xsl:attribute name="value">
|
||||
<xsl:value-of
|
||||
select="normalize-space(editfield/content-id)" />
|
||||
</xsl:attribute>
|
||||
</input>
|
||||
<input type="submit" value="Save" accesskey="s"
|
||||
title="Save [Alt-s]" />
|
||||
<script language="javascript">
|
||||
<!--
|
||||
document.editform.article-content.focus();
|
||||
// -->
|
||||
</script>
|
||||
</form>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:template match="show-article">
|
||||
<h1>
|
||||
<xsl:value-of select="normalize-space(/page/article/id)" />
|
||||
</h1>
|
||||
<!-- just copy everything as it is expected to be HTML -->
|
||||
<xsl:copy-of select="content/*" />
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||