aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2012-02-25 14:49:39 +0000
committerRomain d'Alverny <rda@mageia.org>2012-02-25 14:49:39 +0000
commit5968f00be22c99145768487bb056555bf38324e7 (patch)
treec09e3ad9b321d107228d929e13b665731a9b7dfb
parent9c3867371018edf4cf332c35c113f0a7e35e5f78 (diff)
downloadwww-5968f00be22c99145768487bb056555bf38324e7.tar
www-5968f00be22c99145768487bb056555bf38324e7.tar.gz
www-5968f00be22c99145768487bb056555bf38324e7.tar.bz2
www-5968f00be22c99145768487bb056555bf38324e7.tar.xz
www-5968f00be22c99145768487bb056555bf38324e7.zip
visitor ip/country/continent feedback info
-rw-r--r--en/downloads/get/index.php3
-rw-r--r--en/downloads/locales.php2
2 files changed, 3 insertions, 2 deletions
diff --git a/en/downloads/get/index.php b/en/downloads/get/index.php
index 5c1a11e6c..918885322 100644
--- a/en/downloads/get/index.php
+++ b/en/downloads/get/index.php
@@ -175,7 +175,8 @@ $_t['page_title'] = sprintf($_t['page_title'], '<em class="tag">' . $title . '</
<p><?php echo $_t['signs_check_2']; ?></p>
</div>
<?php endif; ?>
- <p><?php echo sprintf($_t['your ip address is'], $_SESSION['ip']); ?>
+ <p><?php echo sprintf($_t['your ip address is'],
+ $_SESSION['ip'], $_SESSION['country'], $_SESSION['continent']); ?>
</div>
<!-- alternative mirrors table -->
diff --git a/en/downloads/locales.php b/en/downloads/locales.php
index 4388d320e..dc4072ea6 100644
--- a/en/downloads/locales.php
+++ b/en/downloads/locales.php
@@ -91,7 +91,7 @@ Note that translations are on their way.',
'dl-failed-try-again' => 'Your download could not complete, as we could not find this file.
Please try again from the <a href="%s">main downloads page</a>.',
'dl-failed-tell-us' => 'If you still encounter this error and think IT SHOULD NOT HAPPEN &ndash; please tell us:',
- 'your ip address is' => 'Your IP address is: %s.'
+ 'your ip address is' => 'Your IP address is %s and you seem to be in %s, %s.'
),
'cs' => array(
'download' => 'stahování',