From 86ca30fdc01249e9e417490a29260d0fff33d87d Mon Sep 17 00:00:00 2001 From: yggverse Date: Wed, 31 Jul 2024 16:39:31 +0300 Subject: [PATCH] show link address on hover --- src/Entity/Browser/Menu/Help/About.php | 36 ++++++++++++++++++++------ 1 file changed, 28 insertions(+), 8 deletions(-) diff --git a/src/Entity/Browser/Menu/Help/About.php b/src/Entity/Browser/Menu/Help/About.php index c3f132a0..1c13ed31 100644 --- a/src/Entity/Browser/Menu/Help/About.php +++ b/src/Entity/Browser/Menu/Help/About.php @@ -31,21 +31,25 @@ class About public const DIALOG_MESSAGE_FORMAT = 'About'; - public const DIALOG_FORMAT_SECONDARY_MARKUP_APP_SRC_NAME = 'Yoda'; + public const DIALOG_FORMAT_SECONDARY_MARKUP_APP_SRC_NAME = 'Yoda'; public const DIALOG_FORMAT_SECONDARY_MARKUP_APP_SRC_INFO = 'Browser for Gemini protocol'; public const DIALOG_FORMAT_SECONDARY_MARKUP_APP_SRC_META = '%s'; + public const DIALOG_FORMAT_SECONDARY_MARKUP_APP_SRC_HREF = 'https://github.com/YGGverse/Yoda'; - public const DIALOG_FORMAT_SECONDARY_MARKUP_PHP_SRC_NAME = 'PHP'; + public const DIALOG_FORMAT_SECONDARY_MARKUP_PHP_SRC_NAME = 'PHP'; public const DIALOG_FORMAT_SECONDARY_MARKUP_PHP_SRC_INFO = 'Hypertext Preprocessor'; public const DIALOG_FORMAT_SECONDARY_MARKUP_PHP_SRC_META = 'version: %d.%d.%d'; + public const DIALOG_FORMAT_SECONDARY_MARKUP_PHP_SRC_HREF = 'https://github.com/php/php-src'; - public const DIALOG_FORMAT_SECONDARY_MARKUP_PHP_GTK_NAME = 'PHP-GTK'; + public const DIALOG_FORMAT_SECONDARY_MARKUP_PHP_GTK_NAME = 'PHP-GTK'; public const DIALOG_FORMAT_SECONDARY_MARKUP_PHP_GTK_INFO = 'Bind of GTK 3 to create desktop applications with PHP'; public const DIALOG_FORMAT_SECONDARY_MARKUP_PHP_GTK_META = 'version: %s'; + public const DIALOG_FORMAT_SECONDARY_MARKUP_PHP_GTK_HREF = 'https://github.com/scorninpc/php-gtk3'; - public const DIALOG_FORMAT_SECONDARY_MARKUP_LIB_GTK_NAME = 'GTK'; + public const DIALOG_FORMAT_SECONDARY_MARKUP_LIB_GTK_NAME = 'GTK'; public const DIALOG_FORMAT_SECONDARY_MARKUP_LIB_GTK_INFO = 'Free and open-source cross-platform widget toolkit'; public const DIALOG_FORMAT_SECONDARY_MARKUP_LIB_GTK_META = 'version: %d.%d.%d'; + public const DIALOG_FORMAT_SECONDARY_MARKUP_LIB_GTK_HREF = 'https://gtk.org'; public const PHP_VERSION_GTK_EXTENSION = 'php-gtk3'; @@ -101,7 +105,11 @@ class About PHP_EOL, [ // App - _($this::DIALOG_FORMAT_SECONDARY_MARKUP_APP_SRC_NAME), + sprintf( + _($this::DIALOG_FORMAT_SECONDARY_MARKUP_APP_SRC_NAME), + _($this::DIALOG_FORMAT_SECONDARY_MARKUP_APP_SRC_HREF), + _($this::DIALOG_FORMAT_SECONDARY_MARKUP_APP_SRC_HREF) + ), _($this::DIALOG_FORMAT_SECONDARY_MARKUP_APP_SRC_INFO), sprintf( _($this::DIALOG_FORMAT_SECONDARY_MARKUP_APP_SRC_META), @@ -112,7 +120,11 @@ class About ), null, // PHP - _($this::DIALOG_FORMAT_SECONDARY_MARKUP_PHP_SRC_NAME), + sprintf( + _($this::DIALOG_FORMAT_SECONDARY_MARKUP_PHP_SRC_NAME), + _($this::DIALOG_FORMAT_SECONDARY_MARKUP_PHP_SRC_HREF), + _($this::DIALOG_FORMAT_SECONDARY_MARKUP_PHP_SRC_HREF) + ), _($this::DIALOG_FORMAT_SECONDARY_MARKUP_PHP_SRC_INFO), sprintf( _($this::DIALOG_FORMAT_SECONDARY_MARKUP_PHP_SRC_META), @@ -122,7 +134,11 @@ class About ), null, // PHP-GTK - _($this::DIALOG_FORMAT_SECONDARY_MARKUP_PHP_GTK_NAME), + sprintf( + _($this::DIALOG_FORMAT_SECONDARY_MARKUP_PHP_GTK_NAME), + _($this::DIALOG_FORMAT_SECONDARY_MARKUP_PHP_GTK_HREF), + _($this::DIALOG_FORMAT_SECONDARY_MARKUP_PHP_GTK_HREF) + ), _($this::DIALOG_FORMAT_SECONDARY_MARKUP_PHP_GTK_INFO), sprintf( _($this::DIALOG_FORMAT_SECONDARY_MARKUP_PHP_GTK_META), @@ -132,7 +148,11 @@ class About ), null, // GTK - _($this::DIALOG_FORMAT_SECONDARY_MARKUP_LIB_GTK_NAME), + sprintf( + _($this::DIALOG_FORMAT_SECONDARY_MARKUP_LIB_GTK_NAME), + _($this::DIALOG_FORMAT_SECONDARY_MARKUP_LIB_GTK_HREF), + _($this::DIALOG_FORMAT_SECONDARY_MARKUP_LIB_GTK_HREF) + ), _($this::DIALOG_FORMAT_SECONDARY_MARKUP_LIB_GTK_INFO), sprintf( _($this::DIALOG_FORMAT_SECONDARY_MARKUP_LIB_GTK_META),