[SPIP][PLUGINS] v3.0-->v3.2
[lhc/web/www.git] / www / plugins-dist / urls_etendues / prive / squelettes / contenu / configurer_urls_fonctions.php
index feaf9a3..3511ece 100644 (file)
@@ -1,12 +1,15 @@
 <?php
 
-if (!defined('_ECRIRE_INC_VERSION')) return;
+if (!defined('_ECRIRE_INC_VERSION')) {
+       return;
+}
 
-function choisir_form_configuration($type_url){
+function choisir_form_configuration($type_url) {
        if (include_spip("urls/$type_url")
-         AND defined($c='URLS_'.strtoupper($type_url).'_CONFIG'))
-               return "configurer_urls_".strtolower(constant($c));
+               and defined($c = 'URLS_' . strtoupper($type_url) . '_CONFIG')
+       ) {
+               return "configurer_urls_" . strtolower(constant($c));
+       }
 
        return '';
 }
-?>
\ No newline at end of file