Changeset 96500 in spip-zone for _plugins_/identite_extra/trunk/balise


Ignore:
Timestamp:
Apr 7, 2016, 8:11:24 AM (4 years ago)
Author:
rastapopoulos@…
Message:

Juste du formatage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/identite_extra/trunk/balise/identite_.php

    r96051 r96500  
    11<?php
    22
    3 if (!defined('_ECRIRE_INC_VERSION')) return;
     3if (!defined('_ECRIRE_INC_VERSION')) {
     4        return;
     5}
    46
    57function balise_IDENTITE_($p) {
    6 
    78    $cfg = $GLOBALS['identite_extra'];
    89
     
    1415        erreur_squelette($msg, $p);
    1516        $p->interdire_scripts = false;
     17       
    1618        return $p;
    17     } elseif ( !in_array($champ, $cfg) ) {
     19    } elseif (!in_array($champ, $cfg)) {
    1820        $msg = array('zbug_balise_inexistante', array('balise' => $nom, 'from' => 'identite_extra'));
    1921        erreur_squelette($msg, $p);
    2022        $p->interdire_scripts = false;
     23       
    2124        return $p;
    2225    } else {
    2326        $p->code = 'lire_config("identite_extra/' . $champ .'")';
    2427        $p->interdire_scripts = false;
     28       
    2529        return $p;
    2630    }
Note: See TracChangeset for help on using the changeset viewer.