From 3849985ffe4ee5cc78d2fef8c7b72ce7da700d12 Mon Sep 17 00:00:00 2001 From: mystralkk Date: Mon, 26 Aug 2019 15:34:13 +0900 Subject: [PATCH] Updated the Calendar and Links plugins to support new reCAPTCHA API (feature #869) --- plugins/calendar/autoinstall.php | 6 ++-- plugins/calendar/configuration_validation.php | 7 ++-- plugins/calendar/functions.inc | 32 ++++++++++++++++++- plugins/calendar/install_defaults.php | 6 ++++ plugins/calendar/install_updates.php | 11 +++++++ plugins/calendar/language/english.php | 4 ++- plugins/calendar/language/english_utf-8.php | 4 ++- plugins/calendar/language/japanese_utf-8.php | 4 ++- plugins/links/autoinstall.php | 6 ++-- plugins/links/configuration_validation.php | 7 ++-- plugins/links/functions.inc | 27 ++++++++++++++++ plugins/links/install_defaults.php | 6 ++++ plugins/links/install_updates.php | 11 +++++++ plugins/links/language/english.php | 4 ++- plugins/links/language/english_utf-8.php | 4 ++- plugins/links/language/japanese_utf-8.php | 4 ++- plugins/recaptcha/language/japanese_utf-8.php | 2 +- public_html/docs/english/calendar.html | 11 ++++++- public_html/docs/english/links.html | 10 ++++++ public_html/docs/japanese/calendar.html | 10 ++++++ public_html/docs/japanese/links.html | 10 ++++++ 21 files changed, 165 insertions(+), 21 deletions(-) diff --git a/plugins/calendar/autoinstall.php b/plugins/calendar/autoinstall.php index 11400aa91..bddbc19dd 100644 --- a/plugins/calendar/autoinstall.php +++ b/plugins/calendar/autoinstall.php @@ -8,7 +8,7 @@ // | | // | This file provides helper functions for the automatic plugin install. | // +---------------------------------------------------------------------------+ -// | Copyright (C) 2008-2010 by the following authors: | +// | Copyright (C) 2008-2019 by the following authors: | // | | // | Authors: Dirk Haun - dirk AT haun-online DOT de | // +---------------------------------------------------------------------------+ @@ -46,8 +46,8 @@ function plugin_autoinstall_calendar($pi_name) $info = array( 'pi_name' => $pi_name, 'pi_display_name' => $pi_display_name, - 'pi_version' => '1.1.7', - 'pi_gl_version' => '2.1.1', + 'pi_version' => '1.1.8', + 'pi_gl_version' => '2.2.1', 'pi_homepage' => 'https://www.geeklog.net/' ); diff --git a/plugins/calendar/configuration_validation.php b/plugins/calendar/configuration_validation.php index b8b8a4ff7..3420c4d3f 100644 --- a/plugins/calendar/configuration_validation.php +++ b/plugins/calendar/configuration_validation.php @@ -2,13 +2,13 @@ /* Reminder: always indent with 4 spaces (no tabs). */ // +---------------------------------------------------------------------------+ -// | Calendar | +// | Calendar | // +---------------------------------------------------------------------------+ // | configuration_validation.php | // | | -// | List of validation rules for the Links plugin configurations | +// | List of validation rules for the Links plugin configurations | // +---------------------------------------------------------------------------+ -// | Copyright (C) 2007-2010 by the following authors: | +// | Copyright (C) 2007-2019 by the following authors: | // | | // | Authors: Akeda Bagus - admin AT gedex DOT web DOT id | // | Tom Homer - tomhomer AT gmail DOT com | @@ -50,6 +50,7 @@ $_CONF_VALIDATE['calendar']['aftersave'] = array( 'rule' => array('inList', array('item', 'list', 'plugin', 'home', 'admin'), true) ); +$_CONF_VALIDATE['calendar']['recaptcha'] = ['rule' => ['inList', ['0', '1', '2'], true]]; // Default Permissions $_CONF_VALIDATE['calendar']['default_permissions[0]'] = array( diff --git a/plugins/calendar/functions.inc b/plugins/calendar/functions.inc index 3f4be8a3a..53445882e 100644 --- a/plugins/calendar/functions.inc +++ b/plugins/calendar/functions.inc @@ -65,6 +65,7 @@ Language::override(array( if (!isset($_CA_CONF['calendarloginrequired'])) { $ca_config = config::get_instance(); $_CA_CONF = $ca_config->get_config('calendar'); + $_CA_CONF['recaptcha'] = (int) $_CA_CONF['recaptcha']; } // +---------------------------------------------------------------------------+ @@ -1636,7 +1637,12 @@ function plugin_upgrade_calendar() case '1.1.6': $current_version = '1.1.7'; break; - + + case '1.1.7': + calendar_update_ConfValues_1_1_7(); + $current_version = '1.1.8'; // Shipped with Geeklog-2.2.1 + break; + default: $done = true; break; @@ -2354,3 +2360,27 @@ function plugin_getlanguageoverrides_calendar() return array('LANG_CAL_1', 'LANG_CAL_2', '_LANG_CAL_SEARCH', 'LANG_CAL_MESSAGE', 'PLG_calendar_MESSAGE4'); } + +/** + * Return the info asked by PLG_collectRecaptchaInfo(). + * + * @return array of type => [ + * 'type' => type // required, passed as the 1st parameter to + * plugin_templatesetvars_xxx() + * 'version' => reCAPTCHA version, // required: RECAPTCHA_NO_SUPPORT(0), RECAPTCHA_SUPPORT_V2(1), + * RECAPTCHA_SUPPORT_V2_INVISIBLE(2) + * 'form_id' => form id, // required only for reCAPTCHA V2 Invisible + * ] + */ +function plugin_supportsRecaptcha_calendar() +{ + global $_CA_CONF; + + return [ + [ + 'type' => 'calendar', + 'version' => (isset($_CA_CONF['recaptcha']) ? (int) $_CA_CONF['recaptcha'] : RECAPTCHA_SUPPORT_V2_INVISIBLE), + 'form_id' => 'submit_event_form', + ], + ]; +} diff --git a/plugins/calendar/install_defaults.php b/plugins/calendar/install_defaults.php index d158f09f9..ea92967e6 100644 --- a/plugins/calendar/install_defaults.php +++ b/plugins/calendar/install_defaults.php @@ -91,6 +91,10 @@ */ $_CA_DEFAULT['aftersave'] = 'list'; +// Which reCAPTCHA version the plugin supports (since Geeklog 2.2.1) +// Possible values are: RECAPTCHA_SUPPORT_NONE, RECAPTCHA_SUPPORT_V2, RECAPTCHA_SUPPORT_V2_INVISIBLE +$_CA_DEFAULT['recaptcha'] = RECAPTCHA_SUPPORT_V2; + // Events Block $_CA_DEFAULT['block_isleft'] = 1; $_CA_DEFAULT['block_order'] = 50; @@ -177,6 +181,8 @@ function plugin_initconfig_calendar() 'select', 0, 0, 0, 100, true, 'calendar', 0); $c->add('aftersave', $_CA_DEFAULT['aftersave'], 'select', 0, 0, 9, 110, true, 'calendar', 0); + $c->add('recaptcha', $_CA_DEFAULT['recaptcha'], + 'select', 0, 0, 16, 120, true, 'calendar', 0); $c->add('tab_permissions', NULL, 'tab', 0, 1, NULL, 0, true, 'calendar', 1); $c->add('fs_permissions', NULL, 'fieldset', 0, 1, NULL, 0, true, 'calendar', 1); diff --git a/plugins/calendar/install_updates.php b/plugins/calendar/install_updates.php index 49ce8465b..ccddf13a0 100644 --- a/plugins/calendar/install_updates.php +++ b/plugins/calendar/install_updates.php @@ -64,3 +64,14 @@ function calendar_update_ConfValues_1_1_2() return true; } + +function calendar_update_ConfValues_1_1_7() +{ + global $_CONF, $_CA_DEFAULT, $_CA_CONF, $_GROUPS, $_TABLES; + + $c = config::get_instance(); + + require_once $_CONF['path'] . 'plugins/calendar/install_defaults.php'; + $c->add('recaptcha', $_CA_DEFAULT['recaptcha'], + 'select', 0, 0, 16, 120, true, 'calendar', 0); +} diff --git a/plugins/calendar/language/english.php b/plugins/calendar/language/english.php index 75e525547..339fb8bdf 100644 --- a/plugins/calendar/language/english.php +++ b/plugins/calendar/language/english.php @@ -211,6 +211,7 @@ 'notification' => 'Notification Email?', 'delete_event' => 'Delete Events with Owner?', 'aftersave' => 'After Saving Event', + 'recaptcha' => 'reCAPTCHA', 'default_permissions' => 'Event Default Permissions', 'autotag_permissions_event' => '[event: ] Permissions', 'block_enable' => 'Enabled', @@ -250,5 +251,6 @@ 12 => array('No access' => 0, 'Read-Only' => 2, 'Read-Write' => 3), 13 => array('No access' => 0, 'Use' => 2), 14 => array('No access' => 0, 'Read-Only' => 2), - 15 => array('All' => TOPIC_ALL_OPTION, 'Homepage Only' => TOPIC_HOMEONLY_OPTION, 'Select Topics' => TOPIC_SELECTED_OPTION) + 15 => array('All' => TOPIC_ALL_OPTION, 'Homepage Only' => TOPIC_HOMEONLY_OPTION, 'Select Topics' => TOPIC_SELECTED_OPTION), + 16 => array('Disabled' => RECAPTCHA_NO_SUPPORT, 'reCAPTCHA V2' => RECAPTCHA_SUPPORT_V2, 'reCAPTCHA V2 Invisible' => RECAPTCHA_SUPPORT_V2_INVISIBLE) ); diff --git a/plugins/calendar/language/english_utf-8.php b/plugins/calendar/language/english_utf-8.php index 323325eb3..a9461db24 100644 --- a/plugins/calendar/language/english_utf-8.php +++ b/plugins/calendar/language/english_utf-8.php @@ -211,6 +211,7 @@ 'notification' => 'Notification Email?', 'delete_event' => 'Delete Events with Owner?', 'aftersave' => 'After Saving Event', + 'recaptcha' => 'reCAPTCHA', 'default_permissions' => 'Event Default Permissions', 'autotag_permissions_event' => '[event: ] Permissions', 'block_enable' => 'Enabled', @@ -250,5 +251,6 @@ 12 => array('No access' => 0, 'Read-Only' => 2, 'Read-Write' => 3), 13 => array('No access' => 0, 'Use' => 2), 14 => array('No access' => 0, 'Read-Only' => 2), - 15 => array('All' => TOPIC_ALL_OPTION, 'Homepage Only' => TOPIC_HOMEONLY_OPTION, 'Select Topics' => TOPIC_SELECTED_OPTION) + 15 => array('All' => TOPIC_ALL_OPTION, 'Homepage Only' => TOPIC_HOMEONLY_OPTION, 'Select Topics' => TOPIC_SELECTED_OPTION), + 16 => array('Disabled' => RECAPTCHA_NO_SUPPORT, 'reCAPTCHA V2' => RECAPTCHA_SUPPORT_V2, 'reCAPTCHA V2 Invisible' => RECAPTCHA_SUPPORT_V2_INVISIBLE) ); diff --git a/plugins/calendar/language/japanese_utf-8.php b/plugins/calendar/language/japanese_utf-8.php index 5049e512c..c13014251 100644 --- a/plugins/calendar/language/japanese_utf-8.php +++ b/plugins/calendar/language/japanese_utf-8.php @@ -215,6 +215,7 @@ 'notification' => 'メールで通知する', 'delete_event' => '所有者の削除と共に削除する', 'aftersave' => 'イベント保存後の画面遷移', + 'recaptcha' => 'reCAPTCHA', 'default_permissions' => 'パーミッション', 'autotag_permissions_event' => '[event: ] パーミッション', 'block_enable' => '有効', @@ -254,5 +255,6 @@ 12 => array('アクセス不可' => 0, '表示' => 2, '表示・編集' => 3), 13 => array('アクセス不可' => 0, '利用する' => 2), 14 => array('アクセス不可' => 0, '表示' => 2), - 15 => array('すべて' => 'all', 'ホームページのみ' => 'homeonly', '話題を選択する' => 'selectedtopics') + 15 => array('すべて' => TOPIC_ALL_OPTION, 'ホームページのみ' => TOPIC_HOMEONLY_OPTION, '話題を選択する' => TOPIC_SELECTED_OPTION), + 16 => array('無効' => RECAPTCHA_NO_SUPPORT, 'reCAPTCHA V2' => RECAPTCHA_SUPPORT_V2, 'reCAPTCHA V2 Invisible' => RECAPTCHA_SUPPORT_V2_INVISIBLE) ); diff --git a/plugins/links/autoinstall.php b/plugins/links/autoinstall.php index caa337568..1de204fea 100644 --- a/plugins/links/autoinstall.php +++ b/plugins/links/autoinstall.php @@ -2,13 +2,13 @@ /* Reminder: always indent with 4 spaces (no tabs). */ // +---------------------------------------------------------------------------+ -// | Links Plugin 2.1 | +// | Links Plugin 2.2 | // +---------------------------------------------------------------------------+ // | autoinstall.php | // | | // | This file provides helper functions for the automatic plugin install. | // +---------------------------------------------------------------------------+ -// | Copyright (C) 2008-2010 by the following authors: | +// | Copyright (C) 2008-2019 by the following authors: | // | | // | Authors: Dirk Haun - dirk AT haun-online DOT de | // +---------------------------------------------------------------------------+ @@ -52,7 +52,7 @@ function plugin_autoinstall_links($pi_name) 'pi_name' => $pi_name, 'pi_display_name' => $pi_display_name, 'pi_version' => '2.1.7', - 'pi_gl_version' => '2.1.1', + 'pi_gl_version' => '2.2.1', 'pi_homepage' => 'https://www.geeklog.net/' ); diff --git a/plugins/links/configuration_validation.php b/plugins/links/configuration_validation.php index b94c39367..5fd9e151c 100644 --- a/plugins/links/configuration_validation.php +++ b/plugins/links/configuration_validation.php @@ -2,13 +2,13 @@ /* Reminder: always indent with 4 spaces (no tabs). */ // +---------------------------------------------------------------------------+ -// | Links | +// | Links | // +---------------------------------------------------------------------------+ // | configuration_validation.php | // | | -// | List of validation rules for the Links plugin configurations | +// | List of validation rules for the Links plugin configurations | // +---------------------------------------------------------------------------+ -// | Copyright (C) 2007-2010 by the following authors: | +// | Copyright (C) 2007-2019 by the following authors: | // | | // | Authors: Akeda Bagus - admin AT gedex DOT web DOT id | // | Tom Homer - tomhomer AT gmail DOT com | @@ -41,6 +41,7 @@ $_CONF_VALIDATE['links']['show_top10'] = array('rule' => 'boolean'); $_CONF_VALIDATE['links']['show_category_descriptions'] = array('rule' => 'boolean'); $_CONF_VALIDATE['links']['new_window'] = array('rule' => 'boolean'); +$_CONF_VALIDATE['links']['recaptcha'] = ['rule' => ['inList', ['0', '1', '2'], true]]; // Links Admin Settings $_CONF_VALIDATE['links']['hidenewlinks'] = array('rule' => 'boolean'); diff --git a/plugins/links/functions.inc b/plugins/links/functions.inc index 518ec0cfb..4462f4808 100644 --- a/plugins/links/functions.inc +++ b/plugins/links/functions.inc @@ -72,6 +72,7 @@ Language::override(array( if (!isset($_LI_CONF['linksloginrequired'])) { $li_config = config::get_instance(); $_LI_CONF = $li_config->get_config('links'); + $_LI_CONF['recaptcha'] = (int) $_LI_CONF['recaptcha']; } @@ -818,6 +819,7 @@ function plugin_upgrade_links() break; case '2.1.6': + links_update_ConfValues_2_1_6(); $current_version = '2.1.7'; // Shipped with Geeklog-2.2.1 break; @@ -1946,3 +1948,28 @@ function plugin_getlanguageoverrides_links() return array('LANG_LINKS', 'LANG_LINKS_STATS', 'LANG_LINKS_SEARCH', 'LANG_LINKS_SUBMIT', 'PLG_links_MESSAGE1', 'PLG_links_MESSAGE4', 'PLG_links_MESSAGE1'); } + +/** + * Return the info asked by PLG_collectRecaptchaInfo(). + * + * @return array of type => [ + * 'type' => type // required, passed as the 1st parameter to + * plugin_templatesetvars_xxx() + * 'version' => reCAPTCHA version, // required: RECAPTCHA_NO_SUPPORT(0), RECAPTCHA_SUPPORT_V2(1), + * RECAPTCHA_SUPPORT_V2_INVISIBLE(2) + * 'form_id' => form id, // required only for reCAPTCHA V2 Invisible + * ] + */ +function plugin_supportsRecaptcha_links() +{ + global $_LI_CONF; + + return [ + [ + 'type' => 'links', + 'version' => (isset($_LI_CONF['recaptcha']) ? (int) $_LI_CONF['recaptcha'] : RECAPTCHA_SUPPORT_V2), + 'form_id' => 'submitlink', + ], + + ]; +} diff --git a/plugins/links/install_defaults.php b/plugins/links/install_defaults.php index 75412f98a..e764d3741 100644 --- a/plugins/links/install_defaults.php +++ b/plugins/links/install_defaults.php @@ -143,6 +143,10 @@ */ $_LI_DEFAULT['new_window'] = false; +// Which reCAPTCHA version the plugin supports (since Geeklog 2.2.1) +// Possible values are: RECAPTCHA_SUPPORT_NONE, RECAPTCHA_SUPPORT_V2, RECAPTCHA_SUPPORT_V2_INVISIBLE +$_LI_DEFAULT['recaptcha'] = RECAPTCHA_SUPPORT_V2; + /** * Links root category id */ @@ -215,6 +219,8 @@ function plugin_initconfig_links() 'select', 0, 0, 1, 50, true, 'links', 0); $c->add('new_window', $_LI_DEFAULT['new_window'], 'select', 0, 0, 1, 55, true, 'links',0); + $c->add('recaptcha', $_LI_DEFAULT['recaptcha'], 'select', + 0, 0, 14, 58, true, 'links',0); $c->add('tab_admin', NULL, 'tab', 0, 1, NULL, 0, true, 'links', 1); $c->add('fs_admin', NULL, 'fieldset', 0, 1, NULL, 0, true, 'links', 1); diff --git a/plugins/links/install_updates.php b/plugins/links/install_updates.php index 9c6a9bbd0..2aa34bb22 100644 --- a/plugins/links/install_updates.php +++ b/plugins/links/install_updates.php @@ -23,3 +23,14 @@ function links_update_ConfValues_2_1_0() return true; } + +function links_update_ConfValues_2_1_6() +{ + global $_CONF, $_LI_DEFAULT, $_LI_CONF; + + $c = config::get_instance(); + + require_once $_CONF['path'] . 'plugins/links/install_defaults.php'; + $c->add('recaptcha', $_LI_DEFAULT['recaptcha'], 'select', + 0, 0, 14, 58, true, 'links',0); +} diff --git a/plugins/links/language/english.php b/plugins/links/language/english.php index 9b0e2611f..caac279d9 100644 --- a/plugins/links/language/english.php +++ b/plugins/links/language/english.php @@ -277,6 +277,7 @@ 'aftersave' => 'After Saving Link', 'show_category_descriptions' => 'Show Category Description?', 'new_window' => 'Open external links in new window?', + 'recaptcha' => 'reCAPTCHA', 'root' => 'ID of Root Category', 'default_permissions' => 'Link Default Permissions', 'category_permissions' => 'Category Default Permissions', @@ -309,5 +310,6 @@ 1 => array('True' => TRUE, 'False' => FALSE), 9 => array('Forward to Linked Site' => 'item', 'Display Admin List' => 'list', 'Display Public List' => 'plugin', 'Display Home' => 'home', 'Display Admin' => 'admin'), 12 => array('No access' => 0, 'Read-Only' => 2, 'Read-Write' => 3), - 13 => array('No access' => 0, 'Use' => 2) + 13 => array('No access' => 0, 'Use' => 2), + 14 => array('Disabled' => RECAPTCHA_NO_SUPPORT, 'reCAPTCHA V2' => RECAPTCHA_SUPPORT_V2, 'reCAPTCHA V2 Invisible' => RECAPTCHA_SUPPORT_V2_INVISIBLE) ); diff --git a/plugins/links/language/english_utf-8.php b/plugins/links/language/english_utf-8.php index 4a8bb6ec6..b29349ddd 100644 --- a/plugins/links/language/english_utf-8.php +++ b/plugins/links/language/english_utf-8.php @@ -277,6 +277,7 @@ 'aftersave' => 'After Saving Link', 'show_category_descriptions' => 'Show Category Description?', 'new_window' => 'Open external links in new window?', + 'recaptcha' => 'reCAPTCHA', 'root' => 'ID of Root Category', 'default_permissions' => 'Link Default Permissions', 'category_permissions' => 'Category Default Permissions', @@ -309,5 +310,6 @@ 1 => array('True' => TRUE, 'False' => FALSE), 9 => array('Forward to Linked Site' => 'item', 'Display Admin List' => 'list', 'Display Public List' => 'plugin', 'Display Home' => 'home', 'Display Admin' => 'admin'), 12 => array('No access' => 0, 'Read-Only' => 2, 'Read-Write' => 3), - 13 => array('No access' => 0, 'Use' => 2) + 13 => array('No access' => 0, 'Use' => 2), + 16 => array('Disabled' => RECAPTCHA_NO_SUPPORT, 'reCAPTCHA V2' => RECAPTCHA_SUPPORT_V2, 'reCAPTCHA V2 Invisible' => RECAPTCHA_SUPPORT_V2_INVISIBLE) ); diff --git a/plugins/links/language/japanese_utf-8.php b/plugins/links/language/japanese_utf-8.php index e00d3f002..fe7014608 100644 --- a/plugins/links/language/japanese_utf-8.php +++ b/plugins/links/language/japanese_utf-8.php @@ -244,6 +244,7 @@ 'aftersave' => 'リンク保存後の画面遷移', 'show_category_descriptions' => 'カテゴリの説明を表示する', 'new_window' => 'リンクを新しいウィンドウで開く', + 'recaptcha' => 'reCAPTCHA', 'root' => 'トップカテゴリのID', 'default_permissions' => 'パーミッション', 'category_permissions' => 'パーミッション', @@ -276,5 +277,6 @@ 1 => array('はい' => true, 'いいえ' => false), 9 => array('ページを表示する' => 'item', 'リストを表示する' => 'list', 'プラグイントップを表示する' => 'plugin', 'ホームを表示する' => 'home', '管理画面トップを表示する' => 'admin'), 12 => array('アクセス不可' => 0, '表示' => 2, '表示・編集' => 3), - 13 => array('アクセス不可' => 0, '利用する' => 2) + 13 => array('アクセス不可' => 0, '利用する' => 2), + 14 => array('無効' => RECAPTCHA_NO_SUPPORT, 'reCAPTCHA V2' => RECAPTCHA_SUPPORT_V2, 'reCAPTCHA V2 Invisible' => RECAPTCHA_SUPPORT_V2_INVISIBLE) ); diff --git a/plugins/recaptcha/language/japanese_utf-8.php b/plugins/recaptcha/language/japanese_utf-8.php index 8f58e71cc..0863b7fe7 100644 --- a/plugins/recaptcha/language/japanese_utf-8.php +++ b/plugins/recaptcha/language/japanese_utf-8.php @@ -36,7 +36,7 @@ $LANG_RECAPTCHA = array( 'plugin' => 'reCAPTCHA', 'admin' => 'reCAPTCHA', - 'msg_error' => 'Error, reCAPTCHA was invalid.', + 'msg_error' => 'エラーが発生しました。reCAPTCHAがリクエストを拒否しました。', 'entry_error' => '%1sで無効な入力を検出しました。IPアドレス: %2s エラーコード: %3s', // %1s = $type, %2s = $ip, %3s = $errorCode ); diff --git a/public_html/docs/english/calendar.html b/public_html/docs/english/calendar.html index 1f437dd64..5504435e9 100644 --- a/public_html/docs/english/calendar.html +++ b/public_html/docs/english/calendar.html @@ -109,7 +109,16 @@

General Calendar Settings

  • 'admin': go to the "Admin Home" page, i.e. Command & Control
  • - + + recaptcha + 'reCAPTCHA V2' + Which reCAPTCHA version to choose : + + default_permissions[0] Read-Write diff --git a/public_html/docs/english/links.html b/public_html/docs/english/links.html index 9bccc1dd4..755758c01 100644 --- a/public_html/docs/english/links.html +++ b/public_html/docs/english/links.html @@ -67,6 +67,16 @@

    Public Links List Settings

    Note: Use this option with care. It takes control away from your users and may confuse or annoy them. + + recaptcha + 'reCAPTCHA V2' + Which reCAPTCHA version to choose : + +

    Links Admin Settings

    diff --git a/public_html/docs/japanese/calendar.html b/public_html/docs/japanese/calendar.html index 0d1310fda..6e82928ca 100644 --- a/public_html/docs/japanese/calendar.html +++ b/public_html/docs/japanese/calendar.html @@ -90,6 +90,16 @@

    カレンダーのメイン設定

  • 管理画面TOPを表示する(admin): 管理画面を表示します。
  • + + reCAPTCHA(recaptcha) + 'reCAPTCHA V2' + 使用するreCAPTCHAのバージョンを設定します。 + + パーミッションのデフォルト[0](default_permissions[0]) diff --git a/public_html/docs/japanese/links.html b/public_html/docs/japanese/links.html index 4ec36c317..4c8d0e5ea 100644 --- a/public_html/docs/japanese/links.html +++ b/public_html/docs/japanese/links.html @@ -60,6 +60,16 @@

    リンクの表示に関する設定

    注意: このオプションは注意してください。ユーザーが操作時に当惑したり、いらいらする可能性があります。 + + reCAPTCHA(recaptcha) + 'reCAPTCHA V2' + 使用するreCAPTCHAのバージョンを設定します。 + +

    リンクの管理