• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • Examples
  • File List

system/plugins/coreblocks/block.recent_posts.php

00001 <?php if ( !defined( 'HABARI_PATH' ) ) { die( 'No direct access' ); } ?>
00002 <ul id="recent_posts">
00003   <?php $posts = $content->recent_posts; foreach( $posts as $post): ?>
00004     <li>
00005       <a href="<?php echo $post->permalink; ?>">
00006         <?php echo $post->title; ?>
00007       </a>
00008     </li>
00009   <?php endforeach; ?>
00010 </ul>
00011 

Generated on Sun Aug 4 2013 12:51:44 for Habari by  doxygen 1.7.1