Changeset 93792 in spip-zone


Ignore:
Timestamp:
Dec 17, 2015, 11:25:20 PM (4 years ago)
Author:
p@…
Message:

Accolade

Location:
_plugins_/foundation_6/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/foundation_6/trunk/foundation_6_fonctions.php

    r93786 r93792  
    3838
    3939  // On met une valeur par défaut à type.
    40   if (!$type) $type = "'large'";
     40  if (!$type) {
     41          $type = "'large'";
     42  }
    4143
    4244  // On calcule la class
     
    8284        }
    8385        // supprimer les args vides
    84         while(end($args)=="''" AND count($args)>2)
     86        while(end($args)=="''" AND count($args)>2) {
    8587                array_pop($args);
     88        }
    8689        $args = implode(",",$args);
    8790
     
    124127    $config = lire_config('foundation');
    125128
    126     if (!$config['foundation-icons'])
     129    if (!$config['foundation-icons']) {
    127130        return '<span>Les icones foundation ne sont pas activée !</span>';
     131    }
    128132
    129133    $etoile = '<span class="foundation_etoile">';
  • _plugins_/foundation_6/trunk/foundation_6_options.php

    r93757 r93792  
    33if (!defined("_ECRIRE_INC_VERSION")) return;
    44
    5 if (!defined('_FOUNDATION_SASS'))
     5if (!defined('_FOUNDATION_SASS')) {
    66    define('_FOUNDATION_SASS', false);
     7}
  • _plugins_/foundation_6/trunk/inc/foundation.php

    r93776 r93792  
    1111function responsive($matches) {
    1212  // Dans le cas de vimeo, il faut ajouter une classe
    13   if (strpos($matches[0], 'vimeo')) $vimeo = ' vimeo';
    14   else $vimeo = '';
     13  if (strpos($matches[0], 'vimeo')) {
     14          $vimeo = ' vimeo';
     15  }
     16  else {
     17          $vimeo = '';
     18  }
    1519
    1620  // On inclu les filtres, au cas ou
Note: See TracChangeset for help on using the changeset viewer.