changeset 197:4c20b0608008 gmap2

Add option for testing alternate CSS stylesheets.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 12 Mar 2014 05:19:00 +0200
parents 1307410acf6d
children 66ac93b63482
files index.php
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/index.php	Wed Mar 12 05:18:06 2014 +0200
+++ b/index.php	Wed Mar 12 05:19:00 2014 +0200
@@ -1,6 +1,9 @@
 <?php
 require "config.inc.php";
 
+if (isset($_GET["css"]))
+  $pageCSS = "css/mapstyle".intval($_GET["css"]).".css";
+
 $pageCharset = "UTF-8";
 
 $pageVersion = "2014-03-12 (alpha)";