diff options
author | Filip Komar <filip@mageia.org> | 2013-06-02 18:41:28 +0000 |
---|---|---|
committer | Filip Komar <filip@mageia.org> | 2013-06-02 18:41:28 +0000 |
commit | 5e1cc831d41c627288b509687ba2adfebc648264 (patch) | |
tree | bbfb4031039ee6bcf87709278d589ed7e3a719a0 | |
parent | 31def84570bebe16878d14b2b450be4eac0b57c1 (diff) | |
download | www-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.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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> |