mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-01 14:05:07 +03:00
fix "developer-jquery" template for Smarty 3
This commit is contained in:
parent
c4c1955161
commit
60ed16be09
|
@ -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 id="delete_friend_item"><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 id="add_friend_item"><a href="#" title="{$aLang.user_friend_add}" onclick="ajaxAddUserFriend(this,{$oUserProfile->getId()},'accept'); return false;">{$aLang.user_friend_add}</a></li>
|
||||
|
|
|
@ -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()}
|
||||
<form onsubmit="talk.addToTalk({$oTalk->getId()}); return false;">
|
||||
<p><label>{$aLang.talk_speaker_add_label}:<br />
|
||||
<input type="text" id="talk_speaker_add" name="add" class="input-wide autocomplete-users" /></label></p>
|
||||
|
|
|
@ -1 +1 @@
|
|||
{include file=footer.tpl}
|
||||
{include file='footer.tpl'}
|
|
@ -1 +1 @@
|
|||
{include file=header.tpl}
|
||||
{include file='header.tpl'}
|
|
@ -47,12 +47,12 @@
|
|||
{hook run='body_begin'}
|
||||
|
||||
<div id="container">
|
||||
{include file=header_top.tpl}
|
||||
{include file='header_top.tpl'}
|
||||
|
||||
<div id="wrapper">
|
||||
<div id="content">
|
||||
{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'}
|
|
@ -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}
|
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue