cvs: php-master-web /manage mirrors.php
| From: | Gabor Hojtsy | Date: | Sun, 02 Feb 2003 10:54:16 +0000 |
| Subject: | cvs: php-master-web /manage mirrors.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-15411@lists.php.net to get a copy of this message | ||
goba Sun Feb 2 05:54:16 2003 EDT
Modified files:
/php-master-web/manage mirrors.php
Log:
Move language information out of the modifieable region, and only print it for
information. Now it is updated from the mirrors' own settings hourly.
Index: php-master-web/manage/mirrors.php
diff -u php-master-web/manage/mirrors.php:1.39 php-master-web/manage/mirrors.php:1.40
--- php-master-web/manage/mirrors.php:1.39 Tue Jan 21 23:05:38 2003
+++ php-master-web/manage/mirrors.php Sun Feb 2 05:54:16 2003
@@ -160,11 +160,9 @@
<td><select name="cc"><?php show_country_options($row['cc']);
?></select></td>
</tr>
<tr>
- <th align="right">Default Language:</th>
- <td><select name="lang"><?php
show_language_options($row['lang']); ?></select></td>
- <tr>
<th align="right">Local Stats:</th>
<td><input type="checkbox" name="has_stats"<?php echo
$row['has_stats'] ? " checked" : ""; ?> /></td>
+ </tr>
<tr>
<td colspan="2" align="center"><input type="submit"
value="<?php echo $id ? "Change" : "Add"; ?>" />
</tr>
@@ -198,6 +196,10 @@
<tr>
<th align="right">Local Search:</th>
<td><?php echo $searchtypes[$row['has_search']]; ?></td>
+ </tr>
+ <tr>
+ <th align="right">Default Language:</th>
+ <td><?php echo $LANGUAGES[$row['lang']] . " [" .
$row['lang'] . "]"; ?></td>
</tr>
</table>
<?php } else { echo " "; } ?>