aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilip Komar <filip@mageia.org>2013-06-02 18:41:28 +0000
committerFilip Komar <filip@mageia.org>2013-06-02 18:41:28 +0000
commit5e1cc831d41c627288b509687ba2adfebc648264 (patch)
treebbfb4031039ee6bcf87709278d589ed7e3a719a0
parent31def84570bebe16878d14b2b450be4eac0b57c1 (diff)
downloadwww-5e1cc831d41c627288b509687ba2adfebc648264.tar
www-5e1cc831d41c627288b509687ba2adfebc648264.tar.gz
www-5e1cc831d41c627288b509687ba2adfebc648264.tar.bz2
www-5e1cc831d41c627288b509687ba2adfebc648264.tar.xz
www-5e1cc831d41c627288b509687ba2adfebc648264.zip
correction for correct link for map page
-rw-r--r--404.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/404.php b/404.php
index 575f37167..57ae1cc27 100644
--- a/404.php
+++ b/404.php
@@ -5,7 +5,7 @@ _lang_load($locale, '404');
header('HTTP/1.0 404 Not Found');
header('Status: 404 Not Found');
-
+$locale = ($locale == '404' ? 'en' : $locale);
?><!DOCTYPE html>
<html dir="ltr" lang="<?php echo $locale; ?>">
<head>
@@ -25,7 +25,7 @@ header('Status: 404 Not Found');
<div class="yui-g">
<div class="para values">
<ul class="hl"><?php
- _h('Try searching it on <a href="%s">mageia.org site map</a>,', array('/map/'), 'li');
+ _h('Try searching it on <a href="%s">mageia.org site map</a>,', array("/$locale/map/"), 'li');
_h('or try to <a href="%s">search with Google</a>.', array('https://www.google.com/?q=site:mageia.org'), 'li');
?></ul>
</div>