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

Адаптация шаблона new для Smarty 3

This commit is contained in:
Mzhelskiy Maxim 2011-04-27 16:00:25 +00:00
parent 469fe317be
commit a1395fa80c
19 changed files with 24 additions and 25 deletions

View file

@ -14,7 +14,7 @@
bAllowNewComment=$oTopic->getForbidComment()
sNoticeNotAllow=$aLang.topic_comment_notallow
sNoticeCommentAdd=$aLang.topic_comment_add
aPagingCmt=$aPagingCmt
}
aPagingCmt=$aPagingCmt}
{include file='footer.tpl'}

View file

@ -4,6 +4,6 @@
{include file='blog_list.tpl'}
</div>
{include file='paging.tpl' aPaging=`$aPaging`}
{include file='paging.tpl' aPaging=$aPaging}
{include file='footer.tpl'}

View file

@ -34,7 +34,7 @@
{/if}
</div>
{include file='paging.tpl' aPaging=`$aPaging`}
{include file='paging.tpl' aPaging=$aPaging}
{include file='footer.tpl'}

View file

@ -34,7 +34,7 @@
{/if}
</div>
{include file='paging.tpl' aPaging=`$aPaging`}
{include file='paging.tpl' aPaging=$aPaging}
{include file='footer.tpl'}

View file

@ -35,7 +35,7 @@
{/if}
</div>
{include file='paging.tpl' aPaging=`$aPaging`}
{include file='paging.tpl' aPaging=$aPaging}
{include file='footer.tpl'}

View file

@ -31,7 +31,7 @@
{/if}
</div>
{include file='paging.tpl' aPaging=`$aPaging`}
{include file='paging.tpl' aPaging=$aPaging}
{include file='footer.tpl'}

View file

@ -32,7 +32,7 @@
{/if}
</div>
{include file='paging.tpl' aPaging=`$aPaging`}
{include file='paging.tpl' aPaging=$aPaging}
{include file='footer.tpl'}

View file

@ -48,5 +48,5 @@
</tbody>
</table>
</div>
{include file='paging.tpl' aPaging=`$aPaging`}
{include file='paging.tpl' aPaging=$aPaging}
{include file='footer.tpl'}

View file

@ -53,5 +53,5 @@
<input type="submit" name="submit_talk_del" value="{$aLang.talk_inbox_delete}" onclick="return ($$('.form_talks_checkbox:checked').length==0)?false:confirm('{$aLang.talk_inbox_delete_confirm}');">
</form>
</div>
{include file='paging.tpl' aPaging=`$aPaging`}
{include file='paging.tpl' aPaging=$aPaging}
{include file='footer.tpl'}

View file

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

View file

@ -3,7 +3,7 @@
<div class="cl"><div class="cr">
<h1>{$aLang.talk_speaker_title}</h1>
{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() {

View file

@ -1,4 +1,4 @@
{include file='header.tpl' menu="blog" }
{include file='header.tpl' menu="blog"}
<div class="topic top">

View file

@ -40,4 +40,4 @@
</div>
{/foreach}
{include file='paging.tpl' aPaging=`$aPaging`}
{include file='paging.tpl' aPaging=$aPaging}

View file

@ -49,7 +49,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}
@ -62,7 +62,7 @@
{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}
@ -105,7 +105,7 @@
{/if}
{/if}
{include file='comment_paging.tpl' aPagingCmt=`$aPagingCmt`}
{include file='comment_paging.tpl' aPagingCmt=$aPagingCmt}
</div>

View file

@ -84,9 +84,9 @@ var msgNoticeBox=new Roar({
<div id="debug" style="border: 2px #dd0000 solid; display: none;"></div>
<div id="container">
{include file=header_top.tpl}
{include file='header_top.tpl'}
{include file=header_nav.tpl}
{include file='header_nav.tpl'}
<!--
<div id="extra">

View file

@ -10,7 +10,7 @@
{/if}
{if $menu}
{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}
{/if}

View file

@ -5,7 +5,7 @@
{if $sAction=='profile'}
<ul class="sub-menu" >
<li {if $aParams[0]=='whois' or $aParams[0]==''}class="active"{/if}><div><a href="{router page='profile'}{$oUserProfile->getLogin()}/">{$aLang.user_menu_profile_whois}</a></div></li>
<li {if $aParams[0]=='favourites'and$aParams[1]!='comments'}class="active"{/if}><div><a href="{router page='profile'}{$oUserProfile->getLogin()}/favourites/">{$aLang.user_menu_profile_favourites}</a>{if $iCountTopicFavourite} ({$iCountTopicFavourite}){/if}</div></li>
<li {if $aParams[0]=='favourites' and $aParams[1]!='comments'}class="active"{/if}><div><a href="{router page='profile'}{$oUserProfile->getLogin()}/favourites/">{$aLang.user_menu_profile_favourites}</a>{if $iCountTopicFavourite} ({$iCountTopicFavourite}){/if}</div></li>
<li {if $aParams[1]=='comments'}class="active"{/if}><div><a href="{router page='profile'}{$oUserProfile->getLogin()}/favourites/comments/">{$aLang.user_menu_profile_favourites_comments}</a>{if $iCountCommentFavourite} ({$iCountCommentFavourite}){/if}</div></li>
{hook run='menu_profile_profile_item'}
</ul>

View file

@ -4,10 +4,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}

View file

@ -89,7 +89,7 @@
<!-- /Topic -->
{/foreach}
{include file='paging.tpl' aPaging=`$aPaging`}
{include file='paging.tpl' aPaging=$aPaging}
{else}
{$aLang.blog_no_topic}