diff --git a/CHANGELOG.md b/CHANGELOG.md index f45a04dc6..804d6881a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ - Used datastore to show statistic for more performance [\#1309](https://github.com/torrentpier/torrentpier/pull/1309) ([belomaxorka](https://github.com/belomaxorka)) - Used `humn_size()` to count average of releases in tr_stats.php [\#1313](https://github.com/torrentpier/torrentpier/pull/1313) ([belomaxorka](https://github.com/belomaxorka)) - Some enhancements in default template [\#1312](https://github.com/torrentpier/torrentpier/pull/1312) ([belomaxorka](https://github.com/belomaxorka)) +- Some enhancements in default template (Part 2) [\#1322](https://github.com/torrentpier/torrentpier/pull/1322) ([belomaxorka](https://github.com/belomaxorka)) - Set response code in some cases [\#1319](https://github.com/torrentpier/torrentpier/pull/1319) ([belomaxorka](https://github.com/belomaxorka)) - Fixed auth(): empty $f_access [\#1329](https://github.com/torrentpier/torrentpier/pull/1329) ([belomaxorka](https://github.com/belomaxorka)) - Fixed HTTP 500 while cron running in server-side [\#1321](https://github.com/torrentpier/torrentpier/pull/1321) ([belomaxorka](https://github.com/belomaxorka)) diff --git a/styles/js/bbcode.js b/styles/js/bbcode.js index baf3818e0..f15ddfa9c 100644 --- a/styles/js/bbcode.js +++ b/styles/js/bbcode.js @@ -363,9 +363,6 @@ function initPostImages(context) { $('#preload').append($img); var loading_icon = ''; $v.html(loading_icon); - if ($.browser.msie) { - $v.after(''); - } $img.one('load', function () { imgFit(this, maxW); $v.empty().append(this); @@ -375,9 +372,6 @@ function initPostImages(context) { imgFit(this, maxW) }); $v.empty().append($img); - if ($.browser.msie) { - $v.after(''); - } } }); } diff --git a/styles/templates/admin/admin_forums.tpl b/styles/templates/admin/admin_forums.tpl index f59c320f8..7bac51fd9 100644 --- a/styles/templates/admin/admin_forums.tpl +++ b/styles/templates/admin/admin_forums.tpl @@ -209,7 +209,13 @@ function hl (id, on) {L_TOPICS_SHORT}: {c.f.NUM_TOPICS} {L_POSTS_SHORT}: {c.f.NUM_POSTS} - {L_EDIT}·{L_PERMISSIONS}·{L_SYNC}·{L_DELETE} + {L_EDIT} + · + {L_PERMISSIONS} + · + {L_SYNC} + · + {L_DELETE} {c.f.PRUNE_DAYS} diff --git a/styles/templates/admin/admin_ug_auth.tpl b/styles/templates/admin/admin_ug_auth.tpl index 33b338d9d..4c55e2ca8 100644 --- a/styles/templates/admin/admin_ug_auth.tpl +++ b/styles/templates/admin/admin_ug_auth.tpl @@ -191,13 +191,6 @@ if (tCont.offsetHeight > document.body.clientHeight) { tCont.style.height = document.body.clientHeight; } -if ($.browser.mozilla) { - if (tBody.offsetHeight > document.body.clientHeight - 65) { - tBody.style.height = document.body.clientHeight - 65; - } - tCont.style.maxWidth = document.body.clientWidth - 20; -} - function flip_perm (f_id, acl_id) { id = f_id + '_' + acl_id; diff --git a/styles/templates/default/search_results.tpl b/styles/templates/default/search_results.tpl index 04096d93f..944cacf52 100644 --- a/styles/templates/default/search_results.tpl +++ b/styles/templates/default/search_results.tpl @@ -101,11 +101,7 @@ function show_edit_options () }); $('input.topic-chbox').click(function(){ - if ($.browser.mozilla) { - $('#tr-'+this.value+' td').toggleClass('hl-selected-row'); - } else { - $('#tr-'+this.value).toggleClass('hl-selected-row'); - } + $('#tr-'+this.value).toggleClass('hl-selected-row'); }); $('#pagination a.pg').each(function(){ this.href += '&mod=1'; }); $('#ed-list-desc').hide(); diff --git a/styles/templates/default/tracker.tpl b/styles/templates/default/tracker.tpl index 9fa3900c4..e12759d19 100644 --- a/styles/templates/default/tracker.tpl +++ b/styles/templates/default/tracker.tpl @@ -39,10 +39,6 @@ ajax.callback.view_post = function(data) { var $links = $('div.post_links', $('#post_'+post_id)); $post.css({ maxWidth: maxW, maxHeight: maxH }); $links.css({ maxWidth: maxW }); - if ($.browser.msie) { - if ($post.height() > maxH) { $post.height(maxH); } - if ($post.width() > maxW) { $post.width(maxW); $links.width(maxW); } - } ajax.openedPosts[post_id] = true; }; @@ -81,85 +77,76 @@ ajax.callback.view_post = function(data) {