Dotclear


Ignore:
Timestamp:
03/09/18 12:29:57 (7 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Simplify licence block at the beginning of each file

Location:
plugins/antispam
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • plugins/antispam/_admin.php

    r3725 r3731  
    11<?php 
    2 # -- BEGIN LICENSE BLOCK --------------------------------------- 
    3 # 
    4 # This file is part of Antispam, a plugin for Dotclear 2. 
    5 # 
    6 # Copyright (c) 2003-2013 Olivier Meunier & Association Dotclear 
    7 # Licensed under the GPL version 2.0 license. 
    8 # See LICENSE file or 
    9 # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    10 # 
    11 # -- END LICENSE BLOCK ----------------------------------------- 
     2/** 
     3 * @brief antispam, a plugin for Dotclear 2 
     4 * 
     5 * @package Dotclear 
     6 * @subpackage Plugins 
     7 * 
     8 * @copyright Olivier Meunier & Association Dotclear 
     9 * @copyright GPL-2.0-only 
     10 */ 
     11 
    1212if (!defined('DC_CONTEXT_ADMIN')) {return;} 
    1313 
  • plugins/antispam/_define.php

    r3730 r3731  
    11<?php 
    2 # -- BEGIN LICENSE BLOCK --------------------------------------- 
    3 # 
    4 # This file is part of Antispam, a plugin for Dotclear 2. 
    5 # 
    6 # Copyright (c) 2003-2013 Olivier Meunier & Association Dotclear 
    7 # Licensed under the GPL version 2.0 license. 
    8 # See LICENSE file or 
    9 # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    10 # 
    11 # -- END LICENSE BLOCK ----------------------------------------- 
     2/** 
     3 * @brief antispam, a plugin for Dotclear 2 
     4 * 
     5 * @package Dotclear 
     6 * @subpackage Plugins 
     7 * 
     8 * @copyright Olivier Meunier & Association Dotclear 
     9 * @copyright GPL-2.0-only 
     10 */ 
     11 
    1212if (!defined('DC_RC_PATH')) {return;} 
    1313 
  • plugins/antispam/_install.php

    r3730 r3731  
    11<?php 
    2 # -- BEGIN LICENSE BLOCK --------------------------------------- 
    3 # 
    4 # This file is part of Antispam, a plugin for Dotclear 2. 
    5 # 
    6 # Copyright (c) 2003-2013 Olivier Meunier & Association Dotclear 
    7 # Licensed under the GPL version 2.0 license. 
    8 # See LICENSE file or 
    9 # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    10 # 
    11 # -- END LICENSE BLOCK ----------------------------------------- 
     2/** 
     3 * @brief antispam, a plugin for Dotclear 2 
     4 * 
     5 * @package Dotclear 
     6 * @subpackage Plugins 
     7 * 
     8 * @copyright Olivier Meunier & Association Dotclear 
     9 * @copyright GPL-2.0-only 
     10 */ 
     11 
    1212if (!defined('DC_CONTEXT_ADMIN')) {return;} 
    1313 
  • plugins/antispam/_prepend.php

    r3730 r3731  
    11<?php 
    2 # -- BEGIN LICENSE BLOCK --------------------------------------- 
    3 # 
    4 # This file is part of Antispam, a plugin for Dotclear 2. 
    5 # 
    6 # Copyright (c) 2003-2013 Olivier Meunier & Association Dotclear 
    7 # Licensed under the GPL version 2.0 license. 
    8 # See LICENSE file or 
    9 # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    10 # 
    11 # -- END LICENSE BLOCK ----------------------------------------- 
     2/** 
     3 * @brief antispam, a plugin for Dotclear 2 
     4 * 
     5 * @package Dotclear 
     6 * @subpackage Plugins 
     7 * 
     8 * @copyright Olivier Meunier & Association Dotclear 
     9 * @copyright GPL-2.0-only 
     10 */ 
     11 
    1212if (!defined('DC_RC_PATH')) {return;} 
    1313 
  • plugins/antispam/_public.php

    r3730 r3731  
    11<?php 
    2 # -- BEGIN LICENSE BLOCK --------------------------------------- 
    3 # 
    4 # This file is part of Antispam, a plugin for Dotclear 2. 
    5 # 
    6 # Copyright (c) 2003-2013 Olivier Meunier & Association Dotclear 
    7 # Licensed under the GPL version 2.0 license. 
    8 # See LICENSE file or 
    9 # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    10 # 
    11 # -- END LICENSE BLOCK ----------------------------------------- 
     2/** 
     3 * @brief antispam, a plugin for Dotclear 2 
     4 * 
     5 * @package Dotclear 
     6 * @subpackage Plugins 
     7 * 
     8 * @copyright Olivier Meunier & Association Dotclear 
     9 * @copyright GPL-2.0-only 
     10 */ 
     11 
    1212if (!defined('DC_RC_PATH')) {return;} 
    1313 
  • plugins/antispam/filters/class.dc.filter.ip.php

    r3707 r3731  
    11<?php 
    2 # -- BEGIN LICENSE BLOCK --------------------------------------- 
    3 # 
    4 # This file is part of Antispam, a plugin for Dotclear 2. 
    5 # 
    6 # Copyright (c) 2003-2013 Olivier Meunier & Association Dotclear 
    7 # Licensed under the GPL version 2.0 license. 
    8 # See LICENSE file or 
    9 # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    10 # 
    11 # -- END LICENSE BLOCK ----------------------------------------- 
     2/** 
     3 * @brief antispam, a plugin for Dotclear 2 
     4 * 
     5 * @package Dotclear 
     6 * @subpackage Plugins 
     7 * 
     8 * @copyright Olivier Meunier & Association Dotclear 
     9 * @copyright GPL-2.0-only 
     10 */ 
     11 
    1212if (!defined('DC_RC_PATH')) {return;} 
    1313 
  • plugins/antispam/filters/class.dc.filter.iplookup.php

    r3730 r3731  
    11<?php 
    2 # -- BEGIN LICENSE BLOCK --------------------------------------- 
    3 # 
    4 # This file is part of Antispam, a plugin for Dotclear 2. 
    5 # 
    6 # Copyright (c) 2003-2013 Olivier Meunier & Association Dotclear 
    7 # Licensed under the GPL version 2.0 license. 
    8 # See LICENSE file or 
    9 # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    10 # 
    11 # -- END LICENSE BLOCK ----------------------------------------- 
     2/** 
     3 * @brief antispam, a plugin for Dotclear 2 
     4 * 
     5 * @package Dotclear 
     6 * @subpackage Plugins 
     7 * 
     8 * @copyright Olivier Meunier & Association Dotclear 
     9 * @copyright GPL-2.0-only 
     10 */ 
     11 
    1212if (!defined('DC_RC_PATH')) {return;} 
    1313 
  • plugins/antispam/filters/class.dc.filter.linkslookup.php

    r3730 r3731  
    11<?php 
    2 # -- BEGIN LICENSE BLOCK --------------------------------------- 
    3 # 
    4 # This file is part of Antispam, a plugin for Dotclear 2. 
    5 # 
    6 # Copyright (c) 2003-2013 Olivier Meunier & Association Dotclear 
    7 # Licensed under the GPL version 2.0 license. 
    8 # See LICENSE file or 
    9 # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    10 # 
    11 # -- END LICENSE BLOCK ----------------------------------------- 
     2/** 
     3 * @brief antispam, a plugin for Dotclear 2 
     4 * 
     5 * @package Dotclear 
     6 * @subpackage Plugins 
     7 * 
     8 * @copyright Olivier Meunier & Association Dotclear 
     9 * @copyright GPL-2.0-only 
     10 */ 
     11 
    1212if (!defined('DC_RC_PATH')) {return;} 
    1313 
  • plugins/antispam/filters/class.dc.filter.words.php

    r3707 r3731  
    11<?php 
    2 # -- BEGIN LICENSE BLOCK --------------------------------------- 
    3 # 
    4 # This file is part of Antispam, a plugin for Dotclear 2. 
    5 # 
    6 # Copyright (c) 2003-2013 Olivier Meunier & Association Dotclear 
    7 # Licensed under the GPL version 2.0 license. 
    8 # See LICENSE file or 
    9 # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    10 # 
    11 # -- END LICENSE BLOCK ----------------------------------------- 
     2/** 
     3 * @brief antispam, a plugin for Dotclear 2 
     4 * 
     5 * @package Dotclear 
     6 * @subpackage Plugins 
     7 * 
     8 * @copyright Olivier Meunier & Association Dotclear 
     9 * @copyright GPL-2.0-only 
     10 */ 
     11 
    1212if (!defined('DC_RC_PATH')) {return;} 
    1313 
  • plugins/antispam/inc/class.dc.spamfilter.php

    r3730 r3731  
    11<?php 
    2 # -- BEGIN LICENSE BLOCK --------------------------------------- 
    3 # 
    4 # This file is part of Antispam, a plugin for Dotclear 2. 
    5 # 
    6 # Copyright (c) 2003-2013 Olivier Meunier & Association Dotclear 
    7 # Licensed under the GPL version 2.0 license. 
    8 # See LICENSE file or 
    9 # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    10 # 
    11 # -- END LICENSE BLOCK ----------------------------------------- 
     2/** 
     3 * @brief antispam, a plugin for Dotclear 2 
     4 * 
     5 * @package Dotclear 
     6 * @subpackage Plugins 
     7 * 
     8 * @copyright Olivier Meunier & Association Dotclear 
     9 * @copyright GPL-2.0-only 
     10 */ 
     11 
    1212if (!defined('DC_RC_PATH')) {return;} 
    1313 
  • plugins/antispam/inc/class.dc.spamfilters.php

    r3730 r3731  
    11<?php 
    2 # -- BEGIN LICENSE BLOCK --------------------------------------- 
    3 # 
    4 # This file is part of Antispam, a plugin for Dotclear 2. 
    5 # 
    6 # Copyright (c) 2003-2013 Olivier Meunier & Association Dotclear 
    7 # Licensed under the GPL version 2.0 license. 
    8 # See LICENSE file or 
    9 # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    10 # 
    11 # -- END LICENSE BLOCK ----------------------------------------- 
     2/** 
     3 * @brief antispam, a plugin for Dotclear 2 
     4 * 
     5 * @package Dotclear 
     6 * @subpackage Plugins 
     7 * 
     8 * @copyright Olivier Meunier & Association Dotclear 
     9 * @copyright GPL-2.0-only 
     10 */ 
     11 
    1212if (!defined('DC_RC_PATH')) {return;} 
    1313 
  • plugins/antispam/inc/lib.dc.antispam.php

    r3730 r3731  
    11<?php 
    2 # -- BEGIN LICENSE BLOCK --------------------------------------- 
    3 # 
    4 # This file is part of Antispam, a plugin for Dotclear 2. 
    5 # 
    6 # Copyright (c) 2003-2013 Olivier Meunier & Association Dotclear 
    7 # Licensed under the GPL version 2.0 license. 
    8 # See LICENSE file or 
    9 # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    10 # 
    11 # -- END LICENSE BLOCK ----------------------------------------- 
     2/** 
     3 * @brief antispam, a plugin for Dotclear 2 
     4 * 
     5 * @package Dotclear 
     6 * @subpackage Plugins 
     7 * 
     8 * @copyright Olivier Meunier & Association Dotclear 
     9 * @copyright GPL-2.0-only 
     10 */ 
     11 
    1212if (!defined('DC_RC_PATH')) {return;} 
    1313 
  • plugins/antispam/inc/lib.dc.antispam.url.php

    r3730 r3731  
    11<?php 
    2 # -- BEGIN LICENSE BLOCK --------------------------------------- 
    3 # 
    4 # This file is part of Antispam, a plugin for Dotclear 2. 
    5 # 
    6 # Copyright (c) 2003-2013 Olivier Meunier & Association Dotclear 
    7 # Licensed under the GPL version 2.0 license. 
    8 # See LICENSE file or 
    9 # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    10 # 
    11 # -- END LICENSE BLOCK ----------------------------------------- 
     2/** 
     3 * @brief antispam, a plugin for Dotclear 2 
     4 * 
     5 * @package Dotclear 
     6 * @subpackage Plugins 
     7 * 
     8 * @copyright Olivier Meunier & Association Dotclear 
     9 * @copyright GPL-2.0-only 
     10 */ 
     11 
    1212if (!defined('DC_RC_PATH')) {return;} 
    1313 
  • plugins/antispam/index.php

    r3730 r3731  
    11<?php 
    2 # -- BEGIN LICENSE BLOCK --------------------------------------- 
    3 # 
    4 # This file is part of Antispam, a plugin for Dotclear 2. 
    5 # 
    6 # Copyright (c) 2003-2013 Olivier Meunier & Association Dotclear 
    7 # Licensed under the GPL version 2.0 license. 
    8 # See LICENSE file or 
    9 # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    10 # 
    11 # -- END LICENSE BLOCK ----------------------------------------- 
     2/** 
     3 * @brief antispam, a plugin for Dotclear 2 
     4 * 
     5 * @package Dotclear 
     6 * @subpackage Plugins 
     7 * 
     8 * @copyright Olivier Meunier & Association Dotclear 
     9 * @copyright GPL-2.0-only 
     10 */ 
     11 
    1212if (!defined('DC_CONTEXT_ADMIN')) {return;} 
    1313dcPage::check('admin'); 
  • plugins/antispam/locales/en/resources.php

    r2329 r3731  
    11<?php 
    2 # -- BEGIN LICENSE BLOCK --------------------------------------- 
    3 # 
    4 # This file is part of Dotclear 2. 
    5 # 
    6 # Copyright (c) 2003-2013 Olivier Meunier & Association Dotclear 
    7 # Licensed under the GPL version 2.0 license. 
    8 # See LICENSE file or 
    9 # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    10 # 
    11 # -- END LICENSE BLOCK ----------------------------------------- 
     2/** 
     3 * @package Dotclear 
     4 * @subpackage Plugins 
     5 * 
     6 * @copyright Olivier Meunier & Association Dotclear 
     7 * @copyright GPL-2.0-only 
     8 */ 
    129 
    13 if (!isset($__resources['help']['antispam'])) 
    14 { 
    15      $__resources['help']['antispam'] = dirname(__FILE__).'/help/help.html'; 
     10if (!isset($__resources['help']['antispam'])) { 
     11    $__resources['help']['antispam'] = dirname(__FILE__) . '/help/help.html'; 
    1612} 
    17 if (!isset($__resources['help']['antispam-filters'])) 
    18 { 
    19      $__resources['help']['antispam-filters'] = dirname(__FILE__).'/help/filters.html'; 
     13if (!isset($__resources['help']['antispam-filters'])) { 
     14    $__resources['help']['antispam-filters'] = dirname(__FILE__) . '/help/filters.html'; 
    2015} 
    21 if (!isset($__resources['help']['ip-filter'])) 
    22 { 
    23      $__resources['help']['ip-filter'] = dirname(__FILE__).'/help/ip.html'; 
     16if (!isset($__resources['help']['ip-filter'])) { 
     17    $__resources['help']['ip-filter'] = dirname(__FILE__) . '/help/ip.html'; 
    2418} 
    25 if (!isset($__resources['help']['iplookup-filter'])) 
    26 { 
    27      $__resources['help']['iplookup-filter'] = dirname(__FILE__).'/help/iplookup.html'; 
     19if (!isset($__resources['help']['iplookup-filter'])) { 
     20    $__resources['help']['iplookup-filter'] = dirname(__FILE__) . '/help/iplookup.html'; 
    2821} 
    29 if (!isset($__resources['help']['words-filter'])) 
    30 { 
    31      $__resources['help']['words-filter'] = dirname(__FILE__).'/help/words.html'; 
     22if (!isset($__resources['help']['words-filter'])) { 
     23    $__resources['help']['words-filter'] = dirname(__FILE__) . '/help/words.html'; 
    3224} 
    33 if (!isset($__resources['help']['antispam_comments'])) 
    34 { 
    35      $__resources['help']['antispam_comments'] = dirname(__FILE__).'/help/comments.html'; 
     25if (!isset($__resources['help']['antispam_comments'])) { 
     26    $__resources['help']['antispam_comments'] = dirname(__FILE__) . '/help/comments.html'; 
    3627} 
  • plugins/antispam/locales/fr/resources.php

    r2329 r3731  
    11<?php 
    2 # -- BEGIN LICENSE BLOCK --------------------------------------- 
    3 # 
    4 # This file is part of Dotclear 2. 
    5 # 
    6 # Copyright (c) 2003-2013 Olivier Meunier & Association Dotclear 
    7 # Licensed under the GPL version 2.0 license. 
    8 # See LICENSE file or 
    9 # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    10 # 
    11 # -- END LICENSE BLOCK ----------------------------------------- 
     2/** 
     3 * @package Dotclear 
     4 * @subpackage Plugins 
     5 * 
     6 * @copyright Olivier Meunier & Association Dotclear 
     7 * @copyright GPL-2.0-only 
     8 */ 
    129 
    13 if (!isset($__resources['help']['antispam'])) 
    14 { 
    15      $__resources['help']['antispam'] = dirname(__FILE__).'/help/help.html'; 
     10if (!isset($__resources['help']['antispam'])) { 
     11    $__resources['help']['antispam'] = dirname(__FILE__) . '/help/help.html'; 
    1612} 
    17 if (!isset($__resources['help']['antispam-filters'])) 
    18 { 
    19      $__resources['help']['antispam-filters'] = dirname(__FILE__).'/help/filters.html'; 
     13if (!isset($__resources['help']['antispam-filters'])) { 
     14    $__resources['help']['antispam-filters'] = dirname(__FILE__) . '/help/filters.html'; 
    2015} 
    21 if (!isset($__resources['help']['ip-filter'])) 
    22 { 
    23      $__resources['help']['ip-filter'] = dirname(__FILE__).'/help/ip.html'; 
     16if (!isset($__resources['help']['ip-filter'])) { 
     17    $__resources['help']['ip-filter'] = dirname(__FILE__) . '/help/ip.html'; 
    2418} 
    25 if (!isset($__resources['help']['iplookup-filter'])) 
    26 { 
    27      $__resources['help']['iplookup-filter'] = dirname(__FILE__).'/help/iplookup.html'; 
     19if (!isset($__resources['help']['iplookup-filter'])) { 
     20    $__resources['help']['iplookup-filter'] = dirname(__FILE__) . '/help/iplookup.html'; 
    2821} 
    29 if (!isset($__resources['help']['words-filter'])) 
    30 { 
    31      $__resources['help']['words-filter'] = dirname(__FILE__).'/help/words.html'; 
     22if (!isset($__resources['help']['words-filter'])) { 
     23    $__resources['help']['words-filter'] = dirname(__FILE__) . '/help/words.html'; 
    3224} 
    33 if (!isset($__resources['help']['antispam_comments'])) 
    34 { 
    35      $__resources['help']['antispam_comments'] = dirname(__FILE__).'/help/comments.html'; 
     25if (!isset($__resources['help']['antispam_comments'])) { 
     26    $__resources['help']['antispam_comments'] = dirname(__FILE__) . '/help/comments.html'; 
    3627} 
Note: See TracChangeset for help on using the changeset viewer.

Sites map