Changeset 78473 in spip-zone


Ignore:
Timestamp:
Nov 13, 2013, 8:26:56 PM (6 years ago)
Author:
eric@…
Message:

On utilise le sélecteur .qr à la place de .faq pour permettre de comparer les plugins. Ensuite, on reviendra à .faq lors du merge.

Location:
_plugins_/questions_reponses/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/questions_reponses/trunk/css/qr.css

    r78387 r78473  
    55-------------------------------------------------------------- */
    66
    7 dl.faq { border: 0; }
    8 dl.faq dt,
    9 dl.faq dd { padding: .4em; background: inherit; border: 0; }
    10 dl.faq dt { position: relative; padding-right: 3em; background-color: #ddd; margin-bottom: .4em; }
    11 dl.faq dt .retour { display: block; position: absolute; top: 0; right: 0; padding: .4em .5em 0 0; text-align: right; font-weight: normal; }
    12 dl.faq dd { margin-left: 1em; margin-bottom: 2em; padding-right: 1em; border-left: 1px solid #ddd; }
     7dl.qr { border: 0; }
     8dl.qr dt,
     9dl.qr dd { padding: .4em; background: inherit; border: 0; }
     10dl.qr dt { position: relative; padding-right: 3em; background-color: #ddd; margin-bottom: .4em; }
     11dl.qr dt .retour { display: block; position: absolute; top: 0; right: 0; padding: .4em .5em 0 0; text-align: right; font-weight: normal; }
     12dl.qr dd { margin-left: 1em; margin-bottom: 2em; padding-right: 1em; border-left: 1px solid #ddd; }
    1313
    14 @media print { dl.faq dd { display: block !important; } }
     14@media print { dl.qr dd { display: block !important; } }
  • _plugins_/questions_reponses/trunk/inclure/qr_dl.html

    r78387 r78473  
    22[<a class="ancre" href="#ENV{ancre}" name="(#ENV{ancre})" id="#ENV{ancre}"></a>]
    33[<h3 class="spip">(#ENV{titre})</h3>]
    4 <dl class="faq">
     4<dl class="qr">
    55<BOUCLE_faq(DATA){source table, #ENV{faq}}{par cle}>
    66        <dt class="question">
  • _plugins_/questions_reponses/trunk/js/qr.js

    r78387 r78473  
    11$(document).ready(function(){
    2         $('dl.faq > dt').addClass("close").click(function(){
     2        $('dl.qr > dt').addClass("close").click(function(){
    33                $(this).toggleClass("close").next().toggle('fast');
    44                return false;
  • _plugins_/questions_reponses/trunk/paquet.xml

    r78387 r78473  
    22        prefix="qr"
    33        categorie="edition"
    4         version="0.1.0"
     4        version="0.1.1"
    55        etat="test"
    66        compatibilite="[3.0.0;3.0.*]"
  • _plugins_/questions_reponses/trunk/qr_pipelines.php

    r78387 r78473  
    1010
    1111function qr_header_prive($flux){
    12 //      $flux .= '<script src="'.find_in_path('js/qr.js').'" type="text/javascript"></script>';
     12        $flux .= '<script src="'.find_in_path('js/qr.js').'" type="text/javascript"></script>';
    1313        return $flux;
    1414}
Note: See TracChangeset for help on using the changeset viewer.