]> git.mjollnir.org Git - moodle.git/commitdiff
Removed some short PHP tags
authormoodler <moodler>
Tue, 9 Sep 2003 04:02:55 +0000 (04:02 +0000)
committermoodler <moodler>
Tue, 9 Sep 2003 04:02:55 +0000 (04:02 +0000)
lib/ipatlas/ip-atlas_prefs.php
lib/ipatlas/plot.php

index 576747e0b28552f0535b9f82a2cc1104a9fa8b5d..8b8a60b1edf2830ff8fd7d9d22dbaeccd7533676 100644 (file)
@@ -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:") ?>&nbsp;
+<?php  echo t("Other Preferences:") ?><br>
+<?php  echo t("Earth Image:") ?>&nbsp;
 <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>
index de4d0ffe0b21b9a0095fb44c1605f2d2c5512119..3f322b1c782abf780bbabc76a2c22b4502d6ec04 100644 (file)
@@ -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>