From 60ed16be09ae564efd4fdc8315aa59de219b79aa Mon Sep 17 00:00:00 2001 From: Mzhelskiy Maxim Date: Wed, 27 Apr 2011 19:20:35 +0000 Subject: [PATCH] fix "developer-jquery" template for Smarty 3 --- .../skin/developer-jquery/actions/ActionBlog/topic.tpl | 3 +-- .../actions/ActionProfile/friend_item.tpl | 2 +- .../skin/developer-jquery/actions/ActionTalk/read.tpl | 3 +-- .../skin/developer-jquery/actions/ActionTalk/speakers.tpl | 2 +- templates/skin/developer-jquery/footer.light.tpl | 2 +- templates/skin/developer-jquery/header.light.tpl | 2 +- templates/skin/developer-jquery/header.tpl | 8 ++++---- templates/skin/developer-jquery/nav.tpl | 2 +- templates/skin/developer-jquery/sidebar.tpl | 4 ++-- 9 files changed, 13 insertions(+), 15 deletions(-) diff --git a/templates/skin/developer-jquery/actions/ActionBlog/topic.tpl b/templates/skin/developer-jquery/actions/ActionBlog/topic.tpl index dd382594..9ce51589 100644 --- a/templates/skin/developer-jquery/actions/ActionBlog/topic.tpl +++ b/templates/skin/developer-jquery/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-jquery/actions/ActionProfile/friend_item.tpl b/templates/skin/developer-jquery/actions/ActionProfile/friend_item.tpl index b24268b9..49a4ecab 100644 --- a/templates/skin/developer-jquery/actions/ActionProfile/friend_item.tpl +++ b/templates/skin/developer-jquery/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()}
  • {$aLang.user_friend_add}
  • diff --git a/templates/skin/developer-jquery/actions/ActionTalk/read.tpl b/templates/skin/developer-jquery/actions/ActionTalk/read.tpl index fbbec062..46697981 100644 --- a/templates/skin/developer-jquery/actions/ActionTalk/read.tpl +++ b/templates/skin/developer-jquery/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-jquery/actions/ActionTalk/speakers.tpl b/templates/skin/developer-jquery/actions/ActionTalk/speakers.tpl index b49a3eec..920702c9 100644 --- a/templates/skin/developer-jquery/actions/ActionTalk/speakers.tpl +++ b/templates/skin/developer-jquery/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()}

    diff --git a/templates/skin/developer-jquery/footer.light.tpl b/templates/skin/developer-jquery/footer.light.tpl index 62017b68..31f44bfe 100644 --- a/templates/skin/developer-jquery/footer.light.tpl +++ b/templates/skin/developer-jquery/footer.light.tpl @@ -1 +1 @@ -{include file=footer.tpl} \ No newline at end of file +{include file='footer.tpl'} \ No newline at end of file diff --git a/templates/skin/developer-jquery/header.light.tpl b/templates/skin/developer-jquery/header.light.tpl index 12360372..506e6758 100644 --- a/templates/skin/developer-jquery/header.light.tpl +++ b/templates/skin/developer-jquery/header.light.tpl @@ -1 +1 @@ -{include file=header.tpl} \ No newline at end of file +{include file='header.tpl'} \ No newline at end of file diff --git a/templates/skin/developer-jquery/header.tpl b/templates/skin/developer-jquery/header.tpl index 8097094e..7eeab1b4 100644 --- a/templates/skin/developer-jquery/header.tpl +++ b/templates/skin/developer-jquery/header.tpl @@ -47,12 +47,12 @@ {hook run='body_begin'}
    - {include file=header_top.tpl} + {include file='header_top.tpl'}
    - {include file=window_login.tpl} - {include file=nav.tpl} - {include file=system_message.tpl} + {include file='window_login.tpl'} + {include file='nav.tpl'} + {include file='system_message.tpl'} {hook run='content_begin'} \ No newline at end of file diff --git a/templates/skin/developer-jquery/nav.tpl b/templates/skin/developer-jquery/nav.tpl index b0fdf073..b53f6d9c 100644 --- a/templates/skin/developer-jquery/nav.tpl +++ b/templates/skin/developer-jquery/nav.tpl @@ -1,5 +1,5 @@ {if $menu} {/if} \ No newline at end of file diff --git a/templates/skin/developer-jquery/sidebar.tpl b/templates/skin/developer-jquery/sidebar.tpl index 82ca9a82..e6fc0e03 100644 --- a/templates/skin/developer-jquery/sidebar.tpl +++ b/templates/skin/developer-jquery/sidebar.tpl @@ -2,10 +2,10 @@ {if isset($aBlocks.right)} {foreach from=$aBlocks.right item=aBlock} {if $aBlock.type=='block'} - {insert name="block" block=`$aBlock.name` params=`$aBlock.params`} + {insert name="block" block=$aBlock.name params=$aBlock.params} {/if} {if $aBlock.type=='template'} - {include file=`$aBlock.name` params=`$aBlock.params`} + {include file=$aBlock.name params=$aBlock.params} {/if} {/foreach} {/if}