From 8bd0a875e02cd40f5e946674c943754406bcb243 Mon Sep 17 00:00:00 2001 From: moodler <moodler> Date: Thu, 11 Sep 2003 13:53:25 +0000 Subject: [PATCH] Fixed some short tags --- lib/ipatlas/ip-atlas_prefs.php | 8 ++++---- lib/ipatlas/plotimage.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/ipatlas/ip-atlas_prefs.php b/lib/ipatlas/ip-atlas_prefs.php index 8b8a60b1ed..99066bbdff 100644 --- a/lib/ipatlas/ip-atlas_prefs.php +++ b/lib/ipatlas/ip-atlas_prefs.php @@ -10,7 +10,7 @@ error_reporting(E_ERROR); } ?> -<? +<?php if(shouldrun($HTTP_SERVER_VARS['HTTP_USER_AGENT'])) { $drawmode = "GD"; @@ -75,7 +75,7 @@ if(shouldrun($HTTP_SERVER_VARS['HTTP_USER_AGENT'])) { <b><?php echo t("IP-Atlas preferences"); ?></b> <?php echo t("(cookie based)"); ?><br><br> -<? +<?php if(isset($HTTP_POST_VARS["button"])) { print t("Your settings have been saved. You can now try"); ?> <a href="plot.php<?php if(isset($HTTP_GET_VARS["lastquery"])) { echo "?address=$HTTP_GET_VARS[lastquery]"; } ?>"><?php print t("plotting something.")."</a>"."<br><br>"; } @@ -117,7 +117,7 @@ print "</select><br><br>"; ?> <?php echo t("Pointer Preferences (the dot that marks lat/lon):"); ?><br> -<? +<?php if($drawmode == "GD") { print ' <input type="hidden" name="cssdot" value="reddot.gif"> @@ -204,7 +204,7 @@ print ' <?php echo t("Earth Image:") ?> <select name="earthimage"> -<? +<?php foreach($earthimages as $curentry) { diff --git a/lib/ipatlas/plotimage.php b/lib/ipatlas/plotimage.php index 8466098e14..3ceecb0193 100644 --- a/lib/ipatlas/plotimage.php +++ b/lib/ipatlas/plotimage.php @@ -1,4 +1,4 @@ -<? +<?php include("plotconf.inc"); include("plot.inc"); -- 2.39.5