summaryrefslogtreecommitdiff
path: root/admin_trees_config.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin_trees_config.php')
-rw-r--r--admin_trees_config.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/admin_trees_config.php b/admin_trees_config.php
index 5926109349..34a27f1372 100644
--- a/admin_trees_config.php
+++ b/admin_trees_config.php
@@ -91,6 +91,7 @@ case 'update':
set_gedcom_setting(WT_GED_ID, 'COMMON_NAMES_THRESHOLD', WT_Filter::post('NEW_COMMON_NAMES_THRESHOLD', WT_REGEX_INTEGER, 40));
set_gedcom_setting(WT_GED_ID, 'CONTACT_USER_ID', WT_Filter::post('NEW_CONTACT_USER_ID'));
set_gedcom_setting(WT_GED_ID, 'DEFAULT_PEDIGREE_GENERATIONS', WT_Filter::post('NEW_DEFAULT_PEDIGREE_GENERATIONS'));
+ set_gedcom_setting(WT_GED_ID, 'EXPAND_NOTES', WT_Filter::postBool('NEW_EXPAND_NOTES'));
set_gedcom_setting(WT_GED_ID, 'EXPAND_RELATIVES_EVENTS', WT_Filter::postBool('NEW_EXPAND_RELATIVES_EVENTS'));
set_gedcom_setting(WT_GED_ID, 'EXPAND_SOURCES', WT_Filter::postBool('NEW_EXPAND_SOURCES'));
set_gedcom_setting(WT_GED_ID, 'FAM_FACTS_ADD', str_replace(' ', '', WT_Filter::post('NEW_FAM_FACTS_ADD')));
@@ -1016,6 +1017,14 @@ if (count(WT_Tree::getAll())==1) { //Removed because it doesn't work here for mu
</tr>
<tr>
<td>
+ <?php echo WT_I18N::translate('Automatically expand notes'), help_link('EXPAND_NOTES'); ?>
+ </td>
+ <td>
+ <?php echo edit_field_yes_no('NEW_EXPAND_NOTES', get_gedcom_setting(WT_GED_ID, 'EXPAND_NOTES')); ?>
+ </td>
+ </tr>
+ <tr>
+ <td>
<?php echo WT_I18N::translate('Automatically expand sources'), help_link('EXPAND_SOURCES'); ?>
</td>
<td>