Changeset 1518 for plugins/whiteListCom
- Timestamp:
- 09/27/09 13:31:17 (14 years ago)
- Location:
- plugins/whiteListCom
- Files:
-
- 2 added
- 1 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/whiteListCom/_define.php
r1463 r1518 15 15 $this->registerModule( 16 16 /* Name */ "Whitelist comments", 17 /* Description*/ "Whitelistfor comment moderation",17 /* Description*/ "Whitelists for comment moderation", 18 18 /* Author */ "JC Denis", 19 /* Version */ '0.1', 20 /* Permissions */ 'admin' 19 /* Version */ '0.2', 20 /* Permissions */ 'admin', 21 /* Priority */ 200 21 22 ); 22 /* date */ #200909 1623 /* date */ #20090927 23 24 ?> -
plugins/whiteListCom/_prepend.php
r1463 r1518 15 15 global $__autoload, $core; 16 16 17 $__autoload['whiteListCom'] = 18 dirname(__FILE__).'/inc/lib.whitelistcom.php'; 19 17 20 $__autoload['whiteListComBehaviors'] = 18 dirname(__FILE__).'/inc/lib.whitelistcom. behaviors.php';21 dirname(__FILE__).'/inc/lib.whitelistcom.php'; 19 22 20 $core->addBehavior( 21 'adminBeforeBlogSettingsUpdate', 22 array('whiteListComBehaviors','adminBeforeBlogSettingsUpdate') 23 ); 23 $__autoload['whiteListComReservedFilter'] = 24 dirname(__FILE__).'/inc/lib.whitelistcom.php'; 24 25 25 $core->addBehavior( 26 'adminBlogPreferencesForm', 27 array('whiteListComBehaviors','adminBlogPreferencesForm') 28 ); 26 $__autoload['whiteListComReservedFilter'] = 27 dirname(__FILE__).'/inc/lib.whitelistcom.php'; 29 28 30 $core->addBehavior( 31 'publicBeforeCommentPreview', 32 array('whiteListComBehaviors','publicBeforeCommentPreview') 33 ); 29 # This filter is used only if comments are moderates 30 if (!$core->blog->settings->comments_pub) 31 { 32 $core->spamfilters[] = 'whiteListComModeratedFilter'; 33 $core->addBehavior('publicAfterCommentCreate', 34 array('whiteListComBehaviors','switchStatus') 35 ); 36 } 34 37 35 $core->addBehavior( 36 'publicBeforeCommentCreate', 37 array('whiteListComBehaviors','publicBeforeCommentCreate') 38 ); 39 38 $core->spamfilters[] = 'whiteListComReservedFilter'; 40 39 ?> -
plugins/whiteListCom/locales/fr/main.lang.php
r1463 r1518 1 1 <?php 2 2 // Language: français 3 // Module: whiteListCom - 0. 0.14 // Date: 2009-09- 16 02:19:513 // Module: whiteListCom - 0.2 4 // Date: 2009-09-27 11:09:28 5 5 // Author: , jcdenis@gdwd.com 6 // Translated with dcTranslater - 0.2. 46 // Translated with dcTranslater - 0.2.5 7 7 8 #inc/lib.whitelistcom. behaviors.php:1049 $GLOBALS['__l10n'][' This name is reserved to another people, choose another one.'] = 'Ce nom est réservé à une autre personne, choisissez-en un autre.';8 #inc/lib.whitelistcom.php:23 9 $GLOBALS['__l10n']['Whitelist of unmoderated authors'] = 'Liste blanche des auteurs noms modèrés'; 10 10 11 #inc/lib.whitelistcom. behaviors.php:12412 $GLOBALS['__l10n']['C omment moderation'] = 'Modèration des commentaires';11 #inc/lib.whitelistcom.php:193 12 $GLOBALS['__l10n']['Check the users who can make comments without being moderated.'] = 'Cocher les utilisateurs qui peuvent faire des commentaires sans être modèrés.'; 13 13 14 #inc/lib.whitelistcom. behaviors.php:12515 $GLOBALS['__l10n'][' If you moderate comments, you can use a white list of people whose comments will be published directly.'] = 'Si vous modèrez les commentaires, vous pouvez utiliser un liste des personnes dont le commentaire sera directement publié.';14 #inc/lib.whitelistcom.php:74 15 $GLOBALS['__l10n']['Posts authors list'] = 'Liste des auteurs de billets'; 16 16 17 #inc/lib.whitelistcom. behaviors.php:12918 $GLOBALS['__l10n'][' Use the publication of comments of the whitelist'] = 'Utiliser la publication des commentaires de la liste blanche';17 #inc/lib.whitelistcom.php:194 18 $GLOBALS['__l10n']['Comments authors list'] = 'Liste des auteurs de commentaires'; 19 19 20 #inc/lib.whitelistcom. behaviors.php:13021 $GLOBALS['__l10n'][' You must enable moderation to use this.'] = 'Vous devez activer la modération pour utiliser cette option.';20 #inc/lib.whitelistcom.php:133 21 $GLOBALS['__l10n']['Whitelist of reserved names of users'] = 'Liste blanche des noms d\'utilisateurs réservés'; 22 22 23 #inc/lib.whitelistcom.behaviors.php:134 24 $GLOBALS['__l10n']['Use the block of reserved names whitelist'] = 'Utiliser le blocage des noms réservés de la liste blanche'; 25 26 #inc/lib.whitelistcom.behaviors.php:135 27 $GLOBALS['__l10n']['This works even if moderation is not enabled.'] = 'Cette option fonctionne même si la modèration n\'est pas activée.'; 28 29 #inc/lib.whitelistcom.behaviors.php:138 30 $GLOBALS['__l10n']['White list:'] = 'Liste blanche :'; 31 32 #inc/lib.whitelistcom.behaviors.php:142 33 $GLOBALS['__l10n']['Write white list like email1;name1|email2;name2|email3...'] = 'Ecrire la liste blanche comme cela email1;nom1|email2;nom2|email3...'; 23 #inc/lib.whitelistcom.php:166 24 $GLOBALS['__l10n']['This name is reserved to an other user.'] = 'Ce nom est réservé à un autre utilisateur.'; 34 25 35 26 ?> -
plugins/whiteListCom/locales/fr/main.po
r1463 r1518 1 1 # Language: français 2 # Module: whiteListCom - 0. 0.13 # Date: 2009-09- 16 02:19:512 # Module: whiteListCom - 0.2 3 # Date: 2009-09-27 11:09:28 4 4 # Author: , jcdenis@gdwd.com 5 # Translated with dcTranslater - 0.2. 45 # Translated with dcTranslater - 0.2.5 6 6 7 7 msgid "" 8 8 msgstr "Content-Type: text/plain; charset=UTF-8\n" 9 9 10 #: inc/lib.whitelistcom. behaviors.php:10411 msgid " This name is reserved to another people, choose another one."12 msgstr " Ce nom est réservé à une autre personne, choisissez-en un autre."10 #: inc/lib.whitelistcom.php:23 11 msgid "Whitelist of unmoderated authors" 12 msgstr "Liste blanche des auteurs noms modèrés" 13 13 14 #: inc/lib.whitelistcom. behaviors.php:12415 msgid "C omment moderation"16 msgstr " Modèration des commentaires"14 #: inc/lib.whitelistcom.php:193 15 msgid "Check the users who can make comments without being moderated." 16 msgstr "Cocher les utilisateurs qui peuvent faire des commentaires sans être modèrés." 17 17 18 #: inc/lib.whitelistcom. behaviors.php:12519 msgid " If you moderate comments, you can use a white list of people whose comments will be published directly."20 msgstr " Si vous modèrez les commentaires, vous pouvez utiliser un liste des personnes dont le commentaire sera directement publié."18 #: inc/lib.whitelistcom.php:74 19 msgid "Posts authors list" 20 msgstr "Liste des auteurs de billets" 21 21 22 #: inc/lib.whitelistcom. behaviors.php:12923 msgid " Use the publication of comments of the whitelist"24 msgstr " Utiliser la publication des commentaires de la liste blanche"22 #: inc/lib.whitelistcom.php:194 23 msgid "Comments authors list" 24 msgstr "Liste des auteurs de commentaires" 25 25 26 #: inc/lib.whitelistcom. behaviors.php:13027 msgid " You must enable moderation to use this."28 msgstr " Vous devez activer la modération pour utiliser cette option."26 #: inc/lib.whitelistcom.php:133 27 msgid "Whitelist of reserved names of users" 28 msgstr "Liste blanche des noms d'utilisateurs réservés" 29 29 30 #: inc/lib.whitelistcom. behaviors.php:13431 msgid " Use the block of reserved names whitelist"32 msgstr " Utiliser le blocage des noms réservés de la liste blanche"30 #: inc/lib.whitelistcom.php:166 31 msgid "This name is reserved to an other user." 32 msgstr "Ce nom est réservé à un autre utilisateur." 33 33 34 #: inc/lib.whitelistcom.behaviors.php:13535 msgid "This works even if moderation is not enabled."36 msgstr "Cette option fonctionne même si la modèration n'est pas activée."37 38 #: inc/lib.whitelistcom.behaviors.php:13839 msgid "White list:"40 msgstr "Liste blanche :"41 42 #: inc/lib.whitelistcom.behaviors.php:14243 msgid "Write white list like email1;name1|email2;name2|email3..."44 msgstr "Ecrire la liste blanche comme cela email1;nom1|email2;nom2|email3..."45 -
plugins/whiteListCom/release.txt
r1463 r1518 1 0.2 20090927 2 * Changed to antispam system 3 1 4 0.1 20090916 2 5 * First lab release
Note: See TracChangeset
for help on using the changeset viewer.