cvs: phpweb /include layout.inc
| From: | Gabor Hojtsy | Date: | Tue, 13 Aug 2002 12:44:53 +0000 |
| Subject: | cvs: phpweb /include layout.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-11915@lists.php.net to get a copy of this message | ||
goba Tue Aug 13 08:44:53 2002 EDT
Modified files:
/phpweb/include layout.inc
Log:
As James deleted the mirror dropdown, there is no need for the form,
it just takes space and bandwidth...
Index: phpweb/include/layout.inc
diff -u phpweb/include/layout.inc:1.95 phpweb/include/layout.inc:1.96
--- phpweb/include/layout.inc:1.95 Mon Aug 12 22:14:44 2002
+++ phpweb/include/layout.inc Tue Aug 13 08:44:53 2002
@@ -1,5 +1,5 @@
<?php
-/* $Id: layout.inc,v 1.95 2002/08/13 02:14:44 imajes Exp $ */
+/* $Id: layout.inc,v 1.96 2002/08/13 12:44:53 goba Exp $ */
# spacer()
# print a IMG tag for a sized spacer GIF
@@ -306,22 +306,6 @@
<tr bgcolor="#333366"><td><?php spacer(1,1);?></td></tr>
<tr bgcolor="#9999cc">
<td align="right" valign="bottom">
- <form method="get" action="/mirrors.php" onsubmit="return
gotomirror(this);" class="thin">
- <script language="javascript">
- <!--
- function gotomirror(form) {
- mirror = form.country.options[form.country.selectedIndex].value;
- if (mirror != 'http://' + window.location.hostname +
'/') {
- window.location.href = mirror +
- window.location.pathname.substring(1) +
- window.location.hash +
- window.location.search;
- }
- return false;
- }
- //-->
- </script>
- <input type="hidden" name="FROM" value="<?php echo
htmlspecialchars($PHP_SELF)?>" />
<?php
print_link('/source.php?url='.$SCRIPT_NAME, 'show source', false,
'class="small"');
echo delim();
@@ -332,8 +316,7 @@
echo delim();
}
print_link('/mirrors.php', 'mirror sites', false,
'class="small"');
- ?>
- </form>
+?>
</td>
</tr>
<tr bgcolor="#333366"><td><?php spacer(1,1); ?></td></tr>