From b626680ead322a8df3044292a0083036af3042b2 Mon Sep 17 00:00:00 2001 From: moodler <moodler> Date: Tue, 9 Sep 2003 04:02:55 +0000 Subject: [PATCH] Removed some short PHP tags --- lib/ipatlas/ip-atlas_prefs.php | 26 +++++++++++++------------- lib/ipatlas/plot.php | 4 ++-- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/lib/ipatlas/ip-atlas_prefs.php b/lib/ipatlas/ip-atlas_prefs.php index 576747e0b2..8b8a60b1ed 100644 --- a/lib/ipatlas/ip-atlas_prefs.php +++ b/lib/ipatlas/ip-atlas_prefs.php @@ -1,4 +1,4 @@ -<? +<?php include("plotconf.inc"); include("plot.inc"); @@ -62,10 +62,10 @@ if(shouldrun($HTTP_SERVER_VARS['HTTP_USER_AGENT'])) { ?> -<? # START HTML +<?php # START HTML ?> -<html><head><title><? echo t("IP-Atlas Preferences") ?></title> +<html><head><title><?php echo t("IP-Atlas Preferences") ?></title> <!-- your head tags here --> <link rel="Stylesheet" href="ip-atlas.css"> @@ -73,19 +73,19 @@ if(shouldrun($HTTP_SERVER_VARS['HTTP_USER_AGENT'])) { </head><body> -<b><? echo t("IP-Atlas preferences"); ?></b> <? echo t("(cookie based)"); ?><br><br> +<b><?php echo t("IP-Atlas preferences"); ?></b> <?php echo t("(cookie based)"); ?><br><br> <? if(isset($HTTP_POST_VARS["button"])) { -print t("Your settings have been saved. You can now try"); ?> <a href="plot.php<? if(isset($HTTP_GET_VARS["lastquery"])) { echo "?address=$HTTP_GET_VARS[lastquery]"; } ?>"><? print t("plotting something.")."</a>"."<br><br>"; +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>"; } ?> -<form action="<? echo $HTTP_SERVER_VARS['PHP_SELF']; ?><? if(isset($HTTP_GET_VARS["lastquery"])) { echo "?lastquery=$HTTP_GET_VARS[lastquery]"; } ?>" method="POST"> +<form action="<?php echo $HTTP_SERVER_VARS['PHP_SELF']; ?><?php if(isset($HTTP_GET_VARS["lastquery"])) { echo "?lastquery=$HTTP_GET_VARS[lastquery]"; } ?>" method="POST"> -<? if(istheregd()) { +<?php if(istheregd()) { echo t("Draw mode (defaults guessed for your browser):"); print "<br><select name=\"seldrawmode\">"; @@ -116,7 +116,7 @@ print "</select><br><br>"; ?> -<? echo t("Pointer Preferences (the dot that marks lat/lon):"); ?><br> +<?php echo t("Pointer Preferences (the dot that marks lat/lon):"); ?><br> <? if($drawmode == "GD") { print ' @@ -200,8 +200,8 @@ print ' -<? echo t("Other Preferences:") ?><br> -<? echo t("Earth Image:") ?> +<?php echo t("Other Preferences:") ?><br> +<?php echo t("Earth Image:") ?> <select name="earthimage"> <? @@ -223,10 +223,10 @@ print "<option value=\"$curfile\">$curname"; </select> <br><br> -<input type="Submit" name="button" value="<? echo t("Save") ?>"> +<input type="Submit" name="button" value="<?php echo t("Save") ?>"> <div align="right"> -[ <a href="plot.php<? if(isset($HTTP_GET_VARS["lastquery"])) { echo "?address=$HTTP_GET_VARS[lastquery]"; } ?>"><? echo t("main") ?></a> ]<br><br> +[ <a href="plot.php<?php if(isset($HTTP_GET_VARS["lastquery"])) { echo "?address=$HTTP_GET_VARS[lastquery]"; } ?>"><?php echo t("main") ?></a> ]<br><br> </div> -<? include("footer.inc"); ?> +<?php include("footer.inc"); ?> </body></html> diff --git a/lib/ipatlas/plot.php b/lib/ipatlas/plot.php index de4d0ffe0b..3f322b1c78 100644 --- a/lib/ipatlas/plot.php +++ b/lib/ipatlas/plot.php @@ -1,4 +1,4 @@ -<? +<?php include("plotconf.inc"); include("plot.inc"); @@ -122,7 +122,7 @@ print ' <form method="GET" action="'.$PHP_SELF.'#map"> <table width="100%"><tr><td nowrap align="left"> '.t("IP/Hostname:").' <input value="'.$values["address"].'" type="text" size="30" name="address"><input type="Submit" value="'.t("Submit").'"></td><td align="right" width="100%"> -[ <a href="ip-atlas_prefs.php?lastquery='?><? if(isset($HTTP_GET_VARS["address"])) { echo $HTTP_GET_VARS["address"]; } ?><? echo '">'.t("preferences").'</a> ] +[ <a href="ip-atlas_prefs.php?lastquery='?><?php if(isset($HTTP_GET_VARS["address"])) { echo $HTTP_GET_VARS["address"]; } ?><?php echo '">'.t("preferences").'</a> ] [ <a href="'."$PHP_SELF".'">'.t("locate me").'</a> ] </td></tr></table> </form> -- 2.39.5