diff options
| author | laetzer <laetzer@users.sourceforge.net> | 2008-08-01 05:11:42 +0000 |
|---|---|---|
| committer | laetzer <laetzer@users.sourceforge.net> | 2008-08-01 05:11:42 +0000 |
| commit | 164c1266b511e17416f8c6906beb20eebc80816c (patch) | |
| tree | 6cc7a2a6dac955c762c674a801d0494b6b4db404 /templates | |
| parent | 29abb46afbb6e60e77067dbb7fdde82e98269adb (diff) | |
| download | blogs-164c1266b511e17416f8c6906beb20eebc80816c.tar.gz blogs-164c1266b511e17416f8c6906beb20eebc80816c.tar.bz2 blogs-164c1266b511e17416f8c6906beb20eebc80816c.zip | |
allow param 'module title' for center block
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/center_list_blog_posts.php | 3 | ||||
| -rw-r--r-- | templates/center_list_blog_posts.tpl | 4 |
2 files changed, 4 insertions, 3 deletions
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 @@ <?php /** - * @version $Header: /cvsroot/bitweaver/_bit_blogs/templates/center_list_blog_posts.php,v 1.30 2008/05/23 17:39:06 wjames5 Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_blogs/templates/center_list_blog_posts.php,v 1.31 2008/08/01 05:11:42 laetzer Exp $ * @package bitweaver */ global $gBitSmarty, $gBlog, $gBitSystem, $gQueryUserId, $moduleParams, $gBitUser; @@ -106,4 +106,5 @@ $gBitSmarty->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} <div class="floaticon">{bithelp}</div> <div class="display blogs"> <div class="header"> - <h1>{tr}Recent Blog Posts{/tr}</h1> + <h1>{$centerTitle|default:"{tr}Recent Blog Posts{/tr}"}</h1> </div> <div class="body"> |
