diff --git a/template/chat.tpl b/template/chat.tpl index 1528c1f..1f9f6f1 100644 --- a/template/chat.tpl +++ b/template/chat.tpl @@ -227,50 +227,44 @@ -{capture assign='sidebar'} -{/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=''|str_replace:$sidebar:$header} -{@$header} + + +{/capture} +{include file='header' sandbox=false sidebarDirection='left'}
topic|language === ''} style="display: none;"{/if}>{$room->topic|language}
@@ -343,7 +337,7 @@ } $('#chatInput').jCounter($('#chatInput').attr('maxlength'), { container: '.counter' }); - $('#sidebar').wcfSidebar(); + $('.sidebar').wcfSidebar(); //]]>