Ignore:
Timestamp:
Dec 13, 2015, 11:58:52 AM (5 years ago)
Author:
cedric@…
Message:

Indentation et regles de codage selon http://www.spip.net/fr_article3497.html#regles_codage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _core_/plugins/urls_etendues/prive/squelettes/contenu/configurer_urls_fonctions.php

    r53218 r93629  
    11<?php
    22
    3 if (!defined('_ECRIRE_INC_VERSION')) return;
     3if (!defined('_ECRIRE_INC_VERSION')) {
     4        return;
     5}
    46
    5 function choisir_form_configuration($type_url){
     7function choisir_form_configuration($type_url) {
    68        if (include_spip("urls/$type_url")
    7           AND defined($c='URLS_'.strtoupper($type_url).'_CONFIG'))
    8                 return "configurer_urls_".strtolower(constant($c));
     9                AND defined($c = 'URLS_' . strtoupper($type_url) . '_CONFIG')
     10        ) {
     11                return "configurer_urls_" . strtolower(constant($c));
     12        }
    913
    1014        return '';
    1115}
     16
    1217?>
Note: See TracChangeset for help on using the changeset viewer.