diff options
| author | Greg Roach <fisharebest@gmail.com> | 2016-06-28 08:02:40 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2016-06-28 08:02:40 +0100 |
| commit | 23c362a93d0c6ef294038fd629416dc8e792e60e (patch) | |
| tree | bb4cf47a8335ebc7f485677cb061e97cb6febfba /app/Module/IndividualFactsTabModule.php | |
| parent | 9f7839a00cc7bd8403d81bc8fb3942b572923af4 (diff) | |
| download | webtrees-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.php | 8 |
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 |
