diff options
Diffstat (limited to 'app/layout/header.phtml')
| -rw-r--r-- | app/layout/header.phtml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/app/layout/header.phtml b/app/layout/header.phtml index e5722abb6..18e67fd2d 100644 --- a/app/layout/header.phtml +++ b/app/layout/header.phtml @@ -4,18 +4,18 @@ <header class="header"> <div class="item title"> <a href="<?= _url('index', 'index') ?>"> - <?php if (FreshRSS_Context::$system_conf->logo_html == '') { ?> + <?php if (FreshRSS_Context::systemConf()->logo_html == '') { ?> <img class="logo" src="<?= _i('FreshRSS-logo', FreshRSS_Themes::ICON_URL) ?>" alt="FreshRSS" loading="lazy" /> <?php } else { - echo FreshRSS_Context::$system_conf->logo_html; + echo FreshRSS_Context::systemConf()->logo_html; } ?> </a> </div> <div class="item search"> - <?php if (FreshRSS_Auth::hasAccess() || FreshRSS_Context::$system_conf->allow_anonymous) { ?> + <?php if (FreshRSS_Auth::hasAccess() || FreshRSS_Context::systemConf()->allow_anonymous) { ?> <form action="<?= _url('index', 'index') ?>" method="get"> <div class="stick"> <input type="search" name="search" id="search" @@ -81,7 +81,7 @@ <li class="item"><a href="<?= _url('configure', 'shortcut') ?>"><?= _t('gen.menu.shortcuts') ?></a></li> <li class="item"><a href="<?= _url('configure', 'queries') ?>"><?= _t('gen.menu.queries') ?></a></li> <li class="item"><a href="<?= _url('extension', 'index') ?>"><?= _t('gen.menu.extensions') ?></a></li> - <?= Minz_ExtensionManager::callHook('menu_configuration_entry') ?> + <?= Minz_ExtensionManager::callHookString('menu_configuration_entry') ?> </ul> </li> <?php if (FreshRSS_Auth::hasAccess('admin')) { ?> @@ -94,10 +94,10 @@ <li class="item"><a href="<?= _url('user', 'manage') ?>"><?= _t('gen.menu.user_management') ?></a></li> <li class="item"><a href="<?= _url('auth', 'index') ?>"><?= _t('gen.menu.authentication') ?></a></li> <li class="item"><a href="<?= _url('update', 'checkInstall') ?>"><?= _t('gen.menu.check_install') ?></a></li> - <?php if (!FreshRSS_Context::$system_conf->disable_update) { ?> + <?php if (!FreshRSS_Context::systemConf()->disable_update) { ?> <li class="item"><a href="<?= _url('update', 'index') ?>"><?= _t('gen.menu.update') ?></a></li> <?php } ?> - <?= Minz_ExtensionManager::callHook('menu_admin_entry') ?> + <?= Minz_ExtensionManager::callHookString('menu_admin_entry') ?> </ul> </li> <?php } ?> @@ -111,7 +111,7 @@ <a href="<?= _url('index', 'tos') ?>"><?= _t('index.tos.title')?></a> </li> <?php } ?> - <?= Minz_ExtensionManager::callHook('menu_other_entry') ?> + <?= Minz_ExtensionManager::callHookString('menu_other_entry') ?> </ul> </li> </ul> |
