Dotclear

Changeset 1977


Ignore:
Timestamp:
12/12/09 21:58:19 (3 years ago)
Author:
JcDenis
Message:

eventdata 0.8:

  • Fixed multiple Datpickers by using DC ticket380 and changset 2757
  • Prepared DC 2.2 break
  • Added template condition for events on one day
  • Added LICENSE
  • Added events to plugin activityReport
Location:
plugins/eventdata
Files:
9 added
1 deleted
20 edited

Legend:

Unmodified
Added
Removed
  • plugins/eventdata/_admin.php

    r1484 r1977  
    22# -- BEGIN LICENSE BLOCK ---------------------------------- 
    33# This file is part of eventdata, a plugin for Dotclear 2. 
    4 # 
     4#  
    55# Copyright (c) 2009 JC Denis and contributors 
    66# jcdenis@gdwd.com 
    7 # 
     7#  
    88# Licensed under the GPL version 2.0 license. 
    99# A copy of this license is available in LICENSE file or at 
     
    6262     public static function adminPostHeaders($post_page=true) 
    6363     { 
    64           return 
    65           ($post_page ?  
     64          if ($post_page) 
     65          { 
     66               return  
     67               '<link rel="stylesheet" type="text/css" href="index.php?pf=eventdata/style.css" />'."\n". 
    6668               dcPage::jsLoad('index.php?pf=eventdata/js/post.js'). 
    6769               '<script type="text/javascript">'."\n". 
     
    7476               dcPage::jsVar('eventdataEditor.prototype.title_list',__('Linked events')). 
    7577               "\n//]]>\n". 
    76                "</script>\n" 
    77           :  
    78                dcPage::jsLoad('index.php?pf=eventdata/js/admin.js') 
    79           ). 
    80           # Next version fixes Multiple Datpickers by using DC ticket 380 and changset 2757 
    81           dcPage::jsLoad('index.php?pf=eventdata/js/datepickerBC.js'). 
    82           '<script type="text/javascript">'."\n". 
    83           "//<![CDATA[\n". 
    84           "datePickerB.prototype.months[0] = datePickerC.prototype.months[0] = '".html::escapeJS(__('January'))."'; ". 
    85           "datePickerB.prototype.months[1] = datePickerC.prototype.months[1] = '".html::escapeJS(__('February'))."'; ". 
    86           "datePickerB.prototype.months[2] = datePickerC.prototype.months[2] = '".html::escapeJS(__('March'))."'; ". 
    87           "datePickerB.prototype.months[3] = datePickerC.prototype.months[3] = '".html::escapeJS(__('April'))."'; ". 
    88           "datePickerB.prototype.months[4] = datePickerC.prototype.months[4] = '".html::escapeJS(__('May'))."'; ". 
    89           "datePickerB.prototype.months[5] = datePickerC.prototype.months[5] = '".html::escapeJS(__('June'))."'; ". 
    90           "datePickerB.prototype.months[6] = datePickerC.prototype.months[6] = '".html::escapeJS(__('July'))."'; ". 
    91           "datePickerB.prototype.months[7] = datePickerC.prototype.months[7] = '".html::escapeJS(__('August'))."'; ". 
    92           "datePickerB.prototype.months[8] = datePickerC.prototype.months[8] = '".html::escapeJS(__('September'))."'; ". 
    93           "datePickerB.prototype.months[9] = datePickerC.prototype.months[9] = '".html::escapeJS(__('October'))."'; ". 
    94           "datePickerB.prototype.months[10] = datePickerC.prototype.months[10] = '".html::escapeJS(__('November'))."'; ". 
    95           "datePickerB.prototype.months[11] = datePickerC.prototype.months[11] = '".html::escapeJS(__('December'))."'; ". 
    96           "datePickerB.prototype.days[0] = datePickerC.prototype.days[0] = '".html::escapeJS(__('Monday'))."'; ". 
    97           "datePickerB.prototype.days[1] = datePickerC.prototype.days[1] = '".html::escapeJS(__('Tuesday'))."'; ". 
    98           "datePickerB.prototype.days[2] = datePickerC.prototype.days[2] = '".html::escapeJS(__('Wednesday'))."'; ". 
    99           "datePickerB.prototype.days[3] = datePickerC.prototype.days[3] = '".html::escapeJS(__('Thursday'))."'; ". 
    100           "datePickerB.prototype.days[4] = datePickerC.prototype.days[4] = '".html::escapeJS(__('Friday'))."'; ". 
    101           "datePickerB.prototype.days[5] = datePickerC.prototype.days[5] = '".html::escapeJS(__('Saturday'))."'; ". 
    102           "datePickerB.prototype.days[6] = datePickerC.prototype.days[6] = '".html::escapeJS(__('Sunday'))."'; ". 
    103           "datePickerB.prototype.img_src = datePickerC.prototype.img_src = 'images/date-picker.png'; ". 
    104           "datePickerB.prototype.close_msg = datePickerC.prototype.close_msg = '".html::escapeJS(__('close'))."'; ". 
    105           "datePickerB.prototype.now_msg = datePickerC.prototype.now_msg = '".html::escapeJS(__('now'))."'; ". 
    106           "\n//]]>\n". 
    107           "</script>\n". 
    108           '<link rel="stylesheet" type="text/css" href="index.php?pf=eventdata/style.css" />'; 
     78               "</script>\n"; 
     79          } 
     80          else 
     81          { 
     82               return  
     83               '<link rel="stylesheet" type="text/css" href="index.php?pf=eventdata/style.css" />'. 
     84               dcPage::jsDatePicker(). 
     85               dcPage::jsLoad('index.php?pf=eventdata/js/admin.js'); 
     86          } 
    10987     } 
    11088     # Sidebar for post.php 
     
    302280          echo  
    303281          self::adminPostHeaders(false). 
    304           '<link rel="stylesheet" type="text/css" href="style/date-picker.css" />'."\n". 
    305282          '<div id="edit-eventdata">'. 
    306283          '<h3>'.__('Add event').'</h3>'. 
  • plugins/eventdata/_define.php

    r1484 r1977  
    22# -- BEGIN LICENSE BLOCK ---------------------------------- 
    33# This file is part of eventdata, a plugin for Dotclear 2. 
    4 # 
     4#  
    55# Copyright (c) 2009 JC Denis and contributors 
    66# jcdenis@gdwd.com 
    7 # 
     7#  
    88# Licensed under the GPL version 2.0 license. 
    99# A copy of this license is available in LICENSE file or at 
     
    1717     /* Description*/         "Add period to your posts", 
    1818     /* Author */             "JC Denis", 
    19      /* Version */            '0.7', 
     19     /* Version */            '0.8', 
    2020     /* Permissions */        'usage,contentadmin,eventdata' 
    2121); 
    22      /* date */          #20090830 
     22     /* date */          #20091212 
    2323?> 
  • plugins/eventdata/_install.php

    r1484 r1977  
    22# -- BEGIN LICENSE BLOCK ---------------------------------- 
    33# This file is part of eventdata, a plugin for Dotclear 2. 
    4 # 
     4#  
    55# Copyright (c) 2009 JC Denis and contributors 
    66# jcdenis@gdwd.com 
    7 # 
     7#  
    88# Licensed under the GPL version 2.0 license. 
    99# A copy of this license is available in LICENSE file or at 
     
    2020# Install 
    2121try { 
    22      # Is DC 2.1.5 ? 
    23      if (!version_compare(DC_VERSION,'2.1.5','>=')) { 
    24  
    25           throw new Exception('eventdata requires Dotclear 2.1.5'); 
     22     # Check DC version (dev on) //2.1.6 due to datepicker 
     23     if (!version_compare(DC_VERSION,'2.1.6','>=')) { 
     24          throw new Exception('Plugin called eventdata requires Dotclear 2.1.5 or higher.'); 
     25     } 
     26     # Check DC version (new settings) 
     27     if (version_compare(DC_VERSION,'2.2','>=')) { 
     28          throw new Exception('Plugin called eventdata requires Dotclear up to 2.2.'); 
    2629     } 
    2730     # Database schema 
  • plugins/eventdata/_prepend.php

    r1415 r1977  
    22# -- BEGIN LICENSE BLOCK ---------------------------------- 
    33# This file is part of eventdata, a plugin for Dotclear 2. 
    4 # 
     4#  
    55# Copyright (c) 2009 JC Denis and contributors 
    66# jcdenis@gdwd.com 
    7 # 
     7#  
    88# Licensed under the GPL version 2.0 license. 
    99# A copy of this license is available in LICENSE file or at 
     
    3333$core->url->register('eventdatafiles', 
    3434     'eventstheme','^eventstheme/(.+)$',array('eventdataPublic','eventdatastheme')); 
     35# Add eventdata report on plugin activityReport 
     36if (defined('ACTIVITY_REPORT')) 
     37{ 
     38     require_once dirname(__FILE__).'/inc/lib.rateit.activityreport.php'; 
     39} 
    3540?> 
  • plugins/eventdata/_public.php

    r1484 r1977  
    22# -- BEGIN LICENSE BLOCK ---------------------------------- 
    33# This file is part of eventdata, a plugin for Dotclear 2. 
    4 # 
     4#  
    55# Copyright (c) 2009 JC Denis and contributors 
    66# jcdenis@gdwd.com 
    7 # 
     7#  
    88# Licensed under the GPL version 2.0 license. 
    99# A copy of this license is available in LICENSE file or at 
     
    6969     $core->tpl->addBlock('EntryEventdataDates' 
    7070          ,array('eventdataPublic','EntryEventdataDates')); 
     71     $core->tpl->addBlock('EventdataDatesIf', 
     72          array('eventdataPublic','EventdataDatesIf')); 
    7173     $core->tpl->addBlock('EventdataDatesHeader', 
    7274          array('eventdataPublic','EventdataDatesHeader')); 
     
    241243          '?>'; 
    242244     } 
     245     # Condition 
     246     public static function EventdataDatesIf($attr,$content) 
     247     { 
     248          $operator = isset($attr['operator']) ? self::getOperator($attr['operator']) : '&&'; 
     249 
     250          if (isset($attr['oneday'])) { 
     251 
     252               $sign = 1 == $attr['oneday'] ? '=' : '!'; 
     253               $if[] = "dt::dt2str('%Y%j',\$_ctx->{\$eventdatactx}->eventdata_start) ".$sign."= dt::dt2str('%Y%j',\$_ctx->{\$eventdatactx}->eventdata_end) "; 
     254          } 
     255 
     256          if (empty($if)) 
     257               return $content; 
     258 
     259          return self::eventdataCtx("<?php if(".implode(' '.$operator.' ',$if).") : ?>\n".$content."<?php endif; ?>\n"); 
     260     } 
    243261     # Start of loop of EntryEventdataDates 
    244262     public static function EventdataDatesHeader($attr,$content) 
     
    355373          " echo ".sprintf($f,(empty($attr['strict']) ? "__('finished')" : "'finished'"))."; }\n"; 
    356374 
    357           return self::eventdataCtx('<?php '.$res.'; ?>'); 
     375          return self::eventdataCtx('<?php '.$res.' ?>'); 
    358376     } 
    359377     # Location of an eventdata 
  • plugins/eventdata/_uninstall.php

    r1415 r1977  
    22# -- BEGIN LICENSE BLOCK ---------------------------------- 
    33# This file is part of eventdata, a plugin for Dotclear 2. 
    4 # 
     4#  
    55# Copyright (c) 2009 JC Denis and contributors 
    66# jcdenis@gdwd.com 
    7 # 
     7#  
    88# Licensed under the GPL version 2.0 license. 
    99# A copy of this license is available in LICENSE file or at 
     
    4848     /* action */ 'delete_all', 
    4949     /* ns */ 'eventdata', 
    50      /* description */ __('delete all settings') 
     50     /* description */ sprintf(__('delete all %s settings'),'eventdata') 
    5151); 
    5252 
     
    5555     /* action */ 'delete', 
    5656     /* ns */ 'eventdata', 
    57      /* description */ __('delete eventdata plugin files') 
     57     /* description */ sprintf(__('delete %s plugin files'),'eventdata') 
    5858); 
    5959 
     
    6262     /* action */ 'delete', 
    6363     /* ns */ 'eventdata', 
    64      /* description */ __('delete eventdata version number') 
     64     /* description */ sprintf(__('delete %s version number'),'eventdata') 
    6565); 
    6666 
  • plugins/eventdata/_widgets.php

    r1484 r1977  
    22# -- BEGIN LICENSE BLOCK ---------------------------------- 
    33# This file is part of eventdata, a plugin for Dotclear 2. 
    4 # 
     4#  
    55# Copyright (c) 2009 JC Denis and contributors 
    66# jcdenis@gdwd.com 
    7 # 
     7#  
    88# Licensed under the GPL version 2.0 license. 
    99# A copy of this license is available in LICENSE file or at 
  • plugins/eventdata/default-templates/eventdata-default/eventdataentryaftercontent.html

    r1005 r1977  
    66    <tpl:EntryEventdataDates lastn="3"> 
    77    <tpl:EventdataDatesHeader><div class="post-eventdatas"><h3>{{tpl:lang Dates of event}}</h3><ul></tpl:EventdataDatesHeader> 
    8     <li class="{{tpl:EventdataPeriod strict="1"}}">{{tpl:EventdataStartDate}} {{tpl:EventdataStartTime}} - {{tpl:EventdataEndDate}} {{tpl:EventdataEndTime}} </li> 
     8    <li class="{{tpl:EventdataPeriod strict="1"}}"> 
     9     <tpl:EventdataDatesIf oneday="1">{{tpl:EventdataStartDate}} {{tpl:lang from}} {{tpl:EventdataStartTime}} {{tpl:lang to}} {{tpl:EventdataEndTime}} </tpl:EventdataDatesIf> 
     10     <tpl:EventdataDatesIf oneday="0">{{tpl:EventdataStartDate}} {{tpl:EventdataStartTime}} - {{tpl:EventdataEndDate}} {{tpl:EventdataEndTime}} </tpl:EventdataDatesIf></li> 
    911    <tpl:EventdataDatesFooter></ul></div></tpl:EventdataDatesFooter> 
    1012    </tpl:EntryEventdataDates> 
  • plugins/eventdata/default-templates/eventdata-default/eventdatas.html

    r1685 r1977  
    105105     <!--# Eventdatas date --> 
    106106     <p class="post-info-co"> 
    107       <span class="post-eventdatas">{{tpl:EventdataStartDate}} {{tpl:EventdataStartTime}} <span class="{{tpl:EventdataPeriod strict="1"}}">&nbsp;</span>  
     107      <tpl:EventdataDatesIf oneday="0"> 
     108      <span class="post-eventdatas">{{tpl:EventdataStartDate}} {{tpl:EventdataStartTime}} <span class="{{tpl:EventdataPeriod strict="1"}}">&nbsp;</span>  
    108109      {{tpl:EventdataEndDate}} {{tpl:EventdataEndTime}}</span> 
     110      </tpl:EventdataDatesIf> 
     111      <tpl:EventdataDatesIf oneday="1"> 
     112      <span class="post-eventdatas">{{tpl:EventdataStartDate}} {{tpl:lang from}} {{tpl:EventdataStartTime}} {{tpl:lang to}} {{tpl:EventdataEndTime}} <span class="{{tpl:EventdataPeriod strict="1"}}">&nbsp;</span></span> 
     113      </tpl:EventdataDatesIf> 
    109114     </p> 
    110115     
  • plugins/eventdata/default-templates/eventdata-noviny/eventdataentrybeforecontent.html

    r1005 r1977  
    66    <tpl:EntryEventdataDates lastn="3"> 
    77    <tpl:EventdataDatesHeader><div class="post-eventdatas"><h3>{{tpl:lang Dates of event}}</h3><ul></tpl:EventdataDatesHeader> 
    8     <li class="{{tpl:EventdataPeriod strict="1"}}">{{tpl:EventdataStartDate}} {{tpl:EventdataStartTime}} - {{tpl:EventdataEndDate}} {{tpl:EventdataEndTime}} </li> 
     8    <li class="{{tpl:EventdataPeriod strict="1"}}"> 
     9     <tpl:EventdataDatesIf oneday="1">{{tpl:EventdataStartDate}} {{tpl:lang from}} {{tpl:EventdataStartTime}} {{tpl:lang to}} {{tpl:EventdataEndTime}} </tpl:EventdataDatesIf> 
     10     <tpl:EventdataDatesIf oneday="0">{{tpl:EventdataStartDate}} {{tpl:EventdataStartTime}} - {{tpl:EventdataEndDate}} {{tpl:EventdataEndTime}} </tpl:EventdataDatesIf></li> 
    911    <tpl:EventdataDatesFooter></ul></div></tpl:EventdataDatesFooter> 
    1012    </tpl:EntryEventdataDates> 
  • plugins/eventdata/inc/class.dc.eventdata.php

    r1415 r1977  
    22# -- BEGIN LICENSE BLOCK ---------------------------------- 
    33# This file is part of eventdata, a plugin for Dotclear 2. 
    4 # 
     4#  
    55# Copyright (c) 2009 JC Denis and contributors 
    66# jcdenis@gdwd.com 
    7 # 
     7#  
    88# Licensed under the GPL version 2.0 license. 
    99# A copy of this license is available in LICENSE file or at 
     
    215215 
    216216          $cur = $this->con->openCursor($this->table); 
     217          $this->con->writeLock($this->table); 
    217218 
    218219          $cur->post_id = (integer) $post_id; 
     
    222223          $cur->eventdata_location = (string) $location; 
    223224 
     225 
     226          # --BEHAVIOR-- eventdataBeforeSet 
     227          $this->core->callBehavior('eventdataBeforeSet',$cur); 
     228 
     229 
    224230          $cur->insert(); 
     231          $this->con->unlock(); 
     232          $this->core->blog->triggerBlog(); 
     233 
     234 
     235          # --BEHAVIOR-- eventdataAfterSet 
     236          $this->core->callBehavior('eventdataAfterSet',$cur); 
    225237     } 
    226238 
     
    238250                    "eventdata_location = '".$this->con->escape($location)."' "; 
    239251 
     252 
     253          # --BEHAVIOR-- eventdataBeforeUpdate 
     254          $this->core->callBehavior('eventdataBeforeUpdate',$type,$post_id,$start,$end,$location,$new_start,$new_end,$new_location); 
     255 
     256 
    240257          $this->con->execute($strReq); 
     258 
     259 
     260          # --BEHAVIOR-- eventdataAfterUpdate 
     261          $this->core->callBehavior('eventdataAfterUpdate',$type,$post_id,$start,$end,$location,$new_start,$new_end,$new_location); 
    241262     } 
    242263 
     
    253274          if ($location !== null) $strReq .= "AND eventdata_location = '".$this->con->escape($location)."' "; 
    254275 
     276 
     277          # --BEHAVIOR-- eventdataBeforeDelete 
     278          $this->core->callBehavior('eventdataBeforeDelete',$type,$post_id,$start,$end,$location); 
     279 
     280 
    255281          $this->con->execute($strReq); 
     282 
     283 
     284          # --BEHAVIOR-- eventdataAfterDelete 
     285          $this->core->callBehavior('eventdataAfterDelete',$type,$post_id,$start,$end,$location); 
    256286     } 
    257287}     
  • plugins/eventdata/inc/class.dc.eventdata.rest.php

    r1415 r1977  
    22# -- BEGIN LICENSE BLOCK ---------------------------------- 
    33# This file is part of eventdata, a plugin for Dotclear 2. 
    4 # 
     4#  
    55# Copyright (c) 2009 JC Denis and contributors 
    66# jcdenis@gdwd.com 
    7 # 
     7#  
    88# Licensed under the GPL version 2.0 license. 
    99# A copy of this license is available in LICENSE file or at 
  • plugins/eventdata/inc/class.eventdata.php

    r1415 r1977  
    22# -- BEGIN LICENSE BLOCK ---------------------------------- 
    33# This file is part of eventdata, a plugin for Dotclear 2. 
    4 # 
     4#  
    55# Copyright (c) 2009 JC Denis and contributors 
    66# jcdenis@gdwd.com 
    7 # 
     7#  
    88# Licensed under the GPL version 2.0 license. 
    99# A copy of this license is available in LICENSE file or at 
  • plugins/eventdata/inc/lib.eventdata.list.php

    r1415 r1977  
    22# -- BEGIN LICENSE BLOCK ---------------------------------- 
    33# This file is part of eventdata, a plugin for Dotclear 2. 
    4 # 
     4#  
    55# Copyright (c) 2009 JC Denis and contributors 
    66# jcdenis@gdwd.com 
    7 # 
     7#  
    88# Licensed under the GPL version 2.0 license. 
    99# A copy of this license is available in LICENSE file or at 
  • plugins/eventdata/index.php

    r1415 r1977  
    22# -- BEGIN LICENSE BLOCK ---------------------------------- 
    33# This file is part of eventdata, a plugin for Dotclear 2. 
    4 # 
     4#  
    55# Copyright (c) 2009 JC Denis and contributors 
    66# jcdenis@gdwd.com 
    7 # 
     7#  
    88# Licensed under the GPL version 2.0 license. 
    99# A copy of this license is available in LICENSE file or at 
     
    2828# Menu 
    2929$tab = array( 
    30      'about' => __('About'), 
    3130     'pst' => __('Entries'), 
    3231     'cat' => __('Categories'), 
     
    224223if (!$core->blog->settings->eventdata_active && empty($request_tab)) $request_tab = 'adm'; 
    225224if ($core->blog->settings->eventdata_active && empty($request_tab)) $request_tab = 'pst'; 
    226 if (!array_key_exists($request_tab,$tab)) $request_tab = 'about'; 
     225if (!array_key_exists($request_tab,$tab)) $request_tab = 'adm'; 
    227226 
    228227 
     
    659658</div> 
    660659 
    661  
    662 <div class="multi-part" id="about" title="<?php echo $tab['about']; ?>"> 
    663 <h2><?php echo __('About'); ?></h2> 
    664 <h3><?php echo __('Version:'); ?></h3> 
    665 <p>eventdata <?php echo $core->plugins->moduleInfo('eventdata','version'); ?></p> 
    666 <h3><?php echo __('Support:'); ?></h3><p> 
    667  <a href="http://dotclear.jcdenis.com/post/2009/07/03/eventdata"> 
    668  http://dotclear.jcdenis.com/post/2009/07/03/eventdata</a><br /> 
    669  <a href="http://forum.dotclear.net/viewtopic.php?id=38801"> 
    670  http://forum.dotclear.net/viewtopic.php?id=38801</a><br /> 
    671  There is a full README file in French available at the root of this extension.</p> 
    672 <h3><?php echo __('Copyrights:'); ?></h3><p> 
    673 These files are parts of eventdata, a plugin for Dotclear 2.<br /> 
    674 Copyright (c) 2009 JC Denis and contributors<br /> 
    675 Licensed under the GPL version 2.0 license.<br /> 
    676 <a href="http://www.gnu.org/licenses/old-licenses/gpl-2.0.html">http://www.gnu.org/licenses/old-licenses/gpl-2.0.html</a></p> 
    677 <br /> 
    678 <p>Some icons from Silk icon set 1.3 by Mark James at:<br /> 
    679 <a href="http://www.famfamfam.com/lab/icons/silk/">http://www.famfamfam.com/lab/icons/silk/</a><br /> 
    680 under a Creative Commons Attribution 2.5 License<br /> 
    681 <a href="http://creativecommons.org/licenses/by/2.5/">http://creativecommons.org/licenses/by/2.5/</a>.</p> 
    682 <br /> 
    683 <p>Traduced with plugin Translater,<br />Packaged with plugin Packager.</p> 
    684 </div> 
    685660<?php echo dcPage::helpBlock('eventdata'); ?> 
     661 
    686662<hr class="clear"/> 
    687663<p class="right"> 
  • plugins/eventdata/js/admin.js

    r1025 r1977  
    1 $(function(){var localized_form=document.getElementById('edit-eventdata');var start=document.getElementById('eventdata_start');var end=document.getElementById('eventdata_end');if(localized_form!=undefined){var start_dtPick=new datePickerB(start);start_dtPick.img_top='0.5em';start_dtPick.draw();var end_dtPick=new datePickerC(end);end_dtPick.img_top='0.5em';end_dtPick.draw();}}); 
     1/* -- BEGIN LICENSE BLOCK ---------------------------------- 
     2 * This file is part of eventdata, a plugin for Dotclear 2. 
     3 *  
     4 * Copyright (c) 2009 JC Denis and contributors 
     5 * jcdenis@gdwd.com 
     6 *  
     7 * Licensed under the GPL version 2.0 license. 
     8 * A copy of this license is available in LICENSE file or at 
     9 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
     10 * -- END LICENSE BLOCK ------------------------------------*/ 
     11 
     12$(function(){var localized_form=document.getElementById('edit-eventdata');var start=document.getElementById('eventdata_start');var end=document.getElementById('eventdata_end');if(localized_form!=undefined){var start_dtPick=new datePicker(start);start_dtPick.img_top='0.5em';start_dtPick.draw();var end_dtPick=new datePicker(end);end_dtPick.img_top='0.5em';end_dtPick.draw();}}); 
  • plugins/eventdata/js/post.js

    r1211 r1977  
     1/* -- BEGIN LICENSE BLOCK ---------------------------------- 
     2 * This file is part of eventdata, a plugin for Dotclear 2. 
     3 *  
     4 * Copyright (c) 2009 JC Denis and contributors 
     5 * jcdenis@gdwd.com 
     6 *  
     7 * Licensed under the GPL version 2.0 license. 
     8 * A copy of this license is available in LICENSE file or at 
     9 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
     10 * -- END LICENSE BLOCK ------------------------------------*/ 
     11 
    112$(function(){$('#edit-entry').onetabload(function(){$('#linked-eventdatas').remove();$('#linked-eventdatas-form').remove();$('#eventdata_hide').remove();var target_form=$('#new-eventdata');var target_start=$('#eventdata-edit-start');var target_end=$('#eventdata-edit-end');var target_location=$('#eventdata-edit-location');var event_field=null;var post_id=$('#id');post_id=(post_id.length>0)?post_id.get(0).value:false;if(target_start.length>0){if(post_id==false){event_field=$('<input type="hidden" name="eventdata_hide" />');event_field.val('[f]'+$('#eventdata_start').val()+'||'+$('#eventdata_end').val()+'||'+$('#eventdata_location').val());} 
    213var evEdit=new eventdataEditor(target_form,target_start,target_end,target_location,event_field);evEdit.displayEventdata('eventdata',post_id);}})});function eventdataEditor(target_form,target_start,target_end,target_location,event_field){this.target_form=target_form;this.target_start=target_start;this.target_end=target_end;this.target_location=target_location;this.event_field=event_field;};eventdataEditor.prototype={url_edit:'',title_list:'Linked events',text_confirm_remove:'Are you sure you want to remove this event?',text_action_add:'Add event to this entry',text_action_edit:'Edit this event',text_action_remove:'Delete this event',text_status_unsaved:'Waiting for save',text_status_none:'No event',type:null,dialog_start:null,dialog_end:null,dialog_location:null,target_form:null,target_start:null,target_end:null,target_location:null,event_field:null,post_id:false,service_uri:'services.php',displayEventdata:function(type,post_id){this.type=type;this.post_id=post_id;this.target_start.empty();this.target_end.empty();this.target_location.empty();this.dialog_start=$('<input type="text" />');this.dialog_end=$('<input type="text" />');this.dialog_location=$('<input type="text" />');var This=this;this.addEventdataDialog();if(this.post_id==false){this.target_form.append(this.event_field);} 
     
    920return false;} 
    1021var res=new Array();var v=str.split(splitter);v.sort();for(var i=0;i<v.length;i++){v[i]=v[i].replace(/^\s*/,'').replace(/\s*$/,'');res.push(v[i]);} 
    11 res.sort();return res;},addEventdataDatepickers:function(){var start_dtPick=new datePickerB(this.dialog_start.get(0));start_dtPick.img_top='0.5em';start_dtPick.draw();var end_dtPick=new datePickerC(this.dialog_end.get(0));end_dtPick.img_top='0.5em';end_dtPick.draw();}}; 
     22res.sort();return res;},addEventdataDatepickers:function(){var start_dtPick=new datePicker(this.dialog_start.get(0));start_dtPick.img_top='0.5em';start_dtPick.draw();var end_dtPick=new datePicker(this.dialog_end.get(0));end_dtPick.img_top='0.5em';end_dtPick.draw();}}; 
  • plugins/eventdata/locales/fr/main.lang.php

    r1415 r1977  
    11<?php 
    22// Language: français  
    3 // Module: eventdata - 0.6 
    4 // Date: 2009-08-29 20:12:02  
    5 // Author: JC Denis, jcdenis@gdwd.com 
    6 // Translated with dcTranslater - 0.2.4  
     3// Module: eventdata - 0.8 
     4// Date: 2009-12-12 20:52:27  
     5// Translated with dcTranslater - 1.3  
    76 
    87#_admin.php:16 
    98$GLOBALS['__l10n']['manage events'] = 'gérer les événements'; 
    109 
    11 #index.php:384 
     10#_admin.php:23 
     11#_public.php:17 
     12#_widgets.php:26 
     13#_widgets.php:30 
     14#index.php:374 
     15#index.php:383 
    1216$GLOBALS['__l10n']['Events'] = 'Événements'; 
    1317 
    14 #_admin.php:69 
    15 $GLOBALS['__l10n']['Are you sure you want to remove this event?'] = 'Êtes vous sure de vouloir effacer cet événement'; 
    16  
    17 #_admin.php:70 
    18 $GLOBALS['__l10n']['Edit this event'] = 'Éditer cet événement'; 
    19  
    20 #_admin.php:71 
    21 $GLOBALS['__l10n']['Delete this event'] = 'Effacer cet événement'; 
    22  
    2318#_admin.php:72 
     19$GLOBALS['__l10n']['Are you sure you want to remove this event?'] = 'Êtes vous sûr de vouloir effacer cet événement ?'; 
     20 
     21#_admin.php:73 
     22$GLOBALS['__l10n']['Edit this event'] = 'Modifier cet événement'; 
     23 
     24#_admin.php:74 
     25$GLOBALS['__l10n']['Delete this event'] = 'Supprimer cet événement'; 
     26 
     27#_admin.php:75 
    2428$GLOBALS['__l10n']['Add this event'] = 'Ajouter cet événement'; 
    2529 
     30#_admin.php:76 
    2631#_widgets.php:109 
    2732$GLOBALS['__l10n']['Linked events'] = 'Événements liés'; 
    2833 
    29 #_admin.php:305 
     34#_admin.php:97 
     35#_admin.php:283 
    3036$GLOBALS['__l10n']['Add event'] = 'Ajouter un événement'; 
    3137 
    32 #index.php:453 
    33 $GLOBALS['__l10n']['Event start:'] = 'Début d\'événement :'; 
    34  
    35 #index.php:457 
     38#_admin.php:98 
     39#_admin.php:285 
     40#index.php:452 
     41$GLOBALS['__l10n']['Event start:'] = 'Début d\'événement  :'; 
     42 
     43#_admin.php:100 
     44#_admin.php:287 
     45#index.php:456 
    3646$GLOBALS['__l10n']['Event end:'] = 'Fin d\'événement :'; 
    3747 
    38 #index.php:461 
     48#_admin.php:102 
     49#_admin.php:289 
     50#index.php:460 
    3951$GLOBALS['__l10n']['Event location:'] = 'Lieu de l\'événement :'; 
    4052 
    41 #_admin.php:134 
     53#_admin.php:113 
    4254$GLOBALS['__l10n']['Linked events:'] = 'Événements liés :'; 
    4355 
    44 #_admin.php:140 
     56#_admin.php:119 
    4557$GLOBALS['__l10n']['Check to delete'] = 'Cocher pour supprimer'; 
    4658 
    47 #index.php:76 
     59#_admin.php:224 
     60#index.php:75 
    4861$GLOBALS['__l10n']['add event'] = 'ajouter un événement'; 
    4962 
    50 #index.php:73 
     63#_admin.php:225 
     64#index.php:72 
    5165$GLOBALS['__l10n']['remove events'] = 'supprimer les événements'; 
    5266 
     
    5569 
    5670#_public.php:18 
    57 $GLOBALS['__l10n']['Dates of events'] = 'Dates d\'événements'; 
    58  
     71$GLOBALS['__l10n']['Dates of events'] = 'Dates des événements'; 
     72 
     73#_public.php:20 
     74#_public.php:371 
    5975#inc/lib.eventdata.list.php:141 
    6076$GLOBALS['__l10n']['ongoing'] = 'en cours'; 
     
    7288$GLOBALS['__l10n']['notfinished'] = 'non terminé'; 
    7389 
     90#_public.php:26 
     91#_public.php:373 
    7492#inc/lib.eventdata.list.php:139 
    7593$GLOBALS['__l10n']['finished'] = 'terminé'; 
    7694 
    77 #_public.php:280 
     95#_public.php:27 
     96#_public.php:298 
    7897$GLOBALS['__l10n']['From %S to %E'] = 'Du %S au %E'; 
    7998 
    80 #_public.php:407 
     99#_public.php:425 
    81100$GLOBALS['__l10n']['All'] = 'Tous'; 
    82101 
     102#_public.php:426 
     103#_widgets.php:70 
     104#index.php:150 
     105$GLOBALS['__l10n']['Ongoing'] = 'En cours'; 
     106 
     107#_public.php:427 
     108#_widgets.php:71 
    83109#index.php:151 
    84 $GLOBALS['__l10n']['Ongoing'] = 'En cours'; 
    85  
    86 #index.php:152 
    87110$GLOBALS['__l10n']['Outgoing'] = 'Pas en cours'; 
    88111 
     112#_public.php:428 
     113#_widgets.php:66 
     114#index.php:146 
     115$GLOBALS['__l10n']['Not started'] = 'Non débuté'; 
     116 
     117#_public.php:429 
     118$GLOBALS['__l10n']['Scheduled'] = 'Programmé'; 
     119 
     120#_public.php:430 
     121#_widgets.php:67 
    89122#index.php:147 
    90 $GLOBALS['__l10n']['Not started'] = 'Non débuté'; 
    91  
    92 #_public.php:411 
    93 $GLOBALS['__l10n']['Scheduled'] = 'Programmé'; 
    94  
     123$GLOBALS['__l10n']['Started'] = 'Débuté'; 
     124 
     125#_public.php:431 
     126#_widgets.php:69 
     127#index.php:149 
     128$GLOBALS['__l10n']['Not finished'] = 'Non fini'; 
     129 
     130#_public.php:432 
     131#_widgets.php:68 
    95132#index.php:148 
    96 $GLOBALS['__l10n']['Started'] = 'Débuté'; 
    97  
    98 #index.php:150 
    99 $GLOBALS['__l10n']['Not finished'] = 'Non fini'; 
    100  
    101 #index.php:149 
    102133$GLOBALS['__l10n']['Finished'] = 'Fini'; 
    103134 
     135#_widgets.php:52 
     136#index.php:127 
     137$GLOBALS['__l10n']['Event start'] = 'Début d\'événement'; 
     138 
     139#_widgets.php:53 
    104140#index.php:128 
    105 $GLOBALS['__l10n']['Event start'] = 'Début d\'événement'; 
    106  
    107 #index.php:129 
    108141$GLOBALS['__l10n']['Event end'] = 'Fin d\'événement'; 
    109142 
     
    111144$GLOBALS['__l10n']['Selected entries only'] = 'Billets sélectionnés seulement'; 
    112145 
    113 #index.php:418 
     146#_widgets.php:64 
     147#index.php:417 
    114148$GLOBALS['__l10n']['Period:'] = 'Période :'; 
    115149 
     150#_widgets.php:74 
    116151#_widgets.php:114 
    117152$GLOBALS['__l10n']['Date format of events:'] = 'Format de date des événements :'; 
    118153 
     154#_widgets.php:75 
    119155#_widgets.php:115 
    120156$GLOBALS['__l10n']['%Y-%m-%d'] = '%d/%m/%Y'; 
    121157 
     158#_widgets.php:78 
    122159#_widgets.php:118 
    123160$GLOBALS['__l10n']['Time format of events:'] = 'Format d\'heure des événements :'; 
    124161 
     162#_widgets.php:82 
    125163#_widgets.php:122 
    126164$GLOBALS['__l10n']['Text format of events:'] = 'Format du texte des événements :'; 
    127165 
     166#_widgets.php:86 
    128167#_widgets.php:126 
    129168$GLOBALS['__l10n']['Text format of events on one day:'] = 'Format du texte des événements sur un jour :'; 
     
    132171$GLOBALS['__l10n']['Mouseover format of events:'] = 'Format de texte de surbrillance des événements :'; 
    133172 
     173#_widgets.php:91 
    134174#_widgets.php:123 
    135175$GLOBALS['__l10n']['From %sd %st to %ed %et'] = 'Du %sd de %st à %et'; 
     
    138178$GLOBALS['__l10n']['Mouseover format of events on one day:'] = 'Format de texte de surbrillance des événements sur un jour :'; 
    139179 
     180#_widgets.php:95 
    140181#_widgets.php:127 
    141182$GLOBALS['__l10n']['On %sd from %st to %et'] = 'Le %sd de %st à %et'; 
     
    144185$GLOBALS['__l10n']['Post Events'] = 'Événements d\'un billet'; 
    145186 
     187#_widgets.php:136 
    146188#_widgets.php:141 
    147189$GLOBALS['__l10n']['Events calendar'] = 'Calendrier des événements'; 
    148190 
     191#default-templates/eventdata-default/eventdataentryaftercontent.html:7 
     192#default-templates/eventdata-noviny/eventdataentrybeforecontent.html:7 
     193$GLOBALS['__l10n']['Dates of event'] = 'Dates d\'événement'; 
     194 
     195#default-templates/eventdata-default/eventdataentryaftercontent.html:9 
     196#default-templates/eventdata-default/eventdatas.html:112 
     197#default-templates/eventdata-noviny/eventdataentrybeforecontent.html:9 
     198$GLOBALS['__l10n']['from'] = 'de'; 
     199 
     200#default-templates/eventdata-default/eventdataentryaftercontent.html:9 
     201#default-templates/eventdata-default/eventdatas.html:112 
     202#default-templates/eventdata-noviny/eventdataentrybeforecontent.html:9 
     203$GLOBALS['__l10n']['to'] = 'à'; 
     204 
     205#default-templates/eventdata-noviny/eventdatas.html:85 
     206$GLOBALS['__l10n']['Comments:'] = 'Commentaires :'; 
     207 
    149208#inc/class.eventdata.php:29 
    150209$GLOBALS['__l10n']['%s days'] = '%s jours'; 
     
    192251$GLOBALS['__l10n']['Period'] = 'Période'; 
    193252 
    194 #index.php:448 
     253#inc/lib.eventdata.list.php:150 
     254#index.php:447 
    195255$GLOBALS['__l10n']['Edit this event for all entries'] = 'Modifier cet événement pour tous les billets'; 
    196256 
    197 #index.php:447 
     257#inc/lib.eventdata.list.php:154 
     258#index.php:446 
    198259$GLOBALS['__l10n']['Edit this event for this entry'] = 'Modifier cet événement pour ce billet'; 
    199260 
     
    201262$GLOBALS['__l10n']['Delete this event for this entry'] = 'Effacer cet événement pour ce billet'; 
    202263 
     264#inc/lib.rateit.activityreport.php:16 
     265$GLOBALS['__l10n']['Plugin eventdata'] = 'Extension eventdata'; 
     266 
     267#inc/lib.rateit.activityreport.php:22 
     268$GLOBALS['__l10n']['event creation'] = 'création d\'événement'; 
     269 
     270#inc/lib.rateit.activityreport.php:23 
     271$GLOBALS['__l10n']['New event of type "%s" from "%s" to "%s" at "%s" was set on post "%s"'] = 'Un nouvel événement de type "%s" du "%s" au "%s" à "%s" a été créé sur le billet "%s"'; 
     272 
     273#inc/lib.rateit.activityreport.php:32 
     274$GLOBALS['__l10n']['event deletion'] = 'supression d\'événement'; 
     275 
     276#inc/lib.rateit.activityreport.php:33 
     277$GLOBALS['__l10n']['Some events have been deleted from post "%s"'] = 'Des événements ont été supprimé du billet "%s"'; 
     278 
     279#inc/lib.rateit.activityreport.php:42 
     280$GLOBALS['__l10n']['updating event'] = 'mise à jour d\'événement'; 
     281 
     282#inc/lib.rateit.activityreport.php:43 
     283$GLOBALS['__l10n']['Event of type "%s" from "%s" to "%s" at "%s" has been updated'] = 'L\'événement de type "%s" du "%s" au "%s" a été mis à jour'; 
     284 
    203285#index.php:22 
    204286$GLOBALS['__l10n']['Configuration saved'] = 'Configuration enregistrée'; 
    205287 
    206 #index.php:663 
     288#index.php:32 
     289$GLOBALS['__l10n']['Templates'] = 'Modèles'; 
     290 
     291#index.php:33 
     292$GLOBALS['__l10n']['Administration'] = 'Administration'; 
     293 
     294#index.php:105 
     295$GLOBALS['__l10n']['Mark as reordered'] = 'Marquer comme réordonné'; 
     296 
     297#index.php:106 
     298$GLOBALS['__l10n']['Mark as not reordered'] = 'Marquer comme non réordonné'; 
     299 
     300#index.php:107 
     301$GLOBALS['__l10n']['Mark as unlisted'] = 'Marquer comme caché'; 
     302 
     303#index.php:108 
     304$GLOBALS['__l10n']['Mark as listed'] = 'Marque comme non caché'; 
     305 
     306#index.php:129 
     307$GLOBALS['__l10n']['Event location'] = 'Lieu de l\'événement'; 
     308 
     309#index.php:157 
     310$GLOBALS['__l10n']['Current blog theme'] = 'Thème courant du blog'; 
     311 
     312#index.php:389 
     313$GLOBALS['__l10n']['This is the list of all entries with event'] = 'Ceci est la liste de tous les billets ayant un événement'; 
     314 
     315#index.php:439 
     316$GLOBALS['__l10n']['Back to list of all events'] = 'Retour à la liste des événements'; 
     317 
     318#index.php:470 
     319$GLOBALS['__l10n']['Are you sure you want to delete this event'] = 'Êtes-vous sûr de vouloir effacer cet événement'; 
     320 
     321#index.php:518 
     322$GLOBALS['__l10n']['This is a list of all the categories that can be rearranged by dates of events'] = 'Ceci est la liste de toutes les catégories qui peuvent être réordonnées par dates d\'événements'; 
     323 
     324#index.php:523 
     325$GLOBALS['__l10n']['Id'] = 'Id'; 
     326 
     327#index.php:524 
     328$GLOBALS['__l10n']['Level'] = 'Niveau'; 
     329 
     330#index.php:526 
     331#index.php:539 
     332$GLOBALS['__l10n']['Reordered'] = 'Réordonné'; 
     333 
     334#index.php:527 
     335#index.php:543 
     336$GLOBALS['__l10n']['Unlisted'] = 'Caché'; 
     337 
     338#index.php:539 
     339#index.php:543 
     340$GLOBALS['__l10n']['Normal'] = 'Normal'; 
     341 
     342#index.php:551 
     343$GLOBALS['__l10n']['Selected categories action:'] = 'Action sur les catégories sélectionnées :'; 
     344 
     345#index.php:566 
     346$GLOBALS['__l10n']['This is the management of the public page'] = 'Ceci est la gestion de la page publique'; 
     347 
     348#index.php:568 
     349$GLOBALS['__l10n']['Public page is disable'] = 'La page publique est inactive'; 
     350 
     351#index.php:582 
     352$GLOBALS['__l10n']['Theme'] = 'Thème'; 
     353 
     354#index.php:585 
     355$GLOBALS['__l10n']['Current blog theme:'] = 'Thème courant du blog :'; 
     356 
     357#index.php:589 
     358$GLOBALS['__l10n']['Adapted template exists:'] = 'Existence du modèle adapté :'; 
     359 
     360#index.php:593 
     361$GLOBALS['__l10n']['Template on current theme exists:'] = 'Existence du modèle dans le thème courant :'; 
     362 
     363#index.php:597 
     364$GLOBALS['__l10n']['Alternate template:'] = 'Modèle alternatif :'; 
     365 
     366#index.php:601 
     367$GLOBALS['__l10n']['Public URL:'] = 'Lien public :'; 
     368 
     369#index.php:606 
     370$GLOBALS['__l10n']['In order to change url of public page you can use plugin myUrlHandlers.'] = 'Afin de changer le lien de la page publique vous pouvez utiliser l\'extension myUrlHandlers.'; 
     371 
     372#index.php:608 
     373$GLOBALS['__l10n']['Choose predefined page template in case where theme of blog does not have it'] = 'Choisissez un modèle prédéfini au cas où le thème du blog n\'en aurait pas'; 
     374 
     375#index.php:612 
     376$GLOBALS['__l10n']['Disable list of dates of event on an entry'] = 'Désactiver la liste des dates d\'événements d\'un billet'; 
     377 
     378#index.php:627 
     379$GLOBALS['__l10n']['Plugin admistration options on this blog'] = 'Administration de l\'extension sur ce blog'; 
     380 
     381#index.php:633 
     382$GLOBALS['__l10n']['Enable plugin'] = 'Activer l\'extension'; 
     383 
     384#index.php:640 
     385$GLOBALS['__l10n']['Plugin icon in Blog menu'] = 'Icône de l\'extension dans le menu Blog'; 
     386 
     387#index.php:647 
     388$GLOBALS['__l10n']['Enable public page'] = 'Activer la page publique'; 
     389 
    207390$GLOBALS['__l10n']['About'] = 'À propos'; 
    208391 
    209 #index.php:33 
    210 $GLOBALS['__l10n']['Templates'] = 'Modèles'; 
    211  
    212 #index.php:34 
    213 $GLOBALS['__l10n']['Administration'] = 'Administration'; 
    214  
    215 #index.php:106 
    216 $GLOBALS['__l10n']['Mark as reordered'] = 'Marquer comme réordonné'; 
    217  
    218 #index.php:107 
    219 $GLOBALS['__l10n']['Mark as not reordered'] = 'Marquer comme non réordonné'; 
    220  
    221 #index.php:108 
    222 $GLOBALS['__l10n']['Mark as unlisted'] = 'Marquer comme caché'; 
    223  
    224 #index.php:109 
    225 $GLOBALS['__l10n']['Mark as listed'] = 'Marque comme non caché'; 
    226  
    227 #index.php:130 
    228 $GLOBALS['__l10n']['Event location'] = 'Lieu d\'événement'; 
    229  
    230 #index.php:158 
    231 $GLOBALS['__l10n']['Current blog theme'] = 'Thème courant du blog'; 
    232  
    233 #index.php:390 
    234 $GLOBALS['__l10n']['This is the list of all entries with event'] = 'Ceci est la liste de tous les billets ayant un événement'; 
    235  
    236 #index.php:440 
    237 $GLOBALS['__l10n']['Back to list of all events'] = 'Retour à la liste des événements'; 
    238  
    239 #index.php:471 
    240 $GLOBALS['__l10n']['Are you sure you want to delete this event'] = 'Êtes vous sure de vouloir effacer cet événement'; 
    241  
    242 #index.php:519 
    243 $GLOBALS['__l10n']['This is a list of all the categories that can be rearranged by dates of events'] = 'Ceci est la liste de toutes les catégories qui peuvent être réordonnées par dates d\'événements'; 
    244  
    245 #index.php:524 
    246 $GLOBALS['__l10n']['Id'] = 'Id'; 
    247  
    248 #index.php:525 
    249 $GLOBALS['__l10n']['Level'] = 'Niveau'; 
    250  
    251 #index.php:540 
    252 $GLOBALS['__l10n']['Reordered'] = 'Réordonné'; 
    253  
    254 #index.php:544 
    255 $GLOBALS['__l10n']['Unlisted'] = 'Caché'; 
    256  
    257 #index.php:544 
    258 $GLOBALS['__l10n']['Normal'] = 'Normal'; 
    259  
    260 #index.php:552 
    261 $GLOBALS['__l10n']['Selected categories action:'] = 'Action sur les catégories sélectionnées :'; 
    262  
    263 #index.php:567 
    264 $GLOBALS['__l10n']['This is the management of the public page'] = 'Ceci est la gestion de la page publique'; 
    265  
    266 #index.php:569 
    267 $GLOBALS['__l10n']['Public page is disable'] = 'La page publique est inactive'; 
    268  
    269 #index.php:583 
    270 $GLOBALS['__l10n']['Theme'] = 'Thème'; 
    271  
    272 #index.php:586 
    273 $GLOBALS['__l10n']['Current blog theme:'] = 'Thème courant du blog :'; 
    274  
    275 #index.php:590 
    276 $GLOBALS['__l10n']['Adapted template exists:'] = 'Existence du modèle adapté :'; 
    277  
    278 #index.php:594 
    279 $GLOBALS['__l10n']['Template on current theme exists:'] = 'Existence du modèle dans le thème courant :'; 
    280  
    281 #index.php:598 
    282 $GLOBALS['__l10n']['Alternate template:'] = 'Modèle alternatif :'; 
    283  
    284 #index.php:602 
    285 $GLOBALS['__l10n']['Public URL:'] = 'Lien publique :'; 
    286  
    287 #index.php:607 
    288 $GLOBALS['__l10n']['In order to change url of public page you can use plugin myUrlHandlers.'] = 'Afin de changer le lien de la page publique vous pouvez utiliser l\'extension myUrlHandlers.'; 
    289  
    290 #index.php:609 
    291 $GLOBALS['__l10n']['Choose predefined page template in case where theme of blog does not have it'] = 'Choisissez un modèle prédéfini au cas où le thème du blog n\'en aurait pas'; 
    292  
    293 #index.php:613 
    294 $GLOBALS['__l10n']['Disable list of dates of event on an entry'] = 'Désactiver la liste des dates d\'événements d\'un billet'; 
    295  
    296 #index.php:628 
    297 $GLOBALS['__l10n']['Plugin admistration options on this blog'] = 'Administration de l\'extension sur ce blog'; 
    298  
    299 #index.php:634 
    300 $GLOBALS['__l10n']['Enable plugin'] = 'Activer l\'extension'; 
    301  
    302 #index.php:641 
    303 $GLOBALS['__l10n']['Plugin icon in Blog menu'] = 'Icone de l\'extension dans le menu Blog'; 
    304  
    305 #index.php:648 
    306 $GLOBALS['__l10n']['Enable public page'] = 'Activer la page publique'; 
    307  
    308392?> 
  • plugins/eventdata/locales/fr/main.po

    r1685 r1977  
    11# Language: français 
    2 # Module: eventdata - 0.6 
    3 # Date: 2009-08-29 20:12:02 
    4 # Author: JC Denis, jcdenis@gdwd.com 
    5 # Translated with dcTranslater - 0.2.4 
     2# Module: eventdata - 0.8 
     3# Date: 2009-12-12 20:52:27 
     4# Translated with translater 1.3 
     5 
    66msgid "" 
    77msgstr "" 
    88"Content-Type: text/plain; charset=UTF-8\n" 
    9 "Project-Id-Version: \n" 
     9"Project-Id-Version: eventdata 0.8\n" 
    1010"POT-Creation-Date: \n" 
    11 "PO-Revision-Date: \n" 
    12 "Last-Translator: Kozlika <kozlika@free.fr>\n" 
     11"PO-Revision-Date: 2009-12-12T20:52:27+00:00\n" 
     12"Last-Translator: JC Denis\n" 
    1313"Language-Team: \n" 
    1414"MIME-Version: 1.0\n" 
     
    1919msgstr "gérer les événements" 
    2020 
    21 #: index.php:384 
     21#: _admin.php:23 
     22#: _public.php:17 
     23#: _widgets.php:26 
     24#: _widgets.php:30 
     25#: index.php:374 
     26#: index.php:383 
    2227msgid "Events" 
    2328msgstr "Événements" 
    2429 
    25 #: _admin.php:69 
     30#: _admin.php:72 
    2631msgid "Are you sure you want to remove this event?" 
    2732msgstr "Êtes vous sûr de vouloir effacer cet événement ?" 
    2833 
    29 #: _admin.php:70 
     34#: _admin.php:73 
    3035msgid "Edit this event" 
    3136msgstr "Modifier cet événement" 
    3237 
    33 #: _admin.php:71 
     38#: _admin.php:74 
    3439msgid "Delete this event" 
    3540msgstr "Supprimer cet événement" 
    3641 
    37 #: _admin.php:72 
     42#: _admin.php:75 
    3843msgid "Add this event" 
    3944msgstr "Ajouter cet événement" 
    4045 
     46#: _admin.php:76 
    4147#: _widgets.php:109 
    4248msgid "Linked events" 
    4349msgstr "Événements liés" 
    4450 
    45 #: _admin.php:305 
     51#: _admin.php:97 
     52#: _admin.php:283 
    4653msgid "Add event" 
    4754msgstr "Ajouter un événement" 
    4855 
    49 #: index.php:453 
     56#: _admin.php:98 
     57#: _admin.php:285 
     58#: index.php:452 
    5059msgid "Event start:" 
    5160msgstr "Début d'événement  :" 
    5261 
    53 #: index.php:457 
     62#: _admin.php:100 
     63#: _admin.php:287 
     64#: index.php:456 
    5465msgid "Event end:" 
    5566msgstr "Fin d'événement :" 
    5667 
    57 #: index.php:461 
     68#: _admin.php:102 
     69#: _admin.php:289 
     70#: index.php:460 
    5871msgid "Event location:" 
    5972msgstr "Lieu de l'événement :" 
    6073 
    61 #: _admin.php:134 
     74#: _admin.php:113 
    6275msgid "Linked events:" 
    6376msgstr "Événements liés :" 
    6477 
    65 #: _admin.php:140 
     78#: _admin.php:119 
    6679msgid "Check to delete" 
    6780msgstr "Cocher pour supprimer" 
    6881 
    69 #: index.php:76 
     82#: _admin.php:224 
     83#: index.php:75 
    7084msgid "add event" 
    7185msgstr "ajouter un événement" 
    7286 
    73 #: index.php:73 
     87#: _admin.php:225 
     88#: index.php:72 
    7489msgid "remove events" 
    7590msgstr "supprimer les événements" 
     
    8398msgstr "Dates des événements" 
    8499 
     100#: _public.php:20 
     101#: _public.php:371 
    85102#: inc/lib.eventdata.list.php:141 
    86103msgid "ongoing" 
     
    103120msgstr "non terminé" 
    104121 
     122#: _public.php:26 
     123#: _public.php:373 
    105124#: inc/lib.eventdata.list.php:139 
    106125msgid "finished" 
    107126msgstr "terminé" 
    108127 
    109 #: _public.php:280 
     128#: _public.php:27 
     129#: _public.php:298 
    110130msgid "From %S to %E" 
    111131msgstr "Du %S au %E" 
    112132 
    113 #: _public.php:407 
     133#: _public.php:425 
    114134msgid "All" 
    115135msgstr "Tous" 
    116136 
    117 #: index.php:151 
     137#: _public.php:426 
     138#: _widgets.php:70 
     139#: index.php:150 
    118140msgid "Ongoing" 
    119141msgstr "En cours" 
    120142 
    121 #: index.php:152 
     143#: _public.php:427 
     144#: _widgets.php:71 
     145#: index.php:151 
    122146msgid "Outgoing" 
    123147msgstr "Pas en cours" 
    124148 
    125 #: index.php:147 
     149#: _public.php:428 
     150#: _widgets.php:66 
     151#: index.php:146 
    126152msgid "Not started" 
    127153msgstr "Non débuté" 
    128154 
    129 #: _public.php:411 
     155#: _public.php:429 
    130156msgid "Scheduled" 
    131157msgstr "Programmé" 
    132158 
    133 #: index.php:148 
     159#: _public.php:430 
     160#: _widgets.php:67 
     161#: index.php:147 
    134162msgid "Started" 
    135163msgstr "Débuté" 
    136164 
    137 #: index.php:150 
     165#: _public.php:431 
     166#: _widgets.php:69 
     167#: index.php:149 
    138168msgid "Not finished" 
    139169msgstr "Non fini" 
    140170 
    141 #: index.php:149 
     171#: _public.php:432 
     172#: _widgets.php:68 
     173#: index.php:148 
    142174msgid "Finished" 
    143175msgstr "Fini" 
    144176 
    145 #: index.php:128 
     177#: _widgets.php:52 
     178#: index.php:127 
    146179msgid "Event start" 
    147180msgstr "Début d'événement" 
    148181 
    149 #: index.php:129 
     182#: _widgets.php:53 
     183#: index.php:128 
    150184msgid "Event end" 
    151185msgstr "Fin d'événement" 
     
    155189msgstr "Billets sélectionnés seulement" 
    156190 
    157 #: index.php:418 
     191#: _widgets.php:64 
     192#: index.php:417 
    158193msgid "Period:" 
    159194msgstr "Période :" 
    160195 
     196#: _widgets.php:74 
    161197#: _widgets.php:114 
    162198msgid "Date format of events:" 
    163199msgstr "Format de date des événements :" 
    164200 
     201#: _widgets.php:75 
    165202#: _widgets.php:115 
    166203msgid "%Y-%m-%d" 
    167204msgstr "%d/%m/%Y" 
    168205 
     206#: _widgets.php:78 
    169207#: _widgets.php:118 
    170208msgid "Time format of events:" 
    171209msgstr "Format d'heure des événements :" 
    172210 
     211#: _widgets.php:82 
    173212#: _widgets.php:122 
    174213msgid "Text format of events:" 
    175214msgstr "Format du texte des événements :" 
    176215 
     216#: _widgets.php:86 
    177217#: _widgets.php:126 
    178218msgid "Text format of events on one day:" 
     
    183223msgstr "Format de texte de surbrillance des événements :" 
    184224 
     225#: _widgets.php:91 
    185226#: _widgets.php:123 
    186227msgid "From %sd %st to %ed %et" 
     
    191232msgstr "Format de texte de surbrillance des événements sur un jour :" 
    192233 
     234#: _widgets.php:95 
    193235#: _widgets.php:127 
    194236msgid "On %sd from %st to %et" 
     
    199241msgstr "Événements d'un billet" 
    200242 
     243#: _widgets.php:136 
    201244#: _widgets.php:141 
    202245msgid "Events calendar" 
    203246msgstr "Calendrier des événements" 
    204247 
     248#: default-templates/eventdata-default/eventdataentryaftercontent.html:7 
     249#: default-templates/eventdata-noviny/eventdataentrybeforecontent.html:7 
     250msgid "Dates of event" 
     251msgstr "Dates d'événement" 
     252 
     253#: default-templates/eventdata-default/eventdataentryaftercontent.html:9 
     254#: default-templates/eventdata-default/eventdatas.html:112 
     255#: default-templates/eventdata-noviny/eventdataentrybeforecontent.html:9 
     256msgid "from" 
     257msgstr "de" 
     258 
     259#: default-templates/eventdata-default/eventdataentryaftercontent.html:9 
     260#: default-templates/eventdata-default/eventdatas.html:112 
     261#: default-templates/eventdata-noviny/eventdataentrybeforecontent.html:9 
     262msgid "to" 
     263msgstr "à" 
     264 
     265#: default-templates/eventdata-noviny/eventdatas.html:85 
     266msgid "Comments:" 
     267msgstr "Commentaires :" 
     268 
    205269#: inc/class.eventdata.php:29 
    206270msgid "%s days" 
     
    263327msgstr "Période" 
    264328 
    265 #: index.php:448 
     329#: inc/lib.eventdata.list.php:150 
     330#: index.php:447 
    266331msgid "Edit this event for all entries" 
    267332msgstr "Modifier cet événement pour tous les billets" 
    268333 
    269 #: index.php:447 
     334#: inc/lib.eventdata.list.php:154 
     335#: index.php:446 
    270336msgid "Edit this event for this entry" 
    271337msgstr "Modifier cet événement pour ce billet" 
     
    275341msgstr "Effacer cet événement pour ce billet" 
    276342 
     343#: inc/lib.rateit.activityreport.php:16 
     344msgid "Plugin eventdata" 
     345msgstr "Extension eventdata" 
     346 
     347#: inc/lib.rateit.activityreport.php:22 
     348msgid "event creation" 
     349msgstr "création d'événement" 
     350 
     351#: inc/lib.rateit.activityreport.php:23 
     352msgid "New event of type \"%s\" from \"%s\" to \"%s\" at \"%s\" was set on post \"%s\"" 
     353msgstr "Un nouvel événement de type \"%s\" du \"%s\" au \"%s\" à \"%s\" a été créé sur le billet \"%s\"" 
     354 
     355#: inc/lib.rateit.activityreport.php:32 
     356msgid "event deletion" 
     357msgstr "supression d'événement" 
     358 
     359#: inc/lib.rateit.activityreport.php:33 
     360msgid "Some events have been deleted from post \"%s\"" 
     361msgstr "Des événements ont été supprimé du billet \"%s\"" 
     362 
     363#: inc/lib.rateit.activityreport.php:42 
     364msgid "updating event" 
     365msgstr "mise à jour d'événement" 
     366 
     367#: inc/lib.rateit.activityreport.php:43 
     368msgid "Event of type \"%s\" from \"%s\" to \"%s\" at \"%s\" has been updated" 
     369msgstr "L'événement de type \"%s\" du \"%s\" au \"%s\" a été mis à jour" 
     370 
    277371#: index.php:22 
    278372msgid "Configuration saved" 
    279373msgstr "Configuration enregistrée" 
    280374 
    281 #: index.php:663 
     375#: index.php:32 
     376msgid "Templates" 
     377msgstr "Modèles" 
     378 
     379#: index.php:33 
     380msgid "Administration" 
     381msgstr "Administration" 
     382 
     383#: index.php:105 
     384msgid "Mark as reordered" 
     385msgstr "Marquer comme réordonné" 
     386 
     387#: index.php:106 
     388msgid "Mark as not reordered" 
     389msgstr "Marquer comme non réordonné" 
     390 
     391#: index.php:107 
     392msgid "Mark as unlisted" 
     393msgstr "Marquer comme caché" 
     394 
     395#: index.php:108 
     396msgid "Mark as listed" 
     397msgstr "Marque comme non caché" 
     398 
     399#: index.php:129 
     400msgid "Event location" 
     401msgstr "Lieu de l'événement" 
     402 
     403#: index.php:157 
     404msgid "Current blog theme" 
     405msgstr "Thème courant du blog" 
     406 
     407#: index.php:389 
     408msgid "This is the list of all entries with event" 
     409msgstr "Ceci est la liste de tous les billets ayant un événement" 
     410 
     411#: index.php:439 
     412msgid "Back to list of all events" 
     413msgstr "Retour à la liste des événements" 
     414 
     415#: index.php:470 
     416msgid "Are you sure you want to delete this event" 
     417msgstr "Êtes-vous sûr de vouloir effacer cet événement" 
     418 
     419#: index.php:518 
     420msgid "This is a list of all the categories that can be rearranged by dates of events" 
     421msgstr "Ceci est la liste de toutes les catégories qui peuvent être réordonnées par dates d'événements" 
     422 
     423#: index.php:523 
     424msgid "Id" 
     425msgstr "Id" 
     426 
     427#: index.php:524 
     428msgid "Level" 
     429msgstr "Niveau" 
     430 
     431#: index.php:526 
     432#: index.php:539 
     433msgid "Reordered" 
     434msgstr "Réordonné" 
     435 
     436#: index.php:527 
     437#: index.php:543 
     438msgid "Unlisted" 
     439msgstr "Caché" 
     440 
     441#: index.php:539 
     442#: index.php:543 
     443msgid "Normal" 
     444msgstr "Normal" 
     445 
     446#: index.php:551 
     447msgid "Selected categories action:" 
     448msgstr "Action sur les catégories sélectionnées :" 
     449 
     450#: index.php:566 
     451msgid "This is the management of the public page" 
     452msgstr "Ceci est la gestion de la page publique" 
     453 
     454#: index.php:568 
     455msgid "Public page is disable" 
     456msgstr "La page publique est inactive" 
     457 
     458#: index.php:582 
     459msgid "Theme" 
     460msgstr "Thème" 
     461 
     462#: index.php:585 
     463msgid "Current blog theme:" 
     464msgstr "Thème courant du blog :" 
     465 
     466#: index.php:589 
     467msgid "Adapted template exists:" 
     468msgstr "Existence du modèle adapté :" 
     469 
     470#: index.php:593 
     471msgid "Template on current theme exists:" 
     472msgstr "Existence du modèle dans le thème courant :" 
     473 
     474#: index.php:597 
     475msgid "Alternate template:" 
     476msgstr "Modèle alternatif :" 
     477 
     478#: index.php:601 
     479msgid "Public URL:" 
     480msgstr "Lien public :" 
     481 
     482#: index.php:606 
     483msgid "In order to change url of public page you can use plugin myUrlHandlers." 
     484msgstr "Afin de changer le lien de la page publique vous pouvez utiliser l'extension myUrlHandlers." 
     485 
     486#: index.php:608 
     487msgid "Choose predefined page template in case where theme of blog does not have it" 
     488msgstr "Choisissez un modèle prédéfini au cas où le thème du blog n'en aurait pas" 
     489 
     490#: index.php:612 
     491msgid "Disable list of dates of event on an entry" 
     492msgstr "Désactiver la liste des dates d'événements d'un billet" 
     493 
     494#: index.php:627 
     495msgid "Plugin admistration options on this blog" 
     496msgstr "Administration de l'extension sur ce blog" 
     497 
     498#: index.php:633 
     499msgid "Enable plugin" 
     500msgstr "Activer l'extension" 
     501 
     502#: index.php:640 
     503msgid "Plugin icon in Blog menu" 
     504msgstr "Icône de l'extension dans le menu Blog" 
     505 
     506#: index.php:647 
     507msgid "Enable public page" 
     508msgstr "Activer la page publique" 
     509 
    282510msgid "About" 
    283511msgstr "À propos" 
    284512 
    285 #: index.php:33 
    286 msgid "Templates" 
    287 msgstr "Modèles" 
    288  
    289 #: index.php:34 
    290 msgid "Administration" 
    291 msgstr "Administration" 
    292  
    293 #: index.php:106 
    294 msgid "Mark as reordered" 
    295 msgstr "Marquer comme réordonné" 
    296  
    297 #: index.php:107 
    298 msgid "Mark as not reordered" 
    299 msgstr "Marquer comme non réordonné" 
    300  
    301 #: index.php:108 
    302 msgid "Mark as unlisted" 
    303 msgstr "Marquer comme caché" 
    304  
    305 #: index.php:109 
    306 msgid "Mark as listed" 
    307 msgstr "Marque comme non caché" 
    308  
    309 #: index.php:130 
    310 msgid "Event location" 
    311 msgstr "Lieu de l'événement" 
    312  
    313 #: index.php:158 
    314 msgid "Current blog theme" 
    315 msgstr "Thème courant du blog" 
    316  
    317 #: index.php:390 
    318 msgid "This is the list of all entries with event" 
    319 msgstr "Ceci est la liste de tous les billets ayant un événement" 
    320  
    321 #: index.php:440 
    322 msgid "Back to list of all events" 
    323 msgstr "Retour à la liste des événements" 
    324  
    325 #: index.php:471 
    326 msgid "Are you sure you want to delete this event" 
    327 msgstr "Êtes-vous sûr de vouloir effacer cet événement" 
    328  
    329 #: index.php:519 
    330 msgid "This is a list of all the categories that can be rearranged by dates of events" 
    331 msgstr "Ceci est la liste de toutes les catégories qui peuvent être réordonnées par dates d'événements" 
    332  
    333 #: index.php:524 
    334 msgid "Id" 
    335 msgstr "Id" 
    336  
    337 #: index.php:525 
    338 msgid "Level" 
    339 msgstr "Niveau" 
    340  
    341 #: index.php:540 
    342 msgid "Reordered" 
    343 msgstr "Réordonné" 
    344  
    345 #: index.php:544 
    346 msgid "Unlisted" 
    347 msgstr "Caché" 
    348  
    349 #: index.php:544 
    350 msgid "Normal" 
    351 msgstr "Normal" 
    352  
    353 #: index.php:552 
    354 msgid "Selected categories action:" 
    355 msgstr "Action sur les catégories sélectionnées :" 
    356  
    357 #: index.php:567 
    358 msgid "This is the management of the public page" 
    359 msgstr "Ceci est la gestion de la page publique" 
    360  
    361 #: index.php:569 
    362 msgid "Public page is disable" 
    363 msgstr "La page publique est inactive" 
    364  
    365 #: index.php:583 
    366 msgid "Theme" 
    367 msgstr "Thème" 
    368  
    369 #: index.php:586 
    370 msgid "Current blog theme:" 
    371 msgstr "Thème courant du blog :" 
    372  
    373 #: index.php:590 
    374 msgid "Adapted template exists:" 
    375 msgstr "Existence du modèle adapté :" 
    376  
    377 #: index.php:594 
    378 msgid "Template on current theme exists:" 
    379 msgstr "Existence du modèle dans le thème courant :" 
    380  
    381 #: index.php:598 
    382 msgid "Alternate template:" 
    383 msgstr "Modèle alternatif :" 
    384  
    385 #: index.php:602 
    386 msgid "Public URL:" 
    387 msgstr "Lien public :" 
    388  
    389 #: index.php:607 
    390 msgid "In order to change url of public page you can use plugin myUrlHandlers." 
    391 msgstr "Afin de changer le lien de la page publique vous pouvez utiliser l'extension myUrlHandlers." 
    392  
    393 #: index.php:609 
    394 msgid "Choose predefined page template in case where theme of blog does not have it" 
    395 msgstr "Choisissez un modèle prédéfini au cas où le thème du blog n'en aurait pas" 
    396  
    397 #: index.php:613 
    398 msgid "Disable list of dates of event on an entry" 
    399 msgstr "Désactiver la liste des dates d'événements d'un billet" 
    400  
    401 #: index.php:628 
    402 msgid "Plugin admistration options on this blog" 
    403 msgstr "Administration de l'extension sur ce blog" 
    404  
    405 #: index.php:634 
    406 msgid "Enable plugin" 
    407 msgstr "Activer l'extension" 
    408  
    409 #: index.php:641 
    410 msgid "Plugin icon in Blog menu" 
    411 msgstr "Icône de l'extension dans le menu Blog" 
    412  
    413 #: index.php:648 
    414 msgid "Enable public page" 
    415 msgstr "Activer la page publique" 
    416  
  • plugins/eventdata/release.txt

    r1484 r1977  
    11x.x.x xxxxxxxx 
    22 - Not added rate for event (plugin rateIt) 
    3  - Not fixed multiple Datpickers by using DC ticket380 and changset 2757 
     3 - Missing Next/Previous in calendar widget 
     4 
     50.8 20091212 
     6 * Fixed multiple Datpickers by using DC ticket380 and changset 2757 
     7 * Prepared DC 2.2 break 
     8 * Added template condition for events on one day 
     9 * Added LICENSE 
     10 * Added events to plugin activityReport 
    411 
    5120.7 20090923 
Note: See TracChangeset for help on using the changeset viewer.

Sites map