# HG changeset patch # User Matti Hamalainen # Date 1504525475 -10800 # Node ID b1134ff9256b4fd7470c103154ae13a73fac1219 # Parent 8425fcd3fc2526fadd4e880b578bc4248d6e781d Cosmetics. diff -r 8425fcd3fc25 -r b1134ff9256b mgallery.inc.php --- a/mgallery.inc.php Mon Sep 04 14:37:33 2017 +0300 +++ b/mgallery.inc.php Mon Sep 04 14:44:35 2017 +0300 @@ -15,29 +15,29 @@ // // Navigation control defines // -define("MGF_JAVASCRIPT" , 0x01); -define("MGF_BREADCRUMBS" , 0x10); -define("MGF_CAPTIONS" , 0x20); +define("MGF_JAVASCRIPT" , 0x01); +define("MGF_BREADCRUMBS" , 0x10); +define("MGF_CAPTIONS" , 0x20); // // Constants for different value types // -define("MG_STR", 1); -define("MG_INT", 2); -define("MG_DVA", 3); -define("MG_BOOL", 4); -define("MG_FLAGS", 5); -define("MG_DATE", 6); +define("MG_STR" , 1); +define("MG_INT" , 2); +define("MG_DVA" , 3); +define("MG_BOOL" , 4); +define("MG_FLAGS" , 5); +define("MG_DATE" , 6); -define("yes", 1); -define("no", 0); +define("yes" , 1); +define("no" , 0); $mgGFlags = [ - "javascript" => MGF_JAVASCRIPT, - "breadcrumbs" => MGF_BREADCRUMBS, - "captions" => MGF_CAPTIONS, + "javascript" => MGF_JAVASCRIPT, + "breadcrumbs" => MGF_BREADCRUMBS, + "captions" => MGF_CAPTIONS, ];