1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-29 04:55:02 +03:00

fix "developer-jquery" template for Smarty 3

This commit is contained in:
Mzhelskiy Maxim 2011-04-27 19:20:35 +00:00
parent c4c1955161
commit 60ed16be09
9 changed files with 13 additions and 15 deletions

View file

@ -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'}

View file

@ -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>

View file

@ -32,8 +32,7 @@
iCountComment=$oTalk->getCountComment()
sDateReadLast=$oTalkUser->getDateLast()
sNoticeCommentAdd=$aLang.topic_comment_add
bNoCommentFavourites=true
}
bNoCommentFavourites=true}
{/if}

View file

@ -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>

View file

@ -1 +1 @@
{include file=footer.tpl}
{include file='footer.tpl'}

View file

@ -1 +1 @@
{include file=header.tpl}
{include file='header.tpl'}

View file

@ -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'}

View file

@ -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}

View file

@ -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}