Example #1
0
" rel="bookmark"><?php 
    echo $post->title_out;
    ?>
</a></h2>
				<br class="clear" />
				<span class="comments-link"><a href="<?php 
    echo $post->permalink;
    ?>
#comments" title="<?php 
    _e('Comments to this post', 'demorgan');
    ?>
"><?php 
    echo $post->comments->approved->count;
    ?>
 <?php 
    _ne('Comment', 'Comments', $post->comments->approved->count, 'demorgan');
    ?>
</a></span>
<?php 
    if (is_array($post->tags)) {
        ?>
				<span class="entry-tags"><?php 
        echo $post->tags_out;
        ?>
</span>
<?php 
    }
    if ($loggedin) {
        ?>
				<span class="entry-edit"><a href="<?php 
        echo $post->editlink;
Example #2
0
// Do not delete these lines
if (!defined('HABARI_PATH')) {
    die(_t('Please do not load this page directly. Thanks!'));
}
?>
			<?php 
if (!$post->info->comments_disabled || $post->comments->moderated->count) {
    ?>
				<?php 
    $count = 1;
    ?>
				<div id="entry-comments">
					<h3><?php 
    echo $post->comments->moderated->count . ' ';
    _ne('Response', 'Responses', $post->comments->moderated->count);
    ?>
 to <?php 
    echo $post->title_out;
    ?>
&nbsp;<a href="<?php 
    echo $post->comment_feed_link;
    ?>
" title="Subscribe tho this entry's comments feed"><img alt="Article comments Feed" src="<?php 
    echo $this->theme_url;
    ?>
/images/feed_s.png" /></a></h3>
				<?php 
    foreach ($post->comments->moderated as $comment) {
        ?>
					<div id="comment-<?php 
Example #3
0
_ne('image', 'images', get_user()['image_count']);
?>
</span></a><a class="number-figures float-left phone-float-none" href="<?php 
echo get_user()["url_albums"];
?>
"><b data-text="album-count"><?php 
echo get_user()["album_count"];
?>
</b> <span data-text="album-label" data-label-single="<?php 
_ne('album', 'albums', 1);
?>
" data-label-plural="<?php 
_ne('album', 'albums', 2);
?>
"><?php 
_ne('album', 'albums', get_user()['album_count']);
?>
</span></a>
			</div>
			<div class="input-search float-left phone-float-none">
				<form action="<?php 
echo get_user()["url"] . "/search";
?>
">
					<input class="search" type="text" placeholder="<?php 
echo get_safe_html_user()["name"];
?>
" autocomplete="off" spellcheck="false" name="q">
				</form>
				<span class="icon-search"></span><span class="icon-close soft-hidden" data-action="clear-search"></span>
			</div>
Example #4
0
" title="<?php 
echo strip_tags($post->title);
?>
" rel="bookmark"><?php 
echo $post->title_out;
?>
</a></h1>
				<br class="clear" />
				<span class="comments-link"><a href="<?php 
echo $post->permalink;
?>
#comments" title="Comments to this post"> <?php 
echo $post->comments->approved->count;
?>
 <?php 
_ne('Comment', 'Comments', $post->comments->approved->count);
?>
</a></span>
<?php 
if ($loggedin) {
    ?>
				<span class="entry-edit"><a href="<?php 
    echo $post->editlink;
    ?>
" title="Edit post">Edit</a></span>
<?php 
}
?>
			</div>
			<div class="entry-content">
				<?php