Author: sdumitriu
Date: 2008-02-13 18:04:52 +0100 (Wed, 13 Feb 2008)
New Revision: 7630
Removed:
xwiki-platform/web/trunk/standard/src/main/webapp/templates/comments.vm
Log:
XWIKI-2114: Upgrade the default templates
XSALBATROSS-13: Move Albatross templates files to the XWiki Core templates
directory to share them with other skins
Deleted: xwiki-platform/web/trunk/standard/src/main/webapp/templates/comments.vm
===================================================================
--- xwiki-platform/web/trunk/standard/src/main/webapp/templates/comments.vm
2008-02-13 17:02:46 UTC (rev 7629)
+++ xwiki-platform/web/trunk/standard/src/main/webapp/templates/comments.vm
2008-02-13 17:04:52 UTC (rev 7630)
@@ -1,67 +0,0 @@
-#template("xwiki.vm")
-#template("httpheader.vm")
-#template("header.vm")
-#template("viewheader.vm")
-#if($message)
-<div id="xwikimessage">
-$message
-</div>
-#end
-<div id="xwikicontent">
-<div id="xwikiaddcomment">
-#if($xwiki.hasAccessLevel("comment")==false)
-$msg.get("nocommentswithoutright")
-#else
-#set($cclass = $xwiki.getDocument("XWiki.XWikiComments").getxWikiClass())
-#set($comment = $cclass.newObject())
-<form action="$doc.getURL("commentadd")" method="post">
-<p>
-<input type="hidden" name="xredirect" value="${doc.getURL("view")}" />
-<br /><br />
-$msg.get("author"): $xwiki.renderText("[${context.user}]", $doc)
-<input type="hidden" name="XWiki.XWikiComments_author" value="$context.user" />
-<input type="hidden" name="XWiki.XWikiComments_date" value="" />
-<br />
-<!--
-#set($pclass = $comment.getxWikiClass().get("highlight"))
-<br />$msg.get("highlight"):<br />
-$doc.displayEdit($pclass,"XWiki.XWikiComments_",$comment)
-<br /><br />
--->
-$msg.get("newcomment")<br />
-#set($pclass = $comment.getxWikiClass().get("comment"))
-$doc.displayEdit($pclass,"XWiki.XWikiComments_",$comment)
-<br />
-#if ($captchaPlugin)
- #if ($request.confirm == "false")
- <br /><font color="red">$msg.get("confirmcommentnotcorrect")</font>
- #end
- $captchaPlugin.displayCaptcha("comment","wiki_captcha")
-#end
-<br />
-<input type="submit" value="$msg.get("addcomment")" />
-</p>
-</form>
-#end
-#includeHelp("CommentHelp")
-<div id="xwikidata" class="clear">
-#set($showcomments = "open")
-#template("comments2.vm")
-</div>
-</div>
-</div>
-<script type="text/javascript">
-<!--
-function showhide(divname) {
- var style = document.getElementById(divname).style;
- if ((style.display=='block')||(style.display=='')) {
- style.display='none';
- }
- else {
- style.display='block';
- }
-}
-// -->
-</script>
-#template("basefooter.vm")
-#template("footer.vm")
_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications