Changeset 27276 in spip-zone


Ignore:
Timestamp:
Mar 13, 2009, 11:26:52 AM (10 years ago)
Author:
romy@…
Message:
  • raccourci pour descendre en pied de page
  • traduction des ancres :-P
Location:
_plugins_/_stable_/skiplink
Files:
3 added
6 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_stable_/skiplink/insere_skiplink.php

    r27248 r27276  
    1010 
    1111        if (!function_exists('recuperer_fond')) include_spip('public/assembler');
    12   $recherche_existe = (preg_match(',<input.*?name[ ]*=[ ]*"recherche".*?>,i', $page) == 1 ? 'oui' : 'non');
     12        $recherche_existe = (preg_match(',<input.*?name[ ]*=[ ]*"recherche".*?>,i', $page) == 1 ? 'oui' : 'non');
    1313        $raccourcis = recuperer_fond('raccourcis', array('lang'=>$GLOBALS['spip_lang'], 'recherche'=>$recherche_existe));
    1414        preg_match(',<body\b.*?>,i', $page, $regs);
  • _plugins_/_stable_/skiplink/lang/skiplink_en.php

    r27215 r27276  
    99'go_search' => 'Skip to search',
    1010
     11'ancre_haute' => 'top',
     12'ancre_basse' => 'bottom',
     13
    1114'haut' => 'Top',
    1215'remonter' => 'Back to top',
     16'bas' => 'Bottom',
    1317
    1418);
  • _plugins_/_stable_/skiplink/lang/skiplink_fr.php

    r27215 r27276  
    99'go_search' => 'Aller &agrave; la recherche',
    1010
     11'ancre_haute' => 'haut',
     12'ancre_basse' => 'bas',
     13
    1114'haut' => 'Haut',
    1215'remonter' => 'Remonter en haut de la page',
     16'bas' => 'Bas',
     17'descendre' => 'Bas de page',
    1318
    1419);
  • _plugins_/_stable_/skiplink/lang/skiplink_pt_br.php

    r27215 r27276  
    44
    55$GLOBALS[$GLOBALS['idx_lang']] = array(
     6
     7'ancre_haute' => 'topo',
    68
    79'haut' => 'Topo',
  • _plugins_/_stable_/skiplink/raccourcis.html

    r27260 r27276  
    1 <a href="#haut" id="haut" name="haut"></a>
     1<a href="#<:skiplink:ancre_haute:>" id="<:skiplink:ancre_haute:>" name="<:skiplink:ancre_haute:>"></a>
    22<p class="skiplink" id="raccourcis" style="z-index: 100;"><a href="#contenu" accesskey="s"><:skiplink:go_main:></a> | <a href="#navigation" accesskey="n"><:skiplink:go_sidebar:></a>[(#ENV{recherche}|=={'oui'}|?{' '}) | <a href="#recherche" accesskey="4"><:skiplink:go_search:></a>]</p>
  • _plugins_/_stable_/skiplink/remonter.html

    r27260 r27276  
    1 <span class="skiplink remonter"><a rel="nofollow" href="#haut" title="<:skiplink:remonter:>"><img src="#CHEMIN{remonter.png}" alt="<:skiplink:haut:>" /></a></span>
     1<span class="skiplink remonter"><a rel="nofollow" href="#<:skiplink:ancre_haute:>" title="<:skiplink:remonter:>"><img src="#CHEMIN{remonter.png}" alt="<:skiplink:haut:>" /></a></span>
    22<a href="#bas" id="bas" name="bas"></a>
Note: See TracChangeset for help on using the changeset viewer.