216 |
array('support', '//$S/$L/support/', l10n::_t('Support'), l10n::_t('Get support from Mageia community.')), |
array('support', '//$S/$L/support/', l10n::_t('Support'), l10n::_t('Get support from Mageia community.')), |
217 |
array('community', '//$S/$L/community/', l10n::_t('Community'), l10n::_t('')), |
array('community', '//$S/$L/community/', l10n::_t('Community'), l10n::_t('')), |
218 |
array('contribute', '//$S/$L/contribute/', l10n::_t('Contribute'), l10n::_t('You too can build Mageia with us!')), |
array('contribute', '//$S/$L/contribute/', l10n::_t('Contribute'), l10n::_t('You too can build Mageia with us!')), |
219 |
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.')), |
220 |
|
array('contact', '//$S/$L/contact/', l10n::_t('Contact'), l10n::_t('Contact Us')) |
221 |
// <search> |
// <search> |
222 |
); |
); |
223 |
|
|
239 |
$s[] = sprintf('<li>%s</li>', $inject); |
$s[] = sprintf('<li>%s</li>', $inject); |
240 |
|
|
241 |
$s = implode($s); |
$s = implode($s); |
242 |
$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); |
243 |
|
|
244 |
if ($wrap) |
if ($wrap) |
245 |
$h = sprintf('<header id="hmgn">%s</header>', $h); |
$h = sprintf('<header id="hmgn">%s</header>', $h); |
265 |
*/ |
*/ |
266 |
function _lang_check($s = null) |
function _lang_check($s = null) |
267 |
{ |
{ |
268 |
if (is_null($s)) |
if (is_null($s)) { |
269 |
return 'en'; |
return 'en'; |
270 |
|
} |
271 |
|
|
272 |
$supported = array( |
$supported = array( |
273 |
'cs', |
'cs', |