Ignore:
Timestamp:
Jan 20, 2010, 11:16:44 PM (10 years ago)
Author:
olivier.gautier@…
Message:

Permettre une surcharge avec d'autres feuilles de style en 3 colonnes

File:
1 edited

Legend:

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

    r30526 r34618  
    4141     if (isset($_POST['changement_habillage'])) {
    4242        sql_updateq('spip_eva_habillage',array('habillage' => $_POST['changement_habillage']),"sauvegarde = 'Defaut'");
    43         if (($_POST['changement_habillage']!='eva4_3colonnes.css') AND ($_POST['changement_habillage']!='eva4_basic_3colonnes.css')){
     43        if (!strpos($_POST['changement_habillage'],'3colonnes')){
    4444                $test_quitte_3colonnes=sql_select('id','spip_eva_habillage_images',"type='bloc' AND nom_habillage='Defaut' AND nom_image='droite'");
    4545                while ($tab_quitte_3colonnes=sql_fetch($test_quitte_3colonnes)) {
     
    124124        $test_3cols=sql_select('habillage','spip_eva_habillage',"sauvegarde='Defaut'");
    125125        $tab_3cols=sql_fetch($test_3cols);
    126         if (($tab_3cols['habillage']=='eva4_3colonnes.css') OR ($tab_3cols['habillage']=='eva4_basic_3colonnes.css')) {
     126        if (strpos($tab_3cols['habillage'],'3colonnes')) {
    127127                $test_3_colonnes=true;
    128128                $eva_gauche=120;
Note: See TracChangeset for help on using the changeset viewer.