Example #1
0
    ?>
		<li class="cbModeratorLink cbModeratorLinkConnectionRequests">
			<a href="<?php 
    echo $_CB_framework->viewUrl('manageconnections');
    ?>
"><?php 
    echo $newConnectionRequests == 1 ? CBTxt::T('COUNT_CONNECTION_REQUEST', '[count] Connection Request', array('[count]' => $newConnectionRequests)) : CBTxt::T('COUNT_CONNECTION_REQUESTS', '[count] Connection Requests', array('[count]' => $newConnectionRequests));
    ?>
</a>
		</li>
	<?php 
}
?>
	<?php 
echo modCBModeratorHelper::getPlugins($params, 'afterLinks');
?>
</ul>
<?php 
echo modCBModeratorHelper::getPlugins($params, 'almostEnd');
if ($postText) {
    ?>
	<div class="posttext">
		<p><?php 
    echo $postText;
    ?>
</p>
	</div>
<?php 
}
echo modCBModeratorHelper::getPlugins($params, 'end');
if ($showConnectionRequests) {
    ?>
		<span class="cbModeratorLink cbModeratorLinkConnectionRequests">
			<a href="<?php 
    echo $_CB_framework->viewUrl('manageconnections');
    ?>
"><?php 
    echo $newConnectionRequests == 1 ? CBTxt::T('COUNT_CONNECTION_REQUEST', '[count] Connection Request', array('[count]' => $newConnectionRequests)) : CBTxt::T('COUNT_CONNECTION_REQUESTS', '[count] Connection Requests', array('[count]' => $newConnectionRequests));
    ?>
</a>
		</span>
		&nbsp;
	<?php 
}
?>
	<?php 
echo modCBModeratorHelper::getPlugins($params, 'afterLinks', 'span', 1, null, '&nbsp;');
?>
</span>
<?php 
echo modCBModeratorHelper::getPlugins($params, 'almostEnd', 'span', 1);
if ($postText) {
    ?>
	<span class="posttext"><?php 
    echo $postText;
    ?>
</span>
<?php 
}
echo modCBModeratorHelper::getPlugins($params, 'end', 'span', 1);