From cfab2d260228ae64b513a6acc8f837c666f53c05 Mon Sep 17 00:00:00 2001 From: lsces Date: Fri, 27 Mar 2026 16:05:50 +0000 Subject: Figured what has been causing a problem with using && and || in smarty templates and related to mistake in processing {2} elements that should use curly brackets and not revert to square ones. --- modules/mod_blog_roll.tpl | 2 +- modules/mod_last_created_blogs.tpl | 2 +- modules/mod_top_active_blogs.tpl | 2 +- templates/blog_list_post.tpl | 12 ++++++------ templates/blog_post.tpl | 6 +++--- templates/center_list_blog_posts.tpl | 4 ++-- templates/crosspost.tpl | 8 ++++---- templates/edit_blog.tpl | 6 +++--- templates/edit_blogpost_status_inc.tpl | 2 +- templates/html_head_inc.tpl | 2 +- templates/list_blogs.tpl | 8 ++++---- templates/menu_blogs.tpl | 2 +- templates/print_blog_post.tpl | 2 +- templates/view_blog.tpl | 2 +- templates/view_blog_post.tpl | 16 ++++++++-------- 15 files changed, 38 insertions(+), 38 deletions(-) diff --git a/modules/mod_blog_roll.tpl b/modules/mod_blog_roll.tpl index 39c0b1d..e3a3a15 100755 --- a/modules/mod_blog_roll.tpl +++ b/modules/mod_blog_roll.tpl @@ -1,6 +1,6 @@ {* $Header$ *} {strip} -{if $gBitSystem->isPackageActive( 'blogs' ) and $modBlogs} +{if $gBitSystem->isPackageActive( 'blogs' ) && $modBlogs} {bitmodule title="$moduleTitle" name="blog_roll"}