diff --git a/core/html/Boards.template.php b/core/html/Boards.template.php index c7f458c2..d63d56ff 100644 --- a/core/html/Boards.template.php +++ b/core/html/Boards.template.php @@ -220,8 +220,8 @@ function template_boards_newsfader() '; add_js(' - $(\'#sortable\').sortable({ handle: \'.handle\' }); - $(\'#sortable\').disableSelection();'); + $(\'#sortable\').sortable({ handle: \'.handle\' }); + $(\'#sortable\').disableSelection();'); } diff --git a/core/html/index.template.php b/core/html/index.template.php index ebfbc4da..ffece241 100644 --- a/core/html/index.template.php +++ b/core/html/index.template.php @@ -221,7 +221,8 @@ function template_logo_toggler() { global $options; - echo ' + if (we::$is_member) + echo '
'; } diff --git a/core/javascript/script.js b/core/javascript/script.js index 7374b332..a67709d2 100644 --- a/core/javascript/script.js +++ b/core/javascript/script.js @@ -621,16 +621,18 @@ $(function () $(window).load(function () { - $('#upshrink').attr('title', $txt['upshrink_description']); - - // You may change the ID names for the elements in the index template, - // but you'll have to add_js() the code below, with the new IDs in place. - new weToggle({ - isCollapsed: !!window.we_colhead, - aSwapContainers: ['banner'], - aSwapImages: ['upshrink'], - sOption: 'collapse_header' - }); + @if member { + $('#upshrink').attr('title', $txt['upshrink_description']); + + // You may change the ID names for the elements in the index template, + // but you'll have to add_js() the code below, with the new IDs in place. + new weToggle({ + isCollapsed: !!window.we_colhead, + aSwapContainers: ['banner'], + aSwapImages: ['upshrink'], + sOption: 'collapse_header' + }); + } // Show a pop-up with more options when focusing the quick search box. var opened, $pop = $('
').appendTo($('#search_form').addClass('mime'));