From 910f43b31dba2919620e035a24f8ef7704e0ecec Mon Sep 17 00:00:00 2001 From: root Date: Wed, 24 Feb 2016 13:37:57 +0100 Subject: [PATCH 1/2] Added possibility to specify url target for clicking the image added in the widget --- html/includes/common/generic-image.inc.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/html/includes/common/generic-image.inc.php b/html/includes/common/generic-image.inc.php index 440168202..bcbb7a68a 100644 --- a/html/includes/common/generic-image.inc.php +++ b/html/includes/common/generic-image.inc.php @@ -41,6 +41,14 @@ if( defined('show_settings') || empty($widget_settings) ) { +
+
+ +
+
+ +
+
@@ -50,5 +58,5 @@ if( defined('show_settings') || empty($widget_settings) ) { } else { $widget_settings['title'] = $widget_settings['image_title']; - $common_output[] = ''; + $common_output[] = ''; } From a3671fc38b533cad234a1a949bdeb5518b21ae73 Mon Sep 17 00:00:00 2001 From: vizay Date: Wed, 24 Feb 2016 14:52:15 +0100 Subject: [PATCH 2/2] Added target parameter so it opens in a new tab/window --- html/includes/common/generic-image.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/includes/common/generic-image.inc.php b/html/includes/common/generic-image.inc.php index bcbb7a68a..314caa1cf 100644 --- a/html/includes/common/generic-image.inc.php +++ b/html/includes/common/generic-image.inc.php @@ -58,5 +58,5 @@ if( defined('show_settings') || empty($widget_settings) ) { } else { $widget_settings['title'] = $widget_settings['image_title']; - $common_output[] = ''; + $common_output[] = ''; }