From c4c1955161485baf2f22d98d1c7673965241c9ec Mon Sep 17 00:00:00 2001 From: Mzhelskiy Maxim Date: Wed, 27 Apr 2011 18:51:14 +0000 Subject: [PATCH] fix "developer" template for Smarty 3 --- templates/skin/developer/actions/ActionBlog/topic.tpl | 3 +-- .../skin/developer/actions/ActionProfile/friend_item.tpl | 2 +- templates/skin/developer/actions/ActionTalk/read.tpl | 3 +-- templates/skin/developer/actions/ActionTalk/speakers.tpl | 2 +- templates/skin/developer/actions/ActionTop/topic.tpl | 2 +- templates/skin/developer/comment_tree.tpl | 6 +++--- templates/skin/developer/footer.light.tpl | 2 +- templates/skin/developer/header.light.tpl | 2 +- templates/skin/developer/header.tpl | 4 ++-- templates/skin/developer/header_nav.tpl | 2 +- templates/skin/developer/sidebar.tpl | 4 ++-- 11 files changed, 15 insertions(+), 17 deletions(-) diff --git a/templates/skin/developer/actions/ActionBlog/topic.tpl b/templates/skin/developer/actions/ActionBlog/topic.tpl index dd382594..9ce51589 100644 --- a/templates/skin/developer/actions/ActionBlog/topic.tpl +++ b/templates/skin/developer/actions/ActionBlog/topic.tpl @@ -11,8 +11,7 @@ bAllowNewComment=$oTopic->getForbidComment() sNoticeNotAllow=$aLang.topic_comment_notallow sNoticeCommentAdd=$aLang.topic_comment_add - aPagingCmt=$aPagingCmt -} + aPagingCmt=$aPagingCmt} {include file='footer.tpl'} \ No newline at end of file diff --git a/templates/skin/developer/actions/ActionProfile/friend_item.tpl b/templates/skin/developer/actions/ActionProfile/friend_item.tpl index 84089704..9a2076ac 100644 --- a/templates/skin/developer/actions/ActionProfile/friend_item.tpl +++ b/templates/skin/developer/actions/ActionProfile/friend_item.tpl @@ -1,4 +1,4 @@ -{if $oUserFriend and ($oUserFriend->getFriendStatus()==$USER_FRIEND_ACCEPT+$USER_FRIEND_OFFER or $oUserFriend->getFriendStatus()==$USER_FRIEND_ACCEPT+$USER_FRIEND_ACCEPT) } +{if $oUserFriend and ($oUserFriend->getFriendStatus()==$USER_FRIEND_ACCEPT+$USER_FRIEND_OFFER or $oUserFriend->getFriendStatus()==$USER_FRIEND_ACCEPT+$USER_FRIEND_ACCEPT)}
  • {$aLang.user_friend_del}
  • {elseif $oUserFriend and $oUserFriend->getStatusTo()==$USER_FRIEND_REJECT and $oUserFriend->getStatusFrom()==$USER_FRIEND_OFFER and $oUserFriend->getUserTo()==$oUserCurrent->getId()}
  • diff --git a/templates/skin/developer/actions/ActionTalk/read.tpl b/templates/skin/developer/actions/ActionTalk/read.tpl index fbbec062..46697981 100644 --- a/templates/skin/developer/actions/ActionTalk/read.tpl +++ b/templates/skin/developer/actions/ActionTalk/read.tpl @@ -32,8 +32,7 @@ iCountComment=$oTalk->getCountComment() sDateReadLast=$oTalkUser->getDateLast() sNoticeCommentAdd=$aLang.topic_comment_add - bNoCommentFavourites=true -} + bNoCommentFavourites=true} {/if} diff --git a/templates/skin/developer/actions/ActionTalk/speakers.tpl b/templates/skin/developer/actions/ActionTalk/speakers.tpl index 2c47af48..ae3c2f08 100644 --- a/templates/skin/developer/actions/ActionTalk/speakers.tpl +++ b/templates/skin/developer/actions/ActionTalk/speakers.tpl @@ -1,7 +1,7 @@

    {$aLang.talk_speaker_title}

    - {if $oTalk->getUserId()==$oUserCurrent->getId() or $oUserCurrent->isAdministrator() } + {if $oTalk->getUserId()==$oUserCurrent->getId() or $oUserCurrent->isAdministrator()} {literal}