diff --git a/module.php b/module.php index f706721..0b4d33f 100644 --- a/module.php +++ b/module.php @@ -67,6 +67,7 @@ public function boot(): void View::registerCustomView('::layouts/default', $this->name() . '::layouts/default'); // Site template View::registerCustomView('::modules/contact-links/footer', $this->name() . '::modules/contact-links/footer'); // Footer > contact line View::registerCustomView('::modules/hit-counter/footer', $this->name() . '::modules/hit-counter/footer'); // Footer > view count + View::registerCustomView('::modules/powered-by-webtrees/footer', $this->name() . '::modules/powered-by-webtrees/footer'); // Footer > webtrees link View::registerCustomView('::modules/privacy-policy/footer', $this->name() . '::modules/privacy-policy/footer'); // Footer > privacy policy link /** diff --git a/resources/views/chart-box.phtml b/resources/views/chart-box.phtml index 2da1ffa..2ec1712 100644 --- a/resources/views/chart-box.phtml +++ b/resources/views/chart-box.phtml @@ -2,7 +2,7 @@ $view = view('::chart-box', get_defined_vars()); -$view = preg_replace('/wt-chart-box-thumbnail float-left mr-1/', 'wt-chart-box-thumbnail float-left mr-2', $view); // Increase thumbnail margin +$view = preg_replace('/wt-chart-box-thumbnail float-start me-1/', 'wt-chart-box-thumbnail float-start me-2', $view); // Increase thumbnail margin $view = preg_replace('//', view('icons/pedigree-right'), $view); // Replace icon for individual's links $view = preg_replace('/dropdown-item p-1/', 'dropdown-item', $view); // Increase padding around individual's links by removing small padding class $view = preg_replace('/dropdown-menu-end/', '', $view); // Remove right aligning of dropdowns because Argon applies a positioning incompatible with Popper diff --git a/resources/views/modules/powered-by-webtrees/footer.phtml b/resources/views/modules/powered-by-webtrees/footer.phtml new file mode 100644 index 0000000..f4f12b6 --- /dev/null +++ b/resources/views/modules/powered-by-webtrees/footer.phtml @@ -0,0 +1,6 @@ +