|
@@ -188,7 +188,7 @@ class Options extends Admin
|
|
|
'fields' => [
|
|
|
'o_board_title' => [
|
|
|
'type' => 'text',
|
|
|
- 'maxlength' => 255,
|
|
|
+ 'maxlength' => '255',
|
|
|
'value' => $config->o_board_title,
|
|
|
'caption' => __('Board title label'),
|
|
|
'info' => __('Board title help'),
|
|
@@ -280,24 +280,24 @@ class Options extends Admin
|
|
|
'fields' => [
|
|
|
'o_timeout_visit' => [
|
|
|
'type' => 'number',
|
|
|
- 'min' => 0,
|
|
|
- 'max' => 99999,
|
|
|
+ 'min' => '0',
|
|
|
+ 'max' => '99999',
|
|
|
'value' => $config->o_timeout_visit,
|
|
|
'caption' => __('Visit timeout label'),
|
|
|
'info' => __('Visit timeout help'),
|
|
|
],
|
|
|
'o_timeout_online' => [
|
|
|
'type' => 'number',
|
|
|
- 'min' => 0,
|
|
|
- 'max' => 99999,
|
|
|
+ 'min' => '0',
|
|
|
+ 'max' => '99999',
|
|
|
'value' => $config->o_timeout_online,
|
|
|
'caption' => __('Online timeout label'),
|
|
|
'info' => __('Online timeout help'),
|
|
|
],
|
|
|
'o_redirect_delay' => [
|
|
|
'type' => 'number',
|
|
|
- 'min' => 0,
|
|
|
- 'max' => 99999,
|
|
|
+ 'min' => '0',
|
|
|
+ 'max' => '99999',
|
|
|
'value' => $config->o_redirect_delay,
|
|
|
'caption' => __('Redirect time label'),
|
|
|
'info' => __('Redirect time help'),
|
|
@@ -324,32 +324,32 @@ class Options extends Admin
|
|
|
],
|
|
|
'o_disp_topics_default' => [
|
|
|
'type' => 'number',
|
|
|
- 'min' => 10,
|
|
|
- 'max' => 50,
|
|
|
+ 'min' => '10',
|
|
|
+ 'max' => '50',
|
|
|
'value' => $config->o_disp_topics_default,
|
|
|
'caption' => __('Topics per page label'),
|
|
|
'info' => __('Topics per page help'),
|
|
|
],
|
|
|
'o_disp_posts_default' => [
|
|
|
'type' => 'number',
|
|
|
- 'min' => 10,
|
|
|
- 'max' => 50,
|
|
|
+ 'min' => '10',
|
|
|
+ 'max' => '50',
|
|
|
'value' => $config->o_disp_posts_default,
|
|
|
'caption' => __('Posts per page label'),
|
|
|
'info' => __('Posts per page help'),
|
|
|
],
|
|
|
'o_disp_users' => [
|
|
|
'type' => 'number',
|
|
|
- 'min' => 10,
|
|
|
- 'max' => 50,
|
|
|
+ 'min' => '10',
|
|
|
+ 'max' => '50',
|
|
|
'value' => $config->o_disp_users,
|
|
|
'caption' => __('Users per page label'),
|
|
|
'info' => __('Users per page help'),
|
|
|
],
|
|
|
'o_topic_review' => [
|
|
|
'type' => 'number',
|
|
|
- 'min' => 0,
|
|
|
- 'max' => 50,
|
|
|
+ 'min' => '0',
|
|
|
+ 'max' => '50',
|
|
|
'value' => $config->o_topic_review,
|
|
|
'caption' => __('Topic review label'),
|
|
|
'info' => __('Topic review help'),
|
|
@@ -506,7 +506,7 @@ class Options extends Admin
|
|
|
],
|
|
|
'o_avatars_dir' => [ //????
|
|
|
'type' => 'text',
|
|
|
- 'maxlength' => 255,
|
|
|
+ 'maxlength' => '255',
|
|
|
'value' => $config->o_avatars_dir,
|
|
|
'caption' => __('Upload directory label'),
|
|
|
'info' => __('Upload directory help'),
|
|
@@ -514,24 +514,24 @@ class Options extends Admin
|
|
|
],
|
|
|
'o_avatars_width' => [
|
|
|
'type' => 'number',
|
|
|
- 'min' => 50,
|
|
|
- 'max' => 999,
|
|
|
+ 'min' => '50',
|
|
|
+ 'max' => '999',
|
|
|
'value' => $config->o_avatars_width,
|
|
|
'caption' => __('Max width label'),
|
|
|
'info' => __('Max width help'),
|
|
|
],
|
|
|
'o_avatars_height' => [
|
|
|
'type' => 'number',
|
|
|
- 'min' => 50,
|
|
|
- 'max' => 999,
|
|
|
+ 'min' => '50',
|
|
|
+ 'max' => '999',
|
|
|
'value' => $config->o_avatars_height,
|
|
|
'caption' => __('Max height label'),
|
|
|
'info' => __('Max height help'),
|
|
|
],
|
|
|
'o_avatars_size' => [
|
|
|
'type' => 'number',
|
|
|
- 'min' => 0,
|
|
|
- 'max' => 9999999,
|
|
|
+ 'min' => '0',
|
|
|
+ 'max' => '9999999',
|
|
|
'value' => $config->o_avatars_size,
|
|
|
'caption' => __('Max size label'),
|
|
|
'info' => __('Max size help'),
|
|
@@ -544,7 +544,7 @@ class Options extends Admin
|
|
|
'fields' => [
|
|
|
'o_admin_email' => [
|
|
|
'type' => 'text',
|
|
|
- 'maxlength' => 80,
|
|
|
+ 'maxlength' => '80',
|
|
|
'value' => $config->o_admin_email,
|
|
|
'caption' => __('Admin e-mail label'),
|
|
|
'info' => __('Admin e-mail help'),
|
|
@@ -553,7 +553,7 @@ class Options extends Admin
|
|
|
],
|
|
|
'o_webmaster_email' => [
|
|
|
'type' => 'text',
|
|
|
- 'maxlength' => 80,
|
|
|
+ 'maxlength' => '80',
|
|
|
'value' => $config->o_webmaster_email,
|
|
|
'caption' => __('Webmaster e-mail label'),
|
|
|
'info' => __('Webmaster e-mail help'),
|
|
@@ -576,29 +576,29 @@ class Options extends Admin
|
|
|
],
|
|
|
'i_email_max_recipients' => [
|
|
|
'type' => 'number',
|
|
|
- 'min' => 1,
|
|
|
- 'max' => 99999,
|
|
|
+ 'min' => '1',
|
|
|
+ 'max' => '99999',
|
|
|
'value' => $config->i_email_max_recipients,
|
|
|
'caption' => __('Email max recipients label'),
|
|
|
'info' => __('Email max recipients help'),
|
|
|
],
|
|
|
'o_smtp_host' => [
|
|
|
'type' => 'text',
|
|
|
- 'maxlength' => 255,
|
|
|
+ 'maxlength' => '255',
|
|
|
'value' => $config->o_smtp_host,
|
|
|
'caption' => __('SMTP address label'),
|
|
|
'info' => __('SMTP address help'),
|
|
|
],
|
|
|
'o_smtp_user' => [
|
|
|
'type' => 'text',
|
|
|
- 'maxlength' => 255,
|
|
|
+ 'maxlength' => '255',
|
|
|
'value' => $config->o_smtp_user,
|
|
|
'caption' => __('SMTP username label'),
|
|
|
'info' => __('SMTP username help'),
|
|
|
],
|
|
|
'o_smtp_pass' => [
|
|
|
'type' => 'password',
|
|
|
- 'maxlength' => 255,
|
|
|
+ 'maxlength' => '255',
|
|
|
'value' => $config->o_smtp_pass ? ' ' : null,
|
|
|
'caption' => __('SMTP password label'),
|
|
|
'info' => __('SMTP password help'),
|