/[web]/nav/lib.php
ViewVC logotype

Diff of /nav/lib.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1930 by filip, Tue Jan 1 14:41:53 2013 UTC revision 2028 by rda, Sat Feb 2 13:11:17 2013 UTC
# Line 216  function _mgnav_html($wrap = false, $lan Line 216  function _mgnav_html($wrap = false, $lan
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    
# Line 238  function _mgnav_html($wrap = false, $lan Line 239  function _mgnav_html($wrap = false, $lan
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);
# Line 264  function _mgnav_style() Line 265  function _mgnav_style()
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',

Legend:
Removed from v.1930  
changed lines
  Added in v.2028

  ViewVC Help
Powered by ViewVC 1.1.30