Changeset 2746
- Timestamp:
- 11/12/10 01:41:01 (13 years ago)
- Location:
- plugins/atReply
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/atReply/_admin.php
r2745 r2746 71 71 global $core; 72 72 73 $comment_content = '<p>@<a href="#c'. 73 $comment_content = '<p>'. 74 sprintf(__('@%s:'),'<a href="#c'. 74 75 html::escapeHTML($rs->comment_id).'">'. 75 html::escapeHTML($rs->comment_author).'</a> :</p>';76 html::escapeHTML($rs->comment_author).'</a>').' </p>'; 76 77 77 78 return( 78 79 # from /dotclear/admin/post.php, modified 79 80 '<form action="comment.php" method="post">'. 80 form::hidden('comment_author',html::escapeHTML($core->auth->getInfo('user_cn'))). 81 form::hidden('comment_email',html::escapeHTML($core->auth->getInfo('user_email'))). 82 form::hidden('comment_site',html::escapeHTML($core->auth->getInfo('user_url'))). 83 form::hidden('comment_content',html::escapeHTML($comment_content)). 84 form::hidden('comment_atreply_comment_status',-1). 85 form::hidden('post_id',$rs->post_id). 86 form::hidden('go_to_the_comment',1). 81 form::hidden(array('comment_author'),html::escapeHTML($core->auth->getInfo('user_cn'))). 82 form::hidden(array('comment_email'),html::escapeHTML($core->auth->getInfo('user_email'))). 83 form::hidden(array('comment_site'),html::escapeHTML($core->auth->getInfo('user_url'))). 84 form::hidden(array('comment_content'),html::escapeHTML($comment_content)). 85 form::hidden(array('comment_atreply_comment_status'),-1). 86 form::hidden(array('post_id'),$rs->post_id). 87 form::hidden(array('at_reply'),1). 88 form::hidden(array('at_reply_email_address'),html::escapeHTML($rs->comment_email)). 87 89 $core->formNonce(). 88 90 '<p><strong>'.__('@ Reply:').'</strong> '. … … 114 116 public static function adminAfterCommentCreate($cur,$comment_id) 115 117 { 116 if (isset($_POST['go_to_the_comment'])) 118 global $core; 119 120 if (isset($_POST['at_reply'])) 117 121 { 122 if ($core->blog->settings->atreply_subscribe_replied_comment == true) 123 { 124 if ($core->plugins->moduleExists('subscribeToComments')) 125 { 126 # subscribe the email address of the replied comment 127 $subscriber = new subscriber($_POST['at_reply_email_address']); 128 $subscriber->subscribe($cur->post_id); 129 } 130 } 131 118 132 http::redirect('comment.php?id='.$comment_id.'&at_reply_creaco=1'); 119 133 } -
plugins/atReply/_define.php
r2745 r2746 32 32 /* Description*/ 'Easily reply to comments', 33 33 /* Author */ 'Moe (http://gniark.net/) append extension by buns.fr', 34 /* Version */ '1. 5',34 /* Version */ '1.6', 35 35 /* Permissions */ 'admin' 36 36 ); -
plugins/atReply/index.php
r2745 r2746 55 55 $settings->put('atreply_show_switch',!empty($_POST['atreply_show_switch']), 56 56 'boolean','Display a switch to toggle threading'); 57 58 $settings->put('atreply_subscribe_replied_comment', 59 !empty($_POST['atreply_subscribe_replied_comment']), 60 'boolean','Subscribe replied comments to "Subscribe to comments"'); 57 61 58 62 # inspired by lightbox/admin.php … … 220 224 __('Append replies to appropriate comments')); ?> 221 225 </p> 226 227 <p><?php echo(form::checkbox('atreply_subscribe_replied_comment',1, 228 $settings->atreply_subscribe_replied_comment)); ?> 229 <label class="classic" for="atreply_subscribe_replied_comment"> 230 <?php printf(__('When clicking on the "%s" button in a comment list of the administration, subscribe to comments the email address of the replied comment with the %s plugin'), 231 __('reply to this comment'),__('Subscribe to comments')); ?> 232 </label> 233 </p> 234 <p class="form-note"> 235 <?php printf(__('Requires the %s plugin.'), 236 __('Subscribe to comments')); ?> 237 </p> 222 238 223 239 <p> -
plugins/atReply/locales/fr/admin.lang.php
r2745 r2746 1 1 <?php 2 2 // Language: Français 3 // Module: atReply - 1. 54 // Date: 2010-11-1 1 23:08:363 // Module: atReply - 1.6 4 // Date: 2010-11-12 00:32:59 5 5 // Translated with dcTranslater - 1.5 6 7 #_admin.php:62 8 #_admin.php:90 9 $GLOBALS['__l10n']['@ Reply:'] = '@ Reply :'; 6 10 7 11 #_admin.php:64 8 12 $GLOBALS['__l10n']['Please edit and publish it.'] = 'Veuillez l\'éditer et le publier.'; 9 13 10 #index.php:11 814 #index.php:119 11 15 $GLOBALS['__l10n']['%s is not writable'] = '%s n\'est pas accessible en écriture'; 12 16 13 #index.php:14 217 #index.php:143 14 18 $GLOBALS['__l10n']['Configuration successfully updated.'] = 'Configuration mise à jour avec succès.'; 15 19 16 #index.php:19 220 #index.php:193 17 21 $GLOBALS['__l10n']['Add arrows to easily reply to comments on the blog'] = 'Ajouter des flèches pour répondre facilement aux commentaires sur le blog'; 18 22 19 #index.php:19 823 #index.php:199 20 24 $GLOBALS['__l10n']['Activating this plugin also enforces wiki syntax in blog comments.'] = 'L\'activation de cette extension force la syntaxe wiki dans les commentaires du blog.'; 21 25 22 #index.php:20 426 #index.php:205 23 27 $GLOBALS['__l10n']['Display a text when the cursor is hovering the arrow'] = 'Afficher un texte quand le curseur survole la flèche'; 24 28 25 #index.php:21 126 #index.php:22 329 #index.php:212 30 #index.php:224 27 31 $GLOBALS['__l10n']['Append replies to appropriate comments'] = 'Attacher les réponses aux commentaires afférents'; 28 32 29 #index.php:21 833 #index.php:219 30 34 $GLOBALS['__l10n']['Display a switch to toggle threading'] = 'Afficher un bouton pour basculer l\'affichage en fil de commentaires'; 31 35 32 #index.php:22 236 #index.php:223 33 37 $GLOBALS['__l10n']['Requires %s.'] = 'Nécessite %s.'; 34 38 35 #index.php:228 39 #index.php:230 40 $GLOBALS['__l10n']['When clicking on the "%s" button in a comment list of the administration, subscribe to comments the email address of the replied comment with the %s plugin'] = 'Lors du clic sur le bouton "%s" dans une liste de commentaires de l\'administration, abonner aux commentaires l\'adresse email du commentaire répondu avec l\'extension %s'; 41 42 #index.php:235 43 $GLOBALS['__l10n']['Requires the %s plugin.'] = 'Ceci nécessite l\'extension %s.'; 44 45 #index.php:241 36 46 $GLOBALS['__l10n']['Create an image with another color'] = 'Créer une image avec une autre couleur'; 37 47 38 #index.php:2 3548 #index.php:248 39 49 $GLOBALS['__l10n']['The default image will be used.'] = 'L\'image par défaut sera utilisée.'; 40 50 41 #index.php:2 3851 #index.php:251 42 52 $GLOBALS['__l10n']['Preview:'] = 'Aperçu :'; 43 53 44 #index.php:25 454 #index.php:255 45 55 $GLOBALS['__l10n']['Save configuration'] = 'Enregistrer la configuration'; 46 56 -
plugins/atReply/locales/fr/admin.po
r2745 r2746 1 1 # Language: Français 2 # Module: atReply - 1. 53 # Date: 2010-11-1 1 23:08:362 # Module: atReply - 1.6 3 # Date: 2010-11-12 00:32:59 4 4 # Translated with translater 1.5 5 5 … … 7 7 msgstr "" 8 8 "Content-Type: text/plain; charset=UTF-8\n" 9 "Project-Id-Version: atReply 1. 5\n"9 "Project-Id-Version: atReply 1.6\n" 10 10 "POT-Creation-Date: \n" 11 "PO-Revision-Date: 2010-11-1 1T23:08:36+00:00\n"11 "PO-Revision-Date: 2010-11-12T00:32:59+00:00\n" 12 12 "Last-Translator: Ubuntu\n" 13 13 "Language-Team: \n" … … 15 15 "Content-Transfer-Encoding: 8bit\n" 16 16 17 #: _admin.php:62 18 #: _admin.php:90 19 msgid "@ Reply:" 20 msgstr "@ Reply :" 21 17 22 #: _admin.php:64 18 23 msgid "Please edit and publish it." 19 24 msgstr "Veuillez l'éditer et le publier." 20 25 21 #: index.php:11 826 #: index.php:119 22 27 msgid "%s is not writable" 23 28 msgstr "%s n'est pas accessible en écriture" 24 29 25 #: index.php:14 230 #: index.php:143 26 31 msgid "Configuration successfully updated." 27 32 msgstr "Configuration mise à jour avec succès." 28 33 29 #: index.php:19 234 #: index.php:193 30 35 msgid "Add arrows to easily reply to comments on the blog" 31 36 msgstr "Ajouter des flèches pour répondre facilement aux commentaires sur le blog" 32 37 33 #: index.php:19 838 #: index.php:199 34 39 msgid "Activating this plugin also enforces wiki syntax in blog comments." 35 40 msgstr "L'activation de cette extension force la syntaxe wiki dans les commentaires du blog." 36 41 37 #: index.php:20 442 #: index.php:205 38 43 msgid "Display a text when the cursor is hovering the arrow" 39 44 msgstr "Afficher un texte quand le curseur survole la flèche" 40 45 41 #: index.php:21 142 #: index.php:22 346 #: index.php:212 47 #: index.php:224 43 48 msgid "Append replies to appropriate comments" 44 49 msgstr "Attacher les réponses aux commentaires afférents" 45 50 46 #: index.php:21 851 #: index.php:219 47 52 msgid "Display a switch to toggle threading" 48 53 msgstr "Afficher un bouton pour basculer l'affichage en fil de commentaires" 49 54 50 #: index.php:22 255 #: index.php:223 51 56 msgid "Requires %s." 52 57 msgstr "Nécessite %s." 53 58 54 #: index.php:228 59 #: index.php:230 60 msgid "When clicking on the \"%s\" button in a comment list of the administration, subscribe to comments the email address of the replied comment with the %s plugin" 61 msgstr "Lors du clic sur le bouton \"%s\" dans une liste de commentaires de l'administration, abonner aux commentaires l'adresse email du commentaire répondu avec l'extension %s" 62 63 #: index.php:235 64 msgid "Requires the %s plugin." 65 msgstr "Ceci nécessite l'extension %s." 66 67 #: index.php:241 55 68 msgid "Create an image with another color" 56 69 msgstr "Créer une image avec une autre couleur" 57 70 58 #: index.php:2 3571 #: index.php:248 59 72 msgid "The default image will be used." 60 73 msgstr "L'image par défaut sera utilisée." 61 74 62 #: index.php:2 3875 #: index.php:251 63 76 msgid "Preview:" 64 77 msgstr "Aperçu :" 65 78 66 #: index.php:25 479 #: index.php:255 67 80 msgid "Save configuration" 68 81 msgstr "Enregistrer la configuration" -
plugins/atReply/locales/fr/main.lang.php
r2745 r2746 1 1 <?php 2 2 // Language: Français 3 // Module: atReply - 1. 54 // Date: 2010-11-1 1 23:08:363 // Module: atReply - 1.6 4 // Date: 2010-11-12 00:32:59 5 5 // Translated with dcTranslater - 1.5 6 6 7 7 #_admin.php:40 8 #index.php:18 78 #index.php:188 9 9 $GLOBALS['__l10n']['@ Reply'] = '@ Reply'; 10 10 11 #_admin.php:96 12 #index.php:245 11 #_admin.php:74 12 $GLOBALS['__l10n']['@%s:'] = '@%s :'; 13 14 #_admin.php:92 15 #index.php:231 13 16 $GLOBALS['__l10n']['reply to this comment'] = 'répondre à ce commentaire'; 14 17 -
plugins/atReply/locales/fr/main.po
r2745 r2746 1 1 # Language: Français 2 # Module: atReply - 1. 53 # Date: 2010-11-1 1 23:08:362 # Module: atReply - 1.6 3 # Date: 2010-11-12 00:32:59 4 4 # Translated with translater 1.5 5 5 … … 7 7 msgstr "" 8 8 "Content-Type: text/plain; charset=UTF-8\n" 9 "Project-Id-Version: atReply 1. 5\n"9 "Project-Id-Version: atReply 1.6\n" 10 10 "POT-Creation-Date: \n" 11 "PO-Revision-Date: 2010-11-1 1T23:08:36+00:00\n"11 "PO-Revision-Date: 2010-11-12T00:32:59+00:00\n" 12 12 "Last-Translator: Ubuntu\n" 13 13 "Language-Team: \n" … … 16 16 17 17 #: _admin.php:40 18 #: index.php:18 718 #: index.php:188 19 19 msgid "@ Reply" 20 20 msgstr "@ Reply" 21 21 22 #: _admin.php:96 23 #: index.php:245 22 #: _admin.php:74 23 msgid "@%s:" 24 msgstr "@%s :" 25 26 #: _admin.php:92 27 #: index.php:231 24 28 msgid "reply to this comment" 25 29 msgstr "répondre à ce commentaire"
Note: See TracChangeset
for help on using the changeset viewer.