From c1d0c132f38885042beab24cd220f5fe800a6e09 Mon Sep 17 00:00:00 2001 From: Florian Strohmaier Date: Wed, 28 Jul 2021 14:59:57 +0200 Subject: [PATCH] about/index: Adjust markup refs #4328 --- application/views/scripts/about/index.phtml | 286 +++++++++++--------- 1 file changed, 155 insertions(+), 131 deletions(-) diff --git a/application/views/scripts/about/index.phtml b/application/views/scripts/about/index.phtml index 47a122a96..9a7e890b5 100644 --- a/application/views/scripts/about/index.phtml +++ b/application/views/scripts/about/index.phtml @@ -1,25 +1,140 @@ +
-
- img('img/icinga-logo-big.svg', null, array('class' => 'icinga-logo', 'width' => 320)) ?> -
- -
translate('Icinga Web 2 Version') ?>
-
escape($version['appVersion']) ?>
- - -
translate('Git commit') ?>
-
escape($version['gitCommitID']) ?>
- -
translate('PHP Version') ?>
-
escape(PHP_VERSION) ?>
- -
translate('Git commit date') ?>
-
escape($version['gitCommitDate']) ?>
- -
translate('Copyright') ?>
-
+
+ + img('img/icinga-logo-big.svg', null, array('class' => 'icinga-logo', 'width' => 194)) ?> + +
+ + + + + + + + + + + + + + + + + + + + + + + +
translate('Icinga Web 2 Version') ?>escape($version['appVersion']) ?>
translate('Git commit') ?>escape($version['gitCommitID']) ?>
translate('PHP Version') ?>escape(PHP_VERSION) ?>
translate('Git commit date') ?>escape($version['gitCommitDate']) ?>
+ + + +

translate('Loaded Libraries') ?>

+ + + + + + + +
+ escape($library->getName()) ?> + + escape($library->getVersion()) ?: '-' ?> +
+ +

translate('Loaded Modules') ?>

+ + + + + + + + +
+ escape($module->getName()) ?> + + + escape($module->getVersion()) ?> + + hasPermission('config/modules')): ?> + qlink( + $this->translate('Configure'), + 'config/module/', + array('name' => $module->getName()), + array('title' => sprintf($this->translate('Show the overview of the %s module'), $module->getName())) + ) ?> + +
+
+ +
+
-
-
- qlink( - null, - 'https://www.twitter.com/icinga', - null, - array( - 'target' => '_blank', - 'icon' => 'twitter', - 'title' => $this->translate('Icinga on Twitter') - ) - ) ?> qlink( - null, - 'https://www.facebook.com/icinga', - null, - array( - 'target' => '_blank', - 'icon' => 'facebook-squared', - 'title' => $this->translate('Icinga on Facebook') - ) - ) ?> -
- -

translate('Loaded Libraries') ?>

- - - - - - - - - - - - - - -
translate('Name') ?>translate('Version') ?>
- escape($library->getName()) ?> - - escape($library->getVersion()) ?: '-' ?> -
-

translate('Loaded Modules') ?>

- - - - - - - - - - - - - - -
translate('Name') ?>translate('Version') ?>
- hasPermission('config/modules')): ?> + +
qlink( - $module->getName(), - 'config/module/', - array('name' => $module->getName()), - array('title' => sprintf($this->translate('Show the overview of the %s module'), $module->getName())) + null, + 'https://www.twitter.com/icinga', + null, + array( + 'target' => '_blank', + 'icon' => 'twitter', + 'title' => $this->translate('Icinga on Twitter') + ) + ) ?> qlink( + null, + 'https://www.facebook.com/icinga', + null, + array( + 'target' => '_blank', + 'icon' => 'facebook-squared', + 'title' => $this->translate('Icinga on Facebook') + ) ) ?> - - escape($module->getName()) ?> - -
- escape($module->getVersion()) ?> -
+
+