isHidden()){
$x = " - getID()."$tokens\">[undelete post]";
} else {
$x = " - getID()."$tokens\">[delete post] ";
}
$x.= " - getID()."$tokens\">[move post]";
if ($logged_in_user->isSpecialUser(S_ADMIN) || ($logged_in_user->isSpecialUser(S_MODERATOR) && $moderators_allowed_to_ban)) {
$x .= " - getID()."&userid=".$post->getOwnerID()."$tokens>[banish author]";
}
if ($logged_in_user->isSpecialUser(S_MODERATOR) && $moderators_vote_to_ban) {
if (vote_is_in_progress($post->getOwnerID())) {
$x .= " - getOwnerID()
.">[vote to banish author] - getOwnerID().">[vote not to banish author]";
} else {
$x .= " - getOwnerID().">[start vote to banish author]";
}
}
return $x;
}
/**
* Show the links for possible moderation actions related to an entire thread
**/
function show_thread_moderation_links($thread){
echo "getID()."\">Hide thread
";
if($thread->sticky) {
echo "getID()."\">De-sticky thread
";
} else {
echo "getID()."\">Make thread sticky
";
}
}
?>