Beispiel #1
0
<?php elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) : ?>
<li class="comment-link"><?php _e('Comments closed', 'webjournal') ?></li>
<li class="trackback-link"><?php printf(__('<a href="%s" rel="trackback" title="Trackback URL for your post">Trackback URI</a>', 'webjournal'), get_trackback_url() ) ?></li>
<?php elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) : ?>
<li class="comment-link"><?php _e('<a href="#respond" title="Post a comment">Post a comment</a>', 'webjournal') ?></li>
<li class="trackback-link"><?php _e('Trackbacks closed', 'webjournal') ?></li>
<?php elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) : ?>
<li class="comment-link"><?php _e('Comments closed', 'webjournal') ?></li>
<li class="trackback-link"><?php _e('Trackbacks closed', 'webjournal') ?></li>
<?php endif; ?>
</ul>
</li>
<li id="rss-links">
<h3><?php _e('RSS Feeds', 'webjournal') ?></h3>
<ul>
<li><?php comments_rss_link(__('Comments to this post', 'webjournal')); ?></li>
<li><a href="<?php bloginfo('rss2_url') ?>" title="<?php echo wp_specialchars(get_bloginfo('name'), 1) ?> RSS 2.0 Feed" rel="alternate" type="application/rss+xml"><?php _e('All posts', 'webjournal') ?></a></li>
<li><a href="<?php bloginfo('comments_rss2_url') ?>" title="<?php echo wp_specialchars(bloginfo('name'), 1) ?> Comments RSS 2.0 Feed" rel="alternate" type="application/rss+xml"><?php _e('All comments', 'webjournal') ?></a></li>
</ul>
</li>
<li id="search">
<h3><label for="s"><?php _e('Search', 'webjournal') ?></label></h3>
<form id="searchform" method="get" action="<?php bloginfo('home') ?>">
<div>
<input id="s" name="s" type="text" value="<?php echo wp_specialchars(stripslashes($_GET['s']), true) ?>" size="10" />
<input id="searchsubmit" name="searchsubmit" type="submit" value="<?php _e('Find', 'webjournal') ?>" />
</div>
</form>
</li>
</ul>
</div><!-- attachment.php #secondary .sidebar -->
</ol>

<div class="navigation">
	<div class="alignleft"><?php 
    previous_comments_link();
    ?>
</div>
	<div class="alignright"><?php 
    next_comments_link();
    ?>
</div>
</div>
<br />

<small class="commentfeed"><?php 
    comments_rss_link('RSS Feed for this entry');
    ?>
</small>

	<?php 
    if (!comments_open()) {
        ?>
 
		<p class="nocomments">Comments are closed.</p>
	<?php 
    }
}
?>


<?php 
</ol>

<?php 
} else {
    // If there are no comments yet
    ?>
	<p><?php 
    _e('No comments yet.');
    ?>
</p>
<?php 
}
?>

<p><?php 
comments_rss_link(__('<abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post.'));
if (pings_open()) {
    ?>
	<a href="<?php 
    trackback_url();
    ?>
" rel="trackback"><?php 
    _e('TrackBack <abbr title="Universal Resource Locator">URL</abbr>');
    ?>
</a>
<?php 
}
?>
</p>

<?php 
	<?php 
    }
} elseif (comments_open()) {
    ?>
<p><?php 
    _e('No comments yet.');
    ?>
</p>
<?php 
}
?>

<p>
<?php 
if (have_comments() || comments_open()) {
    comments_rss_link(__('Comments RSS'));
}
if (pings_open()) {
    ?>

<a href="<?php 
    trackback_url();
    ?>
" rel="trackback"><?php 
    _e('TrackBack Identifier URI');
    ?>
</a>

<?php 
}
?>
Beispiel #5
0
			<?php 
        }
        ?>
			<fieldset>
				<label for="comment" class="comment-field"><small><?php 
        _e('Comment:', 'titan');
        ?>
</small></label>
				<textarea name="comment" id="comment" cols="50" rows="10" tabindex="4"></textarea>
			</fieldset>
			<p class="guidelines"><?php 
        _e('<strong>Note:</strong> XHTML is allowed. Your email address will <strong>never</strong> be published.', 'titan');
        ?>
</p>
			<p class="comments-rss"><?php 
        comments_rss_link(__('Subscribe to this comment feed via RSS', 'titan'));
        ?>
</p>
			<?php 
        do_action('comment_form', $post->ID);
        ?>
			<fieldset>
				<input name="submit" type="submit" id="submit" tabindex="5" value="<?php 
        _e('Submit Comment', 'titan');
        ?>
" />
				<input type="hidden" name="comment_post_ID" value="<?php 
        echo $id;
        ?>
" />
			</fieldset>
    ?>
  <div id="precomments">
    <div class="comleft">
      <h3 id="comments">
        <?php 
    comments_number('No Responses Yet', 'One Response', '% Responses');
    ?>
        to &#8220;
        <?php 
    the_title();
    ?>
        &#8221;</h3>
    </div>
    <div class="comright">
      <?php 
    comments_rss_link();
    ?>
    </div>
    <div style="clear: both"></div>
  </div>
  <div style="clear: both"></div>
  <ol class="commentlist">
  
  <?php 
    wp_list_comments(array('callback' => 'iceburgg_comment', 'avatar_size' => 48));
    ?>
  </ol>

  <div class="navigation">
  	<div class="alignleft"><?php 
    previous_comments_link();
Beispiel #7
0
        ?>
/wp-admin/profile.php"><?php 
        echo $user_identity;
        ?>
</a>. <a href="<?php 
        echo get_option('siteurl');
        ?>
/wp-login.php?action=logout" title="Se d&eacute;connecter">Se d&eacute;connecter &raquo;</a></p>
						<?php 
    } else {
        ?>
							<p>Ajoutez votre commentaire ci-dessous, ou cr&eacute;ez un <a href="<?php 
        trackback_url(true);
        ?>
" rel="trackback">r&eacute;trolien</a> depuis votre site. Vous pouvez &eacute;galement <?php 
        comments_rss_link('souscrire &agrave; ces commentaires');
        ?>
 par RSS. Merci de vous conformer &agrave la netetiquette.</p>
							<label>Nom <?php 
        if ($req) {
            echo "(requis)";
        }
        ?>
</label>
							<input type="text" name="author" id="author" value="<?php 
        echo $comment_author;
        ?>
" class="span4" tabindex="1"/>
							<label >Courriel (ne sera pas visible) <?php 
        if ($req) {
            echo "(requis)";
Beispiel #8
0
			<div class="navigation">
				<div class="nav-previous"><?php 
        previous_comments_link(__('<span class="meta-nav">&larr;</span> Older Comments', 'twentyten'));
        ?>
</div>
				<div class="nav-next"><?php 
        next_comments_link(__('Newer Comments <span class="meta-nav">&rarr;</span>', 'twentyten'));
        ?>
</div>
			</div><!-- .navigation -->
<?php 
    }
    // check for comment navigation
    ?>
<div class="subc"><?php 
    comments_rss_link('Subscribe to comments');
    ?>
</div>
<?php 
} else {
    // or, if we don't have comments:
    /* If there are no comments and comments are closed,
     * let's leave a little note, shall we?
     */
    if (!comments_open()) {
        ?>
	<p class="nocomments"><?php 
        _e('Comments are closed.', 'twentyten');
        ?>
</p>
<?php 
Beispiel #9
0
            ?>
</dd>
				<?php 
        }
        ?>
				<?php 
        if ('open' == $post->comment_status) {
            ?>
					<dt><img alt="<?php 
            _e('Comments rss', TEMPLATE_DOMAIN);
            ?>
" src="<?php 
            echo get_bloginfo('stylesheet_directory');
            ?>
/images/icons/feed-icon-16x16.gif" /></dt><dd><?php 
            comments_rss_link(__('Comments rss', TEMPLATE_DOMAIN));
            ?>
</dd>
				<?php 
        }
        ?>
				<?php 
        if ('open' == $post->ping_status) {
            ?>
					<dt><img alt="<?php 
            _e('Trackback', TEMPLATE_DOMAIN);
            ?>
" src="<?php 
            echo get_bloginfo('stylesheet_directory');
            ?>
/images/icons/trackback-icon-16x16.gif" /></dt><dd><a href="<?php 
Beispiel #10
0
    if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) {
        ?>
    <?php 
        die('Unauthorized');
        ?>
  <?php 
    }
}
?>

<h3><?php 
comments_number('No comments', 'One comment', '% comments');
?>
</h3>
<?php 
comments_rss_link($link_text);
?>

<?php 
if ($comments) {
    ?>
  <ol>
  <?php 
    foreach ($comments as $comment) {
        ?>
    <li<?php 
        alternate_rows($i++);
        ?>
 id="comment-<?php 
        comment_ID();
        ?>
    ?>
	<h3 class="reply"><?php 
    comments_number(__('No Responses Yet', 'greenmarinee'), __('One Response', 'greenmarinee'), __('% Responses', 'greenmarinee'));
    ?>
 <?php 
    _e('to', 'greenmarinee');
    ?>
 '<?php 
    the_title();
    ?>
'</h3> 
<p class="comment_meta"><?php 
    _e('Subscribe to comments with', 'greenmarinee');
    ?>
 <?php 
    comments_rss_link(__('<abbr title="Really Simple Syndication">RSS</abbr>'));
    ?>
 
<?php 
    if (pings_open()) {
        ?>
	<?php 
        _e('or', 'greenmarinee');
        ?>
 <a href="<?php 
        trackback_url();
        ?>
" rel="trackback"><?php 
        _e('TrackBack', 'greenmarinee');
        ?>
</a> <?php 
Beispiel #12
0
$oddcomment = 'class="comments-alt" ';
?>

<!-- You can start editing here. -->

<?php 
if ($comments) {
    ?>
	<h2 id="comments"><?php 
    comments_number('No Responses', 'Responses', 'Responses');
    ?>
</h2>

	<div class="small">
		<span class="feedlink"><?php 
    comments_rss_link('Feed');
    ?>
</span>
		<?php 
    if ('open' == $post->ping_status) {
        ?>
<span class="trackbacklink"><a href="<?php 
        trackback_url();
        ?>
" title="Copy this URI to trackback this entry.">Trackback Address</a></span><?php 
    }
    ?>
	</div>

	<ol class="commentlist">
            echo $comment_author_url;
            ?>
" size="22" tabindex="3" /></p>
      <?php 
        }
        ?>
      <p><label for="comment" class="comment-field"><small><?php 
        _e('Comment:', 'vigilance');
        ?>
</small></label><textarea name="comment" id="comment" cols="50" rows="10" tabindex="4"></textarea></p>
      <p class="guidelines"><?php 
        _e('<strong>Note:</strong> You can use basic XHTML in your comments. Your email address will <strong>never</strong> be published.', 'vigilance');
        ?>
</p>
      <p class="comments-rss"><?php 
        comments_rss_link(__('Subscribe to this comment feed via RSS', 'vigilance'));
        ?>
</p>
      <?php 
        do_action('comment_form', $post->ID);
        ?>
      <p><input name="submit" type="submit" id="submit" tabindex="5" value="<?php 
        _e('Submit Comment', 'vigilance');
        ?>
" /><input type="hidden" name="comment_post_ID" value="<?php 
        echo $id;
        ?>
" /></p>
      </form><!--end commentform-->
  </div><!--end respond-->
    <?php 
?>
<div class="post-content">
<p>
<?php 
if ($post->ping_status == "open") {
    ?>
	<a href="<?php 
    trackback_url(display);
    ?>
">Trackback this post</a> | 
<?php 
}
if ($post->comment_status == "open") {
    ?>
	<?php 
    comments_rss_link('Feed on Comments to this post');
}
?>
</p>
</div>

<?php 
if ('open' == $post->comment_status) {
    ?>

<h3 id="respond">Leave a Reply</h3>

<?php 
    if (get_option('comment_registration') && !$user_ID) {
        ?>
<p>You must be <a href="<?php 
Beispiel #15
0
<div id="meta-info">

Author:  <?php 
        the_author();
        ?>
<br />
Categories: <?php 
        the_category(', ');
        ?>
<br />
<?php 
        the_tags();
        ?>
<br />
<?php 
        comments_rss_link('Comments RSS for this post');
        ?>
<br /><br />

</div>

<?php 
        the_content();
        wp_link_pages();
        ?>

<div class="boldnspace">
<?php 
        if (comments_open() && pings_open()) {
            // Both Comments and Pings are open
            ?>
Beispiel #16
0
	<hr class="featurette-divider" />

      <!-- FOOTER -->
      <footer>
        <p class="pull-right"><a href="#">Back to top</a></p>
    	<p>&copy; 2013 <?php 
bloginfo('name');
?>
 &middot; <a href="#">Privacy</a> &middot; <a href="#">Terms</a></p>
    	<p>Designed by <a href="http://www.hillfold.com">HillFold</a></p>
    	<p><a href="<?php 
bloginfo('rss2_url');
?>
">Latest Stories RSS</a> | <a href="<?php 
comments_rss_link('comment feed');
?>
">Comments RSS</a></p>
      </footer>

    </div><!-- /.container -->

<script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>

<?php 
wp_footer();
?>
</body>
</html>
Beispiel #17
0
	<hr class="hide" />
	<div id="secondary">
		<div class="inside">
			
			<?php 
if ('open' == $post->comment_status) {
    // Comments are open
    ?>
				<div class="comment-head">
					<h2><?php 
    comments_number('No comments', '1 Comment', '% Comments');
    ?>
</h2>
					<span class="details"><a href="#comment-form">Jump to comment form</a> | <?php 
    comments_rss_link('comments rss');
    ?>
 <a href="#what-is-comment-rss" class="help">[?]</a> <?php 
    if ('open' == $post->ping_status) {
        ?>
| <a href="<?php 
        trackback_url(true);
        ?>
">trackback uri</a> <a href="#what-is-trackback" class="help">[?]</a><?php 
    }
    ?>
</span>
				</div>
			<?php 
} elseif ('open' != $post->comment_status) {
    ?>
Beispiel #18
0
?>
<div class="entry">
<p>
<?php 
if ($post->ping_status == "open") {
    ?>
	<a href="<?php 
    trackback_url(display);
    ?>
">Trackback URI</a>  |
<?php 
}
if ($post->comment_status == "open") {
    ?>
	<?php 
    comments_rss_link('Comments RSS');
}
if ($post->comment_status == "closed") {
    ?>
	Comments are closed.
<?php 
}
?>
</p>
</div>

<?php 
if ('open' == $post->comment_status) {
    ?>

<p>Leave a Reply</p>
<?php 
    if (pings_open()) {
        ?>
<p><?php 
        _e("The <acronym title=\"Uniform Resource Identifier\">URI</acronym> to TrackBack this entry is:");
        ?>
 <em><?php 
        trackback_url();
        ?>
</em></p>
<?php 
    }
    if (have_comments() || comments_open()) {
        ?>
<p><?php 
        comments_rss_link(__("<abbr title=\"Really Simple Syndication\">RSS</abbr> feed for comments on this post."));
        ?>
</p>
<?php 
    }
    ?>
</div>
<?php 
}
?>


<?php 
if (have_comments()) {
    ?>
	<h2 id="comments"><?php 
Beispiel #20
0
        }
        ?>
      <fieldset>
        <label for="comment" class="comment-field"><?php 
        _e('Comment', 'traction');
        ?>
</label>
        <textarea name="comment" id="comment" cols="50" rows="10" tabindex="4"></textarea>
      </fieldset>
      <div class="comments-submit">
        <p class="guidelines"><?php 
        _e('<strong>Note:</strong> HTML is allowed. Your email address will <strong>never</strong> be published.', 'traction');
        ?>
</p>
        <p class="comments-rss"><?php 
        comments_rss_link(__('Subscribe to comments', 'traction'));
        ?>
</p> 
        <?php 
        do_action('comment_form', $post->ID);
        ?>
        <fieldset>
          <input name="submit" type="submit" id="submit" tabindex="5" value="<?php 
        _e('Submit Comment', 'traction');
        ?>
" />
          <input type="hidden" name="comment_post_ID" value="<?php 
        echo $id;
        ?>
" />
        </fieldset>
					<a href="http://twitter.com/home/?status=<?php 
            the_title();
            ?>
: <?php 
            the_permalink();
            ?>
" title="Tweet this!"> Tweet This!</a>
					<?php 
        }
        ?>

                    <br />

                    <?php 
        comments_rss_link('RSS 2.0 feed');
        ?>
 | <a href="<?php 
        trackback_url();
        ?>
">Trackback</a>
                    </div>
                </div>
                <div id="comments">
					<?php 
        comments_template();
        ?>

                </div>
            <?php 
    }
Beispiel #22
0
			</p>
			<br/>
		<div class="contentwo">
			<h3><?php 
        _e('Actions', 'xtec-11');
        ?>
</h3>
			<ul class="postmetadata">
		<?php 
        if ('open' == $post->comment_status) {
            ?>
			<li class="with_icon"><img class="icon" src="<?php 
            echo get_bloginfo('stylesheet_directory');
            ?>
/images/icons/feed-icon-16x16.gif" alt="rss" />&nbsp;<?php 
            comments_rss_link(__('Comments rss', 'xtec-11'));
            ?>
</li>
		<?php 
        }
        ?>
		<?php 
        if ('open' == $post->ping_status) {
            ?>
			<li class="with_icon"><img class="icon" src="<?php 
            echo get_bloginfo('stylesheet_directory');
            ?>
/images/icons/trackback-icon-16x16.gif" alt="trackback" />&nbsp;<a href="<?php 
            trackback_url(true);
            ?>
 " rel="trackback" title="make a trackback"><?php 
                the_title();
                ?>
&#39;" href="<?php 
                trackback_url();
                ?>
" rel="nofollow">Trackback-URL</a></li>
<?php 
            }
            ?>

		<?php 
            // *** RSS Comments: only if comments are enabled
            if (comments_open()) {
                ?>
			<li class="feed-leftalign"><span title="Subscribe to comments feed"><?php 
                comments_rss_link('comments feed for this post');
                ?>
</span></li>
<?php 
            }
            ?>
				
		<?php 
            // *** Tags: only if there is any
            if (function_exists('UTW_ShowTagsForCurrentPost')) {
                ?>
		    <li class="utwtags"><span title="tags"><?php 
                UTW_ShowTagsForCurrentPost("commalist");
                ?>
</span></li>
<?php 
<?php 
if (comments_open() && pings_open()) {
    ?>
	<p><a href="<?php 
    trackback_url(display);
    ?>
">Trackback this post</a> &nbsp;|&nbsp; <?php 
    comments_rss_link('Subscribe to the comments via RSS Feed');
    ?>
</p>
<?php 
} elseif (comments_open()) {
    ?>
	<p><?php 
    comments_rss_link('Subscribe to the comments via RSS Feed');
    ?>
</p>
<?php 
} elseif (pings_open()) {
    ?>
	<p><a href="<?php 
    trackback_url(display);
    ?>
">Trackback this post</a></p>
<?php 
}
?>

</div> <!-- /comments -->
Beispiel #25
0
<?php 
            do_action('comment_form', $post->ID);
            ?>
</form>
</div>
<?php 
        }
        ?>

<?php 
    }
    // if registration required and not logged in
    ?>

<p>You can follow the discussion through the <?php 
    comments_rss_link('Comments Feed');
    ?>
.
<?php 
    if ('open' == $post->ping_status) {
        ?>
	You can also Pingback or <a href="<?php 
        trackback_url(true);
        ?>
" rel="trackback" title="Trackback URL">Trackback</a> from your own site.
<?php 
    }
    ?>
</p>

<?php 
<?php

/* Don't remove this line */
if (!defined('XOOPS_ROOT_PATH')) {
    exit;
}
//This is Comment listing and form Template
?>
<h2 id="comments"><?php 
echo "TrackBacks";
?>
</h2>

<p><?php 
comments_rss_link(_LANG_WPCM_COM_RSS);
?>
</p>

<?php 
if ('open' == $post->ping_status) {
    ?>
<p><?php 
    echo _LANG_WPCM_COM_TRACK;
    ?>
<em><?php 
    trackback_url();
    ?>
</em></p>
<?php 
}
?>
Beispiel #27
0
        ?>
			posted in <?php 
        the_category(', ');
        ?>
 by <?php 
        the_author();
        ?>
			<?php 
        edit_post_link('Edit', ' | ', '');
        ?>
		</p>

		<p class="interact"><?php 
        if ('open' == $post->comment_status || 'open' == $post->ping_status) {
            _e(' Follow comments via the ');
            comments_rss_link('RSS Feed');
        }
        if ('open' == $post->comment_status) {
            ?>
 | <a href="#respond"><?php 
            _e('Leave a comment');
            ?>
</a> <?php 
        }
        if ('open' == $post->ping_status) {
            ?>
| <a href="<?php 
            trackback_url(true);
            ?>
">Trackback URL</a> <?php 
        }
Beispiel #28
0
			</div>
			<div class="postmetadata">
				<?php 
        if (function_exists('the_tags')) {
            the_tags(__('Tags: '), ', ', '<br />');
        }
        ?>
			
				<?php 
        if ('open' == $post->comment_status) {
            ?>
<a href="#respond"><?php 
            _e('Comment');
            ?>
</a> (<?php 
            comments_rss_link('RSS');
            ?>
)<?php 
        }
        ?>
				<?php 
        if ('open' == $post->ping_status) {
            ?>
&nbsp;|&nbsp;&nbsp;<a href="<?php 
            trackback_url(true);
            ?>
 " rel="trackback"><?php 
            _e('Trackback');
            ?>
</a><?php 
        }
Beispiel #29
0
					<small>
						This entry was posted
						<?php 
        ?>
						on <?php 
        the_time('l, F jS, Y');
        ?>
 at <?php 
        the_time();
        ?>
						and is filed under <?php 
        the_category(', ');
        ?>
.
						You can follow any responses to this entry through the <?php 
        comments_rss_link('RSS 2.0');
        ?>
 feed.

						<?php 
        if ('open' == $post->comment_status && 'open' == $post->ping_status) {
            ?>
							You can <a href="#respond">leave a response</a>, or <a href="<?php 
            trackback_url();
            ?>
" rel="trackback">trackback</a> from your own site.

						<?php 
        } elseif (!('open' == $post->comment_status) && 'open' == $post->ping_status) {
            ?>
							Responses are currently closed, but you can <a href="<?php 
Beispiel #30
0
		<?php 
_e('You may ');
?>
		<?php 
if (comments_open()) {
    ?>
<a href="#postcomment" title="<?php 
    _e('Jump to the comments form');
    ?>
"><?php 
    _e('Leave a comment');
    ?>
</a><?php 
    _e(' or ');
}
comments_rss_link(__('Subscribe to Comments RSS'));
if (pings_open()) {
    _e(' or ');
    ?>
<a title="Trackback URI" href="<?php 
    trackback_url();
    ?>
" rel="trackback"><?php 
    _e('Trackback this entry');
    ?>
</a><?php 
}
_e('.');
?>
	</p>
	</div>