Пример #1
0
		<br class="clearall" />
		<?php 
if (hasPrevPage() || hasNextPage()) {
    printPageListWithNav(gettext("prev"), gettext("next"), false, true, 'pagelist', NULL, true, 7);
}
if (function_exists('printSlideShowLink')) {
    echo '<span id="slideshowlink">';
    printSlideShowLink();
    echo '</span>';
}
if (function_exists('printAddToFavorites')) {
    echo "<br />";
    printAddToFavorites($_zp_current_album);
}
if (function_exists('printCommentForm')) {
    printCommentForm();
}
?>
		</div>
		 <div class="content-secondary">
			<?php 
jqm_printMenusLinks();
?>
 </div>
	</div><!-- /content -->
<?php 
jqm_printBacktoTopLink();
jqm_printFooterNav();
?>
</div><!-- /page -->
Пример #2
0
    ?>
					</div>
					<?php 
}
?>
				</div>
				<?php 
if (is_NewsArticle()) {
    if (function_exists('printCommentForm') and function_exists('zenFBComments')) {
        $class = ' deux';
    } else {
        $class = ' un';
    }
    if (function_exists('printCommentForm')) {
        echo '<div class="comments' . $class . '">';
        printCommentForm(true, '', false);
        echo '</div>';
    }
    if (function_exists('zenFBComments')) {
        echo '<div class="facebook FBcomments comments' . $class . '">';
        zenFBComments();
        echo '</div>';
    }
}
?>
				<div class="clear"></div>
			</div>
			<div id="footer">
					<?php 
include_once 'footer.php';
?>
Пример #3
0
    ?>
</p></dd>
		<?php 
}
if ($autonumber) {
    ?>
			</dl>
			<?php 
}
?>
	<script type="text/javascript">
		// <!-- <![CDATA[
		var initstate = <?php 
echo $errors;
?>
;
		// ]]> -->
	</script>
	<script type="text/javascript" src="<?php 
echo $_zp_themeroot;
?>
/js/comments.js"></script>
	<!-- BEGIN #commentblock -->
		<div id="commentblock">
		<?php 
printCommentForm(false, '');
?>
		</div>
	<!-- END #commentblock -->
</div>
<!-- END #comments -->
Пример #4
0
function commonComment()
{
    if (function_exists('printCommentForm')) {
        ?>
		<div id="commentbox">
			<?php 
        if (getCommentErrors() || getCommentCount() == 0) {
            $style = NULL;
            $head = '';
        } else {
            //TODO: if the following line is used as intended the comment textarea is hidden to start with and when shown is not full width.
            //				$style = ' class="comment" style="display:none;"';
            $style = ' class="commentx" style="display:block;"';
            $head = "<div{$style}><h3>" . gettext('Add a comment') . '</h3></div>';
        }
        printCommentForm(true, $head, true, $style);
        ?>
		</div><!-- id="commentbox" -->
		<?php 
    }
}
Пример #5
0
function commonComment()
{
    if (function_exists('printCommentForm')) {
        ?>
		<div id="commentbox">
			<?php 
        if (getCommentErrors()) {
            $style = NULL;
            $head = '';
        } else {
            $style = 'style="display:none;"';
            $head = '<br clear="all" /><p class="buttons"><a href="javascript:toggle(\'commententry\');" >' . gettext('Add a comment') . '</a></p><br clear="all" />';
        }
        printCommentForm(true, $head, true, $style);
        ?>
		</div><!-- id="commentbox" -->
		<?php 
    }
}
Пример #6
0
        $comments_allowed = $_zp_current_article->getCommentsAllowed();
        break;
    default:
        return;
        break;
}
?>

	<?php 
if ($comments_open && ($comments_allowed || getCommentCount() > 0)) {
    ?>
		<a class="fadetoggler"><img src="<?php 
    echo $_zp_themeroot;
    ?>
/images/icon-comment.png" alt="icon-comment" id="icon-comment" />
		<?php 
    $num = getCommentCount();
    if ($num == 0) {
        echo gettext('No Comments');
    } else {
        echo sprintf(ngettext('%u Comment', '%u Comments', $num), $num);
    }
    ?>
		</a>
		<div id="comment-wrap" class="fader clearfix">
			<?php 
    printCommentForm(true, NULL, true);
    ?>
		</div>
	<?php 
}
Пример #7
0
function commonComment()
{
    if (function_exists('printCommentForm')) {
        ?>
		<div id="commentbox">
			<?php 
        if (getCommentErrors() || getCommentCount() == 0) {
            $style = NULL;
            $head = '';
        } else {
            $style = ' class="commentx" style="display:block;"';
            $head = "<div{$style}><h3>" . gettext('Add a comment') . '</h3></div>';
        }
        printCommentForm(true, $head, true, $style);
        ?>
		</div><!-- id="commentbox" -->
		<?php 
    }
}
Пример #8
0
function commentFormDisplay()
{
    ?>
	<div class="clear_left"></div>
	<div id="commentaires">
	<?php 
    if (function_exists('printCommentForm')) {
        printCommentForm();
    }
    ?>
	</div>
<?php 
}