diff --git a/CHANGELOG.md b/CHANGELOG.md index 477f592..9ebeb48 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,14 +14,16 @@ IMPORTANT NOTE: This version only works on CACTI 1.x++! ## Changes ---- 1.5 --- -* issue#124: Weathermap slow when some graphs are broken -* issue#173: Data Source select queries slow or not working -* issue#186: Popups are not working in standalone mode +--- 1.6 --- * issue#211: Warn Count is being reset too early * issue: Attempt to keep the plugin basepath the weathermap directory * issue: Miscellaneous security hardening and preparation for Cacti 1.3 * feature#219: Add Via Style as a Link form Option + +--- 1.5 --- +* issue#124: Weathermap slow when some graphs are broken +* issue#173: Data Source select queries slow or not working +* issue#186: Popups are not working in standalone mode * feature#193: Allow the Info URL to be either "Time View Graph" or "Classic View Graph" --- 1.4 --- diff --git a/INFO b/INFO index 8d1a2cf..53a29dd 100644 --- a/INFO +++ b/INFO @@ -1,6 +1,6 @@ [info] name = weathermap -version = 1.5 +version = 1.6 longname = Weathermap Plugin author = The Cacti Group, Howard Jones email = developers@cacti.net diff --git a/cli/cacti-mapper.php b/cli/cacti-mapper.php index c73bd25..1346751 100644 --- a/cli/cacti-mapper.php +++ b/cli/cacti-mapper.php @@ -147,7 +147,7 @@ unset($interfaces[$key]); $cleaned++; } else { - $interfaces[$key]['nicename'] = (isset($int['name']) ? $int['name'] : (isset($int['descr']) ? $int['descr'] : (isset($int['alias']) ? $int['alias'] : 'Interface #' . $int['index']))); + $interfaces[$key]['nicename'] = ($int['name'] ?? ($int['descr'] ?? ($int['alias'] ?? 'Interface #' . $int['index']))); } } } diff --git a/js/editor.js b/js/editor.js index 7679d1a..ce5042c 100644 --- a/js/editor.js +++ b/js/editor.js @@ -1051,11 +1051,11 @@ function prime_link_form(name) { // if that didn't 'stick', then we need to add the special value if ($('#link_commentposout').val() != mylink.commentposout) { - $('#link_commentposout').prepend(""); + $('#link_commentposout').prepend($('"); + $('#link_commentposin').prepend($('