talkpage.tpl.php in Talk 6
Same filename and directory in other branches
Overridable template file for talk page.
Available variables: $node represents the node whose comments we're displaying. $comments represents the rendered comments. $comment_link represents an "add new comment" link. $add_comments is TRUE if the user has permission to add comments. $redisplay is TRUE if the "add new comment" link should be redisplayed at the bottom of the page. $title represents the title of the talk page. Defaults to "Talk".
1 theme call to talkpage.tpl.php
- talk_handle in ./
talk.module - Menu callback for talk page.
File
talkpage.tpl.phpView source
<?php
// $Id$
/**
* @file
* Overridable template file for talk page.
*
* Available variables:
* $node represents the node whose comments we're displaying.
* $comments represents the rendered comments.
* $comment_link represents an "add new comment" link.
* $add_comments is TRUE if the user has permission to add comments.
* $redisplay is TRUE if the "add new comment" link should be redisplayed at the bottom of the page.
* $title represents the title of the talk page. Defaults to "Talk".
*/
if ($comment_link) {
?>
<p>
<?php
print $comment_link;
?>
</p>
<br />
<?php
}
print $comments;
if ($comment_link && $redisplay) {
?>
<p>
<?php
print $comment_link;
?>
</p>
<?php
}