summaryrefslogtreecommitdiff
path: root/recent_posts.php
diff options
context:
space:
mode:
authorwjames5 <will@tekimaki.com>2007-11-05 21:35:22 +0000
committerwjames5 <will@tekimaki.com>2007-11-05 21:35:22 +0000
commit74847ad3e8e6871efa9dacd6e4f327ae4329bf71 (patch)
treeea960a957e2a9f3501996aa0c04d87f9c818559c /recent_posts.php
parentbdd33c0046dbfaee2f3c3f8875dbb7ba92e0d4fe (diff)
downloadblogs-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.php6
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 );