Changeset 73862 in spip-zone


Ignore:
Timestamp:
Jun 25, 2013, 10:15:39 AM (6 years ago)
Author:
bystrano@…
Message:

ajoute un lien vers le menu d'admin si l'utilisateur est admin ou rédacteur

Location:
_plugins_/skiplink/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/skiplink/trunk/go/skiplinks.html

    r50538 r73862  
    11#INCLURE{fond=a/top}
    2 <div class="skiplink" id="skiplinks"><a href="[(#CONFIG{skiplink/go_content}|sinon{#contenu})]" accesskey="s"><:skiplink:go_content:></a><span class="sep"> | </span><a href="[(#CONFIG{skiplink/go_nav}|sinon{#navigation})]" accesskey="n"><:skiplink:go_nav:></a>[(#ENV{recherche,oui}|=={oui}|oui)<span class="sep"> | </span><a href="[(#CONFIG{skiplink/go_search}|sinon{#recherche})]" accesskey="4"><:skiplink:go_search:></a>]<BOUCLE_go_plus(ARTICLES){id_article=#CONFIG{skiplink/go_plus}}><BOUCLE_go_plus_trad(ARTICLES){traduction}{lang=#ENV{lang}}><span class="sep"> | </span><a href="[(#URL_ARTICLE|parametre_url{lang,#ENV{lang}})]">#TITRE</a></BOUCLE_go_plus_trad></BOUCLE_go_plus></div>
     2<div class="skiplink" id="skiplinks"><a href="[(#CONFIG{skiplink/go_content}|sinon{#contenu})]" accesskey="s"><:skiplink:go_content:></a><span class="sep"> | </span><a href="[(#CONFIG{skiplink/go_nav}|sinon{#navigation})]" accesskey="n"><:skiplink:go_nav:></a>[(#ENV{recherche,oui}|=={oui}|oui)<span class="sep"> | </span><a href="[(#CONFIG{skiplink/go_search}|sinon{#recherche})]" accesskey="4"><:skiplink:go_search:></a>]<BOUCLE_go_plus(ARTICLES){id_article=#CONFIG{skiplink/go_plus}}><BOUCLE_go_plus_trad(ARTICLES){traduction}{lang=#ENV{lang}}><span class="sep"> | </span><a href="[(#URL_ARTICLE|parametre_url{lang,#ENV{lang}})]">#TITRE</a></BOUCLE_go_plus_trad></BOUCLE_go_plus>
     3[(#ARRAY{1comite, 0minirezo}|find{#SESSION{statut}}|oui)
     4  <span class="sep"> | </span>
     5  <a href="#spip-admin">
     6    <:skiplink:go_admin:>
     7  </a>
     8]
     9</div>
  • _plugins_/skiplink/trunk/lang/skiplink_fr.php

    r50540 r73862  
    66
    77/* Skip Links */
     8'go_admin' => 'Aller au menu admin',
    89'go_content' => 'Aller au contenu',
    910'go_nav' => 'Aller au menu',
Note: See TracChangeset for help on using the changeset viewer.