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/action/urls_liberer.php

    r93431 r93629  
    1111\***************************************************************************/
    1212
    13 if (!defined("_ECRIRE_INC_VERSION")) return;
     13if (!defined("_ECRIRE_INC_VERSION")) {
     14        return;
     15}
    1416
    1517// http://code.spip.net/@action_instituer_syndic_article_dist
     
    2022
    2123        include_spip('inc/autoriser');
    22         $arg = explode('-',$arg);
     24        $arg = explode('-', $arg);
    2325        $type = array_shift($arg);
    2426        $id = array_shift($arg);
    25         $url = implode('-',$arg);
    26         if (autoriser('modifierurl',$type,$id)){
     27        $url = implode('-', $arg);
     28        if (autoriser('modifierurl', $type, $id)) {
    2729                include_spip('action/editer_url');
    2830                url_delete($type, $id, $url);
Note: See TracChangeset for help on using the changeset viewer.