Changeset 96909 in spip-zone


Ignore:
Timestamp:
May 1, 2016, 10:17:37 AM (5 years ago)
Author:
kent1@…
Message:

Fermetures PHP et autres petites choses

Location:
_plugins_/zen-garden/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/zen-garden/trunk/inc/zengarden.php

    r85479 r96909  
    66 */
    77
    8 if (!defined("_ECRIRE_INC_VERSION")) return;
     8if (!defined("_ECRIRE_INC_VERSION")) {
     9        return;
     10}
    911
    10 if (!defined('_DIR_THEMES'))
     12if (!defined('_DIR_THEMES')) {
    1113        define('_DIR_THEMES', _DIR_RACINE . "themes/");
     14}
    1215
    13 if (!defined('_DIR_THEMES_DIST'))
     16if (!defined('_DIR_THEMES_DIST')) {
    1417        define('_DIR_THEMES_DIST', _DIR_RACINE . "themes-dist/");
     18}
    1519
    1620function zengarden_charge_themes($dir = _DIR_THEMES, $tous = false, $force = false){
     
    2125
    2226        if (count($files)) {
    23                 $get_infos = charger_fonction('get_infos','plugins');
     27                $get_infos = charger_fonction('get_infos', 'plugins');
    2428
    2529                $t = $get_infos($files,$force,$dir);
     
    4044        return $themes;
    4145}
    42 
    43 ?>
  • _plugins_/zen-garden/trunk/zengarden_fonctions.php

    r85761 r96909  
    77 */
    88
    9 if (!defined("_ECRIRE_INC_VERSION")) return;
    10 
     9if (!defined("_ECRIRE_INC_VERSION")) {
     10        return;
     11}
    1112
    1213function zengarden_affiche_version_compatible($intervalle){
     
    148149        return '';
    149150}
    150 
    151 ?>
  • _plugins_/zen-garden/trunk/zengarden_pipelines.php

    r70077 r96909  
    99 */
    1010
    11 if (!defined('_ECRIRE_INC_VERSION')) return;
     11if (!defined('_ECRIRE_INC_VERSION')) {
     12        return;
     13}
    1214
    1315/**
     
    2931        return $flux;
    3032}
    31 
    32 ?>
Note: See TracChangeset for help on using the changeset viewer.