This repository has been archived on 2026-07-13. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
moreWiki/More Wiki in a jar/public/skins/default/wiki/edit-article.xsl
T
2012-01-08 15:18:29 +01:00

40 lines
1.3 KiB
XML

<?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>