From 555937a8eacc5468f9aae87ca58fbc58bdc59669 Mon Sep 17 00:00:00 2001 From: onli Date: Sun, 21 Jul 2019 14:31:35 +0200 Subject: [PATCH] wikipedia_finder 1.5.1: PHP 7 compat (baseURL -> 'baseURL') --- serendipity_plugin_wikipedia_finder/ChangeLog | 3 +++ .../serendipity_plugin_wikipedia_finder.php | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/serendipity_plugin_wikipedia_finder/ChangeLog b/serendipity_plugin_wikipedia_finder/ChangeLog index 8848a628..eb442a7e 100644 --- a/serendipity_plugin_wikipedia_finder/ChangeLog +++ b/serendipity_plugin_wikipedia_finder/ChangeLog @@ -1 +1,4 @@ +1.5.1: + Fix baseURL being a constant, needed in PHP 7 + Added legal information for gdpr/dsgvo diff --git a/serendipity_plugin_wikipedia_finder/serendipity_plugin_wikipedia_finder.php b/serendipity_plugin_wikipedia_finder/serendipity_plugin_wikipedia_finder.php index e6d2194e..75b3c7ec 100644 --- a/serendipity_plugin_wikipedia_finder/serendipity_plugin_wikipedia_finder.php +++ b/serendipity_plugin_wikipedia_finder/serendipity_plugin_wikipedia_finder.php @@ -52,7 +52,7 @@ class serendipity_plugin_wikipedia_finder extends serendipity_plugin { )); - $propbag->add('version', '1.5'); + $propbag->add('version', '1.5.1'); $propbag->add('groups', array('FRONTEND_EXTERNAL_SERVICES')); } @@ -162,7 +162,7 @@ class serendipity_plugin_wikipedia_finder extends serendipity_plugin { echo " getSelectedText(); return false;' onclick='return false;' type='image' style='height:30px; width:31px;' - src='".$serendipity[baseURL]."plugins/".$plugin_dir."/wikipedia_".$color.".gif' />
+ src='".$serendipity['baseURL']."plugins/".$plugin_dir."/wikipedia_".$color.".gif' />
".PLUGIN_WIKIPEDIAFINDER_DESC." "; }