Changeset 86732 in spip-zone


Ignore:
Timestamp:
Dec 16, 2014, 4:45:49 PM (5 years ago)
Author:
erational@…
Message:
  • sur les messages personnalisés, le filtre propre ajoute de tags p en trop

on restreint au filtre typo qui permet le support de multi et de passer du html au besoin

  • fix sur le passage de lang (pour les sites multilingues)
Location:
_plugins_/cookiebar/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/cookiebar/trunk/cookiebar_pipelines.php

    r84949 r86732  
    2727  //$js_cookiebar = parametre_url(generer_url_public('jquery.cookiebar.js'), 'lang', $lang);
    2828  include_spip('inc/filtres');
     29  if (!$lang) $lang = $GLOBALS["spip_lang"];
    2930  $js_cookiebar = produire_fond_statique("jquery.cookiebar.js", array("lang"=>$lang));
    3031
  • _plugins_/cookiebar/trunk/formulaires/configurer_cookiebar.html

    r84688 r86732  
    2626                                </li>
    2727       
    28        
    29    
     28
    3029       
    3130       <!-- bouton accept -->
  • _plugins_/cookiebar/trunk/jquery.cookiebar.js.html

    r84691 r86732  
    1616 */
    1717[(#CONFIG{cookiebar/message_txt}|?{
    18     [(#SET{message,#CONFIG{cookiebar/message_txt}|propre|addslashes})],
    19     [(#SET{message,<:cookiebar:message_message|addslashes:>})]
     18    [(#SET{message,#CONFIG{cookiebar/message_txt}|typo|texte_script})],
     19    [(#SET{message,<:cookiebar:message_message|texte_script:>})]
    2020})]
    2121[(#CONFIG{cookiebar/accept_txt}|?{
    22     [(#SET{accepttext,#CONFIG{cookiebar/accept_txt}|propre|addslashes})],
    23     [(#SET{accepttext,<:cookiebar:message_accepttext|addslashes:>})]
     22    [(#SET{accepttext,#CONFIG{cookiebar/accept_txt}|typo|texte_script})],
     23    [(#SET{accepttext,<:cookiebar:message_accepttext|texte_script:>})]
    2424})]
    2525[(#CONFIG{cookiebar/decline_txt}|?{
    26     [(#SET{declinetext,#CONFIG{cookiebar/decline_txt}|propre|addslashes})],
    27     [(#SET{declinetext,<:cookiebar:message_declinetext|addslashes:>})]
     26    [(#SET{declinetext,#CONFIG{cookiebar/decline_txt}|typo|texte_script})],
     27    [(#SET{declinetext,<:cookiebar:message_declinetext|texte_script:>})]
    2828})]
    2929[(#CONFIG{cookiebar/policy_txt}|?{
    30     [(#SET{policytext,#CONFIG{cookiebar/policy_txt}|propre|addslashes})],
    31     [(#SET{policytext,<:cookiebar:message_policytext|addslashes:>})]
     30    [(#SET{policytext,#CONFIG{cookiebar/policy_txt}|typo|texte_script})],
     31    [(#SET{policytext,<:cookiebar:message_policytext|texte_script:>})]
    3232})]
    3333   
    34      
    35    
     34 
    3635 
    3736(function($){
  • _plugins_/cookiebar/trunk/paquet.xml

    r86042 r86732  
    22        prefix="cookiebar"
    33        categorie="communication"
    4         version="1.1.2"
     4        version="1.1.3"
    55        etat="test"
    66        compatibilite="[3.0.17;3.1.*]"
Note: See TracChangeset for help on using the changeset viewer.