Changeset 2315
- Timestamp:
- 06/07/10 02:13:34 (13 years ago)
- Location:
- plugins/activityReport
- Files:
-
- 2 added
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/activityReport/_define.php
r2035 r2315 17 17 /* Description*/ "Receive your blog activity by email, feed, or on dashboard", 18 18 /* Author */ "JC Denis", 19 /* Version */ ' 0.9',19 /* Version */ '1.0', 20 20 /* Permissions */ 'admin', 21 21 /* Priority */ -1000000 22 22 ); 23 /* date */ #20100 12923 /* date */ #20100606 24 24 ?> -
plugins/activityReport/_install.php
r2018 r2315 20 20 try 21 21 { 22 # Check DC version (dev on)23 if ( !version_compare(DC_VERSION,'2.1.6','>='))22 # Check DC version 23 if (version_compare(DC_VERSION,'2.2-beta','<')) 24 24 { 25 throw new Exception(' Plugin called activityReport requires Dotclear 2.1.5 or higher.');25 throw new Exception('translater requires Dotclear 2.2'); 26 26 } 27 # Check DC version (new settings) 28 if (version_compare(DC_VERSION,'2.2','>=')) 29 { 30 throw new Exception('Plugin called activityReport requires Dotclear up to 2.2.'); 31 } 27 32 28 # Table 33 29 $s = new dbStruct($core->con,$core->prefix); … … 42 38 ->activity_blog_status ('smallint',0,false,0) 43 39 ->activity_super_status ('smallint',0,false,0) 44 40 45 41 ->primary('pk_activity','activity_id') 46 42 ->index('idx_activity_type','btree','activity_type') … … 49 45 ->index('idx_activity_blog_status','btree','activity_blog_status') 50 46 ->index('idx_activity_super_status','btree','activity_super_status'); 51 47 52 48 $s->activity_setting 53 49 ->setting_id('varchar',64,false) … … 55 51 ->setting_type('varchar',32,false) 56 52 ->setting_value('text',0,false) 57 53 58 54 ->unique('uk_activity_setting','setting_id','blog_id','setting_type') 59 55 ->index('idx_activity_setting_blog_id','btree','blog_id') 60 56 ->index('idx_activity_setting_type','btree','setting_type'); 61 57 62 58 $si = new dbStruct($core->con,$core->prefix); 63 59 $changes = $si->synchronize($s); -
plugins/activityReport/_public.php
r2018 r2315 49 49 } 50 50 51 $_ctx->nb_entry_per_page = $core->blog->settings-> nb_post_per_feed;52 $_ctx->short_feed_items = $core->blog->settings->s hort_feed_items;51 $_ctx->nb_entry_per_page = $core->blog->settings->system->nb_post_per_feed; 52 $_ctx->short_feed_items = $core->blog->settings->system->short_feed_items; 53 53 54 header('X-Robots-Tag: '.context::robotsPolicy($core->blog->settings-> robots_policy,''));54 header('X-Robots-Tag: '.context::robotsPolicy($core->blog->settings->system->robots_policy,'')); 55 55 self::serveDocument('activityreport-'.$m[1].'.xml',$mime); 56 56 return; … … 126 126 127 127 if ($rfc822) { 128 return '<?php echo '.sprintf($f,"dt::rfc822(strtotime(\$_ctx->activityreports->activity_dt),\$core->blog->settings-> blog_timezone)").'; ?>';128 return '<?php echo '.sprintf($f,"dt::rfc822(strtotime(\$_ctx->activityreports->activity_dt),\$core->blog->settings->system->blog_timezone)").'; ?>'; 129 129 } elseif ($iso8601) { 130 return '<?php echo '.sprintf($f,"dt::iso8601(strtotime(\$_ctx->activityreports->activity_dt),\$core->blog->settings-> blog_timezone)").'; ?>';130 return '<?php echo '.sprintf($f,"dt::iso8601(strtotime(\$_ctx->activityreports->activity_dt),\$core->blog->settings->system->blog_timezone)").'; ?>'; 131 131 } elseif (!empty($format)) { 132 132 return '<?php echo '.sprintf($f,"dt::dt2str('".$format."',\$_ctx->activityreports->activity_dt)").'; ?>'; 133 133 } else { 134 return '<?php echo '.sprintf($f,"dt::dt2str(\$core->blog->settings-> date_format,\$_ctx->activityreports->activity_dt)").'; ?>';134 return '<?php echo '.sprintf($f,"dt::dt2str(\$core->blog->settings->system->date_format,\$_ctx->activityreports->activity_dt)").'; ?>'; 135 135 } 136 136 } -
plugins/activityReport/inc/class.activity.report.php
r2035 r2315 26 26 private $groups = array(); 27 27 private $settings = array(); 28 private $lock = null; 28 29 29 30 public function __construct($core,$ns='activityReport') … … 356 357 $to = 0; 357 358 $res = $blog = $group = ''; 358 $tz = $this->_global ? 'UTC' : $this->core->blog->settings-> blog_timezone;359 $tz = $this->_global ? 'UTC' : $this->core->blog->settings->system->blog_timezone; 359 360 360 361 $dt = $this->settings[$this->_global]['dateformat']; … … 551 552 } 552 553 554 # Lock a file to see if an update is ongoing 555 public function lockUpdate() 556 { 557 # Cache writable ? 558 if (!is_writable(DC_TPL_CACHE)) { 559 return false; 560 } 561 # Set file path 562 $f_md5 = md5($this->blog); 563 $cached_file = sprintf('%s/%s/%s/%s/%s.txt', 564 DC_TPL_CACHE, 565 'activityreport', 566 substr($f_md5,0,2), 567 substr($f_md5,2,2), 568 $f_md5 569 ); 570 # Make dir 571 if (!is_dir(dirname($cached_file))) { 572 try { 573 files::makeDir(dirname($cached_file),true); 574 } catch (Exception $e) { 575 return false; 576 } 577 } 578 # Make file 579 if (!file_exists($cached_file)) { 580 if (!@file_put_contents($cached_file,'')) { 581 return false; 582 } 583 } 584 # Open file 585 if (!($fp = @fopen($cached_file, 'wb'))) { 586 return false; 587 } 588 # Lock file 589 if (flock($fp,LOCK_EX)) { 590 $this->lock = $fp; 591 return true; 592 } 593 return false; 594 } 595 596 public function unlockUpdate() 597 { 598 @fclose($this->lock); 599 $this->lock = null; 600 } 601 553 602 public function needReport($force=false) 554 603 { 555 $send = false; 556 $now = time(); 557 558 $active = (boolean) $this->settings[$this->_global]['active']; 559 $mailinglist = $this->settings[$this->_global]['mailinglist']; 560 $mailformat = $this->settings[$this->_global]['mailformat']; 561 $requests = $this->settings[$this->_global]['requests']; 562 $lastreport = (integer) $this->settings[$this->_global]['lastreport']; 563 $interval = (integer) $this->settings[$this->_global]['interval']; 564 $blogs = $this->settings[$this->_global]['blogs']; 565 566 if ($force) $lastreport = 0; 567 568 # Check if report is needed 569 if ($active && !empty($mailinglist) && !empty($requests) && !empty($blogs) 570 && ($lastreport + $interval) < $now ) 571 { 572 # Get datas 573 $params = array(); 574 $params['from_date_ts'] = $lastreport; 575 $params['to_date_ts'] = $now; 576 $params['blog_id'] = $blogs; 577 $params['sql'] = self::requests2params($requests); 578 $params['order'] = 'blog_id ASC, activity_group ASC, activity_action ASC, activity_dt ASC '; 579 580 $logs = $this->getLogs($params); 581 if (!$logs->isEmpty()) 582 { 583 # Datas to readable text 584 $content = $this->parseLogs($logs); 585 if (!empty($content)) 604 # Limit to one update at a time 605 if (!$this->lockUpdate()) { 606 return false; 607 } 608 609 try 610 { 611 $send = false; 612 $now = time(); 613 614 $active = (boolean) $this->settings[$this->_global]['active']; 615 $mailinglist = $this->settings[$this->_global]['mailinglist']; 616 $mailformat = $this->settings[$this->_global]['mailformat']; 617 $requests = $this->settings[$this->_global]['requests']; 618 $lastreport = (integer) $this->settings[$this->_global]['lastreport']; 619 $interval = (integer) $this->settings[$this->_global]['interval']; 620 $blogs = $this->settings[$this->_global]['blogs']; 621 622 if ($force) $lastreport = 0; 623 624 # Check if report is needed 625 if ($active && !empty($mailinglist) && !empty($requests) && !empty($blogs) 626 && ($lastreport + $interval) < $now ) 627 { 628 # Get datas 629 $params = array(); 630 $params['from_date_ts'] = $lastreport; 631 $params['to_date_ts'] = $now; 632 $params['blog_id'] = $blogs; 633 $params['sql'] = self::requests2params($requests); 634 $params['order'] = 'blog_id ASC, activity_group ASC, activity_action ASC, activity_dt ASC '; 635 636 $logs = $this->getLogs($params); 637 if (!$logs->isEmpty()) 586 638 { 587 # Send mails 588 $send = $this->sendReport($mailinglist,$content,$mailformat); 589 } 590 } 591 592 # Update db 593 if ($send || $this->_global) // if global : delete all blog logs even if not selected 594 { 595 # Update log status 596 $this->updateStatus($lastreport,$now); 597 # Delete old logs 598 $this->cleanLogs(); 599 # Then set update time 600 $this->setSetting('lastreport',$now); 601 } 602 } 603 604 # If this is on a blog, we need to test superAdmin report 605 if (!$this->_global) 606 { 607 $this->_global = true; 608 $this->needReport(); 609 $this->_global = false; 610 611 if ($send) 612 { 613 $this->core->callBehavior('messageActivityReport','Activity report has been successfully send by mail.'); 614 } 615 } 616 639 # Datas to readable text 640 $content = $this->parseLogs($logs); 641 if (!empty($content)) 642 { 643 # Send mails 644 $send = $this->sendReport($mailinglist,$content,$mailformat); 645 } 646 } 647 648 # Update db 649 if ($send || $this->_global) // if global : delete all blog logs even if not selected 650 { 651 # Update log status 652 $this->updateStatus($lastreport,$now); 653 # Delete old logs 654 $this->cleanLogs(); 655 # Then set update time 656 $this->setSetting('lastreport',$now); 657 } 658 } 659 660 # If this is on a blog, we need to test superAdmin report 661 if (!$this->_global) 662 { 663 $this->_global = true; 664 $this->needReport(); 665 $this->_global = false; 666 667 if ($send) 668 { 669 $this->core->callBehavior('messageActivityReport','Activity report has been successfully send by mail.'); 670 } 671 } 672 $this->unlockUpdate(); 673 } 674 catch (Exception $e) 675 { 676 $this->unlockUpdate(); 677 //throw $e; 678 } 617 679 return true; 618 680 } … … 638 700 if (empty($recipients)) return false; 639 701 640 # Sending mail 641 $headers = array( 642 'From: '.mail::B64Header(__('Activity report module')).' <'.$this->mailer.'>', 643 'Reply-To: <'.$this->mailer.'>', 644 'Content-Type: text/'.$mailformat.'; charset=UTF-8;', 645 'MIME-Version: 1.0', 646 'X-Originating-IP: '.http::realIP(), 647 'X-Mailer: Dotclear', 648 'X-Blog-Id: '.mail::B64Header($this->core->blog->id), 649 'X-Blog-Name: '.mail::B64Header($this->core->blog->name), 650 'X-Blog-Url: '.mail::B64Header($this->core->blog->url) 651 ); 652 653 $subject = $this->_global ? 654 mail::B64Header(__('Blog activity report')) : 655 mail::B64Header('['.$this->core->blog->name.'] '.__('Blog activity report')); 656 657 $done = true; 658 foreach ($recipients as $email) 659 { 660 try 661 { 662 mail::sendMail($email,$subject,$msg,$headers); 663 } 664 catch (Exception $e) 665 { 666 $done = false; 667 } 702 # Sending mails 703 try 704 { 705 $headers = array( 706 'From: '.mail::B64Header(__('Activity report module')).' <'.$this->mailer.'>', 707 'Reply-To: <'.$this->mailer.'>', 708 'Content-Type: text/'.$mailformat.'; charset=UTF-8;', 709 'MIME-Version: 1.0', 710 'X-Originating-IP: '.http::realIP(), 711 'X-Mailer: Dotclear', 712 'X-Blog-Id: '.mail::B64Header($this->core->blog->id), 713 'X-Blog-Name: '.mail::B64Header($this->core->blog->name), 714 'X-Blog-Url: '.mail::B64Header($this->core->blog->url) 715 ); 716 717 $subject = $this->_global ? 718 mail::B64Header(__('Blog activity report')) : 719 mail::B64Header('['.$this->core->blog->name.'] '.__('Blog activity report')); 720 721 $done = true; 722 foreach ($recipients as $email) 723 { 724 if (true !== mail::sendMail($email,$subject,$msg,$headers)) { 725 $done = false; 726 } 727 } 728 } 729 catch (Exception $e) 730 { 731 $done = false; 668 732 } 669 733 -
plugins/activityReport/inc/lib.activity.report.index.php
r2035 r2315 18 18 { 19 19 $O =& $core->activityReport; 20 $section = isset($_REQUEST['section']) ? $_REQUEST['section'] : ''; 21 20 22 if ($global) 21 23 { … … 103 105 if ($redirect) 104 106 { 105 http::redirect('plugin.php?p=activityReport&tab='.$t.'_settings ');107 http::redirect('plugin.php?p=activityReport&tab='.$t.'_settings&section'.$section); 106 108 } 107 109 108 110 $bl = $O->getSetting('lastreport'); 109 $blog_last = !$bl ? __('never') : dt::str($core->blog->settings-> date_format.', '.$core->blog->settings->time_format,$bl,$core->auth->getInfo('user_tz'));111 $blog_last = !$bl ? __('never') : dt::str($core->blog->settings->system->date_format.', '.$core->blog->settings->system->time_format,$bl,$core->auth->getInfo('user_tz')); 110 112 111 113 $bi = $O->getSetting('interval'); 112 $blog_next = !$bl ? __('on new activity') : dt::str($core->blog->settings-> date_format.', '.$core->blog->settings->time_format,$bl+$bi,$core->auth->getInfo('user_tz'));114 $blog_next = !$bl ? __('on new activity') : dt::str($core->blog->settings->system->date_format.', '.$core->blog->settings->system->time_format,$bl+$bi,$core->auth->getInfo('user_tz')); 113 115 114 116 $emails = implode(';',$O->getSetting('mailinglist')); … … 129 131 <?php } ?> 130 132 131 <form method="post" action="plugin.php">132 133 <fieldset ><legend><?php echo __('Settings'); ?></legend>133 <form id="setting-<?php echo $t; ?>-form" method="post" action="plugin.php"> 134 135 <fieldset id="setting-<?php echo $t; ?>-setting"><legend><?php echo __('Settings'); ?></legend> 134 136 135 137 <p><label class="classic"><?php echo … … 189 191 { 190 192 ?> 191 <fieldset ><legend><?php echo __('Blogs'); ?></legend>193 <fieldset id="setting-<?php echo $t; ?>-blog"><legend><?php echo __('Blogs'); ?></legend> 192 194 <div class="three-cols"> 193 195 <?php … … 219 221 220 222 ?> 221 <fieldset ><legend><?php echo __('Report'); ?></legend>223 <fieldset id="setting-<?php echo $t; ?>-report"><legend><?php echo __('Report'); ?></legend> 222 224 <div class="three-cols"> 223 225 <?php … … 226 228 $blog_request = $O->getSetting('requests'); 227 229 230 $i = 0; 228 231 foreach($groups as $k_group => $v_group) 229 232 { … … 248 251 <?php 249 252 253 $i++; 254 if ($i == 3) { 255 ?></div><div class="three-cols"><?php 256 $i = 0; 257 } 250 258 } 251 259 … … 272 280 form::hidden(array('p'),'activityReport'). 273 281 form::hidden(array('tab'),$t.'_settings'). 282 form::hidden(array('section'),$section). 274 283 $core->formNonce(); 275 284 ?> … … 328 337 ' offline' : ''; 329 338 $date = dt::str( 330 $core->blog->settings-> date_format.', '.$core->blog->settings->time_format,339 $core->blog->settings->system->date_format.', '.$core->blog->settings->system->time_format, 331 340 strtotime($logs->activity_dt), 332 341 $core->auth->getInfo('user_tz') -
plugins/activityReport/index.php
r2018 r2315 13 13 if (!defined('DC_CONTEXT_ADMIN')){return;} 14 14 15 if (! $core->activityReport instanceof activityReport){return;}15 if (!defined('ACTIVITY_REPORT')){return;} 16 16 17 17 dcPage::check('admin'); … … 29 29 dcPage::jsLoad('js/_posts_list.js'). 30 30 dcPage::jsToolBar(). 31 dcPage::jsPageTabs($tab); 31 dcPage::jsPageTabs($tab). 32 dcPage::jsLoad('index.php?pf=activityReport/js/main.js'). 33 '<script type="text/javascript">'."\n//<![CDATA[\n". 34 dcPage::jsVar('jcToolsBox.prototype.text_wait',__('Please wait')). 35 dcPage::jsVar('jcToolsBox.prototype.section',$section). 36 "\n//]]>\n</script>\n"; 32 37 ?> 33 38 </head> -
plugins/activityReport/locales/fr/main.lang.php
r2035 r2315 1 1 <?php 2 // Language: français3 // Module: activityReport - 0.94 // Date: 2010-0 1-29 17:27:055 // Translated with dcTranslater - 1. 32 // Language: Français 3 // Module: activityReport - 1.0 4 // Date: 2010-06-07 00:04:46 5 // Translated with dcTranslater - 1.4 6 6 7 7 #_admin.php:19 8 8 #_admin.php:88 9 #inc/class.activity.report.php:43 39 #inc/class.activity.report.php:434 10 10 #inc/lib.parselogs.config.php:33 11 11 #index.php:26 12 #index.php: 3712 #index.php:42 13 13 $GLOBALS['__l10n']['Activity report'] = 'Rapport d\'activité'; 14 14 … … 123 123 $GLOBALS['__l10n']['User named "%s" has been deleted by "%"'] = 'L\'utilisateur nommé "%s" a été supprimé par "%s"'; 124 124 125 #inc/class.activity.report.php:42 7125 #inc/class.activity.report.php:428 126 126 $GLOBALS['__l10n']['An error occured when parsing report.'] = 'Une erreur est survenue lors de la compilation du rapport.'; 127 127 128 #inc/class.activity.report.php:43 6128 #inc/class.activity.report.php:437 129 129 $GLOBALS['__l10n']['You received a message from your blog\'s activity report module.'] = 'Vous recevez un message du module de rapport d\'activité de votre blog.'; 130 130 131 #inc/class.activity.report.php:44 2131 #inc/class.activity.report.php:443 132 132 $GLOBALS['__l10n']['Period from %s to %s'] = 'Période du %s au %s'; 133 133 134 #inc/class.activity.report.php:48 8134 #inc/class.activity.report.php:489 135 135 $GLOBALS['__l10n']['Activity report deletes some old logs.'] = 'L\'extension a automatiquement effacé des anciennes activités.'; 136 136 137 #inc/class.activity.report.php: 642137 #inc/class.activity.report.php:706 138 138 $GLOBALS['__l10n']['Activity report module'] = 'Module de rapport d\'activité'; 139 139 140 #inc/class.activity.report.php: 654141 #inc/class.activity.report.php: 655140 #inc/class.activity.report.php:718 141 #inc/class.activity.report.php:719 142 142 $GLOBALS['__l10n']['Blog activity report'] = 'Rapport d\'activité du blog'; 143 144 #inc/lib.activity.report.index.php:31145 #inc/lib.activity.report.index.php:40146 $GLOBALS['__l10n']['every hour'] = 'toutes les heures';147 148 #inc/lib.activity.report.index.php:32149 #inc/lib.activity.report.index.php:41150 $GLOBALS['__l10n']['every 2 hours'] = 'toutes les 2 heures';151 143 152 144 #inc/lib.activity.report.index.php:33 153 145 #inc/lib.activity.report.index.php:42 154 $GLOBALS['__l10n'][' 2 times by day'] = '2 fois par jour';146 $GLOBALS['__l10n']['every hour'] = 'toutes les heures'; 155 147 156 148 #inc/lib.activity.report.index.php:34 157 149 #inc/lib.activity.report.index.php:43 158 $GLOBALS['__l10n']['every day'] = 'tous les jours';150 $GLOBALS['__l10n']['every 2 hours'] = 'toutes les 2 heures'; 159 151 160 152 #inc/lib.activity.report.index.php:35 161 153 #inc/lib.activity.report.index.php:44 162 $GLOBALS['__l10n'][' every 2 days'] = 'tous les 2 jours';154 $GLOBALS['__l10n']['2 times by day'] = '2 fois par jour'; 163 155 164 156 #inc/lib.activity.report.index.php:36 165 157 #inc/lib.activity.report.index.php:45 158 $GLOBALS['__l10n']['every day'] = 'tous les jours'; 159 160 #inc/lib.activity.report.index.php:37 161 #inc/lib.activity.report.index.php:46 162 $GLOBALS['__l10n']['every 2 days'] = 'tous les 2 jours'; 163 164 #inc/lib.activity.report.index.php:38 165 #inc/lib.activity.report.index.php:47 166 166 $GLOBALS['__l10n']['every week'] = 'toutes les semaines'; 167 167 168 #inc/lib.activity.report.index.php:4 6168 #inc/lib.activity.report.index.php:48 169 169 $GLOBALS['__l10n']['every 2 weeks'] = 'toutes les 2 semaines'; 170 170 171 #inc/lib.activity.report.index.php:4 7171 #inc/lib.activity.report.index.php:49 172 172 $GLOBALS['__l10n']['every 4 weeks'] = 'toutes les 4 semaines'; 173 173 174 #inc/lib.activity.report.index.php:5 1174 #inc/lib.activity.report.index.php:53 175 175 $GLOBALS['__l10n']['Plain text'] = 'Texte brut'; 176 176 177 #inc/lib.activity.report.index.php:5 2177 #inc/lib.activity.report.index.php:54 178 178 $GLOBALS['__l10n']['HTML'] = 'HTML'; 179 179 180 #inc/lib.activity.report.index.php:1 09180 #inc/lib.activity.report.index.php:111 181 181 $GLOBALS['__l10n']['never'] = 'jamais'; 182 182 183 #inc/lib.activity.report.index.php:11 2183 #inc/lib.activity.report.index.php:114 184 184 $GLOBALS['__l10n']['on new activity'] = 'lors d\'une nouvelle activité'; 185 185 186 #inc/lib.activity.report.index.php:12 1187 #inc/lib.activity.report.index.php:12 2186 #inc/lib.activity.report.index.php:123 187 #inc/lib.activity.report.index.php:124 188 188 $GLOBALS['__l10n']['RSS feed'] = 'Flux RSS'; 189 189 190 #inc/lib.activity.report.index.php:12 3190 #inc/lib.activity.report.index.php:125 191 191 $GLOBALS['__l10n']['Rss2 feed for activity on this blog'] = 'Flux Rss2 pour l\'activité de ce blog'; 192 192 193 #inc/lib.activity.report.index.php:12 5194 #inc/lib.activity.report.index.php:12 6193 #inc/lib.activity.report.index.php:127 194 #inc/lib.activity.report.index.php:128 195 195 $GLOBALS['__l10n']['Atom feed'] = 'Flux Atom'; 196 196 197 #inc/lib.activity.report.index.php:12 7197 #inc/lib.activity.report.index.php:129 198 198 $GLOBALS['__l10n']['Atom feed for activity on this blog'] = 'Flux Atom pour l\'activité de ce blog'; 199 199 200 #inc/lib.activity.report.index.php:13 3201 #index.php:4 1200 #inc/lib.activity.report.index.php:135 201 #index.php:46 202 202 $GLOBALS['__l10n']['Settings'] = 'Paramètres'; 203 203 204 #inc/lib.activity.report.index.php:1 39204 #inc/lib.activity.report.index.php:141 205 205 $GLOBALS['__l10n']['Enable super administrator report'] = 'Autoriser le rapport de super administrateur'; 206 206 207 #inc/lib.activity.report.index.php:14 0207 #inc/lib.activity.report.index.php:142 208 208 $GLOBALS['__l10n']['Enable report on this blog'] = 'Autoriser le rapport sur ce blog'; 209 209 210 #inc/lib.activity.report.index.php:14 3210 #inc/lib.activity.report.index.php:145 211 211 $GLOBALS['__l10n']['Automatic cleaning of old logs:'] = 'Nettoyage automatique des anciennes activités:'; 212 212 213 #inc/lib.activity.report.index.php:15 5213 #inc/lib.activity.report.index.php:157 214 214 $GLOBALS['__l10n']['Add activity report on dashboard items'] = 'Ajouter le rapport d\'activité au tableau de bord'; 215 215 216 #inc/lib.activity.report.index.php:16 2216 #inc/lib.activity.report.index.php:164 217 217 $GLOBALS['__l10n']['Send report:'] = 'Rapport envoyé :'; 218 218 219 #inc/lib.activity.report.index.php:1 69219 #inc/lib.activity.report.index.php:171 220 220 $GLOBALS['__l10n']['Use Dotclear date formaters. ex: %B %d at %H:%M'] = 'Utiliser le formatage des dates de Dotclear. ex: %d %B à %H:%M'; 221 221 222 #inc/lib.activity.report.index.php:17 1222 #inc/lib.activity.report.index.php:173 223 223 $GLOBALS['__l10n']['Report format:'] = 'Format du rapport :'; 224 224 225 #inc/lib.activity.report.index.php:17 5225 #inc/lib.activity.report.index.php:177 226 226 $GLOBALS['__l10n']['Recipients:'] = 'Destinataires :'; 227 227 228 #inc/lib.activity.report.index.php:1 78228 #inc/lib.activity.report.index.php:180 229 229 $GLOBALS['__l10n']['Separate multiple email addresses with a semicolon ";"'] = 'Séparer les adresses email par un point-virgule ";"'; 230 230 231 #inc/lib.activity.report.index.php:18 1231 #inc/lib.activity.report.index.php:183 232 232 $GLOBALS['__l10n']['Last report by email:'] = 'Dernier rapport par email :'; 233 233 234 #inc/lib.activity.report.index.php:18 2234 #inc/lib.activity.report.index.php:184 235 235 $GLOBALS['__l10n']['Next report by email:'] = 'Prochain rapport par email :'; 236 236 237 #inc/lib.activity.report.index.php:22 1237 #inc/lib.activity.report.index.php:223 238 238 $GLOBALS['__l10n']['Report'] = 'Rapport'; 239 239 240 #inc/lib.activity.report.index.php:2 62240 #inc/lib.activity.report.index.php:270 241 241 $GLOBALS['__l10n']['Send report by email now'] = 'Envoyer un rapport par email maintenant'; 242 242 243 #inc/lib.activity.report.index.php:268 244 $GLOBALS['__l10n']['Delete all logs'] = 'Supprimer tous les enregistrements'; 245 246 #inc/lib.activity.report.index.php:305 243 #inc/lib.activity.report.index.php:314 247 244 $GLOBALS['__l10n']['No log'] = 'Pas d\'enregistrement'; 248 245 249 #inc/lib.activity.report.index.php:3 15246 #inc/lib.activity.report.index.php:324 250 247 $GLOBALS['__l10n']['Message'] = 'Message'; 251 248 252 #index.php:42 249 #index.php:34 250 $GLOBALS['__l10n']['Please wait'] = 'Veuillez patienter'; 251 252 #index.php:47 253 253 $GLOBALS['__l10n']['Logs'] = 'Enregistrements'; 254 254 255 #index.php: 46255 #index.php:51 256 256 $GLOBALS['__l10n']['Super settings'] = 'Super paramètres'; 257 257 258 #index.php: 47258 #index.php:52 259 259 $GLOBALS['__l10n']['Super logs'] = 'Super enregistrements'; 260 260 -
plugins/activityReport/locales/fr/main.po
r2035 r2315 1 # Language: français2 # Module: activityReport - 0.93 # Date: 2010-0 1-29 17:27:054 # Translated with translater 1. 31 # Language: Français 2 # Module: activityReport - 1.0 3 # Date: 2010-06-07 00:04:47 4 # Translated with translater 1.4 5 5 6 6 msgid "" 7 7 msgstr "" 8 8 "Content-Type: text/plain; charset=UTF-8\n" 9 "Project-Id-Version: activityReport 0.9\n"9 "Project-Id-Version: activityReport 1.0\n" 10 10 "POT-Creation-Date: \n" 11 "PO-Revision-Date: 2010-0 1-29T17:27:05+00:00\n"11 "PO-Revision-Date: 2010-06-07T00:04:47+00:00\n" 12 12 "Last-Translator: JC Denis\n" 13 13 "Language-Team: \n" … … 17 17 #: _admin.php:19 18 18 #: _admin.php:88 19 #: inc/class.activity.report.php:43 319 #: inc/class.activity.report.php:434 20 20 #: inc/lib.parselogs.config.php:33 21 21 #: index.php:26 22 #: index.php: 3722 #: index.php:42 23 23 msgid "Activity report" 24 24 msgstr "Rapport d'activité" … … 170 170 msgstr "L'utilisateur nommé \"%s\" a été supprimé par \"%s\"" 171 171 172 #: inc/class.activity.report.php:42 7172 #: inc/class.activity.report.php:428 173 173 msgid "An error occured when parsing report." 174 174 msgstr "Une erreur est survenue lors de la compilation du rapport." 175 175 176 #: inc/class.activity.report.php:43 6176 #: inc/class.activity.report.php:437 177 177 msgid "You received a message from your blog's activity report module." 178 178 msgstr "Vous recevez un message du module de rapport d'activité de votre blog." 179 179 180 #: inc/class.activity.report.php:44 2180 #: inc/class.activity.report.php:443 181 181 msgid "Period from %s to %s" 182 182 msgstr "Période du %s au %s" 183 183 184 #: inc/class.activity.report.php:48 8184 #: inc/class.activity.report.php:489 185 185 msgid "Activity report deletes some old logs." 186 186 msgstr "L'extension a automatiquement effacé des anciennes activités." 187 187 188 #: inc/class.activity.report.php: 642188 #: inc/class.activity.report.php:706 189 189 msgid "Activity report module" 190 190 msgstr "Module de rapport d'activité" 191 191 192 #: inc/class.activity.report.php: 654193 #: inc/class.activity.report.php: 655192 #: inc/class.activity.report.php:718 193 #: inc/class.activity.report.php:719 194 194 msgid "Blog activity report" 195 195 msgstr "Rapport d'activité du blog" 196 196 197 #: inc/lib.activity.report.index.php:3 1198 #: inc/lib.activity.report.index.php:4 0197 #: inc/lib.activity.report.index.php:33 198 #: inc/lib.activity.report.index.php:42 199 199 msgid "every hour" 200 200 msgstr "toutes les heures" 201 201 202 #: inc/lib.activity.report.index.php:3 2203 #: inc/lib.activity.report.index.php:4 1202 #: inc/lib.activity.report.index.php:34 203 #: inc/lib.activity.report.index.php:43 204 204 msgid "every 2 hours" 205 205 msgstr "toutes les 2 heures" 206 206 207 #: inc/lib.activity.report.index.php:3 3208 #: inc/lib.activity.report.index.php:4 2207 #: inc/lib.activity.report.index.php:35 208 #: inc/lib.activity.report.index.php:44 209 209 msgid "2 times by day" 210 210 msgstr "2 fois par jour" 211 211 212 #: inc/lib.activity.report.index.php:3 4213 #: inc/lib.activity.report.index.php:4 3212 #: inc/lib.activity.report.index.php:36 213 #: inc/lib.activity.report.index.php:45 214 214 msgid "every day" 215 215 msgstr "tous les jours" 216 216 217 #: inc/lib.activity.report.index.php:3 5218 #: inc/lib.activity.report.index.php:4 4217 #: inc/lib.activity.report.index.php:37 218 #: inc/lib.activity.report.index.php:46 219 219 msgid "every 2 days" 220 220 msgstr "tous les 2 jours" 221 221 222 #: inc/lib.activity.report.index.php:3 6223 #: inc/lib.activity.report.index.php:4 5222 #: inc/lib.activity.report.index.php:38 223 #: inc/lib.activity.report.index.php:47 224 224 msgid "every week" 225 225 msgstr "toutes les semaines" 226 226 227 #: inc/lib.activity.report.index.php:4 6227 #: inc/lib.activity.report.index.php:48 228 228 msgid "every 2 weeks" 229 229 msgstr "toutes les 2 semaines" 230 230 231 #: inc/lib.activity.report.index.php:4 7231 #: inc/lib.activity.report.index.php:49 232 232 msgid "every 4 weeks" 233 233 msgstr "toutes les 4 semaines" 234 234 235 #: inc/lib.activity.report.index.php:5 1235 #: inc/lib.activity.report.index.php:53 236 236 msgid "Plain text" 237 237 msgstr "Texte brut" 238 238 239 #: inc/lib.activity.report.index.php:5 2239 #: inc/lib.activity.report.index.php:54 240 240 msgid "HTML" 241 241 msgstr "HTML" 242 242 243 #: inc/lib.activity.report.index.php:1 09243 #: inc/lib.activity.report.index.php:111 244 244 msgid "never" 245 245 msgstr "jamais" 246 246 247 #: inc/lib.activity.report.index.php:11 2247 #: inc/lib.activity.report.index.php:114 248 248 msgid "on new activity" 249 249 msgstr "lors d'une nouvelle activité" 250 250 251 #: inc/lib.activity.report.index.php:12 1252 #: inc/lib.activity.report.index.php:12 2251 #: inc/lib.activity.report.index.php:123 252 #: inc/lib.activity.report.index.php:124 253 253 msgid "RSS feed" 254 254 msgstr "Flux RSS" 255 255 256 #: inc/lib.activity.report.index.php:12 3256 #: inc/lib.activity.report.index.php:125 257 257 msgid "Rss2 feed for activity on this blog" 258 258 msgstr "Flux Rss2 pour l'activité de ce blog" 259 259 260 #: inc/lib.activity.report.index.php:12 5261 #: inc/lib.activity.report.index.php:12 6260 #: inc/lib.activity.report.index.php:127 261 #: inc/lib.activity.report.index.php:128 262 262 msgid "Atom feed" 263 263 msgstr "Flux Atom" 264 264 265 #: inc/lib.activity.report.index.php:12 7265 #: inc/lib.activity.report.index.php:129 266 266 msgid "Atom feed for activity on this blog" 267 267 msgstr "Flux Atom pour l'activité de ce blog" 268 268 269 #: inc/lib.activity.report.index.php:13 3270 #: index.php:4 1269 #: inc/lib.activity.report.index.php:135 270 #: index.php:46 271 271 msgid "Settings" 272 272 msgstr "Paramètres" 273 273 274 #: inc/lib.activity.report.index.php:1 39274 #: inc/lib.activity.report.index.php:141 275 275 msgid "Enable super administrator report" 276 276 msgstr "Autoriser le rapport de super administrateur" 277 277 278 #: inc/lib.activity.report.index.php:14 0278 #: inc/lib.activity.report.index.php:142 279 279 msgid "Enable report on this blog" 280 280 msgstr "Autoriser le rapport sur ce blog" 281 281 282 #: inc/lib.activity.report.index.php:14 3282 #: inc/lib.activity.report.index.php:145 283 283 msgid "Automatic cleaning of old logs:" 284 284 msgstr "Nettoyage automatique des anciennes activités:" 285 285 286 #: inc/lib.activity.report.index.php:15 5286 #: inc/lib.activity.report.index.php:157 287 287 msgid "Add activity report on dashboard items" 288 288 msgstr "Ajouter le rapport d'activité au tableau de bord" 289 289 290 #: inc/lib.activity.report.index.php:16 2290 #: inc/lib.activity.report.index.php:164 291 291 msgid "Send report:" 292 292 msgstr "Rapport envoyé :" 293 293 294 #: inc/lib.activity.report.index.php:1 69294 #: inc/lib.activity.report.index.php:171 295 295 msgid "Use Dotclear date formaters. ex: %B %d at %H:%M" 296 296 msgstr "Utiliser le formatage des dates de Dotclear. ex: %d %B à %H:%M" 297 297 298 #: inc/lib.activity.report.index.php:17 1298 #: inc/lib.activity.report.index.php:173 299 299 msgid "Report format:" 300 300 msgstr "Format du rapport :" 301 301 302 #: inc/lib.activity.report.index.php:17 5302 #: inc/lib.activity.report.index.php:177 303 303 msgid "Recipients:" 304 304 msgstr "Destinataires :" 305 305 306 #: inc/lib.activity.report.index.php:1 78306 #: inc/lib.activity.report.index.php:180 307 307 msgid "Separate multiple email addresses with a semicolon \";\"" 308 308 msgstr "Séparer les adresses email par un point-virgule \";\"" 309 309 310 #: inc/lib.activity.report.index.php:18 1310 #: inc/lib.activity.report.index.php:183 311 311 msgid "Last report by email:" 312 312 msgstr "Dernier rapport par email :" 313 313 314 #: inc/lib.activity.report.index.php:18 2314 #: inc/lib.activity.report.index.php:184 315 315 msgid "Next report by email:" 316 316 msgstr "Prochain rapport par email :" 317 317 318 #: inc/lib.activity.report.index.php:22 1318 #: inc/lib.activity.report.index.php:223 319 319 msgid "Report" 320 320 msgstr "Rapport" 321 321 322 #: inc/lib.activity.report.index.php:2 62322 #: inc/lib.activity.report.index.php:270 323 323 msgid "Send report by email now" 324 324 msgstr "Envoyer un rapport par email maintenant" 325 325 326 #: inc/lib.activity.report.index.php:268 327 msgid "Delete all logs" 328 msgstr "Supprimer tous les enregistrements" 329 330 #: inc/lib.activity.report.index.php:305 326 #: inc/lib.activity.report.index.php:314 331 327 msgid "No log" 332 328 msgstr "Pas d'enregistrement" 333 329 334 #: inc/lib.activity.report.index.php:3 15330 #: inc/lib.activity.report.index.php:324 335 331 msgid "Message" 336 332 msgstr "Message" 337 333 338 #: index.php:42 334 #: index.php:34 335 msgid "Please wait" 336 msgstr "Veuillez patienter" 337 338 #: index.php:47 339 339 msgid "Logs" 340 340 msgstr "Enregistrements" 341 341 342 #: index.php: 46342 #: index.php:51 343 343 msgid "Super settings" 344 344 msgstr "Super paramètres" 345 345 346 #: index.php: 47346 #: index.php:52 347 347 msgid "Super logs" 348 348 msgstr "Super enregistrements" -
plugins/activityReport/release.txt
r2035 r2315 1 1 x.x xxxxxxxx 2 2 - Not fixed bug with send mail on 1&1 3 - Not fixed bug with plugin autobackup, 3 - Not fixed bug with plugin autobackup 4 5 1.0 20100606 6 * Switched to DC 2.2 7 * Fixed simultaneous report (used php flock) 8 * Changed admin interface 9 4 10 5 11 0.9 20100129
Note: See TracChangeset
for help on using the changeset viewer.