Changeset 72555 in spip-zone


Ignore:
Timestamp:
May 3, 2013, 11:16:13 AM (7 years ago)
Author:
cedric@…
Message:

Ferme http://core.spip.org/issues/2955 : certains criteres ne se compilent pas bien {logo}, {recherche}... les ajouters aux exceptions
+ utiliser #CHAMP_SQL{} systématiquement pour eviter homonymie malheureuse

Location:
_core_/branches/spip-3.0/plugins/vertebres
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _core_/branches/spip-3.0/plugins/vertebres/paquet.xml

    r63516 r72555  
    22        prefix="vertebres"
    33        categorie="outil"
    4         version="1.2.1"
     4        version="1.2.2"
    55        etat="stable"
    66        compatibilite="[3.0.0;3.0.*]"
  • _core_/branches/spip-3.0/plugins/vertebres/public/vertebrer.php

    r69327 r72555  
    7474        $res = "";
    7575        foreach($v as $n => $t) {
    76                 if (!in_array($n, array('date', 'date_redac', 'lang')))
     76                if (!in_array($n, array('date', 'date_redac', 'lang', 'recherche','logo')))
    7777                        $res .= "\n\t\t{" . $n .  " ?}";
    7878        }
     
    9292        $res = "";
    9393        foreach($fields as $n => $t) {
    94                 $texte = "#" . strtoupper($n);
     94                $texte = "#CHAMP_SQL{".$n."}";
    9595                if (preg_match('/\s+references\s+([\w_]+)/' , $t, $r)) {
    9696                        $url = "[(#SELF|parametre_url{page,'" . $r[1] . "'})]";
Note: See TracChangeset for help on using the changeset viewer.