summaryrefslogtreecommitdiff
path: root/app/Module/IndividualFactsTabModule.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2016-06-28 08:02:40 +0100
committerGreg Roach <fisharebest@gmail.com>2016-06-28 08:02:40 +0100
commit23c362a93d0c6ef294038fd629416dc8e792e60e (patch)
treebb4cf47a8335ebc7f485677cb061e97cb6febfba /app/Module/IndividualFactsTabModule.php
parent9f7839a00cc7bd8403d81bc8fb3942b572923af4 (diff)
downloadwebtrees-23c362a93d0c6ef294038fd629416dc8e792e60e.tar.gz
webtrees-23c362a93d0c6ef294038fd629416dc8e792e60e.tar.bz2
webtrees-23c362a93d0c6ef294038fd629416dc8e792e60e.zip
#1031 - default state of checkboxes
Diffstat (limited to 'app/Module/IndividualFactsTabModule.php')
-rw-r--r--app/Module/IndividualFactsTabModule.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/Module/IndividualFactsTabModule.php b/app/Module/IndividualFactsTabModule.php
index 1bf8b32e14..988fd43b7c 100644
--- a/app/Module/IndividualFactsTabModule.php
+++ b/app/Module/IndividualFactsTabModule.php
@@ -130,13 +130,13 @@ class IndividualFactsTabModule extends AbstractModule implements ModuleTabInterf
<td colspan="2" class="descriptionbox noprint">
<?php if ($controller->record->getTree()->getPreference('SHOW_RELATIVES_EVENTS')) : ?>
<label>
- <input id="checkbox_rela_facts" type="checkbox" checked>
+ <input id="show-relatives-facts" type="checkbox">
<?php echo I18N::translate('Events of close relatives'); ?>
</label>
<?php endif; ?>
<?php if (file_exists(Site::getPreference('INDEX_DIRECTORY') . 'histo.' . WT_LOCALE . '.php')) : ?>
<label>
- <input id="checkbox_histo" type="checkbox" checked>
+ <input id="show-historical-facts" type="checkbox">
<?php echo I18N::translate('Historical facts'); ?>
</label>
<?php endif; ?>
@@ -161,8 +161,8 @@ class IndividualFactsTabModule extends AbstractModule implements ModuleTabInterf
</tbody>
</table>
<script>
- persistant_toggle("checkbox_rela_facts", "tr.rela");
- persistant_toggle("checkbox_histo", "tr.histo");
+ persistant_toggle("show-relatives-facts", "tr.rela");
+ persistant_toggle("show-historical-facts", "tr.histo");
</script>
<?php