diff mgallery.php @ 198:cd09052cf5db

Rename a CSS id selector.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 19 Mar 2018 15:28:31 +0200
parents f3098855ad58
children d03fad24f4bc
line wrap: on
line diff
--- a/mgallery.php	Mon Mar 19 13:51:53 2018 +0200
+++ b/mgallery.php	Mon Mar 19 15:28:31 2018 +0200
@@ -587,8 +587,8 @@
     // Hovering navigation buttons
     "<a id=\"pageInfoButton\" href=\"#\" title=\"".mgQM("page_info_button_title")."\">_</a>\n".
     "<a id=\"pageUpNaviButton\" href=\"".mgGetURL($galData["path"], FALSE)."\" title=\"".mgQM("page_up_navi_button_title")."\">^</a>\n".
-    // imageCBox
-    "<div id=\"imageCBox\">\n".
+    // pageImageBox
+    "<div id=\"pageImageBox\">\n".
       mgGetNaviControlImageBoxJS($galImagesIndex, $index, "prevBtm", -1)."\n".
       mgGetNaviControlImageBox($galImagesIndex, $index, "prev", -1)."\n".
       "<div id=\"imageImageBox\" class=\"imageBox\">".
@@ -598,7 +598,7 @@
       mgGetNaviControlImageBoxJS($galImagesIndex, $index, "nextBtm", 1)."\n".
       mgGetNaviControlImageBox($galImagesIndex, $index, "next", 1)."\n".
       (isset($data["caption"]) ? "<div class=\"imageCaption\">".mgGetArrStr($data, "caption", "%1")."</div>\n" : "").
-    "</div>\n". // imageCBox
+    "</div>\n". // pageImageBox
     // infoBox
     "<div id=\"infoBox\">\n".
       mgGetArr($data, "datetime", "<span class=\"infoDateTime\">%1</span>\n", "", "mgTimeStr").
@@ -621,7 +621,7 @@
 ?>
 mgalDisplayInfo(false);
 mgalAddEvent("pageInfoButton", "click", mgalOpenInfo);
-mgalAddEvent("imageCBox", "click", mgalCloseInfo);
+mgalAddEvent("pageImageBox", "click", mgalCloseInfo);
 
 mgalAddEvent("imageImage", "load", mgalAdjustImageDo);
 mgalAddEventOb("window", window, "resize", mgalAdjustImage);