|
@@ -209,7 +209,7 @@ class Options extends Admin
|
|
|
'maxlength' => '255',
|
|
|
'value' => $config->o_board_title,
|
|
|
'caption' => __('Board title label'),
|
|
|
- 'info' => __('Board title help'),
|
|
|
+ 'help' => 'Board title help',
|
|
|
'required' => true,
|
|
|
# 'autofocus' => true,
|
|
|
],
|
|
@@ -217,7 +217,7 @@ class Options extends Admin
|
|
|
'type' => 'textarea',
|
|
|
'value' => $config->o_board_desc,
|
|
|
'caption' => __('Board desc label'),
|
|
|
- 'info' => __('Board desc help'),
|
|
|
+ 'help' => 'Board desc help',
|
|
|
],
|
|
|
'o_default_timezone' => [
|
|
|
'type' => 'select',
|
|
@@ -265,28 +265,28 @@ class Options extends Admin
|
|
|
],
|
|
|
'value' => $config->o_default_timezone,
|
|
|
'caption' => __('Timezone label'),
|
|
|
- 'info' => __('Timezone help'),
|
|
|
+ 'help' => 'Timezone help',
|
|
|
],
|
|
|
'o_default_dst' => [
|
|
|
'type' => 'radio',
|
|
|
'value' => $config->o_default_dst,
|
|
|
'values' => $yn,
|
|
|
'caption' => __('DST label'),
|
|
|
- 'info' => __('DST help'),
|
|
|
+ 'help' => 'DST help',
|
|
|
],
|
|
|
'o_default_lang' => [
|
|
|
'type' => 'select',
|
|
|
'options' => $langs,
|
|
|
'value' => $config->o_default_lang,
|
|
|
'caption' => __('Language label'),
|
|
|
- 'info' => __('Language help'),
|
|
|
+ 'help' => 'Language help',
|
|
|
],
|
|
|
'o_default_style' => [
|
|
|
'type' => 'select',
|
|
|
'options' => $styles,
|
|
|
'value' => $config->o_default_style,
|
|
|
'caption' => __('Default style label'),
|
|
|
- 'info' => __('Default style help'),
|
|
|
+ 'help' => 'Default style help',
|
|
|
],
|
|
|
],
|
|
|
];
|
|
@@ -302,7 +302,7 @@ class Options extends Admin
|
|
|
'max' => '99999',
|
|
|
'value' => $config->o_timeout_visit,
|
|
|
'caption' => __('Visit timeout label'),
|
|
|
- 'info' => __('Visit timeout help'),
|
|
|
+ 'help' => 'Visit timeout help',
|
|
|
],
|
|
|
'o_timeout_online' => [
|
|
|
'type' => 'number',
|
|
@@ -310,7 +310,7 @@ class Options extends Admin
|
|
|
'max' => '99999',
|
|
|
'value' => $config->o_timeout_online,
|
|
|
'caption' => __('Online timeout label'),
|
|
|
- 'info' => __('Online timeout help'),
|
|
|
+ 'help' => 'Online timeout help',
|
|
|
],
|
|
|
'o_redirect_delay' => [
|
|
|
'type' => 'number',
|
|
@@ -318,7 +318,7 @@ class Options extends Admin
|
|
|
'max' => '99999',
|
|
|
'value' => $config->o_redirect_delay,
|
|
|
'caption' => __('Redirect time label'),
|
|
|
- 'info' => __('Redirect time help'),
|
|
|
+ 'help' => 'Redirect time help',
|
|
|
],
|
|
|
],
|
|
|
];
|
|
@@ -331,14 +331,14 @@ class Options extends Admin
|
|
|
'value' => $config->o_show_user_info,
|
|
|
'values' => $yn,
|
|
|
'caption' => __('Info in posts label'),
|
|
|
- 'info' => __('Info in posts help'),
|
|
|
+ 'help' => 'Info in posts help',
|
|
|
],
|
|
|
'o_show_post_count' => [
|
|
|
'type' => 'radio',
|
|
|
'value' => $config->o_show_post_count,
|
|
|
'values' => $yn,
|
|
|
'caption' => __('Post count label'),
|
|
|
- 'info' => __('Post count help'),
|
|
|
+ 'help' => 'Post count help',
|
|
|
],
|
|
|
'i_disp_topics_default' => [
|
|
|
'type' => 'number',
|
|
@@ -346,7 +346,7 @@ class Options extends Admin
|
|
|
'max' => '50',
|
|
|
'value' => $config->i_disp_topics_default,
|
|
|
'caption' => __('Topics per page label'),
|
|
|
- 'info' => __('Topics per page help'),
|
|
|
+ 'help' => 'Topics per page help',
|
|
|
],
|
|
|
'i_disp_posts_default' => [
|
|
|
'type' => 'number',
|
|
@@ -354,7 +354,7 @@ class Options extends Admin
|
|
|
'max' => '50',
|
|
|
'value' => $config->i_disp_posts_default,
|
|
|
'caption' => __('Posts per page label'),
|
|
|
- 'info' => __('Posts per page help'),
|
|
|
+ 'help' => 'Posts per page help',
|
|
|
],
|
|
|
'i_disp_users' => [
|
|
|
'type' => 'number',
|
|
@@ -362,7 +362,7 @@ class Options extends Admin
|
|
|
'max' => '50',
|
|
|
'value' => $config->i_disp_users,
|
|
|
'caption' => __('Users per page label'),
|
|
|
- 'info' => __('Users per page help'),
|
|
|
+ 'help' => 'Users per page help',
|
|
|
],
|
|
|
'i_topic_review' => [
|
|
|
'type' => 'number',
|
|
@@ -370,35 +370,35 @@ class Options extends Admin
|
|
|
'max' => '50',
|
|
|
'value' => $config->i_topic_review,
|
|
|
'caption' => __('Topic review label'),
|
|
|
- 'info' => __('Topic review help'),
|
|
|
+ 'help' => 'Topic review help',
|
|
|
],
|
|
|
'p_message_all_caps' => [
|
|
|
'type' => 'radio',
|
|
|
'value' => $config->p_message_all_caps,
|
|
|
'values' => $yn,
|
|
|
'caption' => __('All caps message label'),
|
|
|
- 'info' => __('All caps message help'),
|
|
|
+ 'help' => 'All caps message help',
|
|
|
],
|
|
|
'p_subject_all_caps' => [
|
|
|
'type' => 'radio',
|
|
|
'value' => $config->p_subject_all_caps,
|
|
|
'values' => $yn,
|
|
|
'caption' => __('All caps subject label'),
|
|
|
- 'info' => __('All caps subject help'),
|
|
|
+ 'help' => 'All caps subject help',
|
|
|
],
|
|
|
'p_sig_all_caps' => [
|
|
|
'type' => 'radio',
|
|
|
'value' => $config->p_sig_all_caps,
|
|
|
'values' => $yn,
|
|
|
'caption' => __('All caps sigs label'),
|
|
|
- 'info' => __('All caps sigs help'),
|
|
|
+ 'help' => 'All caps sigs help',
|
|
|
],
|
|
|
'p_force_guest_email' => [
|
|
|
'type' => 'radio',
|
|
|
'value' => $config->p_force_guest_email,
|
|
|
'values' => $yn,
|
|
|
'caption' => __('Require e-mail label'),
|
|
|
- 'info' => __('Require e-mail help'),
|
|
|
+ 'help' => 'Require e-mail help',
|
|
|
],
|
|
|
],
|
|
|
];
|
|
@@ -411,48 +411,48 @@ class Options extends Admin
|
|
|
'value' => $config->o_quickpost,
|
|
|
'values' => $yn,
|
|
|
'caption' => __('Quick post label'),
|
|
|
- 'info' => __('Quick post help'),
|
|
|
+ 'help' => 'Quick post help',
|
|
|
],
|
|
|
'o_users_online' => [
|
|
|
'type' => 'radio',
|
|
|
'value' => $config->o_users_online,
|
|
|
'values' => $yn,
|
|
|
'caption' => __('Users online label'),
|
|
|
- 'info' => __('Users online help'),
|
|
|
+ 'help' => 'Users online help',
|
|
|
],
|
|
|
'o_show_dot' => [
|
|
|
'type' => 'radio',
|
|
|
'value' => $config->o_show_dot,
|
|
|
'values' => $yn,
|
|
|
'caption' => __('User has posted label'),
|
|
|
- 'info' => __('User has posted help'),
|
|
|
+ 'help' => 'User has posted help',
|
|
|
],
|
|
|
'o_topic_views' => [
|
|
|
'type' => 'radio',
|
|
|
'value' => $config->o_topic_views,
|
|
|
'values' => $yn,
|
|
|
'caption' => __('Topic views label'),
|
|
|
- 'info' => __('Topic views help'),
|
|
|
+ 'help' => 'Topic views help',
|
|
|
],
|
|
|
'o_quickjump' => [
|
|
|
'type' => 'radio',
|
|
|
'value' => $config->o_quickjump,
|
|
|
'values' => $yn,
|
|
|
'caption' => __('Quick jump label'),
|
|
|
- 'info' => __('Quick jump help'),
|
|
|
+ 'help' => 'Quick jump help',
|
|
|
],
|
|
|
'o_search_all_forums' => [ //????
|
|
|
'type' => 'radio',
|
|
|
'value' => $config->o_search_all_forums,
|
|
|
'values' => $yn,
|
|
|
'caption' => __('Search all label'),
|
|
|
- 'info' => __('Search all help'),
|
|
|
+ 'help' => 'Search all help',
|
|
|
],
|
|
|
'o_additional_navlinks' => [
|
|
|
'type' => 'textarea',
|
|
|
'value' => $config->o_additional_navlinks,
|
|
|
'caption' => __('Menu items label'),
|
|
|
- 'info' => __('Menu items help'),
|
|
|
+ 'help' => 'Menu items help',
|
|
|
],
|
|
|
|
|
|
],
|
|
@@ -470,7 +470,7 @@ class Options extends Admin
|
|
|
2 => __('Atom'),
|
|
|
],
|
|
|
'caption' => __('Default feed label'),
|
|
|
- 'info' => __('Default feed help'),
|
|
|
+ 'help' => 'Default feed help',
|
|
|
],
|
|
|
'i_feed_ttl' => [
|
|
|
'type' => 'select',
|
|
@@ -483,7 +483,7 @@ class Options extends Admin
|
|
|
],
|
|
|
'value' => $config->i_feed_ttl,
|
|
|
'caption' => __('Feed TTL label'),
|
|
|
- 'info' => __('Feed TTL help'),
|
|
|
+ 'help' => 'Feed TTL help',
|
|
|
],
|
|
|
|
|
|
],
|
|
@@ -501,13 +501,13 @@ class Options extends Admin
|
|
|
2 => __('Both'),
|
|
|
],
|
|
|
'caption' => __('Reporting method label'),
|
|
|
- 'info' => __('Reporting method help'),
|
|
|
+ 'help' => 'Reporting method help',
|
|
|
],
|
|
|
'o_mailing_list' => [
|
|
|
'type' => 'textarea',
|
|
|
'value' => $config->o_mailing_list,
|
|
|
'caption' => __('Mailing list label'),
|
|
|
- 'info' => __('Mailing list help'),
|
|
|
+ 'help' => 'Mailing list help',
|
|
|
],
|
|
|
],
|
|
|
];
|
|
@@ -520,14 +520,14 @@ class Options extends Admin
|
|
|
'value' => $config->o_avatars,
|
|
|
'values' => $yn,
|
|
|
'caption' => __('Use avatars label'),
|
|
|
- 'info' => __('Use avatars help'),
|
|
|
+ 'help' => 'Use avatars help',
|
|
|
],
|
|
|
'o_avatars_dir' => [ //????
|
|
|
'type' => 'text',
|
|
|
'maxlength' => '255',
|
|
|
'value' => $config->o_avatars_dir,
|
|
|
'caption' => __('Upload directory label'),
|
|
|
- 'info' => __(['Upload directory help', $this->c->PUBLIC_URL]),
|
|
|
+ 'help' => ['Upload directory help', $this->c->PUBLIC_URL],
|
|
|
'required' => true,
|
|
|
],
|
|
|
'i_avatars_width' => [
|
|
@@ -536,7 +536,7 @@ class Options extends Admin
|
|
|
'max' => '999',
|
|
|
'value' => $config->i_avatars_width,
|
|
|
'caption' => __('Max width label'),
|
|
|
- 'info' => __('Max width help'),
|
|
|
+ 'help' => 'Max width help',
|
|
|
],
|
|
|
'i_avatars_height' => [
|
|
|
'type' => 'number',
|
|
@@ -544,7 +544,7 @@ class Options extends Admin
|
|
|
'max' => '999',
|
|
|
'value' => $config->i_avatars_height,
|
|
|
'caption' => __('Max height label'),
|
|
|
- 'info' => __('Max height help'),
|
|
|
+ 'help' => 'Max height help',
|
|
|
],
|
|
|
'i_avatars_size' => [
|
|
|
'type' => 'number',
|
|
@@ -552,7 +552,7 @@ class Options extends Admin
|
|
|
'max' => '9999999',
|
|
|
'value' => $config->i_avatars_size,
|
|
|
'caption' => __('Max size label'),
|
|
|
- 'info' => __('Max size help'),
|
|
|
+ 'help' => 'Max size help',
|
|
|
],
|
|
|
],
|
|
|
];
|
|
@@ -565,7 +565,7 @@ class Options extends Admin
|
|
|
'maxlength' => '80',
|
|
|
'value' => $config->o_admin_email,
|
|
|
'caption' => __('Admin e-mail label'),
|
|
|
- 'info' => __('Admin e-mail help'),
|
|
|
+ 'help' => 'Admin e-mail help',
|
|
|
'required' => true,
|
|
|
'pattern' => '.+@.+',
|
|
|
],
|
|
@@ -574,7 +574,7 @@ class Options extends Admin
|
|
|
'maxlength' => '80',
|
|
|
'value' => $config->o_webmaster_email,
|
|
|
'caption' => __('Webmaster e-mail label'),
|
|
|
- 'info' => __('Webmaster e-mail help'),
|
|
|
+ 'help' => 'Webmaster e-mail help',
|
|
|
'required' => true,
|
|
|
'pattern' => '.+@.+',
|
|
|
],
|
|
@@ -583,14 +583,14 @@ class Options extends Admin
|
|
|
'value' => $config->o_forum_subscriptions,
|
|
|
'values' => $yn,
|
|
|
'caption' => __('Forum subscriptions label'),
|
|
|
- 'info' => __('Forum subscriptions help'),
|
|
|
+ 'help' => 'Forum subscriptions help',
|
|
|
],
|
|
|
'o_topic_subscriptions' => [
|
|
|
'type' => 'radio',
|
|
|
'value' => $config->o_topic_subscriptions,
|
|
|
'values' => $yn,
|
|
|
'caption' => __('Topic subscriptions label'),
|
|
|
- 'info' => __('Topic subscriptions help'),
|
|
|
+ 'help' => 'Topic subscriptions help',
|
|
|
],
|
|
|
'i_email_max_recipients' => [
|
|
|
'type' => 'number',
|
|
@@ -598,28 +598,28 @@ class Options extends Admin
|
|
|
'max' => '99999',
|
|
|
'value' => $config->i_email_max_recipients,
|
|
|
'caption' => __('Email max recipients label'),
|
|
|
- 'info' => __('Email max recipients help'),
|
|
|
+ 'help' => 'Email max recipients help',
|
|
|
],
|
|
|
'o_smtp_host' => [
|
|
|
'type' => 'text',
|
|
|
'maxlength' => '255',
|
|
|
'value' => $config->o_smtp_host,
|
|
|
'caption' => __('SMTP address label'),
|
|
|
- 'info' => __('SMTP address help'),
|
|
|
+ 'help' => 'SMTP address help',
|
|
|
],
|
|
|
'o_smtp_user' => [
|
|
|
'type' => 'text',
|
|
|
'maxlength' => '255',
|
|
|
'value' => $config->o_smtp_user,
|
|
|
'caption' => __('SMTP username label'),
|
|
|
- 'info' => __('SMTP username help'),
|
|
|
+ 'help' => 'SMTP username help',
|
|
|
],
|
|
|
'o_smtp_pass' => [
|
|
|
'type' => 'password',
|
|
|
'maxlength' => '255',
|
|
|
'value' => $config->o_smtp_pass ? ' ' : null,
|
|
|
'caption' => __('SMTP password label'),
|
|
|
- 'info' => __('SMTP password help'),
|
|
|
+ 'help' => 'SMTP password help',
|
|
|
],
|
|
|
'changeSmtpPassword' => [
|
|
|
'type' => 'checkbox',
|
|
@@ -632,7 +632,7 @@ class Options extends Admin
|
|
|
'value' => $config->o_smtp_ssl,
|
|
|
'values' => $yn,
|
|
|
'caption' => __('SMTP SSL label'),
|
|
|
- 'info' => __('SMTP SSL help'),
|
|
|
+ 'help' => 'SMTP SSL help',
|
|
|
],
|
|
|
],
|
|
|
];
|
|
@@ -645,34 +645,34 @@ class Options extends Admin
|
|
|
'value' => $config->o_regs_allow,
|
|
|
'values' => $yn,
|
|
|
'caption' => __('Allow new label'),
|
|
|
- 'info' => __('Allow new help'),
|
|
|
+ 'help' => 'Allow new help',
|
|
|
],
|
|
|
'o_regs_verify' => [
|
|
|
'type' => 'radio',
|
|
|
'value' => $config->o_regs_verify,
|
|
|
'values' => $yn,
|
|
|
'caption' => __('Verify label'),
|
|
|
- 'info' => __('Verify help'),
|
|
|
+ 'help' => 'Verify help',
|
|
|
],
|
|
|
'o_regs_report' => [
|
|
|
'type' => 'radio',
|
|
|
'value' => $config->o_regs_report,
|
|
|
'values' => $yn,
|
|
|
'caption' => __('Report new label'),
|
|
|
- 'info' => __('Report new help'),
|
|
|
+ 'help' => 'Report new help',
|
|
|
],
|
|
|
'o_rules' => [
|
|
|
'type' => 'radio',
|
|
|
'value' => $config->o_rules,
|
|
|
'values' => $yn,
|
|
|
'caption' => __('Use rules label'),
|
|
|
- 'info' => __('Use rules help'),
|
|
|
+ 'help' => 'Use rules help',
|
|
|
],
|
|
|
'o_rules_message' => [
|
|
|
'type' => 'textarea',
|
|
|
'value' => $config->o_rules_message,
|
|
|
'caption' => __('Rules label'),
|
|
|
- 'info' => __('Rules help'),
|
|
|
+ 'help' => 'Rules help',
|
|
|
],
|
|
|
'i_default_email_setting' => [
|
|
|
'class' => 'block',
|
|
@@ -684,7 +684,7 @@ class Options extends Admin
|
|
|
2 => __('Hide both label'),
|
|
|
],
|
|
|
'caption' => __('E-mail default label'),
|
|
|
- 'info' => __('E-mail default help'),
|
|
|
+ 'help' => 'E-mail default help',
|
|
|
],
|
|
|
],
|
|
|
];
|
|
@@ -697,13 +697,13 @@ class Options extends Admin
|
|
|
'value' => $config->o_announcement,
|
|
|
'values' => $yn,
|
|
|
'caption' => __('Display announcement label'),
|
|
|
- 'info' => __('Display announcement help'),
|
|
|
+ 'help' => 'Display announcement help',
|
|
|
],
|
|
|
'o_announcement_message' => [
|
|
|
'type' => 'textarea',
|
|
|
'value' => $config->o_announcement_message,
|
|
|
'caption' => __('Announcement message label'),
|
|
|
- 'info' => __('Announcement message help'),
|
|
|
+ 'help' => 'Announcement message help',
|
|
|
],
|
|
|
|
|
|
],
|
|
@@ -724,7 +724,7 @@ class Options extends Admin
|
|
|
'max' => '99',
|
|
|
'value' => $config->i_poll_max_questions,
|
|
|
'caption' => __('Max questions label'),
|
|
|
- 'info' => __('Max questions help'),
|
|
|
+ 'help' => 'Max questions help',
|
|
|
],
|
|
|
'i_poll_max_fields' => [
|
|
|
'type' => 'number',
|
|
@@ -732,7 +732,7 @@ class Options extends Admin
|
|
|
'max' => '99',
|
|
|
'value' => $config->i_poll_max_fields,
|
|
|
'caption' => __('Max options label'),
|
|
|
- 'info' => __('Max options help'),
|
|
|
+ 'help' => 'Max options help',
|
|
|
],
|
|
|
'i_poll_time' => [
|
|
|
'type' => 'number',
|
|
@@ -740,7 +740,7 @@ class Options extends Admin
|
|
|
'max' => '999999',
|
|
|
'value' => $config->i_poll_time,
|
|
|
'caption' => __('Poll edit time label'),
|
|
|
- 'info' => __('Poll edit time help'),
|
|
|
+ 'help' => 'Poll edit time help',
|
|
|
],
|
|
|
'i_poll_term' => [
|
|
|
'type' => 'number',
|
|
@@ -748,14 +748,14 @@ class Options extends Admin
|
|
|
'max' => '99',
|
|
|
'value' => $config->i_poll_term,
|
|
|
'caption' => __('Hidden voices label'),
|
|
|
- 'info' => __('Hidden voices help'),
|
|
|
+ 'help' => 'Hidden voices help',
|
|
|
],
|
|
|
'b_poll_guest' => [
|
|
|
'type' => 'radio',
|
|
|
'value' => $config->b_poll_guest,
|
|
|
'values' => $yn,
|
|
|
'caption' => __('Result for guest label'),
|
|
|
- 'info' => __('Result for guest help'),
|
|
|
+ 'help' => 'Result for guest help',
|
|
|
],
|
|
|
],
|
|
|
];
|
|
@@ -768,7 +768,7 @@ class Options extends Admin
|
|
|
'value' => $config->b_pm,
|
|
|
'values' => $yn,
|
|
|
'caption' => __('Allow PM label'),
|
|
|
- 'info' => __(['Allow PM help', __('User groups'), $this->c->Router->link('AdminGroups')]),
|
|
|
+ 'help' => ['Allow PM help', __('User groups'), $this->c->Router->link('AdminGroups')],
|
|
|
],
|
|
|
],
|
|
|
];
|