diff options
| author | wjames5 <will@tekimaki.com> | 2007-11-05 21:35:22 +0000 |
|---|---|---|
| committer | wjames5 <will@tekimaki.com> | 2007-11-05 21:35:22 +0000 |
| commit | 74847ad3e8e6871efa9dacd6e4f327ae4329bf71 (patch) | |
| tree | ea960a957e2a9f3501996aa0c04d87f9c818559c /recent_posts.php | |
| parent | bdd33c0046dbfaee2f3c3f8875dbb7ba92e0d4fe (diff) | |
| download | blogs-74847ad3e8e6871efa9dacd6e4f327ae4329bf71.tar.gz blogs-74847ad3e8e6871efa9dacd6e4f327ae4329bf71.tar.bz2 blogs-74847ad3e8e6871efa9dacd6e4f327ae4329bf71.zip | |
new feature - ajax readmore part of blogposts inline into recentposts type lists
Diffstat (limited to 'recent_posts.php')
| -rw-r--r-- | recent_posts.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/recent_posts.php b/recent_posts.php index 73f9024..62bafad 100644 --- a/recent_posts.php +++ b/recent_posts.php @@ -1,6 +1,6 @@ <?php /** - * @version $Header: /cvsroot/bitweaver/_bit_blogs/recent_posts.php,v 1.5 2007/11/03 20:29:20 wjames5 Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_blogs/recent_posts.php,v 1.6 2007/11/05 21:35:22 wjames5 Exp $ * * @package blogs * @subpackage functions @@ -17,6 +17,10 @@ $gBitSystem->verifyPackage( 'blogs' ); // Now check permissions to access this page $gBitSystem->verifyPermission( 'p_blogs_view' ); +if ( $gBitSystem->isFeatureActive( 'blog_ajax_more' ) ){ + $gBitThemes->loadAjax( 'mochikit' ); +} + // Display the template $gDefaultCenter = 'bitpackage:blogs/center_list_blog_posts.tpl'; $gBitSmarty->assign_by_ref( 'gDefaultCenter', $gDefaultCenter ); |
