Example #1
0
        if ($comment->status == Comment::STATUS_UNAPPROVED) {
            $class .= '-unapproved';
        }
        $class .= '"';
        ?>

			<li id="comment-<?php 
        echo $comment->id;
        ?>
" <?php 
        echo $class;
        ?>
>
 				<div class="comment-content">
		        <?php 
        echo filter_host($comment->content_out);
        ?>
		       </div>
			<div class="comment-meta">#<a href="#comment-<?php 
        echo $comment->id;
        ?>
" class="counter" title="<?php 
        _e('Permanent Link to this Comment');
        ?>
"><?php 
        echo $comment->id;
        ?>
</a> |
		       <span class="commentauthor"><?php 
        _e('Comment by');
        ?>
Example #2
0
    echo '<li><a href="' . $page->permalink . '" title="' . $page->title . '">' . $page->title . '</a></li>' . "\n";
}
?>
	</ul>

	<h2 id="aside"><?php 
_e('Tag');
?>
</h2>
	<ul id="asides">
		<?php 
foreach ($asides as $post) {
    echo '<li><span class="date">';
    // @locale Date formats according to http://php.net/manual/en/function.date.php
    echo $post->pubdate->out(_t('F j, Y')) . ' - ' . '</span>';
    echo '<a href="' . $post->permalink . '">' . $post->title_out . '</a>' . filter_host($post->content_out);
    echo '</li>';
    ?>
	<?php 
}
?>
   </ul>
	<?php 
echo $theme->area('sidebar');
?>
	<?php 
//  $tokens = DB::get_results( 'SELECT  term FROM {terms} '  );
// foreach ($tokens as $key => $value) {
//  	# code...
//  	$arr=$value->fields;
//  	// var_dump($arr);
Example #3
0
			<!--begin loop-->
				<div id="post-<?php 
echo $post->id;
?>
" class="<?php 
echo $post->statusname;
?>
">
						<h2><a href="<?php 
echo $post->permalink;
?>
" title="<?php 
echo $post->title;
?>
"><?php 
echo filter_host($post->title_out);
?>
</a></h2>
					<div class="entry">
					</div>
					<div class="entryMeta">
						<?php 
if ($loggedin) {
    ?>
						<a href="<?php 
    echo $post->editlink;
    ?>
" title="<?php 
    _e('Edit post');
    ?>
"><?php 
Example #4
0
							<a href="<?php 
    echo $post->permalink . '#comment-form';
    ?>
" title="<?php 
    _e("Comments on this post");
    ?>
"><?php 
    echo $theme->post_comments_link($post);
    ?>
</a>
						</span>
						<br class="clear">
					</div>
					<div class="post-entry">
						<?php 
    echo filter_host($post->content_out);
    ?>
					</div>
					<div class="post-footer">
						<?php 
    if ($loggedin) {
        ?>
							<span class="post-edit">
								<a href="<?php 
        echo $post->editlink;
        ?>
" title="<?php 
        _e("Edit post");
        ?>
"><?php 
        _e("Edit");
Example #5
0
">
						<h2 class="prepend-2"><a href="<?php 
    echo $post->permalink;
    ?>
" title="<?php 
    echo $post->title;
    ?>
"><?php 
    echo $post->title_out;
    ?>
</a></h2>
					<!--display content-->
					<div class="entry">
					
						<?php 
    echo filter_body(filter_host($post->content_out));
    ?>
					</div>
					<!--display post meta-->
					<div class="entryMeta">
						<?php 
    if (count($post->tags)) {
        ?>
						<div class="tags"><?php 
        _e('Tagged:');
        ?>
 <?php 
        echo $post->tags_out;
        ?>
</div>
						<?php