'recentItemsMaxCount' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME,
'recentItemsProviders' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME,
'dedupe_default_limit' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME,
- 'remote_profile_submissions_allowed' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME,
+ 'remote_profile_submissions' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME,
);
public $_uploadMaxSize;
if ($secondArg == 'edit' || $secondArg == 'create') {
if ($secondArg == 'edit') {
- $allowRemoteSubmit = Civi::settings()->get('remote_profile_submissions_allowed');
+ $allowRemoteSubmit = Civi::settings()->get('remote_profile_submissions');
$controller = new CRM_Core_Controller_Simple('CRM_Profile_Form_Edit',
ts('Create Profile'),
CRM_Core_Action::UPDATE,
'extra' => 'onclick = "return confirm(\'' . $copyExtra . '\');"',
),
);
- $allowRemoteSubmit = Civi::settings()->get('remote_profile_submissions_allowed');
+ $allowRemoteSubmit = Civi::settings()->get('remote_profile_submissions');
if ($allowRemoteSubmit) {
self::$_actionLinks[CRM_Core_Action::PROFILE] = array(
'name' => ts('HTML Form Snippet'),
$postUpgradeMessage .= '<p>' . ts('The custom fatal error template setting has been removed.') . '</p>';
}
- if ($rev == '4.7.21') {
+ if ($rev == '4.7.11') {
$postUpgradeMessage .= '<br /><br />' . ts("WARNING: For increased security, profile submissions embedded in remote sites are no longer allowed to create or edit data by default. If you need to allow users to submit profiles from external sites, you can restore this at Administer > System Settings > Misc (Undelete, PDFs, Limits, Logging, Captcha, etc.) > 'Accept profile submissions from external sites'");
}
}
'description' => NULL,
'help_text' => NULL,
),
- 'remote_profile_submissions_allowed' => array(
+ 'remote_profile_submissions' => array(
'group_name' => 'CiviCRM Preferences',
'group' => 'core',
- 'name' => 'remote_profile_submissions_allowed',
+ 'name' => 'remote_profile_submissions',
'type' => 'Boolean',
'quick_form_type' => 'YesNo',
'default' => FALSE,
<p class="description">{ts}If enabled, CiviCRM will allow users to submit profiles from external sites. This is disabled by default to limit abuse.{/ts}</p>
</td>
</tr>
-
</table>
-<h3>{ts}reCAPTCHA Keys{/ts}</h3>
+
+ <h3>{ts}reCAPTCHA Keys{/ts}</h3>
+
<div class="description">
{ts 1="https://www.google.com/recaptcha"}reCAPTCHA is a free service that helps prevent automated abuse of your site. To use reCAPTCHA on public-facing CiviCRM forms: sign up at <a href="%1" "target=_blank">Google's reCaptcha site</a>; enter the provided public and private reCAPTCHA keys here; then enable reCAPTCHA under Advanced Settings in any Profile.{/ts}
</div>