From 164c1266b511e17416f8c6906beb20eebc80816c Mon Sep 17 00:00:00 2001 From: laetzer Date: Fri, 1 Aug 2008 05:11:42 +0000 Subject: allow param 'module title' for center block --- templates/center_list_blog_posts.php | 3 ++- templates/center_list_blog_posts.tpl | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'templates') diff --git a/templates/center_list_blog_posts.php b/templates/center_list_blog_posts.php index 726f662..643bb94 100644 --- a/templates/center_list_blog_posts.php +++ b/templates/center_list_blog_posts.php @@ -1,6 +1,6 @@ assign( 'descriptionLength', $gBitSystem->getConfig( 'blog_posts_de $gBitSmarty->assign( 'showDescriptionsOnly', TRUE ); $gBitSmarty->assign( 'showBlogTitle', 'y' ); $gBitSmarty->assign( 'blogPostsFormat', (empty($module_params['format']) ? 'full' : $module_params['format']) ); +$gBitSmarty->assign( 'centerTitle', $moduleParams['title'] ); ?> diff --git a/templates/center_list_blog_posts.tpl b/templates/center_list_blog_posts.tpl index 3077f02..7339855 100644 --- a/templates/center_list_blog_posts.tpl +++ b/templates/center_list_blog_posts.tpl @@ -1,10 +1,10 @@ -{* $Header: /cvsroot/bitweaver/_bit_blogs/templates/center_list_blog_posts.tpl,v 1.8 2007/12/07 16:50:39 wjames5 Exp $ *} +{* $Header: /cvsroot/bitweaver/_bit_blogs/templates/center_list_blog_posts.tpl,v 1.9 2008/08/01 05:11:42 laetzer Exp $ *} {if $blogPosts || $showEmpty}
{bithelp}
-

{tr}Recent Blog Posts{/tr}

+

{$centerTitle|default:"{tr}Recent Blog Posts{/tr}"}

-- cgit v1.3