WackoWiki : Dev/PatchesHacks/Comments

Action: Comments

taken from show.php, to made them also available inside bookmarks and wikipages

{{comments [page="CommentThisPage"] [text="your text"]}}

/actions/comments.php
<a href="<?php 
if ($for$page=$for
if (!
$page) {$page "";}
$output .= $this->href(""$page"show_comments=1#comments")."\">";
 if (!
$text)
 
$output .= $this->GetResourceValue("ShowComments"); 
 else
 
$output .= $text
echo (
$output);
?></a>

To Do