mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10:08 +00:00
Use the new sidebar methods
This commit is contained in:
parent
bc386af3d5
commit
1b3206f81b
@ -227,8 +227,7 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body id="tpl{$templateName|ucfirst}">
|
<body id="tpl{$templateName|ucfirst}">
|
||||||
{capture assign='sidebar'}<aside class="sidebar">
|
{capture assign='sidebar'}
|
||||||
<div id="sidebar">
|
|
||||||
<nav class="chatSidebarTabs">
|
<nav class="chatSidebarTabs">
|
||||||
<ul>
|
<ul>
|
||||||
<li id="toggleUsers" class="active"><a href="javascript:;" title="{lang}wcf.chat.users{/lang}">{lang}wcf.chat.users{/lang}</a></li>
|
<li id="toggleUsers" class="active"><a href="javascript:;" title="{lang}wcf.chat.users{/lang}">{lang}wcf.chat.users{/lang}</a></li>
|
||||||
@ -264,13 +263,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
{/capture}
|
||||||
</aside>
|
{include file='header' sandbox=false sidebarDirection='left'}
|
||||||
<!-- CONTENT -->{/capture}
|
|
||||||
{capture assign='header'}{include file='header' sandbox=false}{/capture}
|
|
||||||
{assign var='header' value='class="main"'|str_replace:'class="main left"':$header}
|
|
||||||
{assign var='header' value='<!-- CONTENT -->'|str_replace:$sidebar:$header}
|
|
||||||
{@$header}
|
|
||||||
|
|
||||||
<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>
|
||||||
@ -343,7 +337,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
$('#chatInput').jCounter($('#chatInput').attr('maxlength'), { container: '.counter' });
|
$('#chatInput').jCounter($('#chatInput').attr('maxlength'), { container: '.counter' });
|
||||||
$('#sidebar').wcfSidebar();
|
$('.sidebar').wcfSidebar();
|
||||||
//]]>
|
//]]>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user