@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | public function getTabs() { |
97 | 97 | $active_tabs = Module::getActiveTabs($this->record->getTree()); |
98 | 98 | |
99 | - return array_filter($active_tabs, function(ModuleTabInterface $tab) { return $tab->hasTabContent(); }); |
|
99 | + return array_filter($active_tabs, function (ModuleTabInterface $tab) { return $tab->hasTabContent(); }); |
|
100 | 100 | } |
101 | 101 | |
102 | 102 | /** |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | |
142 | 142 | if ($n === 0) { |
143 | 143 | $content_class = 'collapse show'; |
144 | - $aria = 'true'; |
|
144 | + $aria = 'true'; |
|
145 | 145 | } |
146 | 146 | if ($fact->isPendingDeletion()) { |
147 | 147 | $container_class .= ' old'; |
@@ -243,7 +243,7 @@ discard block |
||
243 | 243 | } |
244 | 244 | |
245 | 245 | if ($individual->canEdit() && !$fact->isPendingDeletion()) { |
246 | - $edit_links = FontAwesome::linkIcon('edit', I18N::translate('Edit the gender'), ['href' => 'edit_interface.php?action=edit&xref=' . $individual->getXref() . '&fact_id=' . $fact->getFactId() . '&ged=' . $individual->getTree()->getNameHtml() ]); |
|
246 | + $edit_links = FontAwesome::linkIcon('edit', I18N::translate('Edit the gender'), ['href' => 'edit_interface.php?action=edit&xref=' . $individual->getXref() . '&fact_id=' . $fact->getFactId() . '&ged=' . $individual->getTree()->getNameHtml()]); |
|
247 | 247 | |
248 | 248 | } else { |
249 | 249 | $edit_links = ''; |
@@ -253,7 +253,7 @@ discard block |
||
253 | 253 | <div class="' . $container_class . '"> |
254 | 254 | <div class="card-header" role="tab" id="name-header-add"> |
255 | 255 | <div class="card-title mb-0"> |
256 | - <b>' . I18N::translate('Gender') . '</b> ' . $sex . $edit_links . ' |
|
256 | + <b>' . I18N::translate('Gender') . '</b> ' . $sex . $edit_links . ' |
|
257 | 257 | </div> |
258 | 258 | </div> |
259 | 259 | </div>'; |