Mercurial > hg > mgallery
changeset 175:a51b59b552ef
Improve a bit of indentation for clarity.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 14 Mar 2018 01:43:59 +0200 |
parents | 915cf0469d9f |
children | d7d773f6b246 |
files | mgallery.php |
diffstat | 1 files changed, 16 insertions(+), 15 deletions(-) [+] |
line wrap: on
line diff
--- a/mgallery.php Tue Mar 13 14:45:04 2018 +0200 +++ b/mgallery.php Wed Mar 14 01:43:59 2018 +0200 @@ -574,21 +574,22 @@ "<div id=\"pageInfoButton\">_</div>\n". "<a id=\"pageUpNaviButton\" href=\"".mgGetURL($galData["path"], FALSE)."\">^</a>\n". "<div id=\"imageCBox\">\n". - mgGetNaviControlImageBoxJS($galImagesIndex, $index, "prevBtm", -1)."\n". - mgGetNaviControlImageBox($galImagesIndex, $index, "prev", -1)."\n". - "<div class=\"imageBox\">\n". - "<img id=\"imageImage\" src=\"".mgGetImageURL($galTNPath, $data["base"].$galMedSuffix.$data["ext"])."\" alt=\"".chentities($data["base"].$galMedSuffix.$data["ext"])."\">\n". - "</div>\n". - 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 class=\"infoBox\">\n". - mgGetArr($data, "datetime", "<span class=\"infoDateTime\">%1</span>\n", "", "mgTimeStr"). - implode(",\n", array_filter($list, function($a) { return $a !== NULL; }))."\n". - "<a id=\"imageLink\" href=\"".$galImageURL.$galPath."/".$galImage."\">". - mgQM("view_best_quality")."</a>\n". - "</div>\n". - "</div>\n"; + mgGetNaviControlImageBoxJS($galImagesIndex, $index, "prevBtm", -1)."\n". + mgGetNaviControlImageBox($galImagesIndex, $index, "prev", -1)."\n". + "<div id=\"imageImageBox\" class=\"imageBox\">". + "<img id=\"imageImage\" src=\"".mgGetImageURL($galTNPath, $data["base"].$galMedSuffix.$data["ext"]). + "\" alt=\"".chentities($data["base"].$galMedSuffix.$data["ext"])."\">". + "</div>\n". + 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 class=\"infoBox\">\n". + mgGetArr($data, "datetime", "<span class=\"infoDateTime\">%1</span>\n", "", "mgTimeStr"). + implode(",\n", array_filter($list, function($a) { return $a !== NULL; }))."\n". + "<a id=\"imageLink\" href=\"".$galImageURL.$galPath."/".$galImage."\">". + mgQM("view_best_quality")."</a>\n". + "</div>\n". // infoBox + "</div>\n"; // imageCBox // Javascript navigation if ($ctrlFlags & MGF_JAVASCRIPT)