From 26048fc8ce28715a0c7da3be6a2bbe82d25cf06d Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Sat, 3 Jun 2023 00:52:06 +0700 Subject: [PATCH] Minor improvements (#169) * Minor improvements * Update mysql.sql --- install/sql/mysql.sql | 6 +++++- styles/templates/admin/admin_rebuild_search.tpl | 4 ++-- styles/templates/default/login.tpl | 4 ++-- styles/templates/default/viewforum.tpl | 6 +----- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/install/sql/mysql.sql b/install/sql/mysql.sql index d9bc70d1..0c366edb 100644 --- a/install/sql/mysql.sql +++ b/install/sql/mysql.sql @@ -595,6 +595,10 @@ CREATE TABLE IF NOT EXISTS `bb_disallow` ( -- ---------------------------- -- Records of bb_disallow -- ---------------------------- +INSERT INTO `bb_disallow` VALUES ('1', 'torrentpier*'); +INSERT INTO `bb_disallow` VALUES ('2', 'tracker*'); +INSERT INTO `bb_disallow` VALUES ('3', 'forum*'); +INSERT INTO `bb_disallow` VALUES ('4', 'torrent*'); -- ---------------------------- -- Table structure for `bb_extensions` @@ -1259,4 +1263,4 @@ CREATE TABLE IF NOT EXISTS `buf_topic_view` ( -- ---------------------------- -- Records of buf_topic_view --- ---------------------------- \ No newline at end of file +-- ---------------------------- diff --git a/styles/templates/admin/admin_rebuild_search.tpl b/styles/templates/admin/admin_rebuild_search.tpl index 37b0918e..28035eee 100644 --- a/styles/templates/admin/admin_rebuild_search.tpl +++ b/styles/templates/admin/admin_rebuild_search.tpl @@ -135,7 +135,7 @@ function updateButton() { document.form_rebuild_progress.submit_button.value = label_next + " (" + ticker + ")"; - ticker--;; + ticker--; refresh = setTimeout("updateButton()", 1000); } } @@ -254,4 +254,4 @@ function updateButton() - \ No newline at end of file + diff --git a/styles/templates/default/login.tpl b/styles/templates/default/login.tpl index ec828d54..c07b7f72 100644 --- a/styles/templates/default/login.tpl +++ b/styles/templates/default/login.tpl @@ -43,7 +43,7 @@ - {L_FORGOTTEN_PASSWORD} + {L_FORGOTTEN_PASSWORD} · {L_REGISTER} @@ -52,4 +52,4 @@ - \ No newline at end of file + diff --git a/styles/templates/default/viewforum.tpl b/styles/templates/default/viewforum.tpl index cd7ebf9d..acdb508d 100644 --- a/styles/templates/default/viewforum.tpl +++ b/styles/templates/default/viewforum.tpl @@ -289,10 +289,6 @@ td.topic_id { cursor: pointer; } $('#moderators').append(data.html); }; - - -

{LOGGED_IN_USER_LIST}

- {PAGINATION} @@ -684,4 +680,4 @@ td.topic_id { cursor: pointer; } - \ No newline at end of file +