Changeset 39903 in spip-zone for _squelettes_/eva-web


Ignore:
Timestamp:
Aug 18, 2010, 9:47:56 AM (9 years ago)
Author:
olivier.gautier@…
Message:

Pouvoir faire référence au répertoire du plugin eva_habillage dans les règles CSS perso

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _squelettes_/eva-web/4_0/eva_habillage/balise/evahabillage.php

    r30430 r39903  
    8181
    8282    $mes_CSS = sql_select('nom_div','spip_eva_habillage_images',"nom_habillage = 'Defaut' AND type = 'perso'");
    83     while ($CSS = sql_fetch($mes_CSS)) {$envoi .=$CSS['nom_div']."\n";}
     83    while ($CSS = sql_fetch($mes_CSS)) {
     84        $CSS_remp=str_replace('/rep_eva_habillage/',_DIR_PLUGIN_EVA_HABILLAGE,$CSS['nom_div']);
     85        $envoi .=$CSS_remp."\n";}
    8486    $envoi .= '</style>';
    8587    $p->code = "'".$envoi."'";
Note: See TracChangeset for help on using the changeset viewer.