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
-
{{Comments page="plsComment"}}
-
{{Comments text="your text instead of GetResourceValue"}}
- Kommentar schreiben
- Comment Tip (?) page or so
- focus option -> focus to comment form if wanted cause there where lots of comments ahead