Changeset 57127 in spip-zone


Ignore:
Timestamp:
Jan 15, 2012, 2:38:28 PM (8 years ago)
Author:
yffic@…
Message:

Etait noté compatible Spip3 par erreur.
Mise en compat Spip3

Location:
_plugins_/menu_accordeon2
Files:
7 added
4 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/menu_accordeon2/accordeon.js.html

    r46282 r57127  
    11#HTTP_HEADER{content-type:application/x-javascript}
     2#CACHE{0}
    23$(function() {
    34                $( ".accordeon" ).accordion([{(#CONFIG{accordeon/options})}]);
  • _plugins_/menu_accordeon2/accordeon_pip.php

    r53436 r57127  
    22if (!defined("_ECRIRE_INC_VERSION")) return;
    33
     4// Pour spip2
    45function accordeon_jqueryui_forcer($array){
    56        $array[] ='jquery.ui.accordion';
     
    78}
    89
     10// Pour Spip3
     11function accordeon_jqueryui_plugins($array){
     12        $array[] ='jquery.ui.accordion';
     13        return $array; 
     14}
     15
    916function accordeon_insert_head($flux){
    10         $flux .="<script type='text/javascript' src='".generer_url_public('accordeon.js')."'></script>";
     17        $flux .="\n<script type='text/javascript' src='".generer_url_public('accordeon.js')."'></script>";
    1118        return $flux;
    1219}
  • _plugins_/menu_accordeon2/fonds/cfg_accordeon.html

    r51262 r57127  
    66<!-- autoriser=webmestre -->
    77<!-- refus=<:cfg:refus_configuration_webmestre:> -->
    8 <div class="formulaire_spip">
    9         <form action="#SELF" method="post">
    10     [<div>(#ENV{_cfg_}|form_hidden)</div>]
    11      <ul>
    12          <li>
    13              <label for="options"><:accordeon:label_options:></label>
    14              <div class="explication"><:accordeon:explication_options:></div>
    15              <textarea name="options" id="options" rows="3" cols="40">#ENV{options}</textarea>
    16          </li>
    17      </ul>
    18     <p class="boutons"><input type="submit" name="_cfg_ok" value="<:OK:>" /></p>
    19         </form>
     8#CACHE{0}
     9<div class="ajax">
     10#FORMULAIRE_CONFIGURER_ACCORDEON
    2011</div>
  • _plugins_/menu_accordeon2/plugin.xml

    r54689 r57127  
    1919                <inclure>accordeon_pip.php</inclure>
    2020        </pipeline>
    21         <necessite id="SPIP" version="[2.1.0;3.0.99]" />
     21        <necessite id="SPIP" version="[2.1.0;2.1.99]" />
    2222        <necessite id="jqueryui" />
    2323        <utilise id="menus" version="[0.8.10;]" />
Note: See TracChangeset for help on using the changeset viewer.