Example #1
0
    printf(_n(__('One Response to %2$s', 'iLost'), __('%1$s Responses to %2$s', 'iLost'), get_comments_number()), number_format_i18n(get_comments_number()), '<em>' . get_the_title() . '</em>');
    ?>
</h3>
  <ol class="comment-list"><?php 
    wp_list_comments(array('callback' => 'ilost_comments'));
    ?>
</ol>
<?php 
    if (get_comment_pages_count() > 1 && get_option('page_comments')) {
        ?>
  <div class="post-link"><?php 
        paginate_comments_links();
        ?>
</div>
<?php 
    }
} else {
    if (!comments_open()) {
        ?>
  <p class="nocomments"><?php 
        _e('Comments are closed.', 'iLost');
        ?>
</p>
<?php 
    }
}
require_once TEMPLATEPATH . '/include/smiley.php';
comment_form('comment_notes_after=<p class="smiley">' . $smilies . '</p>');
ilost_ctrlentry();
?>
</div>
Example #2
0
File: core.php Project: xuui/iLost
function ilost_footerscript()
{
    $growlBox = ilost_getOption('growlBox');
    if ($growlBox) {
        echo "<script src=\"" . ilost_path . "/scripts/jgrowl.js\"></script>\n<script src=\"" . ilost_path . "/scripts/konami.js\"></script>\n";
    }
    if (is_single() && ilost_ctrlentry()) {
        echo "<script type=\"text/javascript\">ilosts.quickComments();(function(jQuery){ilostQ=jQuery.noConflict();ilostQ(document).ready(function(){ilostQ('#commentform .form-submit #submit').after('<label class=\"cereply\">" . __('Use Ctrl+Enter to reply comments', 'iLost') . "</label>');});})(jQuery);</script>\n";
    }
    if (ilost_is_ie6() or ilost_is_ie7()) {
        echo "<!--[if lte IE 7]><script type=\"text/javascript\">var IE6UPDATE_OPTIONS={icons_path:\"" . ilost_path . "/scripts/ie6upimg/\"}</script><script type=\"text/javascript\" src=\"" . ilost_path . "/scripts/ie6update.js\"></script><![endif]-->\n";
    }
}