From 6ebd5fbae7f191bd12de9565d1b882c72f30bf6a Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Mon, 8 Jul 2019 19:21:23 +0200 Subject: [PATCH] change createmodel function --- Theme/Backend/help-module-list.tpl.php | 27 ++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/Theme/Backend/help-module-list.tpl.php b/Theme/Backend/help-module-list.tpl.php index f3e8ff9..47a574b 100644 --- a/Theme/Backend/help-module-list.tpl.php +++ b/Theme/Backend/help-module-list.tpl.php @@ -30,19 +30,22 @@ $modules = $this->app->moduleManager->getInstalledModules(); - $module) : - if ((\realpath(__DIR__ . '/../../../' . $module['directory'] . '/Docs/Help/en/SUMMARY.md')) === false) { - continue; - } + $module) : + if ((\realpath(__DIR__ . '/../../../' . $module['directory'] . '/Docs/Help/en/SUMMARY.md')) === false) { + continue; + } - ++$count; - $url = \phpOMS\Uri\UriFactory::build( - '{/lang}/backend/help/module/single?id={$module}', - ['$module' => $module['name']['internal']] - ); ?> - - printHtml($module['name']['external']); ?> - + ++$count; + $url = \phpOMS\Uri\UriFactory::build( + '{/lang}/backend/help/module/single?id={$module}', + ['$module' => $module['name']['internal']] + ); + ?> + + printHtml($module['name']['external']); ?> + getHtml('Empty', '0', '0'); ?>