Changeset 117561 in spip-zone


Ignore:
Timestamp:
Aug 14, 2019, 10:34:28 PM (3 months ago)
Author:
maieul@…
Message:

"Voir la note" sous forme de chaîne de langue

Location:
_plugins_/bigfoot/trunk
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/bigfoot/trunk/bigfoot_pipelines.php

    r115983 r117561  
    2323function bigfoot_insert_head($flux){
    2424        $flux .="\n".'<script type="text/javascript" src="'. find_in_path('javascript/littlefoot.js') .'"></script>';
     25        $voir_note = _T('bigfoot:voir_note');
    2526        $flux .= <<<EOH
    2627<script type="text/javascript">/* <![CDATA[ */
     
    3435                        anchorParentSelector: "span",
    3536                        footnoteSelector: "div",
    36                         buttonTemplate: '<span class="littlefoot-footnote__container"><button aria-controls="fncontent:<%= id %>" aria-expanded="false" aria-label="Footnote <%= number %>" class="littlefoot-footnote__button littlefoot-footnote__button__number" data-footnote-button-id="<%= id %>" data-footnote-number="<%= number %>" id="<%= reference %>" rel="footnote" title="See Footnote <%= number %>"><svg viewbox="0 0 31 6" preserveAspectRatio="xMidYMid"><circle r="3" cx="3" cy="3" fill="white"></circle><circle r="3" cx="15" cy="3" fill="white"></circle><circle r="3" cx="27" cy="3" fill="white"></circle></svg></button></span>'
     37                        buttonTemplate: '<span class="littlefoot-footnote__container"><button aria-controls="fncontent:<%= id %>" aria-expanded="false" aria-label="Footnote <%= number %>" class="littlefoot-footnote__button littlefoot-footnote__button__number" data-footnote-button-id="<%= id %>" data-footnote-number="<%= number %>" id="<%= reference %>" rel="footnote" title="$voir_note <%= number %>"><svg viewbox="0 0 31 6" preserveAspectRatio="xMidYMid"><circle r="3" cx="3" cy="3" fill="white"></circle><circle r="3" cx="15" cy="3" fill="white"></circle><circle r="3" cx="27" cy="3" fill="white"></circle></svg></button></span>'
    3738                });
    3839                jQuery('div.notes').hide();
  • _plugins_/bigfoot/trunk/paquet.xml

    r117559 r117561  
    22        prefix="bigfoot"
    33        categorie="divers"
    4         version="1.2.0"
     4        version="1.3.0"
    55        etat="stable"
    66        compatibilite="[3.0.0;3.2.*]"
Note: See TracChangeset for help on using the changeset viewer.