Fixes, and Changes
Fixed why it would not open when started.. Session! Altered Theme to fit my site theme. Could not handle more than one theme in the directory. "Like/Dislike" counters were adding up when bots found them, they are A tags, added "nofollow" so far seems to help, but will have to wait for next scan to see. Note: Pagination not working, if I change the cpage to page on url it comes up, but can only get it to see first page, will have to come back on this on.
This commit is contained in:
@@ -88,7 +88,7 @@
|
||||
<div class="comment-captcha">
|
||||
<input type="text" name="comment[captcha]" value="" placeholder="<?php sn_e("Answer"); ?>" />
|
||||
|
||||
<a href="<?php echo $page->permalink(); ?>#snicker-comment-form" data-captcha="reload">
|
||||
<a href="<?php echo $page->permalink(); ?>#snicker-comment-form" data-captcha="reload" rel="nofollow">
|
||||
<?php echo $Snicker->generateCaptcha(); ?>
|
||||
</a>
|
||||
</div>
|
||||
@@ -96,7 +96,7 @@
|
||||
|
||||
<?php if(is_a($reply, "Comment")){ ?>
|
||||
<div class="comment-reply">
|
||||
<a href="<?php echo $page->permalink(); ?>" class="reply-cancel"></a>
|
||||
<a href="<?php echo $page->permalink(); ?>" class="reply-cancel" rel="nofollow"></a>
|
||||
<div class="reply-title">
|
||||
<?php echo $reply->username(); ?> <?php sn_e("wrotes"); ?>:
|
||||
</div>
|
||||
@@ -121,7 +121,7 @@
|
||||
<div class="terms-of-use">
|
||||
<input type="checkbox" id="comment-terms" name="comment[terms]" value="1" />
|
||||
<label for="comment-terms">
|
||||
<?php sn_e("I agree the %s!", array('<a href="" target="_blank">'.sn__("Terms of Use").'</a>')); ?>
|
||||
<?php sn_e("I agree the %s!", array('<a href="" target="_blank" rel="nofollow">'.sn__("Terms of Use").'</a>')); ?>
|
||||
</label>
|
||||
</div>
|
||||
<?php } ?>
|
||||
@@ -166,11 +166,11 @@
|
||||
<?php if($cpage === 1){ ?>
|
||||
<span class="pagination-button button-previous disabled"><?php sn_e("Previous Comments"); ?></span>
|
||||
<?php } else { ?>
|
||||
<a href="<?php printf($link, $prev); ?>" class="pagination-button button-previous"><?php sn_e("Previous Comments"); ?></a>
|
||||
<a href="<?php printf($link, $prev); ?>" class="pagination-button button-previous" rel="nofollow"><?php sn_e("Previous Comments"); ?></a>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($cpage < $maxpages){ ?>
|
||||
<a href="<?php printf($link, $next); ?>" class="pagination-button button-next"><?php sn_e("Next Comments"); ?></a>
|
||||
<a href="<?php printf($link, $next); ?>" class="pagination-button button-next" rel="nofollow"><?php sn_e("Next Comments"); ?></a>
|
||||
<?php } else { ?>
|
||||
<span class="pagination-button button-next disabled"><?php sn_e("Next Comments"); ?></span>
|
||||
<?php } ?>
|
||||
@@ -187,8 +187,8 @@
|
||||
<span class="pagination-button button-first disabled">«</span>
|
||||
<span class="pagination-button button-previous disabled">‹</span>
|
||||
<?php } else { ?>
|
||||
<a href="<?php printf($link, 1); ?>" class="pagination-button button-first">«</a>
|
||||
<a href="<?php printf($link, $prev); ?>" class="pagination-button button-previous">‹</a>
|
||||
<a href="<?php printf($link, 1); ?>" class="pagination-button button-first" rel="nofollow">«</a>
|
||||
<a href="<?php printf($link, $prev); ?>" class="pagination-button button-previous" rel="nofollow">‹</a>
|
||||
<?php } ?>
|
||||
|
||||
<?php
|
||||
@@ -206,7 +206,7 @@
|
||||
for($i = $start; $i <= $stop; $i++){
|
||||
$active = ($i == $cpage)? "active": "";
|
||||
?>
|
||||
<a href="<?php printf($link, $i); ?>" class="pagination-button button-number <?php echo $active; ?>"><?php echo $i; ?></a>
|
||||
<a href="<?php printf($link, $i); ?>" class="pagination-button button-number rel="nofollow" <?php echo $active; ?>"><?php echo $i; ?></a>
|
||||
<?php
|
||||
}
|
||||
if($stop < $maxpages){
|
||||
@@ -215,8 +215,8 @@
|
||||
?>
|
||||
|
||||
<?php if($next !== false){ ?>
|
||||
<a href="<?php printf($link, $next); ?>" class="pagination-button button-next">›</a>
|
||||
<a href="<?php printf($link, $maxpages); ?>" class="pagination-button button-last">»</a>
|
||||
<a href="<?php printf($link, $next); ?>" class="pagination-button button-next" rel="nofollow">›</a>
|
||||
<a href="<?php printf($link, $maxpages); ?>" class="pagination-button button-last" rel="nofollow">»</a>
|
||||
<?php } else { ?>
|
||||
<span class="pagination-button button-next disabled">›</span>
|
||||
<span class="pagination-button button-last disabled">»</span>
|
||||
@@ -286,19 +286,19 @@
|
||||
<div class="table">
|
||||
<div class="table-cell align-left">
|
||||
<?php if(sn_config("comment_enable_like")){ ?>
|
||||
<a href="<?php echo $url; ?>&type=like" class="action-like <?php echo ($Snicker->hasLiked($comment->uid())? "active": ""); ?>">
|
||||
<a href="<?php echo $url; ?>&type=like" class="action-like <?php echo ($Snicker->hasLiked($comment->uid())? "active": ""); ?>" rel="nofollow">
|
||||
<?php sn_e("Like"); ?> <span data-snicker="like"><?php echo $comment->like(); ?></span>
|
||||
</a>
|
||||
<?php } ?>
|
||||
<?php if(sn_config("comment_enable_dislike")){ ?>
|
||||
<a href="<?php echo $url; ?>&type=dislike" class="action-dislike <?php echo ($Snicker->hasDisliked($comment->uid())? "active": ""); ?>">
|
||||
<a href="<?php echo $url; ?>&type=dislike" class="action-dislike <?php echo ($Snicker->hasDisliked($comment->uid())? "active": ""); ?>" rel="nofollow">
|
||||
<?php sn_e("Dislike"); ?> <span data-snicker="dislike"><?php echo $comment->dislike(); ?></span>
|
||||
</a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<div class="table-cell align-right">
|
||||
<?php if($maxdepth === 0 || $maxdepth > $comment->depth()){ ?>
|
||||
<a href="<?php echo $page->permalink(); ?>?snicker=reply&uid=<?php echo $comment->key(); ?>#snicker-comments-form" class="action-reply">
|
||||
<a href="<?php echo $page->permalink(); ?>?snicker=reply&uid=<?php echo $comment->key(); ?>#snicker-comments-form" class="action-reply" rel="nofollow">
|
||||
<?php sn_e("Reply"); ?>
|
||||
</a>
|
||||
<?php } ?>
|
||||
|
||||
Reference in New Issue
Block a user