Procházet zdrojové kódy

- Removed o_indent_num_spaces from configuration

Visman před 6 roky
rodič
revize
037b11089e

+ 0 - 9
app/Models/Pages/Admin/Options.php

@@ -51,7 +51,6 @@ class Options extends Admin
                     'o_disp_topics_default'   => 'required|integer|min:10|max:50',
                     'o_disp_posts_default'    => 'required|integer|min:10|max:50',
                     'o_disp_users'            => 'required|integer|min:10|max:50',
-                    'o_indent_num_spaces'     => 'required|integer|min:0|max:99',
                     'o_quote_depth'           => 'required|integer|min:0|max:9',
                     'o_quickpost'             => 'required|integer|in:0,1',
                     'o_users_online'          => 'required|integer|in:0,1',
@@ -411,14 +410,6 @@ class Options extends Admin
                     'caption' => \ForkBB\__('Topic review label'),
                     'info'    => \ForkBB\__('Topic review help'),
                 ],
-                'o_indent_num_spaces' => [
-                    'type'    => 'number',
-                    'min'     => 0,
-                    'max'     => 99,
-                    'value'   => $config->o_indent_num_spaces,
-                    'caption' => \ForkBB\__('Indent label'),
-                    'info'    => \ForkBB\__('Indent help'),
-                ],
                 'o_quote_depth' => [
                     'type'    => 'number',
                     'min'     => 0,

+ 0 - 1
app/Models/Pages/Install.php

@@ -1062,7 +1062,6 @@ class Install extends Page
             'o_disp_topics_default'   => 30,
             'o_disp_posts_default'    => 25,
             'o_disp_users'            => 50,
-            'o_indent_num_spaces'     => 4,
             'o_quote_depth'           => 3,
             'o_quickpost'             => 1,
             'o_users_online'          => 1,

+ 0 - 6
app/lang/en/admin_options.po

@@ -153,12 +153,6 @@ msgstr "Users per page"
 msgid "Users per page help"
 msgstr "The number of users displayed on one page of the list."
 
-msgid "Indent label"
-msgstr "Indent size"
-
-msgid "Indent help"
-msgstr "If set to 8, a regular tab will be used when displaying text within the [code][/code] tag. Otherwise this many spaces will be used to indent the text."
-
 msgid "Quote depth label"
 msgstr "Maximum [quote] depth"
 

+ 0 - 6
app/lang/ru/admin_options.po

@@ -153,12 +153,6 @@ msgstr "Пользователей на страницу"
 msgid "Users per page help"
 msgstr "Число пользователей отображаемых на одной странице списка."
 
-msgid "Indent label"
-msgstr "Размер отступа"
-
-msgid "Indent help"
-msgstr "Если поставить 8, отступы внутри тегов [code][/code] будут делаться табуляцими. Иначе отступы будут отбиваться пробелами."
-
 msgid "Quote depth label"
 msgstr "Максимальная глубина [quote]"