test better emoji removal
This commit is contained in:
@@ -345,6 +345,16 @@ function booking_admin() {
|
||||
'#options' => array(0 => t('No'), t('Yes')),
|
||||
'#default_value' => variable_get('booking_studygroup_csv_ages', 0),
|
||||
);
|
||||
$form['features']['booking_enable_emoji_removal'] = array(
|
||||
'#type' => 'radios',
|
||||
'#title' => t('Remove emoji from user input?'),
|
||||
'#description' => t('Select whether to strip emoji from user input before saving to database. Useful if mysql does not support utf8mb4.'),
|
||||
'#options' => array(
|
||||
0 => t('No'),
|
||||
t('Yes')
|
||||
),
|
||||
'#default_value' => variable_get('booking_enable_emoji_removal', 1)
|
||||
);
|
||||
$form['misc'] = array(
|
||||
'#type' => 'fieldset',
|
||||
'#title' => 'Configuration Options'
|
||||
|
Reference in New Issue
Block a user