/webtrees/app/Http/Middleware/ |
H A D | UseTheme.php | 22 use Fisharebest\Webtrees\Module\ModuleThemeInterface; alias 58 if ($theme instanceof ModuleThemeInterface) { 59 Registry::container()->set(ModuleThemeInterface::class, $theme); 76 $themes = $this->module_service->findByInterface(ModuleThemeInterface::class); 80 …->first(static fn (ModuleThemeInterface $module): bool => $module->name() === Session::get('theme'… 84 …->first(static fn (ModuleThemeInterface $module): bool => $module->name() === Site::getPreference(…
|
H A D | BootModules.php | 22 use Fisharebest\Webtrees\Module\ModuleThemeInterface; alias 36 private ModuleThemeInterface $theme; 40 * @param ModuleThemeInterface $theme 42 public function __construct(ModuleService $module_service, ModuleThemeInterface $theme)
|
/webtrees/resources/views/layouts/ |
H A D | default.phtml | 13 use Fisharebest\Webtrees\Module\ModuleThemeInterface; alias 59 …<?php foreach (Registry::container()->get(ModuleThemeInterface::class)->stylesheets() as $styleshe… 70 …<body class="wt-global wt-theme-<?= e(Registry::container()->get(ModuleThemeInterface::class)->nam… 104 …<?php foreach (Registry::container()->get(ModuleThemeInterface::class)->userMenu($tree) as $menu) … 113 …<?php foreach (Registry::container()->get(ModuleThemeInterface::class)->genealogyMenu($tree) as $m…
|
/webtrees/app/Http/RequestHandlers/ |
H A D | ModulesThemesPage.php | 23 use Fisharebest\Webtrees\Module\ModuleThemeInterface; alias 42 ModuleThemeInterface::class,
|
H A D | ModulesThemesAction.php | 24 use Fisharebest\Webtrees\Module\ModuleThemeInterface; alias 43 $this->updateStatus(ModuleThemeInterface::class, $request);
|
H A D | SitePreferencesPage.php | 24 use Fisharebest\Webtrees\Module\ModuleThemeInterface; alias 60 ->findByInterface(ModuleThemeInterface::class, true, true)
|
H A D | UserEditPage.php | 27 use Fisharebest\Webtrees\Module\ModuleThemeInterface; alias 107 ->findByInterface(ModuleThemeInterface::class)
|
H A D | ControlPanel.php | 46 use Fisharebest\Webtrees\Module\ModuleThemeInterface; alias 215 …es_disabled' => $this->module_service->findByInterface(ModuleThemeInterface::class, tru… 216 …odules_enabled' => $this->module_service->findByInterface(ModuleThemeInterface::class),
|
H A D | TreePreferencesPage.php | 29 use Fisharebest\Webtrees\Module\ModuleThemeInterface; alias 118 ->findByInterface(ModuleThemeInterface::class)
|
/webtrees/app/Schema/ |
H A D | Migration42.php | 30 use Fisharebest\Webtrees\Module\ModuleThemeInterface; alias 46 'theme' => ModuleThemeInterface::class,
|
/webtrees/app/Factories/ |
H A D | ResponseFactory.php | 24 use Fisharebest\Webtrees\Module\ModuleThemeInterface; alias 150 'theme' => Registry::container()->get(ModuleThemeInterface::class),
|
/webtrees/app/Services/ |
H A D | ModuleService.php | 208 use Fisharebest\Webtrees\Module\ModuleThemeInterface; alias 299 ModuleThemeInterface::class, 877 * @param ModuleThemeInterface $current_theme 879 public function bootModules(ModuleThemeInterface $current_theme): void 883 if ($module instanceof ModuleThemeInterface && $module !== $current_theme) {
|
/webtrees/app/Module/ |
H A D | ModuleThemeTrait.php | 439 … $themes = $module_service->findByInterface(ModuleThemeInterface::class, false, true); 440 $current_theme = Registry::container()->get(ModuleThemeInterface::class); 443 …$submenus = $themes->map(static function (ModuleThemeInterface $theme) use ($current_theme): Menu {
|
H A D | WebtreesTheme.php | 27 class WebtreesTheme extends AbstractModule implements ModuleThemeInterface
|
H A D | FabTheme.php | 27 class FabTheme extends AbstractModule implements ModuleThemeInterface
|
H A D | XeneaTheme.php | 27 class XeneaTheme extends AbstractModule implements ModuleThemeInterface
|
H A D | MinimalTheme.php | 27 class MinimalTheme extends AbstractModule implements ModuleThemeInterface
|
H A D | ModuleThemeInterface.php | 29 interface ModuleThemeInterface extends ModuleInterface interface
|
H A D | CloudsTheme.php | 29 class CloudsTheme extends AbstractModule implements ModuleThemeInterface
|
H A D | ThemeSelectModule.php | 66 $theme = Registry::container()->get(ModuleThemeInterface::class);
|
H A D | FanChartModule.php | 294 $theme = Registry::container()->get(ModuleThemeInterface::class);
|
/webtrees/tests/app/Services/ |
H A D | ModuleServiceTest.php | 34 use Fisharebest\Webtrees\Module\ModuleThemeInterface; alias 80 … self::assertNotEmpty($module_service->findByInterface(ModuleThemeInterface::class, true)->all());
|
/webtrees/resources/views/admin/ |
H A D | modules.phtml | 25 use Fisharebest\Webtrees\Module\ModuleThemeInterface; alias 273 <?php if ($module instanceof ModuleThemeInterface) : ?>
|
H A D | control-panel.phtml | 74 use Fisharebest\Webtrees\Module\ModuleThemeInterface; alias
|
/webtrees/tests/ |
H A D | TestCase.php | 28 use Fisharebest\Webtrees\Module\ModuleThemeInterface; alias 143 Registry::container()->set(ModuleThemeInterface::class, new WebtreesTheme());
|