# HG changeset patch # User Matti Hamalainen # Date 1520984639 -7200 # Node ID a51b59b552ef882a329b5eaec2a4347a64508ffc # Parent 915cf0469d9faaee50116557164bc1600a2deffb Improve a bit of indentation for clarity. diff -r 915cf0469d9f -r a51b59b552ef mgallery.php --- 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 @@ "
_
\n". "^\n". "
\n". - mgGetNaviControlImageBoxJS($galImagesIndex, $index, "prevBtm", -1)."\n". - mgGetNaviControlImageBox($galImagesIndex, $index, "prev", -1)."\n". - "
\n". - "\"".chentities($data["base"].$galMedSuffix.$data["ext"])."\"\n". - "
\n". - mgGetNaviControlImageBoxJS($galImagesIndex, $index, "nextBtm", 1)."\n". - mgGetNaviControlImageBox($galImagesIndex, $index, "next", 1)."\n". - (isset($data["caption"]) ? "
".mgGetArrStr($data, "caption", "%1")."
\n" : ""). - "
\n". - mgGetArr($data, "datetime", "%1\n", "", "mgTimeStr"). - implode(",\n", array_filter($list, function($a) { return $a !== NULL; }))."\n". - "". - mgQM("view_best_quality")."\n". - "
\n". - "
\n"; + mgGetNaviControlImageBoxJS($galImagesIndex, $index, "prevBtm", -1)."\n". + mgGetNaviControlImageBox($galImagesIndex, $index, "prev", -1)."\n". + "
". + "\"".chentities($data["base"].$galMedSuffix.$data["ext"])."\"". + "
\n". + mgGetNaviControlImageBoxJS($galImagesIndex, $index, "nextBtm", 1)."\n". + mgGetNaviControlImageBox($galImagesIndex, $index, "next", 1)."\n". + (isset($data["caption"]) ? "
".mgGetArrStr($data, "caption", "%1")."
\n" : ""). + "
\n". + mgGetArr($data, "datetime", "%1\n", "", "mgTimeStr"). + implode(",\n", array_filter($list, function($a) { return $a !== NULL; }))."\n". + "". + mgQM("view_best_quality")."\n". + "
\n". // infoBox + "\n"; // imageCBox // Javascript navigation if ($ctrlFlags & MGF_JAVASCRIPT)