Delete o_quickjump

This commit is contained in:
Visman 2021-12-19 12:57:49 +07:00
parent bc66a61583
commit b1f06f0385
5 changed files with 1 additions and 21 deletions

View file

@ -1224,7 +1224,6 @@ class Install extends Admin
'b_censoring' => 0,
'b_show_dot' => 0,
'b_topic_views' => 1,
'o_quickjump' => 1,
'o_additional_navlinks' => '',
'i_report_method' => 0,
'o_regs_report' => 0,

View file

@ -56,7 +56,6 @@ class Options extends Admin
'b_users_online' => 'required|integer|in:0,1',
'b_show_dot' => 'required|integer|in:0,1',
'b_topic_views' => 'required|integer|in:0,1',
'o_quickjump' => 'required|integer|in:0,1',
'o_search_all_forums' => 'required|integer|in:0,1',
'o_additional_navlinks' => 'string:trim|max:65000 bytes',
'i_feed_type' => 'required|integer|in:0,1,2',
@ -434,13 +433,6 @@ class Options extends Admin
'caption' => 'Topic views label',
'help' => 'Topic views help',
],
'o_quickjump' => [
'type' => 'radio',
'value' => $config->o_quickjump,
'values' => $yn,
'caption' => 'Quick jump label',
'help' => 'Quick jump help',
],
'o_search_all_forums' => [ //????
'type' => 'radio',
'value' => $config->o_search_all_forums,

View file

@ -527,6 +527,7 @@ class Update extends Admin
unset($config->o_quickpost);
unset($config->o_users_online);
unset($config->o_censoring);
unset($config->o_quickjump);
$config->save();

View file

@ -150,12 +150,6 @@ msgstr "Topic views"
msgid "Topic views help"
msgstr "Keep track of the number of views a topic has. Disable if you are experiencing high server load in a busy forum."
msgid "Quick jump label"
msgstr "Quick jump"
msgid "Quick jump help"
msgstr "Enable the quick jump (jump to forum) drop list."
msgid "Search all label"
msgstr "Search all forums"

View file

@ -150,12 +150,6 @@ msgstr "Счетчик просмотров"
msgid "Topic views help"
msgstr "Отслеживать сколько раз тема просматривалась. Выключите, если хотите снизить загрузку сервера."
msgid "Quick jump label"
msgstr "Быстрый переход"
msgid "Quick jump help"
msgstr "Разрешить быстрый переход на другой раздел (выпадающий список разделов)."
msgid "Search all label"
msgstr "Поиск по всем разделам"