From 40778596550e3dfeacfcbb5225916fd03b09ecb8 Mon Sep 17 00:00:00 2001 From: Jonathan Jaubart Date: Sat, 24 Oct 2020 20:44:50 +0100 Subject: [PATCH] RESOLVED #JJ281: Upgrade to webtrees 2.0.9 - Rural theme upgrade https://bugs.jaubart.com/view.php?id=281 --- module.php | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/module.php b/module.php index 72b2fd6..9a64d91 100644 --- a/module.php +++ b/module.php @@ -56,7 +56,7 @@ public function title(): string { return I18N::translate('Rural'); } - + /** * {@inheritDoc} * @see \Fisharebest\Webtrees\Module\AbstractModule::boot() @@ -66,7 +66,7 @@ public function boot(): void // Register a namespace for our views. View::registerNamespace($this->name(), $this->resourcesFolder() . 'views/'); } - + /** * {@inheritDoc} * @see \Fisharebest\Webtrees\Module\AbstractModule::resourcesFolder() @@ -75,8 +75,8 @@ public function resourcesFolder(): string { return __DIR__ . '/resources/'; } - - + + /** * {@inheritDoc} * @see \Fisharebest\Webtrees\Module\AbstractModule::stylesheets() @@ -89,7 +89,7 @@ public function stylesheets(): array ]; } - + /** * {@inheritDoc} * @see \Fisharebest\Webtrees\Module\ModuleThemeInterface::stylesheets() @@ -113,7 +113,7 @@ public function parameter($parameter_name) ]; return $parameters[$parameter_name]; } - + /** * {@inheritDoc} * @see \Fisharebest\Webtrees\Module\ModuleCustomInterface::customModuleAuthorName() @@ -122,8 +122,8 @@ public function customModuleAuthorName(): string { return 'Jonathan Jaubart'; } - - + + /** * {@inheritDoc} * @see \Fisharebest\Webtrees\Module\ModuleCustomInterface::customModuleVersion() @@ -142,7 +142,7 @@ public function customModuleSupportUrl(): string return 'https://github.com/jon48/webtrees-theme-rural'; } - + public function getCustomCssAction(ServerRequestInterface $request): ResponseInterface { $content = view($this->name() . '::style.css'); @@ -150,8 +150,8 @@ public function getCustomCssAction(ServerRequestInterface $request): ResponseInt ->withHeader('Content-Type', 'text/css') ; } - - + + /** * {@inheritDoc} * @see \Fisharebest\Webtrees\Module\ModuleFooterInterface::defaultFooterOrder() @@ -160,7 +160,7 @@ public function defaultFooterOrder(): int { return 99; } - + /** * {@inheritDoc} * @see \Fisharebest\Webtrees\Module\ModuleFooterInterface::getFooter()