mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
Fixing template
This commit is contained in:
parent
9949a0de89
commit
eed48c4a34
@ -139,13 +139,7 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body id="tpl{$templateName|ucfirst}">
|
<body id="tpl{$templateName|ucfirst}">
|
||||||
{capture assign='sidebar'}{/capture}
|
{capture assign='sidebar'}<aside class="sidebar">
|
||||||
{capture assign='header'}{include file='header' sandbox=false}{/capture}
|
|
||||||
{assign var='header' value='class="main"'|str_replace:'class="main right"':$header}
|
|
||||||
{assign var='header' value='<!-- CONTENT -->'|str_replace:$sidebar:$header}
|
|
||||||
{assign var='header' value='<section id="content" class="content">'|str_replace:$sidebar:$header}
|
|
||||||
{@$header}
|
|
||||||
<aside class="sidebar">
|
|
||||||
<div id="sidebar">
|
<div id="sidebar">
|
||||||
<button title="{lang}wcf.chat.title{/lang}" value="{link controller="Chat"}{/link}">{lang}wcf.chat.title{/lang}</button>
|
<button title="{lang}wcf.chat.title{/lang}" value="{link controller="Chat"}{/link}">{lang}wcf.chat.title{/lang}</button>
|
||||||
<button title="{lang}wcf.chat.protocol{/lang}" value="{link controller="Chat" action="Log"}{/link}">{lang}wcf.chat.protocol{/lang}</button>
|
<button title="{lang}wcf.chat.protocol{/lang}" value="{link controller="Chat" action="Log"}{/link}">{lang}wcf.chat.protocol{/lang}</button>
|
||||||
@ -179,10 +173,12 @@
|
|||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
</aside>
|
</aside>
|
||||||
<!-- CONTENT -->
|
<!-- CONTENT -->{/capture}
|
||||||
<section id="content" class="content">
|
{capture assign='header'}{include file='header' sandbox=false}{/capture}
|
||||||
|
{assign var='header' value='class="main"'|str_replace:'class="main right"':$header}
|
||||||
|
{assign var='header' value='<!-- CONTENT -->'|str_replace:$sidebar:$header}
|
||||||
|
{@$header}
|
||||||
|
|
||||||
{include file='breadcrumbs' sandbox=false}
|
|
||||||
<div id="chatRoomContent">
|
<div id="chatRoomContent">
|
||||||
<div id="topic" class="border"{if $room->topic|language === ''} style="display: none;"{/if}>{$room->topic|language}</div>
|
<div id="topic" class="border"{if $room->topic|language === ''} style="display: none;"{/if}>{$room->topic|language}</div>
|
||||||
<div class="chatMessageContainer border content">
|
<div class="chatMessageContainer border content">
|
||||||
|
Loading…
Reference in New Issue
Block a user