diff options
Diffstat (limited to 'lib.php')
-rw-r--r-- | lib.php | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -216,7 +216,8 @@ function _mgnav_html($wrap = false, $lang = 'en', $inject = null, $vhost = 'www. array('support', '//$S/$L/support/', l10n::_t('Support'), l10n::_t('Get support from Mageia community.')), array('community', '//$S/$L/community/', l10n::_t('Community'), l10n::_t('')), array('contribute', '//$S/$L/contribute/', l10n::_t('Contribute'), l10n::_t('You too can build Mageia with us!')), - array('you', '//identity.mageia.org/', l10n::_t('You'), l10n::_t('Your Mageia online account.')) + array('you', '//identity.mageia.org/', l10n::_t('You'), l10n::_t('Your Mageia online account.')), + array('contact', '//$S/$L/contact/', l10n::_t('Contact'), l10n::_t('Contact Us')) // <search> ); @@ -238,7 +239,7 @@ function _mgnav_html($wrap = false, $lang = 'en', $inject = null, $vhost = 'www. $s[] = sprintf('<li>%s</li>', $inject); $s = implode($s); - $h = sprintf('<nav id="mgnav"><ul id="nav">%s</ul></nav>', $s); + $h = sprintf('<!--googleoff: all--><nav id="mgnav"><ul id="nav">%s</ul></nav><!--googleon: all-->', $s); if ($wrap) $h = sprintf('<header id="hmgn">%s</header>', $h); @@ -264,8 +265,9 @@ function _mgnav_style() */ function _lang_check($s = null) { - if (is_null($s)) + if (is_null($s)) { return 'en'; + } $supported = array( 'cs', |