mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-29 04:55:02 +03:00
fix "developer" template for Smarty 3
This commit is contained in:
parent
ed2e8febc5
commit
c4c1955161
|
@ -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'}
|
|
@ -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)}
|
||||
<li class="del"><a href="#" title="{$aLang.user_friend_del}" onclick="ajaxDeleteUserFriend(this,{$oUserProfile->getId()},'del'); return false;">{$aLang.user_friend_del}</a></li>
|
||||
{elseif $oUserFriend and $oUserFriend->getStatusTo()==$USER_FRIEND_REJECT and $oUserFriend->getStatusFrom()==$USER_FRIEND_OFFER and $oUserFriend->getUserTo()==$oUserCurrent->getId()}
|
||||
<li class="add">
|
||||
|
|
|
@ -32,8 +32,7 @@
|
|||
iCountComment=$oTalk->getCountComment()
|
||||
sDateReadLast=$oTalkUser->getDateLast()
|
||||
sNoticeCommentAdd=$aLang.topic_comment_add
|
||||
bNoCommentFavourites=true
|
||||
}
|
||||
bNoCommentFavourites=true}
|
||||
{/if}
|
||||
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<div class="block">
|
||||
<h2>{$aLang.talk_speaker_title}</h2>
|
||||
|
||||
{if $oTalk->getUserId()==$oUserCurrent->getId() or $oUserCurrent->isAdministrator() }
|
||||
{if $oTalk->getUserId()==$oUserCurrent->getId() or $oUserCurrent->isAdministrator()}
|
||||
{literal}
|
||||
<script language="JavaScript" type="text/javascript">
|
||||
document.addEvent('domready', function() {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{include file='header.tpl' menu="blog" }
|
||||
{include file='header.tpl' menu="blog"}
|
||||
|
||||
|
||||
<h2>{$aLang.top_topics}</h2>
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
{/if}
|
||||
{if $nesting < $cmtlevel}
|
||||
{elseif $nesting > $cmtlevel}
|
||||
{section name=closelist1 loop=`$nesting-$cmtlevel+1`}</div></div>{/section}
|
||||
{section name=closelist1 loop=($nesting-$cmtlevel+1)}</div></div>{/section}
|
||||
{elseif not $smarty.foreach.rublist.first}
|
||||
</div></div>
|
||||
{/if}
|
||||
|
@ -52,7 +52,7 @@
|
|||
{include file='comment.tpl'}
|
||||
{assign var="nesting" value=$cmtlevel}
|
||||
{if $smarty.foreach.rublist.last}
|
||||
{section name=closelist2 loop=`$nesting+1`}</div></div>{/section}
|
||||
{section name=closelist2 loop=($nesting+1)}</div></div>{/section}
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
|
@ -97,5 +97,5 @@
|
|||
{/if}
|
||||
{/if}
|
||||
|
||||
{include file='comment_paging.tpl' aPagingCmt=`$aPagingCmt`}
|
||||
{include file='comment_paging.tpl' aPagingCmt=$aPagingCmt}
|
||||
</div>
|
|
@ -1 +1 @@
|
|||
{include file=footer.tpl}
|
||||
{include file='footer.tpl'}
|
|
@ -1 +1 @@
|
|||
{include file=header.tpl}
|
||||
{include file='header.tpl'}
|
|
@ -96,11 +96,11 @@
|
|||
{hook run='body_begin'}
|
||||
|
||||
<div id="container">
|
||||
{include file=header_top.tpl}
|
||||
{include file='header_top.tpl'}
|
||||
|
||||
<div id="wrapper">
|
||||
<div id="content" {if $noSidebar}style="width: 100%"{/if}>
|
||||
{include file=header_nav.tpl}
|
||||
{include file='header_nav.tpl'}
|
||||
|
||||
{if !$noShowSystemMessage}
|
||||
{include file='system_message.tpl'}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{if $menu}
|
||||
<div id="nav">
|
||||
{if in_array($menu,$aMenuContainers)}{$aMenuFetch.$menu}{else}{include file=menu.$menu.tpl}{/if}
|
||||
{if in_array($menu,$aMenuContainers)}{$aMenuFetch.$menu}{else}{include file="menu.$menu.tpl"}{/if}
|
||||
</div>
|
||||
{/if}
|
|
@ -9,10 +9,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}
|
||||
|
|
Loading…
Reference in a new issue