changeset 100:f74307f05696

Add pageInfoHeader element to contain the topmost info/navigation blurb elements.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 18 Sep 2016 20:49:03 +0300
parents f83d8a2e7260
children 00bcbe2473ff
files mgallery.php
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mgallery.php	Fri Sep 16 22:12:44 2016 +0300
+++ b/mgallery.php	Sun Sep 18 20:49:03 2016 +0300
@@ -617,6 +617,7 @@
   $pageTitle = $galTitlePrefix.$galTitleSep.mgGetTrans($galData["caption"])." - ".$galImage;
   mgPrintPageHeader($pageTitle);
   echo
+    "<div id=\"pageInfoHeader\">\n".
     mgGetLanguageSelector().
     "<h1>".chentities($pageTitle)."</h1>\n";
 
@@ -627,6 +628,7 @@
     echo mgGetNaviControls($galImagesIndex, $index, $naviFlags);
 
   echo
+    "</div>\n".
     "<div id=\"imageCBox\">\n".
     mgGetNaviControlImageBoxJS($galImagesIndex, $index, "prevBtm", -1)."\n".
     mgGetNaviControlImageBox($galImagesIndex, $index, "prev", -1)."\n".
@@ -794,6 +796,7 @@
   $pageTitle = $galTitlePrefix.mgGetArr($galData, "caption", " - %1", "", "chentities");
   mgPrintPageHeader($pageTitle);
   echo
+    "<div id=\"pageInfoHeader\">\n".
     mgGetLanguageSelector().
     "<h1>".$pageTitle."</h1>\n";
 
@@ -823,6 +826,8 @@
     echo "<div class=\"albumHeaderText\">".$headerText."</div>\n";
   }
 
+  echo "</div>\n";
+
   mgPrintTable("albumTable", $galEntries, $galAlbumsIndex, 0, FALSE);
   mgPrintTable("imageTable", $galEntries, $galImagesIndex, 0, FALSE);
 }