From e9831187c8ec71fdae89f823e969d63fc3cbc7f3 Mon Sep 17 00:00:00 2001 From: Ludovic CHEVALIER Date: Mon, 21 Dec 2015 19:36:22 +0100 Subject: [PATCH] ~maj plugins --- .../agenda_3_5/action/editer_evenement.php | 1 + .../supprimer_evenement_participant.php | 30 +++ .../agenda_3_5/agenda_administrations.php | 14 ++ www/plugins/agenda_3_5/agenda_options.php | 6 + www/plugins/agenda_3_5/agenda_pipelines.php | 27 ++- .../agenda_3_5/base/agenda_evenements.php | 12 +- .../formulaires/editer_evenement.html | 77 +++--- .../formulaires/editer_evenement.php | 25 +- .../formulaires/evenement_participants.html | 15 -- .../formulaires/evenement_participants.php | 83 ------- .../agenda_3_5/formulaires/migrer_agenda.html | 2 +- .../agenda_3_5/formulaires/migrer_agenda.php | 1 + .../formulaires/participer_evenement.html | 46 ++-- .../formulaires/participer_evenement.php | 94 +++++--- .../agenda_3_5/inc/un-evenement-ical.html | 9 +- .../inclure/agenda-vue-calendrier.html | 82 +++++++ .../inclure/liste_participants_evenement.html | 31 +++ www/plugins/agenda_3_5/lang/agenda.xml | 22 +- www/plugins/agenda_3_5/lang/agenda_de.php | 59 +++-- www/plugins/agenda_3_5/lang/agenda_en.php | 21 +- www/plugins/agenda_3_5/lang/agenda_es.php | 15 +- www/plugins/agenda_3_5/lang/agenda_fr.php | 51 ++-- www/plugins/agenda_3_5/lang/agenda_nl.php | 226 +++++++++++++----- www/plugins/agenda_3_5/lang/agenda_ru.php | 166 +++++++++++++ www/plugins/agenda_3_5/lang/agenda_sk.php | 19 +- .../agenda_3_5/lang/configureragenda.xml | 7 + .../agenda_3_5/lang/configureragenda_fr.php | 27 ++- .../agenda_3_5/lang/configureragenda_nl.php | 33 +++ www/plugins/agenda_3_5/lang/migreragenda.xml | 4 + .../agenda_3_5/lang/migreragenda_fr.php | 37 +-- www/plugins/agenda_3_5/lang/paquet-agenda.xml | 17 +- .../agenda_3_5/lang/paquet-agenda_nl.php | 16 ++ .../agenda_3_5/lang/paquet-agenda_ru.php | 16 ++ www/plugins/agenda_3_5/paquet.xml | 24 +- .../objets/contenu/article-evenements.html | 13 +- .../prive/objets/contenu/evenement.html | 2 +- .../objets/liste/evenement_participants.html | 21 +- .../prive/objets/liste/evenements.html | 3 +- .../contenu/agenda_inscriptions.html | 6 +- .../squelettes/contenu/configurer_agenda.html | 3 + .../transmettre/evenement_participants.html | 7 +- .../transmettre/evenements_participants.html | 4 +- www/plugins/agenda_3_5/public/agenda.php | 6 +- .../agenda_3_5/squelettes/agenda-ical.html | 15 +- .../agenda_3_5/squelettes/aside/agenda.html | 16 ++ .../squelettes/breadcrumb/agenda.html | 4 + .../agenda_3_5/squelettes/content/agenda.html | 4 +- .../agenda_3_5/squelettes/content/jour.html | 2 +- .../agenda_3_5/squelettes/extra/agenda.html | 16 ++ .../squelettes/extra/evenement.html | 8 + .../agenda_3_5/squelettes/extra/jour.html | 8 + .../squelettes/extra/rubrique-agenda.html | 8 + .../squelettes/inclure/agenda-liste.html | 8 +- .../squelettes/inclure/resume/evenement.html | 30 ++- www/plugins/agenda_3_5/svn.revision | 8 +- .../balise/calendrier_mini.php | 2 +- .../calendriermini_fonctions.php | 114 ++++----- .../css/img/month_next.png | Bin 288 -> 274 bytes .../css/img/month_prev.png | Bin 287 -> 279 bytes .../css/img/month_prev_next-32x16.png | Bin 531 -> 364 bytes .../formulaires/calendrier_mini.html | 11 +- .../configurer_calendriermini.html | 2 +- .../javascript/calendrier_mini.js.html | 8 +- .../calendrier_mini-2.0/lang/minical.xml | 33 ++- .../calendrier_mini-2.0/lang/minical_ca.php | 27 --- .../calendrier_mini-2.0/lang/minical_de.php | 30 ++- .../calendrier_mini-2.0/lang/minical_fr.php | 4 +- .../calendrier_mini-2.0/lang/minical_it.php | 27 --- .../calendrier_mini-2.0/lang/minical_nl.php | 33 +++ .../lang/minical_oc_ni_mis.php | 33 +++ .../calendrier_mini-2.0/lang/minical_ru.php | 33 +++ .../lang/paquet-calendriermini.xml | 22 +- .../lang/paquet-calendriermini_en.php | 2 +- .../lang/paquet-calendriermini_fr.php | 4 +- .../lang/paquet-calendriermini_nl.php | 17 ++ .../lang/paquet-calendriermini_oc_ni_mis.php | 17 ++ .../lang/paquet-calendriermini_ru.php | 17 ++ .../calendrier_mini-2.0/minical-32.png | Bin 4911 -> 2114 bytes .../modeles/archives_mensuelles.html | 24 +- www/plugins/calendrier_mini-2.0/paquet.xml | 12 +- www/plugins/calendrier_mini-2.0/svn.revision | 8 +- www/plugins/spip-bonux-3/inc/date_gestion.php | 2 +- www/plugins/spip-bonux-3/inc/exporter_csv.php | 5 +- www/plugins/spip-bonux-3/inc/importer_csv.php | 2 +- .../spip-bonux-3/lang/paquet-spip_bonux.xml | 24 +- .../lang/paquet-spip_bonux_de.php | 16 ++ .../lang/paquet-spip_bonux_fa.php | 15 ++ .../lang/paquet-spip_bonux_fr.php | 2 +- .../lang/paquet-spip_bonux_nl.php | 16 ++ www/plugins/spip-bonux-3/lang/spip_bonux.xml | 28 ++- .../spip-bonux-3/lang/spip_bonux_de.php | 36 +++ .../spip-bonux-3/lang/spip_bonux_en.php | 2 +- .../spip-bonux-3/lang/spip_bonux_fa.php | 36 +++ .../spip-bonux-3/lang/spip_bonux_fr.php | 4 +- .../spip-bonux-3/lang/spip_bonux_nl.php | 36 +++ .../spip-bonux-3/lang/spip_bonux_ru.php | 2 +- .../spip-bonux-3/lang/spip_bonux_sk.php | 4 +- .../lib/array_column/array_column.php | 115 +++++++++ .../modeles/pagination_noancre.html | 2 +- www/plugins/spip-bonux-3/paquet.xml | 10 +- .../public/spip_bonux_balises.php | 2 +- .../public/spip_bonux_criteres.php | 49 +++- .../spip-bonux-3/spip_bonux_fonctions.php | 2 +- .../spip-bonux-3/spip_bonux_options.php | 130 +++++++++- www/plugins/spip-bonux-3/svn.revision | 8 +- 105 files changed, 1883 insertions(+), 652 deletions(-) create mode 100644 www/plugins/agenda_3_5/action/supprimer_evenement_participant.php create mode 100644 www/plugins/agenda_3_5/agenda_options.php delete mode 100644 www/plugins/agenda_3_5/formulaires/evenement_participants.html delete mode 100644 www/plugins/agenda_3_5/formulaires/evenement_participants.php create mode 100644 www/plugins/agenda_3_5/inclure/agenda-vue-calendrier.html create mode 100644 www/plugins/agenda_3_5/inclure/liste_participants_evenement.html create mode 100644 www/plugins/agenda_3_5/lang/agenda_ru.php create mode 100644 www/plugins/agenda_3_5/lang/configureragenda.xml create mode 100644 www/plugins/agenda_3_5/lang/configureragenda_nl.php create mode 100644 www/plugins/agenda_3_5/lang/migreragenda.xml create mode 100644 www/plugins/agenda_3_5/lang/paquet-agenda_nl.php create mode 100644 www/plugins/agenda_3_5/lang/paquet-agenda_ru.php create mode 100644 www/plugins/agenda_3_5/squelettes/aside/agenda.html create mode 100644 www/plugins/agenda_3_5/squelettes/breadcrumb/agenda.html create mode 100644 www/plugins/agenda_3_5/squelettes/extra/agenda.html create mode 100644 www/plugins/agenda_3_5/squelettes/extra/evenement.html create mode 100644 www/plugins/agenda_3_5/squelettes/extra/jour.html create mode 100644 www/plugins/agenda_3_5/squelettes/extra/rubrique-agenda.html delete mode 100644 www/plugins/calendrier_mini-2.0/lang/minical_ca.php delete mode 100644 www/plugins/calendrier_mini-2.0/lang/minical_it.php create mode 100644 www/plugins/calendrier_mini-2.0/lang/minical_nl.php create mode 100644 www/plugins/calendrier_mini-2.0/lang/minical_oc_ni_mis.php create mode 100644 www/plugins/calendrier_mini-2.0/lang/minical_ru.php create mode 100644 www/plugins/calendrier_mini-2.0/lang/paquet-calendriermini_nl.php create mode 100644 www/plugins/calendrier_mini-2.0/lang/paquet-calendriermini_oc_ni_mis.php create mode 100644 www/plugins/calendrier_mini-2.0/lang/paquet-calendriermini_ru.php create mode 100644 www/plugins/spip-bonux-3/lang/paquet-spip_bonux_de.php create mode 100644 www/plugins/spip-bonux-3/lang/paquet-spip_bonux_fa.php create mode 100644 www/plugins/spip-bonux-3/lang/paquet-spip_bonux_nl.php create mode 100644 www/plugins/spip-bonux-3/lang/spip_bonux_de.php create mode 100644 www/plugins/spip-bonux-3/lang/spip_bonux_fa.php create mode 100644 www/plugins/spip-bonux-3/lang/spip_bonux_nl.php create mode 100755 www/plugins/spip-bonux-3/lib/array_column/array_column.php diff --git a/www/plugins/agenda_3_5/action/editer_evenement.php b/www/plugins/agenda_3_5/action/editer_evenement.php index d192815..3d1635e 100644 --- a/www/plugins/agenda_3_5/action/editer_evenement.php +++ b/www/plugins/agenda_3_5/action/editer_evenement.php @@ -113,6 +113,7 @@ function evenement_modifier($id_evenement, $set=null){ if ($err = objet_modifier_champs('evenement', $id_evenement, array( + 'data' => $set, 'nonvide' => array('titre' => _T('info_nouvel_evenement')." "._T('info_numero_abbreviation').$id_evenement), 'invalideur' => $invalideur, 'indexation' => $indexation, diff --git a/www/plugins/agenda_3_5/action/supprimer_evenement_participant.php b/www/plugins/agenda_3_5/action/supprimer_evenement_participant.php new file mode 100644 index 0000000..fad3ec0 --- /dev/null +++ b/www/plugins/agenda_3_5/action/supprimer_evenement_participant.php @@ -0,0 +1,30 @@ + \ No newline at end of file diff --git a/www/plugins/agenda_3_5/agenda_administrations.php b/www/plugins/agenda_3_5/agenda_administrations.php index c40462a..2e02f7c 100644 --- a/www/plugins/agenda_3_5/agenda_administrations.php +++ b/www/plugins/agenda_3_5/agenda_administrations.php @@ -68,9 +68,23 @@ function agenda_upgrade($nom_meta_base_version,$version_cible){ array('sql_drop_table',"spip_mots_evenements"), array('sql_alter',"TABLE spip_evenements ADD statut varchar(10) DEFAULT 0 NOT NULL"), ); + $maj['0.25.0'] = array( array('upgrade_evenements_statut_025'), ); + + $maj['0.26.0'] = array( + array('maj_tables',array('spip_evenements')), + array('sql_update',"spip_evenements", array('date_creation'=>'maj')), + ); + + $maj['0.27.0'] = array( + // modification de la cle primaire (id_evenement,id_auteur) : les participants peuvent ne pas être des auteurs + // ajout d'une clé primaire "neutre" auto-incrémentée + array('sql_alter','TABLE spip_evenements_participants DROP PRIMARY KEY'), + array('sql_alter','TABLE spip_evenements_participants ADD id_evenement_participant BIGINT(21) NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST'), + array('maj_tables',array('spip_evenements_participants')), + ); include_spip('base/upgrade'); maj_plugin($nom_meta_base_version, $version_cible, $maj); diff --git a/www/plugins/agenda_3_5/agenda_options.php b/www/plugins/agenda_3_5/agenda_options.php new file mode 100644 index 0000000..601a787 --- /dev/null +++ b/www/plugins/agenda_3_5/agenda_options.php @@ -0,0 +1,6 @@ +'; + $flux .= ''; } } return $flux; @@ -113,7 +113,7 @@ function agenda_optimiser_base_disparus($flux){ while ($row = sql_fetch($res)) sql_updateq("spip_evenements",array('statut'=>'poubelle'),"id_article=".$row['id_article']); - // Evenements a la pouvelle + // Evenements a la poubelle sql_delete("spip_evenements", "statut='poubelle' AND maj < ".$flux['args']['date']); include_spip('action/editer_liens'); @@ -249,5 +249,28 @@ function agenda_compositions_declarer_heritage($heritages) { return $heritages; } +/** + * Insertion dans le pipeline revisions_chercher_label (Plugin révisions) + * Trouver le bon label à afficher sur les champs dans les listes de révisions + * + * Si un champ est un champ extra, son label correspond au label défini du champs extra + * + * @pipeline revisions_chercher_label + * @param array $flux Données du pipeline + * @return array Données du pipeline +**/ +function agenda_revisions_chercher_label($flux){ + foreach(array('date_debut', 'date_fin','horaire','lieu') as $champ){ + if($flux['args']['champ'] == $champ){ + $flux['data'] = _T('agenda:evenement_'.$champ); + return $flux; + } + } + + if($flux['args']['champ'] == 'id_article') + $flux['data'] = _T('agenda:evenement_article'); + + return $flux; +} ?> diff --git a/www/plugins/agenda_3_5/base/agenda_evenements.php b/www/plugins/agenda_3_5/base/agenda_evenements.php index 3b7973b..0573b30 100644 --- a/www/plugins/agenda_3_5/base/agenda_evenements.php +++ b/www/plugins/agenda_3_5/base/agenda_evenements.php @@ -39,14 +39,18 @@ function agenda_declarer_tables_auxiliaires($tables_auxiliaires){ //-- Table des participants ---------------------- $spip_evenements_participants = array( + "id_evenement_participant" => "BIGINT(21) NOT NULL AUTO_INCREMENT", "id_evenement" => "BIGINT (21) DEFAULT '0' NOT NULL", "id_auteur" => "BIGINT (21) DEFAULT '0' NOT NULL", + "nom" => "text NOT NULL DEFAULT ''", + "email" => "tinytext NOT NULL DEFAULT ''", "date" => "datetime DEFAULT '0000-00-00 00:00:00' NOT NULL", "reponse" => "char(3) default '?' NOT NULL", // oui, non, ? ); $spip_evenements_participants_key = array( - "PRIMARY KEY" => "id_evenement, id_auteur", + "PRIMARY KEY" => "id_evenement_participant", + "KEY id_evenement" => "id_evenement", "KEY id_auteur" => "id_auteur"); $tables_auxiliaires['spip_evenements_participants'] = array( @@ -92,7 +96,8 @@ function agenda_declarer_tables_objets_sql($tables){ "horaire" => "varchar(3) DEFAULT 'oui' NOT NULL", "id_evenement_source" => "bigint(21) NOT NULL", "statut" => "varchar(10) DEFAULT '0' NOT NULL", - "maj" => "TIMESTAMP" + "maj" => "TIMESTAMP", + "date_creation" => "datetime DEFAULT '0000-00-00 00:00:00' NOT NULL" ), 'key' => array( "PRIMARY KEY" => "id_evenement", @@ -133,7 +138,7 @@ function agenda_declarer_tables_objets_sql($tables){ 'poubelle' => 'texte_statut_poubelle', ), 'texte_changer_statut' => 'agenda:texte_evenement_statut', - 'champs_versionnes' => array('id_article', 'titre', 'descriptif', 'lieu', 'adresse'), + 'champs_versionnes' => array('id_article', 'titre', 'descriptif', 'lieu', 'adresse', 'date_debut', 'date_fin', 'horaire'), ); @@ -145,4 +150,5 @@ function agenda_declarer_tables_objets_sql($tables){ return $tables; } + ?> \ No newline at end of file diff --git a/www/plugins/agenda_3_5/formulaires/editer_evenement.html b/www/plugins/agenda_3_5/formulaires/editer_evenement.html index 269778e..9936901 100644 --- a/www/plugins/agenda_3_5/formulaires/editer_evenement.html +++ b/www/plugins/agenda_3_5/formulaires/editer_evenement.html @@ -8,26 +8,26 @@ #ACTION_FORMULAIRE{#ENV{action}} - + [(#REM) ajouter les saisies supplementaires : extra et autre, a cet endroit ] + +

#INCLURE{fond=formulaires/dateur/inc-dateur} ] diff --git a/www/plugins/agenda_3_5/formulaires/evenement_participants.php b/www/plugins/agenda_3_5/formulaires/evenement_participants.php deleted file mode 100644 index 7761a0e..0000000 --- a/www/plugins/agenda_3_5/formulaires/evenement_participants.php +++ /dev/null @@ -1,83 +0,0 @@ -$evenement, - 'tri_inscrits'=>$tri, - 'supprimer_lien'=>'' - ); - } - - return $valeurs; -} - -/** - * Traiter le post des informations de suppression d'inscription - * - * @param string $a - * @param bool $editable - * @return array - */ -function formulaires_evenement_participants_traiter_dist($a,$editable=true){ - - $supprimer = _request('supprimer_lien'); - - if ($supprimer){ - foreach($supprimer as $k=>$v) { - if ($lien = lien_verifier_action($k,$v)){ - $lien = explode("-",$lien); - list($objet_source,$ids,$objet_lie,$idl) = $lien; - if(autoriser('modifier','evenement',$ids)){ - if ($idl=="*") sql_delete("spip_evenements_participants", "id_evenement=$ids"); - else sql_delete("spip_evenements_participants", "id_evenement=$ids and id_auteur=$idl"); - } - } - } - } - - return $res; -} - -/** - * Fonction issue de prive/formulaires/editer_liens.php - * - * Les formulaires envoient une action dans un tableau ajouter_lien - * ou supprimer_lien - * L'action est de la forme - * objet1-id1-objet2-id2 - * - * L'action peut etre indiquee dans la cle, ou dans la valeur - * Si elle est indiquee dans la valeur, et que la cle est non numerique, - * on ne la prend en compte que si un submit avec la cle a ete envoye - * - * @param string $k - * @param string $v - * @return string - */ -function lien_verifier_action($k,$v){ - if (preg_match(",^\w+-[\w*]+-[\w*]+-[\w*]+,",$k)) - return $k; - if (preg_match(",^\w+-[\w*]+-[\w*]+-[\w*]+,",$v)){ - if (is_numeric($k)) - return $v; - if (_request($k)) - return $v; - } - return ''; -} -?> diff --git a/www/plugins/agenda_3_5/formulaires/migrer_agenda.html b/www/plugins/agenda_3_5/formulaires/migrer_agenda.html index 29f09e7..7942618 100644 --- a/www/plugins/agenda_3_5/formulaires/migrer_agenda.html +++ b/www/plugins/agenda_3_5/formulaires/migrer_agenda.html @@ -19,7 +19,7 @@ (#VAL|chercher_rubrique{0,#ENV{id_parent},'article',0,0,0,form_simple}) ] #SET{name,toute_la_branche}#SET{obli,''}#SET{defaut,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} -
  • [ +
  • [ (#GET{erreurs}) ] #SET{val,oui} diff --git a/www/plugins/agenda_3_5/formulaires/migrer_agenda.php b/www/plugins/agenda_3_5/formulaires/migrer_agenda.php index 1f79a57..8e55046 100644 --- a/www/plugins/agenda_3_5/formulaires/migrer_agenda.php +++ b/www/plugins/agenda_3_5/formulaires/migrer_agenda.php @@ -68,6 +68,7 @@ function formulaires_migrer_agenda_verifier_dist(){ $message .= sinon(singulier_ou_pluriel($nba,'info_1_article','info_nb_articles'),_T('info_aucun_article')); $erreurs['confirmer'] = $message; + $erreurs['message_erreur'] = ''; // pas de message automatique } return $erreurs; diff --git a/www/plugins/agenda_3_5/formulaires/participer_evenement.html b/www/plugins/agenda_3_5/formulaires/participer_evenement.html index c25dd05..dc649cb 100644 --- a/www/plugins/agenda_3_5/formulaires/participer_evenement.html +++ b/www/plugins/agenda_3_5/formulaires/participer_evenement.html @@ -1,37 +1,51 @@
    [(#ENV{editable}|non) [

    (#ENV**{message_ok})

    ] - [

    (#ENV**{message_erreur})

    ] - ] + [

    (#ENV**{message_erreur})

    ]] [(#ENV{editable}) -
    +
    [(#REM) declarer les hidden qui declencheront le service du formulaire parametre : url d'action ] #ACTION_FORMULAIRE{#ENV{action}}
    <:agenda:label_vous_inscrire:> [

    (#ENV*{message_ok})

    ] [

    (#ENV*{message_erreur})

    ] -
      -
    • +
        + [(#SESSION{statut}|oui) + [
      • <:nom:> (#SESSION{nom}|typo) [<:icone_deconnecter:>]
      • ] + ] + [(#SESSION{statut}|non) +
      • + + [(#ENV**{erreurs}|table_valeur{nom})] + +
      • +
      • + + <:agenda:evenement_participant_email_mention:> + [(#ENV**{erreurs}|table_valeur{email})] + +
      • + ] +
      • [(#ENV**{erreurs}|table_valeur{reponse})] -
        +
        -
        +
        -
        +
        -
      • -
      -
    - [(#REM) ajouter les saisies supplementaires : extra et autre, a cet endroit ] - -

    -
    - ] +
  • + + + [(#REM) ajouter les saisies supplementaires : extra et autre, a cet endroit ] + +

    + ] diff --git a/www/plugins/agenda_3_5/formulaires/participer_evenement.php b/www/plugins/agenda_3_5/formulaires/participer_evenement.php index 868ec6b..7c91173 100644 --- a/www/plugins/agenda_3_5/formulaires/participer_evenement.php +++ b/www/plugins/agenda_3_5/formulaires/participer_evenement.php @@ -12,15 +12,19 @@ if (!defined("_ECRIRE_INC_VERSION")) return; include_spip('inc/actions'); include_spip('inc/editer'); -function formulaires_participer_evenement_charger_dist($id_evenement){ - $valeurs = array(); +function formulaires_participer_evenement_charger_dist($id_evenement, $mode=''){ + $valeurs = array( + 'nom' => isset($GLOBALS['visiteur_session']['id_auteur']) ? $GLOBALS['visiteur_session']['nom'] : _request('nom'), + 'email' => isset($GLOBALS['visiteur_session']['id_auteur']) ? $GLOBALS['visiteur_session']['email'] : _request('email'), + 'reponse' => _request('reponse'), + ); // si pas d'evenement ou d'inscription, on echoue silencieusement if (!$row = sql_fetsel('inscription,places','spip_evenements','id_evenement='.intval($id_evenement).' AND date_fin>NOW()') - OR !$row['inscription']) + OR !$row['inscription']) return false; // si anonyme, on echoue avec avertissement - if (!$GLOBALS['visiteur_session']['id_auteur']) + if ($mode!='public' && (!isset($GLOBALS['visiteur_session']['id_auteur']) || !$GLOBALS['visiteur_session']['id_auteur'])) return array( 'message_erreur'=>_T('agenda:connexion_necessaire_pour_inscription'), 'editable'=>false @@ -28,7 +32,8 @@ function formulaires_participer_evenement_charger_dist($id_evenement){ // valeurs d'initialisation $valeurs['id'] = $id_evenement; - $valeurs['reponse'] = sql_getfetsel('reponse','spip_evenements_participants','id_evenement='.intval($id_evenement).' AND id_auteur='.intval($GLOBALS['visiteur_session']['id_auteur'])); + if(isset($GLOBALS['visiteur_session']['id_auteur'])) + $valeurs['reponse'] = sql_getfetsel('reponse','spip_evenements_participants','id_evenement='.intval($id_evenement).' AND id_auteur='.intval($GLOBALS['visiteur_session']['id_auteur'])); // si les places sont comptees, regarder si il en reste if ($places = $row['places']){ @@ -38,8 +43,8 @@ function formulaires_participer_evenement_charger_dist($id_evenement){ // on multiplie tout par 2 pour eviter les troncatures ($total ne sert de toute facon que dans les tests) $total = 2*$ok+$peutetre; if ($total>=2*$places){ - // dans ce cas, le formulaire est editable seulement si l'auteur a deja repondu oui ou peut-etre, et peut changer d'avis ! - if (!($valeurs['reponse']=='oui' OR $valeurs['reponse']=='?')){ + // dans ce cas, le formulaire est editable seulement si l'auteur a deja repondu oui ou peut-etre, et peut changer d'avis ! + if (!($valeurs['reponse']=='oui' OR $valeurs['reponse']=='?')){ $valeurs['editable'] = false; $valeurs['message_ok'] = _T('agenda:evenement_complet'); } @@ -49,14 +54,26 @@ function formulaires_participer_evenement_charger_dist($id_evenement){ return $valeurs; } -function formulaires_participer_evenement_verifier_dist($id_evenement){ +function formulaires_participer_evenement_verifier_dist($id_evenement, $mode=''){ $erreurs = array(); $reponse = _request('reponse'); + $nom = _request('nom'); + $email = _request('email'); // Le test de la ligne suivante sert a savoir si la reponse est vide, non? // On vient juste de la recuperer ci-dessus, pas la peine de la reaffecter... if (!($reponse) OR !in_array($reponse,array('oui','non','?'))) $erreurs['reponse'] = _T('agenda:indiquez_votre_choix'); - elseif ($reponse!=='non') { + elseif ($mode=='public' AND !isset($GLOBALS['visiteur_session']['id_auteur'])) { + // nom et email sont obligatoires + if (!$nom) + $erreurs['nom'] = _T('info_obligatoire'); + if (!$email) + $erreurs['email'] = _T('info_obligatoire'); + // pas de double inscription avec le même email + if (sql_fetsel('reponse','spip_evenements_participants','id_evenement='.intval($id_evenement).' AND email='.sql_quote($email))) { + $erreurs['email'] = _T('erreur_email_deja_existant'); + } + } elseif ($reponse!=='non' && isset($GLOBALS['visiteur_session']['id_auteur'])) { $row = sql_fetsel('places','spip_evenements','id_evenement='.intval($id_evenement)); $valeurs['reponse'] = sql_getfetsel('reponse','spip_evenements_participants','id_evenement='.intval($id_evenement).' AND id_auteur='.intval($GLOBALS['visiteur_session']['id_auteur'])); if ($places = $row['places'] AND $valeurs['reponse']!==$reponse){ @@ -66,14 +83,13 @@ function formulaires_participer_evenement_verifier_dist($id_evenement){ // on multiplie tout par 2 pour eviter les troncatures ($total ne sert de toute facon que dans les tests) $total = 2*$ok+$peutetre; if ( - // Si on est au taquet, le seul cas autorise restant (la reponse NON et la reponse identique sont prises - // en compte dans les tests ci-dessus) est: transformation d'un OUI en PEUT-ETRE (-0,5) - ($total>=2*$places AND !($valeurs['reponse']=='oui' AND $reponse=='?')) - OR - // Si il reste un siege PEUT-ETRE, le seul cas interdit restant est: transformation d'un NON en OUI (+1) - ($total==2*$places-1 AND ($valeurs['reponse']=='non' AND $reponse=='oui')) - ){ - $erreurs['reponse'] = _T('agenda:plus_de_place'); + // Si on est au taquet, le seul cas autorise restant (la reponse NON et la reponse identique sont prises + // en compte dans les tests ci-dessus) est: transformation d'un OUI en PEUT-ETRE (-0,5) + ($total>=2*$places AND !($valeurs['reponse']=='oui' AND $reponse=='?')) + OR + // Si il reste un siege PEUT-ETRE, le seul cas interdit restant est: transformation d'un NON en OUI (+1) + ($total==2*$places-1 AND ($valeurs['reponse']=='non' AND $reponse=='oui'))){ + $erreurs['reponse'] = _T('agenda:plus_de_place'); } } } @@ -83,26 +99,30 @@ function formulaires_participer_evenement_verifier_dist($id_evenement){ function formulaires_participer_evenement_traiter_dist($id_evenement){ $reponse = _request('reponse'); - if (sql_fetsel('reponse','spip_evenements_participants','id_evenement='.intval($id_evenement).' AND id_auteur='.intval($GLOBALS['visiteur_session']['id_auteur']))){ - sql_updateq('spip_evenements_participants',array('reponse'=>$reponse),'id_evenement='.intval($id_evenement).' AND id_auteur='.intval($GLOBALS['visiteur_session']['id_auteur'])); - } - else - sql_insertq('spip_evenements_participants',array('id_evenement'=>$id_evenement,'id_auteur'=>$GLOBALS['visiteur_session']['id_auteur'],'reponse'=>$reponse,'date'=>'NOW()')); - - $retour = array('editable'=>true); - if (!$reponse = sql_getfetsel('reponse','spip_evenements_participants','id_evenement='.intval($id_evenement).' AND id_auteur='.intval($GLOBALS['visiteur_session']['id_auteur'])) - OR $reponse!=_request('reponse')){ - $retour['message_erreur'] = _T('agenda:probleme_technique'); - } - else { - if ($reponse=='oui') - $message = _T('agenda:participation_prise_en_compte'); - elseif ($reponse=='?') - $message = _T('agenda:participation_incertaine_prise_en_compte'); - else - $message = _T('agenda:absence_prise_en_compte'); - } - return array('message_ok'=>$message,'editable'=>true); + $nom = _request('nom'); + $email = _request('email'); + + if(isset($GLOBALS['visiteur_session']['id_auteur'])){ + $editable = true; + if (sql_fetsel('reponse','spip_evenements_participants','id_evenement='.intval($id_evenement).' AND id_auteur='.intval($GLOBALS['visiteur_session']['id_auteur']))) + sql_updateq('spip_evenements_participants',array('reponse'=>$reponse,'date'=>'NOW()'),'id_evenement='.intval($id_evenement).' AND id_auteur='.intval($GLOBALS['visiteur_session']['id_auteur'])); + else + sql_insertq('spip_evenements_participants',array('id_evenement'=>$id_evenement,'id_auteur'=>$GLOBALS['visiteur_session']['id_auteur'],'reponse'=>$reponse,'date'=>'NOW()')); + } else { + $editable = false; + sql_insertq('spip_evenements_participants',array('id_evenement'=>$id_evenement,'nom'=>$nom,'email'=>$email,'reponse'=>$reponse,'date'=>'NOW()')); + } + if ($reponse == 'oui') + $message = _T('agenda:participation_prise_en_compte'); + elseif ($reponse == '?') + $message = _T('agenda:participation_incertaine_prise_en_compte'); + else + $message = _T('agenda:absence_prise_en_compte'); + + include_spip('inc/invalideur'); + suivre_invalideur("id='evenement/$id_evenement'"); + + return array('message_ok'=>$message,'editable'=>$editable); } ?> \ No newline at end of file diff --git a/www/plugins/agenda_3_5/inc/un-evenement-ical.html b/www/plugins/agenda_3_5/inc/un-evenement-ical.html index 68cd4db..ac77161 100644 --- a/www/plugins/agenda_3_5/inc/un-evenement-ical.html +++ b/www/plugins/agenda_3_5/inc/un-evenement-ical.html @@ -1,14 +1,17 @@ BEGIN:VEVENT SUMMARY:[(#EVTITRE|textebrut|filtrer_ical)] UID:evenement#ID_EVENEMENT @ [(#URL_SITE_SPIP|filtrer_ical)][ -DTSTAMP:(#DATE_DEBUT|date_ical)][(#HORAIRE|=={oui}|?{[ +DTSTAMP:(#DATE_CREATION|date_ical)][(#HORAIRE|=={oui}|?{[ DTSTART:(#DATE_DEBUT|date_ical)][ DTEND:(#DATE_FIN|date_ical)],[ DTSTART;VALUE=DATE:(#DATE_DEBUT|affdate{Ymd})][ DTEND;VALUE=DATE:(#DATE_FIN|agenda_jourdecal{1,Ymd})]})][ +CREATED:(#DATE_CREATION|date_ical)][ +LAST-MODIFIED:(#MAJ|date_ical)][ LOCATION:(#LIEU|PtoBR|textebrut|filtrer_ical)][ DESCRIPTION:(#DESCRIPTIF|supprimer_tags|textebrut|filtrer_ical)] CATEGORIES:[(#TITRE|textebrut|filtrer_ical)] -URL:[(#URL_ARTICLE|parametre_url{id_evenement,#ID_EVENEMENT}|url_absolue|filtrer_ical)] -STATUS:CONFIRMED +URL:[(#URL_ARTICLE|parametre_url{id_evenement,#ID_EVENEMENT}|url_absolue|filtrer_ical)][ +SEQUENCE:(#ID_VERSION|moins{1}) +]STATUS:CONFIRMED END:VEVENT diff --git a/www/plugins/agenda_3_5/inclure/agenda-vue-calendrier.html b/www/plugins/agenda_3_5/inclure/agenda-vue-calendrier.html new file mode 100644 index 0000000..a65661d --- /dev/null +++ b/www/plugins/agenda_3_5/inclure/agenda-vue-calendrier.html @@ -0,0 +1,82 @@ + + +#SET{data,#ARRAY} +[ +(#SET{événement,#ARRAY{title,'',hover,#TITRE,start,#DATE_DEBUT,end,#DATE_FIN,id,#ID_ARTICLE,url,#URL_ARTICLE}})][ +(#SET{data,#GET{data}|push{#GET{événement}}}) +] + +[(#SET{json_data,#GET{data}|json_encode{2}})] + +
    + +#SET{français,0} +[(#LANG|is_null|oui)#SET{français,1}] +[(#LANG|=={fr}|oui)#SET{français,1}] + + diff --git a/www/plugins/agenda_3_5/inclure/liste_participants_evenement.html b/www/plugins/agenda_3_5/inclure/liste_participants_evenement.html new file mode 100644 index 0000000..c9ddc28 --- /dev/null +++ b/www/plugins/agenda_3_5/inclure/liste_participants_evenement.html @@ -0,0 +1,31 @@ + +#SET{inscrits,#TOTAL_BOUCLE} + + + #ANCRE_PAGINATION + + [] + + + + + + + + + + + + + + + + +
    (#GRAND_TOTAL|singulier_ou_pluriel{agenda:info_une_reponse,agenda:info_nb_reponses,nb})[, + (#GET{inscrits}|singulier_ou_pluriel{agenda:info_un_inscrit,agenda:info_nb_inscrits,nb})]
    <:nom:><:agenda:evenement_date_inscription:><:agenda:info_reponse_inscriptions:>
    [(#NOM|sinon{#INFO_NOM{auteur,#ID_AUTEUR}})][(#DATE|affdate_jourcourt)] + [(#REPONSE|=={'oui'}|oui)<:agenda:label_reponse_jyparticipe:>] + [(#REPONSE|=={'non'}|oui)<:agenda:label_reponse_jyparticipe_pas:>] + [(#REPONSE|=={'?'}|oui)<:agenda:label_reponse_jyparticipe_peutetre:>] +
    + [

    (#PAGINATION)

    ] +
    diff --git a/www/plugins/agenda_3_5/lang/agenda.xml b/www/plugins/agenda_3_5/lang/agenda.xml index 9b8cd30..8599921 100644 --- a/www/plugins/agenda_3_5/lang/agenda.xml +++ b/www/plugins/agenda_3_5/lang/agenda.xml @@ -1,15 +1,25 @@ - + + - + + - - + + + - - + + + + + + + + + diff --git a/www/plugins/agenda_3_5/lang/agenda_de.php b/www/plugins/agenda_3_5/lang/agenda_de.php index dbe4f62..5a539f9 100644 --- a/www/plugins/agenda_3_5/lang/agenda_de.php +++ b/www/plugins/agenda_3_5/lang/agenda_de.php @@ -14,10 +14,10 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'agenda' => 'Kalender', 'ajouter_repetition' => 'Wiederholungen hinzufügen', 'ajouter_un_evenement' => 'diesem Artikel ein Event hinzufügen', - 'annee_precedente' => 'Jahr davor', # MODIF + 'annee_precedente' => 'Jahr davor', 'annee_suivante' => 'Jahr danach', 'aucun_evenement' => 'Kein Event', - 'aucun_inscrit' => 'Aucun inscrit', # NEW + 'aucun_inscrit' => 'Keine Anmeldung', 'aucune_rubrique_mode_agenda' => 'In der Grundeinstellung können Events in alle Rubriken eingetragen werden. Wenn sie den Kalender gezielt für eine oder mehrere Rubriken aktivieren, dann steht ihnen der Kalender nur für diese Rubriken zur Verfügung.', // B @@ -25,11 +25,17 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'bouton_supprimer' => 'Löschen', // C + 'cal_par_jour' => 'Tag', + 'cal_par_mois' => 'Monat', + 'cal_par_semaine' => 'Woche', 'confirm_suppression_inscription' => 'Wollen sie diese Anmeldung wirklich löschen?', - 'confirm_suppression_inscription_toutes' => 'Voulez-vous vraiment supprimer toutes les inscriptions ?', # NEW - 'connexion_necessaire_pour_inscription' => 'Merci de vous connecter pour pouvoir vous inscrire à cet événement.', # NEW + 'confirm_suppression_inscription_toutes' => 'Wollen Sie wirklich alle Anmeldungen löschen?', + 'connexion_necessaire_pour_inscription' => 'Um sich für den Event anmelden zu können müssen Sie sich anmelden.', 'creer_evenement' => 'Event neu anlegen', + // D + 'date_fmt_agenda_label' => '@jour@ @mois@ @annee@', + // E 'erreur_article_interdit' => 'Sie dürfen dieses Event nicht diesem Artikel zuordnen', 'erreur_article_manquant' => 'Sie müssen einen Artikel angeben', @@ -49,15 +55,18 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'evenement_date_debut' => 'Anfangsdatum', 'evenement_date_du' => 'Vom ', 'evenement_date_fin' => 'Enddatum', - 'evenement_date_inscription' => 'Date d\'inscription', # NEW + 'evenement_date_inscription' => 'Anmeldedatum', 'evenement_descriptif' => 'Beschreibung', 'evenement_horaire' => 'ganztägig', 'evenement_lieu' => 'Ort', + 'evenement_participant_email_mention' => 'Um in kontakt zu bleiben benötigen wir Ihre E-Mail-Adresse. Diese wird nicht veröffentlicht', 'evenement_repetitions' => 'Wiederholungen', 'evenement_titre' => 'Titel', - 'evenements' => 'Event', + 'evenements' => 'Events', 'evenements_a_venir' => 'In der Zukunft', 'evenements_depuis_debut' => 'Alle', + 'explication_synchro_flux_ical' => 'Das Plugin Agenda beinhaltet eine iCal Feed der Events. Einige Klienten aktualisieren Termine nur, wenn eine Versionsnummer haben (die Änderungen anzeigt) im Feed enthalten ist. Um diese Versionsnummer in den iCal-Feed zu integrieren muss die Versionskontrolle für Events aktiviert werden (im Menu Konfiguration > Versionen).', + 'explication_synchro_flux_ical_titre' => 'Synchronisation des iCal Feed', // F 'fermer' => 'Schließen', @@ -65,8 +74,8 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( // I 'icone_creer_evenement' => 'Neue Veranstaltung anlegen', 'icone_modifier_evenement' => 'Event Bearbeiten', - 'indiquez_votre_choix' => 'Indiquez votre choix', # NEW - 'info_1_mois' => '1 mois', # NEW + 'indiquez_votre_choix' => 'Geben Sie Ihre Auswahl an', + 'info_1_mois' => '1 Monat', 'info_1_place' => '1 Platz', 'info_aucun_evenement' => 'Kein Event', 'info_evenement' => 'Event', @@ -74,33 +83,35 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'info_evenement_propose' => 'Event vorgeschlagen', 'info_evenement_publie' => 'Event veröffentlicht', 'info_evenements' => 'Event', - 'info_inscription' => 'Inscription en ligne :', # NEW + 'info_inscription' => 'Online Anmeldung:', 'info_lieu' => 'Ort:', - 'info_nb_inscrits' => '@nb@ inscrits', # NEW - 'info_nb_mois' => '@nb@ mois', # NEW + 'info_nb_inscrits' => '@nb@ Anmeldungen', + 'info_nb_mois' => '@nb@ Monate', 'info_nb_places' => '@nb@ Plätze', + 'info_nb_reponses' => '@nb@ Rückmeldungen', 'info_nombre_evenements' => '@nb@ Events', 'info_nouvel_evenement' => 'Neues Event', 'info_reponse_inscription_non' => 'nein', 'info_reponse_inscription_nsp' => '?', 'info_reponse_inscription_oui' => 'ja', - 'info_reponse_inscriptions' => 'Réponse', # NEW + 'info_reponse_inscriptions' => 'Rückmeldung', 'info_reponses_inscriptions' => 'Antworten', 'info_un_evenement' => 'ein Event', - 'info_un_inscrit' => 'Un inscrit', # NEW + 'info_un_inscrit' => 'Eine Anmeldung', + 'info_une_reponse' => 'Eine Rückmeldung', 'inscrits' => 'Anmeldungen', // L - 'label_annee' => 'Année', # NEW + 'label_annee' => 'Jahr', 'label_inscription' => 'Online-Anmeldungen', - 'label_periode_saison' => 'Saison', # NEW + 'label_periode_saison' => 'Saison', 'label_places' => 'Maximale Anzahl Plätze', 'label_reponse_jyparticipe' => 'Ich komme', 'label_reponse_jyparticipe_pas' => 'Ich komme nicht', 'label_reponse_jyparticipe_peutetre' => 'Ich komem vielleicht', 'label_vous_inscrire' => 'Ihre Teilnahme', 'lien_desinscrire' => 'Entfernen', - 'lien_desinscrire_tous' => 'Supprimer toutes les inscriptions', # NEW + 'lien_desinscrire_tous' => 'Alle Anmeldungen löschen', 'lien_retirer_evenement' => 'Löschen', 'liste_inscrits' => 'Liste der Anmeldungen', @@ -119,7 +130,7 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( // R 'repetition' => 'Wiederholung', 'repetition_de' => 'Wiederholung von', - 'retour_evenement' => 'Retour à l\'événement', # NEW + 'retour_evenement' => 'Zurück zum Event', 'rubrique_activer_agenda' => 'Kalender für diese Rubrik aktivieren', 'rubrique_dans_une_rubrique_mode_agenda' => 'Diese Rubrik kann den Kalender nutzen, denn sie befindet sich innerhalb einer Rubrik, für die den Kalende nutzen darf.', 'rubrique_desactiver_agenda' => 'Kalender in dieser Rubrik deaktivieren', @@ -132,17 +143,17 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'sans_titre' => '(ohne Titel)', // T - 'telecharger' => 'Herunterladen', # MODIF - 'telecharger_oui' => 'Seulement les réponses positives', # NEW - 'telecharger_toutes' => 'Toutes les réponses', # NEW - 'telecharger_toutes_tous_evenements' => 'Toutes les réponses aux inscriptions', # NEW - 'texte_agenda' => 'KALENDER', # MODIF + 'telecharger' => 'Herunterladen', + 'telecharger_oui' => 'Nur positive Rückmeldungen', + 'telecharger_toutes' => 'Alle Rückmeldungen', + 'telecharger_toutes_tous_evenements' => 'Alle Rückmeldungen zu Anmeldungen', + 'texte_agenda' => 'KALENDER', 'texte_evenement_statut' => 'Dieses Event ist', - 'texte_logo_objet' => 'EVENT-LOGO', # MODIF + 'texte_logo_objet' => 'EVENT-LOGO', 'titre_cadre_ajouter_evenement' => 'Event hinzufügen', 'titre_cadre_modifier_evenement' => 'Event umändern', 'titre_sur_l_agenda' => 'Im Kalender', - 'titre_sur_l_agenda_aussi' => 'Et aussi...', # NEW + 'titre_sur_l_agenda_aussi' => 'Außerdem...', 'toutes_rubriques' => 'Alle', // U diff --git a/www/plugins/agenda_3_5/lang/agenda_en.php b/www/plugins/agenda_3_5/lang/agenda_en.php index 32a7c1d..747b657 100644 --- a/www/plugins/agenda_3_5/lang/agenda_en.php +++ b/www/plugins/agenda_3_5/lang/agenda_en.php @@ -25,11 +25,17 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'bouton_supprimer' => 'Delete', // C + 'cal_par_jour' => 'day', + 'cal_par_mois' => 'month', + 'cal_par_semaine' => 'week', 'confirm_suppression_inscription' => 'Are you sure you want to delete this registration?', 'confirm_suppression_inscription_toutes' => 'Do you really want to delete all registrations?', 'connexion_necessaire_pour_inscription' => 'Please log in to register to this event.', 'creer_evenement' => 'Create an event', + // D + 'date_fmt_agenda_label' => '@mois@ @jour@ @annee@', + // E 'erreur_article_interdit' => 'You have no right to associate this event to this article', 'erreur_article_manquant' => 'You should link to an article', @@ -53,11 +59,14 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'evenement_descriptif' => 'Description', 'evenement_horaire' => 'All day', 'evenement_lieu' => 'Location', + 'evenement_participant_email_mention' => 'To stay in contact, you should submit your email address. It will not be communicated on the site.', 'evenement_repetitions' => 'Repetition', 'evenement_titre' => 'Title', 'evenements' => 'Events', 'evenements_a_venir' => 'Next', 'evenements_depuis_debut' => 'All', + 'explication_synchro_flux_ical' => 'Plugin Agenda supplies a flow of events in iCal format. Certain clients do not update an event unless a version number (also indicating any modification) is present in the flow. In order to have this number included in the generated iCal flow, you can activate revisions for events (Configuration menu > Revisions).', + 'explication_synchro_flux_ical_titre' => 'Synchronisation of iCal flow', // F 'fermer' => 'close', @@ -79,6 +88,7 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'info_nb_inscrits' => '@nb@ registered', 'info_nb_mois' => '@nb@ months', 'info_nb_places' => '@nb@ seats', + 'info_nb_reponses' => '@nb@ replies', 'info_nombre_evenements' => '@nb@ events', 'info_nouvel_evenement' => 'New event', 'info_reponse_inscription_non' => 'no', @@ -88,6 +98,7 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'info_reponses_inscriptions' => 'Answers:', 'info_un_evenement' => 'One event', 'info_un_inscrit' => 'One registered', + 'info_une_reponse' => 'One reply', 'inscrits' => 'Registrations', // L @@ -95,9 +106,9 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'label_inscription' => 'Online registration', 'label_periode_saison' => 'Season', 'label_places' => 'Limit the seats number', - 'label_reponse_jyparticipe' => 'I\'ll be there', - 'label_reponse_jyparticipe_pas' => 'I won\'t be there', - 'label_reponse_jyparticipe_peutetre' => 'Maybe I\'ll be there', + 'label_reponse_jyparticipe' => 'I’ll be there', + 'label_reponse_jyparticipe_pas' => 'I won’t be there', + 'label_reponse_jyparticipe_peutetre' => 'Maybe I’ll be there', 'label_vous_inscrire' => 'Your participation', 'lien_desinscrire' => 'Remove', 'lien_desinscrire_tous' => 'Delete all registrations', @@ -138,7 +149,7 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'telecharger_toutes_tous_evenements' => 'All answers to registrations', 'texte_agenda' => 'Agenda', 'texte_evenement_statut' => 'This event is:', - 'texte_logo_objet' => 'Event\'s logo', + 'texte_logo_objet' => 'Event’s logo', 'titre_cadre_ajouter_evenement' => 'Add one event', 'titre_cadre_modifier_evenement' => 'Modify one event', 'titre_sur_l_agenda' => 'On agenda', @@ -149,7 +160,7 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'une_repetition' => '1 repetition', // V - 'voir_evenements_rubrique' => 'See this section\'s events' + 'voir_evenements_rubrique' => 'See this section’s events' ); ?> diff --git a/www/plugins/agenda_3_5/lang/agenda_es.php b/www/plugins/agenda_3_5/lang/agenda_es.php index c598089..36d6360 100644 --- a/www/plugins/agenda_3_5/lang/agenda_es.php +++ b/www/plugins/agenda_3_5/lang/agenda_es.php @@ -25,11 +25,17 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'bouton_supprimer' => 'Eliminar', // C + 'cal_par_jour' => 'día', + 'cal_par_mois' => 'mes', + 'cal_par_semaine' => 'semana', 'confirm_suppression_inscription' => '¿Desea realmente eliminar esta inscripción?', 'confirm_suppression_inscription_toutes' => '¿Desea realmente eliminar todas las inscripciones?', - 'connexion_necessaire_pour_inscription' => 'Gracias por conectarse para poder inscribirse a este evento.', + 'connexion_necessaire_pour_inscription' => 'Gracias por conectarse para poder inscribirse a este evento.', 'creer_evenement' => 'Crear un evento', + // D + 'date_fmt_agenda_label' => '@jour@ @mois@ @annee@', + // E 'erreur_article_interdit' => 'No tiene permiso para asociar este evento a este artículo', 'erreur_article_manquant' => 'Debe indicar un artículo', @@ -44,7 +50,7 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'evenement_date' => 'Fecha', 'evenement_date_a' => 'a las ', 'evenement_date_a_immediat' => 'a las ', - 'evenement_date_au' => 'Al', + 'evenement_date_au' => 'Al ', 'evenement_date_de' => 'De ', 'evenement_date_debut' => 'Fecha de inicio', 'evenement_date_du' => 'Del ', @@ -53,11 +59,14 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'evenement_descriptif' => 'Descripción', 'evenement_horaire' => 'Todo el día', 'evenement_lieu' => 'Lugar', + 'evenement_participant_email_mention' => 'Para quedar en contact, indique su dirección mail. No sera publicada en el sitio.', 'evenement_repetitions' => 'Repeticiones', 'evenement_titre' => 'Título', 'evenements' => 'Eventos', 'evenements_a_venir' => 'Próximos', 'evenements_depuis_debut' => 'Desde el inicio', + 'explication_synchro_flux_ical' => 'El plugin Agenda proporciona una fuente de eventos en formato iCal. Algunos clientes sólo actualizan un evento si un número de versión (indicando así que ha habido una actualización) está presente en esta fuente. Para que este número de versión se integre en la fuente iCal generado, debe activar el seguimiento de las revisiones para los eventos (menú Configuración > Revisiones).', + 'explication_synchro_flux_ical_titre' => 'Sincronización de la fuente iCal', // F 'fermer' => 'cerrar', @@ -79,6 +88,7 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'info_nb_inscrits' => '@nb@ inscritos', 'info_nb_mois' => '@nb@ meses', 'info_nb_places' => '@nb@ plazas', + 'info_nb_reponses' => '@nb@ respuestas', 'info_nombre_evenements' => '@nb@ eventos', 'info_nouvel_evenement' => 'Nuevo evento', 'info_reponse_inscription_non' => 'no', @@ -88,6 +98,7 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'info_reponses_inscriptions' => 'Respuestas:', 'info_un_evenement' => '1 evento', 'info_un_inscrit' => 'Un inscrito', + 'info_une_reponse' => 'Una respuesta', 'inscrits' => 'Inscripciones', // L diff --git a/www/plugins/agenda_3_5/lang/agenda_fr.php b/www/plugins/agenda_3_5/lang/agenda_fr.php index f975b6e..8292a7d 100644 --- a/www/plugins/agenda_3_5/lang/agenda_fr.php +++ b/www/plugins/agenda_3_5/lang/agenda_fr.php @@ -16,29 +16,35 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'annee_suivante' => 'année suivante', 'aucun_evenement' => 'aucun événement', 'aucun_inscrit' => 'Aucun inscrit', - 'aucune_rubrique_mode_agenda' => 'Par défaut, toutes les rubriques permettent d\'utiliser les événements. Si vous activez le mode agenda sur une ou plusieurs rubriques, la gestion des événements sera limitée a sa branche.', + 'aucune_rubrique_mode_agenda' => 'Par défaut, toutes les rubriques permettent d’utiliser les événements. Si vous activez le mode agenda sur une ou plusieurs rubriques, la gestion des événements sera limitée a sa branche.', // B 'bouton_annuler' => 'Annuler', 'bouton_supprimer' => 'Supprimer', // C - 'confirm_suppression_inscription' => 'Voulez-vous vraiment supprimer cette inscription ?', - 'confirm_suppression_inscription_toutes' => 'Voulez-vous vraiment supprimer toutes les inscriptions ?', + 'cal_par_jour' => 'jour', + 'cal_par_mois' => 'mois', + 'cal_par_semaine' => 'semaine', + 'confirm_suppression_inscription' => 'Voulez-vous vraiment supprimer cette inscription ?', + 'confirm_suppression_inscription_toutes' => 'Voulez-vous vraiment supprimer toutes les inscriptions ?', 'connexion_necessaire_pour_inscription' => 'Merci de vous connecter pour pouvoir vous inscrire à cet événement.', 'creer_evenement' => 'Créer un événement', + // D + 'date_fmt_agenda_label' => '@jour@ @mois@ @annee@', + // E - 'erreur_article_interdit' => 'Vous n\'avez pas le droit d\'associer cet événement à cet article', + 'erreur_article_interdit' => 'Vous n’avez pas le droit d’associer cet événement à cet article', 'erreur_article_manquant' => 'Vous devez indiquer un article', 'erreur_date' => 'Cette date est incorrecte', - 'erreur_date_avant_apres' => 'Indiquez une date de fin après la date de début !', + 'erreur_date_avant_apres' => 'Indiquez une date de fin après la date de début !', 'erreur_date_corrigee' => 'La date a été corrigée', 'erreur_heure' => 'Cette heure est incorrecte', - 'erreur_heure_corrigee' => 'L\'heure a été corrigée', + 'erreur_heure_corrigee' => 'L’heure a été corrigée', 'evenement_adresse' => 'Adresse', - 'evenement_article' => 'Associé à l\'article', - 'evenement_autres_occurences' => 'Autres occurences :', + 'evenement_article' => 'Associé à l’article', + 'evenement_autres_occurences' => 'Autres occurences :', 'evenement_date' => 'Date', 'evenement_date_a' => 'à ', 'evenement_date_a_immediat' => 'à ', @@ -47,22 +53,25 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'evenement_date_debut' => 'Date de début', 'evenement_date_du' => 'Du ', 'evenement_date_fin' => 'Date de fin', - 'evenement_date_inscription' => 'Date d\'inscription', + 'evenement_date_inscription' => 'Date d’inscription', 'evenement_descriptif' => 'Descriptif', 'evenement_horaire' => 'Toute la journée', 'evenement_lieu' => 'Lieu', + 'evenement_participant_email_mention' => 'Pour rester en contact, vous pouvez indiquer votre adresse email. Elle ne sera pas communiquée sur le site.', 'evenement_repetitions' => 'Répétitions', 'evenement_titre' => 'Titre', 'evenements' => 'Événements', 'evenements_a_venir' => 'À venir', 'evenements_depuis_debut' => 'Depuis le début', + 'explication_synchro_flux_ical' => 'Le plugin Agenda fournit un flux des évènements au format iCal. Certains clients ne mettent à jour un évènement que si un numéro de version (indiquant ansi qu’il y a eu modification) est présent dans ce flux. Pour que ce numéro de version soit intégré dans le flux iCal généré, vous devez activer le suivi des révisions pour les évènements (menu Configuration > Révisions).', + 'explication_synchro_flux_ical_titre' => 'Synchronisation du flux iCal', // F 'fermer' => 'fermer', // I 'icone_creer_evenement' => 'Créer un nouvel événement', - 'icone_modifier_evenement' => 'Modifier l\'événement', + 'icone_modifier_evenement' => 'Modifier l’événement', 'indiquez_votre_choix' => 'Indiquez votre choix', 'info_1_mois' => '1 mois', 'info_1_place' => '1 place', @@ -77,15 +86,17 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'info_nb_inscrits' => '@nb@ inscrits', 'info_nb_mois' => '@nb@ mois', 'info_nb_places' => '@nb@ places', + 'info_nb_reponses' => '@nb@ réponses', 'info_nombre_evenements' => '@nb@ événements', 'info_nouvel_evenement' => 'Nouvel événement', 'info_reponse_inscription_non' => 'non', - 'info_reponse_inscription_nsp' => '?', + 'info_reponse_inscription_nsp' => ' ?', 'info_reponse_inscription_oui' => 'oui', 'info_reponse_inscriptions' => 'Réponse', 'info_reponses_inscriptions' => 'Réponses :', 'info_un_evenement' => '1 événement', 'info_un_inscrit' => 'Un inscrit', + 'info_une_reponse' => 'Une réponse', 'inscrits' => 'Inscriptions', // L @@ -93,9 +104,9 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'label_inscription' => 'Inscription en ligne', 'label_periode_saison' => 'Saison', 'label_places' => 'Limiter le nombre de places', - 'label_reponse_jyparticipe' => 'J\'y serai', - 'label_reponse_jyparticipe_pas' => 'Je n\'y vais pas', - 'label_reponse_jyparticipe_peutetre' => 'J\'y serai peut-être', + 'label_reponse_jyparticipe' => 'J’y serai', + 'label_reponse_jyparticipe_pas' => 'Je n’y serai pas', + 'label_reponse_jyparticipe_peutetre' => 'J’y serai peut-être', 'label_vous_inscrire' => 'Votre participation', 'lien_desinscrire' => 'Supprimer', 'lien_desinscrire_tous' => 'Supprimer toutes les inscriptions', @@ -117,13 +128,13 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( // R 'repetition' => 'Répétition', 'repetition_de' => 'Répétition de', - 'retour_evenement' => 'Retour à l\'événement', + 'retour_evenement' => 'Retour à l’événement', 'rubrique_activer_agenda' => 'Activer le mode agenda', - 'rubrique_dans_une_rubrique_mode_agenda' => 'Cette rubrique permet d\'utiliser les événements car elle est dans une rubrique dont le mode agenda a été activé', + 'rubrique_dans_une_rubrique_mode_agenda' => 'Cette rubrique permet d’utiliser les événements car elle est dans une rubrique dont le mode agenda a été activé', 'rubrique_desactiver_agenda' => 'Désactiver le mode agenda', 'rubrique_liste_evenements_de' => 'Événements de la rubrique', 'rubrique_mode_agenda' => 'Le mode agenda est activé pour cette rubrique et sa branche', - 'rubrique_sans_gestion_evenement' => 'Le mode agenda n\'est pas activé pour cette rubrique', + 'rubrique_sans_gestion_evenement' => 'Le mode agenda n’est pas activé pour cette rubrique', 'rubriques' => 'Rubriques Agenda', // S @@ -135,11 +146,11 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'telecharger_toutes' => 'Toutes les réponses', 'telecharger_toutes_tous_evenements' => 'Toutes les réponses aux inscriptions', 'texte_agenda' => 'Agenda', - 'texte_evenement_statut' => 'Cet événement est :', - 'texte_logo_objet' => 'Logo de l\'événement', + 'texte_evenement_statut' => 'Cet événement est :', + 'texte_logo_objet' => 'Logo de l’événement', 'titre_cadre_ajouter_evenement' => 'Ajouter un événement', 'titre_cadre_modifier_evenement' => 'Modifier un événement', - 'titre_sur_l_agenda' => 'Sur l\'agenda', + 'titre_sur_l_agenda' => 'Sur l’agenda', 'titre_sur_l_agenda_aussi' => 'Et aussi...', 'toutes_rubriques' => 'Toutes', diff --git a/www/plugins/agenda_3_5/lang/agenda_nl.php b/www/plugins/agenda_3_5/lang/agenda_nl.php index fabba51..4c8b266 100644 --- a/www/plugins/agenda_3_5/lang/agenda_nl.php +++ b/www/plugins/agenda_3_5/lang/agenda_nl.php @@ -1,60 +1,166 @@ - 'Hoofdactiviteit', - 'ajouter_un_evenement' => 'een gebeurtenis toevoegen aan dit artikel', -// B - 'bouton_annuler' => 'Annuleren', - 'bouton_supprimer' => 'Afschaffen', -// E - 'evenement_autres_occurences' => 'Andere omstandigheden:', - 'evenement_date' => 'Date', - 'evenement_date_a' => 'tot ', - 'evenement_date_a_immediat' => 'om ', - 'evenement_date_au' => 'Tot ', - 'evenement_date_de' => 'Van ', - 'evenement_date_debut' => 'Aanvangsdatum', - 'evenement_date_du' => 'Van ', - 'evenement_date_fin' => 'Einddatum', - 'evenement_descriptif' => 'Beschrijvend', - 'evenement_horaire' => 'Dienstregeling', - 'evenement_lieu' => 'Plaats', - 'evenement_repetitions' => 'Herhalingen', - 'evenement_titre' => 'Titel', - 'evenements' => 'Gebeurtenissen', -// I - 'icone_creer_evenement' => 'Een nieuwe gebeurtenis creëren', - 'info_evenements' => 'Gebeurtenissen', - 'info_nombre_evenements' => '@nb@ gebeurtenissen,', - 'info_un_evenement' => 'een gebeurtenis,', - 'item_mots_cles_association_evenements' => 'aan de gebeurtenissen', -// L - 'lien_retirer_evenement' => 'Afschaffen', -// N - 'nb_mots_clefs' => '@nb@ trefwoorden', - 'nb_repetitions' => '@nb@ herhalingen', -// R - 'repetition_de' => 'Herhaling van', -// S - 'sans_titre' => '(zonder titel)', -// T - 'texte_agenda' => 'AGENDA', - 'titre_cadre_ajouter_evenement' => 'Een gebeurtenis toevoegen', - 'titre_cadre_modifier_evenement' => 'Een gebeurtenis wijzigen', - 'titre_sur_l_agenda' => 'Op de agenda', -// U - 'un_mot_clef' => '1 trefwoord', - 'une_repetition' => '1 herhaling', -); -?> \ No newline at end of file + 'Je afwezigheid is genoteerd', + 'activite_editoriale' => 'Aanpassingen inhoud', + 'afficher_calendrier' => 'De kalender tonen', + 'agenda' => 'Agenda', + 'ajouter_repetition' => 'Herhalingen toevoegen', + 'ajouter_un_evenement' => 'een gebeurtenis aan dit artikel toevoegen', + 'annee_precedente' => 'vorig jaar', + 'annee_suivante' => 'volgend jaar', + 'aucun_evenement' => 'geen gebeurtenissen', + 'aucun_inscrit' => 'Geen inschrijvingen', + 'aucune_rubrique_mode_agenda' => 'Standaard kunnen aan elke rubriek gebeurtenissen worden toegevoegd.', + + // B + 'bouton_annuler' => 'Annuleren', + 'bouton_supprimer' => 'Verwijderen', + + // C + 'cal_par_jour' => 'dag', + 'cal_par_mois' => 'maand', + 'cal_par_semaine' => 'week', + 'confirm_suppression_inscription' => 'Wil je deze inschrijving werkelijk verwijderen?', + 'confirm_suppression_inscription_toutes' => 'Wil je werkelijk alle inschrijvingen verwijderen?', + 'connexion_necessaire_pour_inscription' => 'Je moet hier inloggen om je te kunnen inschrijven.', + 'creer_evenement' => 'Een gebeurtenis maken', + + // D + 'date_fmt_agenda_label' => '@jour@ @mois@ @annee@', + + // E + 'erreur_article_interdit' => 'Je mag deze gebeurtenis niet aan dit artikel koppelen', + 'erreur_article_manquant' => 'Je moet een artikel aangeven', + 'erreur_date' => 'Deze datum is onjuist', + 'erreur_date_avant_apres' => 'Kies een einddatum die na de begindatum ligt!', + 'erreur_date_corrigee' => 'De datum is aangepast', + 'erreur_heure' => 'Dit tijdstip is onjuist', + 'erreur_heure_corrigee' => 'Het tijdstip is aangepast', + 'evenement_adresse' => 'Adres', + 'evenement_article' => 'Gekoppeld aan artikel', + 'evenement_autres_occurences' => 'Andere tijdstippen:', + 'evenement_date' => 'Datum', + 'evenement_date_a' => '
    tot ', + 'evenement_date_a_immediat' => 'om ', + 'evenement_date_au' => 'Tot ', + 'evenement_date_de' => 'Van ', + 'evenement_date_debut' => 'Begindatum', + 'evenement_date_du' => 'Van ', + 'evenement_date_fin' => 'Einddatum', + 'evenement_date_inscription' => 'Inschrijfdatum', + 'evenement_descriptif' => 'Omschrijving', + 'evenement_horaire' => 'De hele dag', + 'evenement_lieu' => 'Plaats', + 'evenement_participant_email_mention' => 'Om in contact te blijven moet je je emailadres vermelden. Deze zal niet op de site worden vermeld.', + 'evenement_repetitions' => 'Herhalingen', + 'evenement_titre' => 'Titel', + 'evenements' => 'Evenementen', + 'evenements_a_venir' => 'Toekomstig', + 'evenements_depuis_debut' => 'Alles', + 'explication_synchro_flux_ical' => 'Plugin Agenda levert een stroom evenementen in iCal formaat. Sommige clients passen een evenement alleen aan bij een gewijzigd versienummer. Om dit nummer in de iCal flux te integreren, moet je de revisie optie voor evenementen inschakelen (menu Configuratie > Revisies).', + 'explication_synchro_flux_ical_titre' => 'Synchronisatie van de iCal-flux', + + // F + 'fermer' => 'sluiten', + + // I + 'icone_creer_evenement' => 'Maak een nieuwe gebeurtenis', + 'icone_modifier_evenement' => 'Evenement aanpassen', + 'indiquez_votre_choix' => 'Maak een keuze', + 'info_1_mois' => '1 maand', + 'info_1_place' => '1 plaats', + 'info_aucun_evenement' => 'Geen enkel evenement', + 'info_evenement' => 'Evenement', + 'info_evenement_poubelle' => 'Verwijderd evenement', + 'info_evenement_propose' => 'Voorgesteld evenement', + 'info_evenement_publie' => 'Gepubliceerd evenement', + 'info_evenements' => 'Evenementen', + 'info_inscription' => 'Online inschrijving:', + 'info_lieu' => 'Plaats:', + 'info_nb_inscrits' => '@nb@ inschrijvingen', + 'info_nb_mois' => '@nb@ maanden', + 'info_nb_places' => '@nb@ plaatsen', + 'info_nb_reponses' => '@nb@ antwoorden', + 'info_nombre_evenements' => '@nb@ gebeurtenissen', + 'info_nouvel_evenement' => 'Nieuw evenement', + 'info_reponse_inscription_non' => 'nee', + 'info_reponse_inscription_nsp' => '?', + 'info_reponse_inscription_oui' => 'ja', + 'info_reponse_inscriptions' => 'Reactie', + 'info_reponses_inscriptions' => 'Reacties:', + 'info_un_evenement' => '1 gebeurtenis', + 'info_un_inscrit' => '1 inschrijving', + 'info_une_reponse' => 'Eén antwoord', + 'inscrits' => 'Inschrijvingen', + + // L + 'label_annee' => 'Jaar', + 'label_inscription' => 'Online inschrijven', + 'label_periode_saison' => 'Seizoen', + 'label_places' => 'Aantal plaatsen beperken', + 'label_reponse_jyparticipe' => 'Ik kom zeker', + 'label_reponse_jyparticipe_pas' => 'Ik kom niet', + 'label_reponse_jyparticipe_peutetre' => 'Ik kom misschien', + 'label_vous_inscrire' => 'Je inschrijving', + 'lien_desinscrire' => 'Uitschrijven', + 'lien_desinscrire_tous' => 'Alle inschrijvingen verwijderen', + 'lien_retirer_evenement' => 'Verwijderen', + 'liste_inscrits' => 'Lijst van inschrijvingen', + + // M + 'mois_precedent' => 'vorige maand', + 'mois_suivant' => 'volgende maand', + + // N + 'nb_repetitions' => '@nb@ herhalingen', + + // P + 'participation_incertaine_prise_en_compte' => 'Je eventuele deelname is geregistreerd', + 'participation_prise_en_compte' => 'Je deelname is geregistreerd', + 'probleme_technique' => 'Er is een technisch probleem. Probeer het later nog eens.', + + // R + 'repetition' => 'Herhaling', + 'repetition_de' => 'Herhaling van', + 'retour_evenement' => 'Terug naar het evenement', + 'rubrique_activer_agenda' => 'Activeer de agenda voor deze rubriek', + 'rubrique_dans_une_rubrique_mode_agenda' => 'In deze rubriek kunnen gebeurtenissen worden gebruikt, want de agenda-functionaliteit is voor de hoofdrubriek geactiveerd', + 'rubrique_desactiver_agenda' => 'Desactiveer de agenda voor deze rubriek', + 'rubrique_liste_evenements_de' => 'Evenementen van de rubriek', + 'rubrique_mode_agenda' => 'De agenda is voor deze rubriek en subrubrieken geactiveerd', + 'rubrique_sans_gestion_evenement' => 'In deze rubriek kunnen geen gebeurtenissen worden gebruikt', + 'rubriques' => 'Agenda Rubrieken', + + // S + 'sans_titre' => '(geen titel)', + + // T + 'telecharger' => 'Downloaden (csv)', + 'telecharger_oui' => 'Alleen positieve reacties', + 'telecharger_toutes' => 'Alle reacties', + 'telecharger_toutes_tous_evenements' => 'Alle reacties op alle evenementen', + 'texte_agenda' => 'AGENDA', + 'texte_evenement_statut' => 'Dit evenement is:', + 'texte_logo_objet' => 'Logo van het evenement', + 'titre_cadre_ajouter_evenement' => 'Een gebeurtenis toevoegen', + 'titre_cadre_modifier_evenement' => 'Een gebeurtenis aanpassen', + 'titre_sur_l_agenda' => 'Binnenkort...', + 'titre_sur_l_agenda_aussi' => 'En ook...', + 'toutes_rubriques' => 'Alles', + + // U + 'une_repetition' => '1 herhaling', + + // V + 'voir_evenements_rubrique' => 'Bekijk de gebeurtenissen van de rubriek' +); + +?> diff --git a/www/plugins/agenda_3_5/lang/agenda_ru.php b/www/plugins/agenda_3_5/lang/agenda_ru.php new file mode 100644 index 0000000..eb3aca5 --- /dev/null +++ b/www/plugins/agenda_3_5/lang/agenda_ru.php @@ -0,0 +1,166 @@ + 'Записано, что вас не будет', + 'activite_editoriale' => 'Редакционная активность', + 'afficher_calendrier' => 'Показать календарь', + 'agenda' => 'Расписание', + 'ajouter_repetition' => 'Добавить репетиции', + 'ajouter_un_evenement' => 'добавить событие к этой статье', + 'annee_precedente' => 'предыдущий год', + 'annee_suivante' => 'следующий год', + 'aucun_evenement' => 'нет событий', + 'aucun_inscrit' => 'Нет зарегистированных', + 'aucune_rubrique_mode_agenda' => 'По умолчанию можно использовать события во всех рубриках. Если вы установите режим расписания в одной (или нескольких) рубриках, управление событиями ограничиться только её (или их) подрубриками.', + + // B + 'bouton_annuler' => 'Отменить', + 'bouton_supprimer' => 'Удалить', + + // C + 'cal_par_jour' => 'день', + 'cal_par_mois' => 'месяц', + 'cal_par_semaine' => 'неделя', + 'confirm_suppression_inscription' => 'Вы действительно хотите удалить эту регистрацию?', + 'confirm_suppression_inscription_toutes' => 'Вы действительно хотите удалить все регистрации?', + 'connexion_necessaire_pour_inscription' => 'Войдите, пожалуйста, прежде чем зарегистрироваться на это мероприятии.', + 'creer_evenement' => 'Создать событие', + + // D + 'date_fmt_agenda_label' => '@jour@ @mois@ @annee@', + + // E + 'erreur_article_interdit' => 'У вас нет прав присоединить это событие к этой статье', + 'erreur_article_manquant' => 'Вы должны указать статью', + 'erreur_date' => 'Дата неверна', + 'erreur_date_avant_apres' => 'Укажите дату окончания после даты начала!', + 'erreur_date_corrigee' => 'Дата изменена', + 'erreur_heure' => 'Время неправильное', + 'erreur_heure_corrigee' => 'Время изменено', + 'evenement_adresse' => 'Адрес', + 'evenement_article' => 'Связь со статьей', + 'evenement_autres_occurences' => 'Другие случаи:', + 'evenement_date' => 'Дата', + 'evenement_date_a' => 'до ', + 'evenement_date_a_immediat' => 'для ', + 'evenement_date_au' => 'До ', + 'evenement_date_de' => 'От', + 'evenement_date_debut' => 'Дата начала', + 'evenement_date_du' => 'От', + 'evenement_date_fin' => 'Дата окончания', + 'evenement_date_inscription' => 'Дата регистрации', + 'evenement_descriptif' => 'Описание', + 'evenement_horaire' => 'Все дни', + 'evenement_lieu' => 'Место', + 'evenement_participant_email_mention' => 'Чтобы оставаться на связи, просто введите свой адрес электронной почты. Он не будет указан на сайте.', + 'evenement_repetitions' => 'Репетиции', + 'evenement_titre' => 'Заголовок', + 'evenements' => 'События', + 'evenements_a_venir' => 'Следующее', + 'evenements_depuis_debut' => 'С начала', + 'explication_synchro_flux_ical' => 'Плагин расписания поддерживает поток событий в формате iCal. Некоторые клиенты не обновляют события, если номер версии (или указание других модификаций) отсутствует в этом потоке. Чтобы получить этот номер версии, встроенный в генерируемый iCal поток, необходимо активировать слежение за событиями (меню Конфигурация> Изменения).', + 'explication_synchro_flux_ical_titre' => 'Синхронизация потока iCal', + + // F + 'fermer' => 'закрыто', + + // I + 'icone_creer_evenement' => 'Создать новое событие', + 'icone_modifier_evenement' => 'Редактировать событие', + 'indiquez_votre_choix' => 'Укажите свой выбор', + 'info_1_mois' => '1 месяц', + 'info_1_place' => '1 место', + 'info_aucun_evenement' => 'Нет событий', + 'info_evenement' => 'Событие', + 'info_evenement_poubelle' => 'Событие удалено', + 'info_evenement_propose' => 'Событие предложено', + 'info_evenement_publie' => 'Событие опубликовано', + 'info_evenements' => 'События', + 'info_inscription' => 'Он-лайн регистрация:', + 'info_lieu' => 'Место:', + 'info_nb_inscrits' => '@nb@ зарегистрировались', + 'info_nb_mois' => '@nb@ месяцев', + 'info_nb_places' => '@nb@ мест', + 'info_nb_reponses' => '@nb@ ответов', + 'info_nombre_evenements' => '@nb@ событий', + 'info_nouvel_evenement' => 'Новое событие', + 'info_reponse_inscription_non' => 'нет', + 'info_reponse_inscription_nsp' => ' ?', + 'info_reponse_inscription_oui' => 'да', + 'info_reponse_inscriptions' => 'Ответ', + 'info_reponses_inscriptions' => 'Ответы:', + 'info_un_evenement' => 'Одно событие', + 'info_un_inscrit' => 'Один зарегистрировавшийся', + 'info_une_reponse' => 'Один ответ', + 'inscrits' => 'Регистрации', + + // L + 'label_annee' => 'Год', + 'label_inscription' => 'Он-лайн регистрация', + 'label_periode_saison' => 'Сезон', + 'label_places' => 'Лимит мест', + 'label_reponse_jyparticipe' => 'Я буду', + 'label_reponse_jyparticipe_pas' => 'Меня не будет', + 'label_reponse_jyparticipe_peutetre' => 'Возможно я буду', + 'label_vous_inscrire' => 'Ваше участие', + 'lien_desinscrire' => 'Удалить', + 'lien_desinscrire_tous' => 'Удалить все регистрации', + 'lien_retirer_evenement' => 'Удалено', + 'liste_inscrits' => 'Список регистраций', + + // M + 'mois_precedent' => 'предыдущий месяц', + 'mois_suivant' => 'следующий месяц', + + // N + 'nb_repetitions' => '@nb@ репетиций', + + // P + 'participation_incertaine_prise_en_compte' => 'Ваше возможное участие записано', + 'participation_prise_en_compte' => 'Ваше участие записано', + 'probleme_technique' => 'Произошла техническая проблема. Попробуйте еще раз позже.', + + // R + 'repetition' => 'Репетиция', + 'repetition_de' => 'Репетиция ', + 'retour_evenement' => 'Вернуться к событию', + 'rubrique_activer_agenda' => 'Активировать режим расписания', + 'rubrique_dans_une_rubrique_mode_agenda' => 'В этой рубрике можно использовать события, так как она находится в разделе, для которого включено расписание', + 'rubrique_desactiver_agenda' => 'Отключить режим расписания для этой рубрики', + 'rubrique_liste_evenements_de' => 'События в этой рубрике', + 'rubrique_mode_agenda' => 'Режим расписания доступен для этой рубрики и её подрубрик', + 'rubrique_sans_gestion_evenement' => 'Режим расписания недоступен для этой рубрики', + 'rubriques' => 'Рубрики Расписания', + + // S + 'sans_titre' => '(без заголовка)', + + // T + 'telecharger' => 'Загрузить (csv)', + 'telecharger_oui' => 'Только положительные ответы', + 'telecharger_toutes' => 'Все ответы', + 'telecharger_toutes_tous_evenements' => 'Все ответы на записи', + 'texte_agenda' => 'Расписание', + 'texte_evenement_statut' => 'Это событие:', + 'texte_logo_objet' => 'Логотип события', + 'titre_cadre_ajouter_evenement' => 'Добавить событие', + 'titre_cadre_modifier_evenement' => 'Изменить событие', + 'titre_sur_l_agenda' => 'В расписании', + 'titre_sur_l_agenda_aussi' => 'А также...', + 'toutes_rubriques' => 'Все', + + // U + 'une_repetition' => '1 репетиция', + + // V + 'voir_evenements_rubrique' => 'Просмотреть события этой рубрики' +); + +?> diff --git a/www/plugins/agenda_3_5/lang/agenda_sk.php b/www/plugins/agenda_3_5/lang/agenda_sk.php index 45c6b68..3c815b3 100644 --- a/www/plugins/agenda_3_5/lang/agenda_sk.php +++ b/www/plugins/agenda_3_5/lang/agenda_sk.php @@ -25,11 +25,17 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'bouton_supprimer' => 'Odstrániť', // C + 'cal_par_jour' => 'deň', + 'cal_par_mois' => 'mesiac', + 'cal_par_semaine' => 'týždeň', 'confirm_suppression_inscription' => 'Chcete odstrániť tento údaj?', 'confirm_suppression_inscription_toutes' => 'Naozaj chcete vymazať všetky prihlásenia?', 'connexion_necessaire_pour_inscription' => 'Ďakujeme vám, že sa prihlásite predtým, ako sa zaregistrujete na túto udalosť.', 'creer_evenement' => 'Vytvoriť udalosť', + // D + 'date_fmt_agenda_label' => '@jour@ @mois@ @annee@', + // E 'erreur_article_interdit' => 'Nemáte dostatočné práva na to, aby ste mohli priradiť túto udalosť k tomuto článku', 'erreur_article_manquant' => 'Musíte uviesť článok', @@ -50,14 +56,17 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'evenement_date_du' => 'Od ', 'evenement_date_fin' => 'Dátum ukončenia', 'evenement_date_inscription' => 'Dátum prihlásenia', - 'evenement_descriptif' => 'Popis', + 'evenement_descriptif' => 'Opis', 'evenement_horaire' => 'Celý deň', 'evenement_lieu' => 'Miesto', + 'evenement_participant_email_mention' => 'Ak chcete mať prehľad o tom, čo sa deje, zadajte svoju e-mailovú adresu. Nebude zverejnená na stránke.', 'evenement_repetitions' => 'Opakovania', - 'evenement_titre' => 'Nadpis', + 'evenement_titre' => 'Titulok', 'evenements' => 'Udalosti', 'evenements_a_venir' => 'Budúce', 'evenements_depuis_debut' => 'od začiatku', + 'explication_synchro_flux_ical' => 'Zásuvný modul Kalendár udalostí poskytuje výpis zoznamu udalostí vo formáte iCal. Niektoré programy aktualizujú udalosti, iba ak je pri nich uvedené číslo verzie (a to, že nastala zmena). Na to, aby bolo toto číslo verzie zavedené do vygenerovaného zdroja iCal, treba aktivovať sledovanie zmien pre udalosti (menu Konfigurácia > Zmeny).', + 'explication_synchro_flux_ical_titre' => 'Synchronizácia zdroja iCal', // F 'fermer' => 'zatvoriť', @@ -79,6 +88,7 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'info_nb_inscrits' => '@nb@ prihlásení', 'info_nb_mois' => '@nb@ mesiac', 'info_nb_places' => '@nb@ miest', + 'info_nb_reponses' => '@nb@ odpovedí', 'info_nombre_evenements' => '@nb@ udalostí', 'info_nouvel_evenement' => 'Nová udalosť', 'info_reponse_inscription_non' => 'nie', @@ -88,6 +98,7 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'info_reponses_inscriptions' => 'Reakcie:', 'info_un_evenement' => '1 udalosť', 'info_un_inscrit' => 'Jedno prihlásenie', + 'info_une_reponse' => 'Jedna odpoveď', 'inscrits' => 'Registrácie', // L @@ -96,7 +107,7 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'label_periode_saison' => 'Ročné obdobie', 'label_places' => 'Obmedziť počet miest', 'label_reponse_jyparticipe' => 'Budem tam', - 'label_reponse_jyparticipe_pas' => 'Neprídem', + 'label_reponse_jyparticipe_pas' => 'Nebudem tam', 'label_reponse_jyparticipe_peutetre' => 'Možno prídem', 'label_vous_inscrire' => 'Vaša účasť', 'lien_desinscrire' => 'Odstrániť', @@ -129,7 +140,7 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'rubriques' => 'Rubriky s kalendárom udalostí', // S - 'sans_titre' => '(bez nadpisu)', + 'sans_titre' => '(bez titulku)', // T 'telecharger' => 'Stiahnuť (csv)', diff --git a/www/plugins/agenda_3_5/lang/configureragenda.xml b/www/plugins/agenda_3_5/lang/configureragenda.xml new file mode 100644 index 0000000..adaba15 --- /dev/null +++ b/www/plugins/agenda_3_5/lang/configureragenda.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/www/plugins/agenda_3_5/lang/configureragenda_fr.php b/www/plugins/agenda_3_5/lang/configureragenda_fr.php index a2d6724..b8d18be 100644 --- a/www/plugins/agenda_3_5/lang/configureragenda_fr.php +++ b/www/plugins/agenda_3_5/lang/configureragenda_fr.php @@ -5,26 +5,27 @@ if (!defined('_ECRIRE_INC_VERSION')) return; $GLOBALS[$GLOBALS['idx_lang']] = array( - - 'titre_configuration' => 'Affichage de l\'Agenda', - 'label_titre' => 'Titre de la page', - 'label_descriptif' => 'Descriptif', - 'label_insert_head_css_1' => 'Insérer automatiquement les styles par défaut de l\'agenda', - 'label_url_evenement' => 'Affichage d\'un événement', - 'label_url_evenement_article' => 'sur la page de l\'article associé', - 'label_url_evenement_evenement' => 'sur une page dédiée pour chaque événement', - 'label_affichage_duree' => 'Lister les événements sur', + // L 'label_affichage_debut' => 'Début de la liste', 'label_affichage_debut_date_jour' => 'Date du jour', 'label_affichage_debut_date_veille' => 'Date de la veille', - 'label_affichage_debut_debut_semaine' => 'Début de la semaine', - 'label_affichage_debut_debut_semaine_prec' => 'Début de la semaine précédente', 'label_affichage_debut_debut_mois' => 'Début du mois', + 'label_affichage_debut_debut_mois_1' => 'Début d’année', 'label_affichage_debut_debut_mois_prec' => 'Début du mois précédent', - 'label_affichage_debut_debut_mois_1' => 'Début d\'année', + 'label_affichage_debut_debut_semaine' => 'Début de la semaine', + 'label_affichage_debut_debut_semaine_prec' => 'Début de la semaine précédente', 'label_affichage_debut_mois_passe' => '@mois@ précédent', + 'label_affichage_duree' => 'Lister les événements sur', + 'label_descriptif' => 'Descriptif', + 'label_insert_head_css_1' => 'Insérer automatiquement les styles par défaut de l’agenda', + 'label_titre' => 'Titre de la page', + 'label_url_evenement' => 'Affichage d’un événement', + 'label_url_evenement_article' => 'sur la page de l’article associé', + 'label_url_evenement_evenement' => 'sur une page dédiée pour chaque événement', + 'legend_presentation_agenda' => 'Présentation de l’agenda', - 'legend_presentation_agenda' => 'Présentation de l\'agenda', + // T + 'titre_configuration' => 'Affichage de l’Agenda' ); ?> diff --git a/www/plugins/agenda_3_5/lang/configureragenda_nl.php b/www/plugins/agenda_3_5/lang/configureragenda_nl.php new file mode 100644 index 0000000..3e0f62e --- /dev/null +++ b/www/plugins/agenda_3_5/lang/configureragenda_nl.php @@ -0,0 +1,33 @@ + 'Begin van de lijst', + 'label_affichage_debut_date_jour' => 'Huidige datum', + 'label_affichage_debut_date_veille' => 'Voorafgaande datum', + 'label_affichage_debut_debut_mois' => 'Begin van de maand', + 'label_affichage_debut_debut_mois_1' => 'Begin van het jaar', + 'label_affichage_debut_debut_mois_prec' => 'Begin van de voorafgaande maand', + 'label_affichage_debut_debut_semaine' => 'Begin van de week', + 'label_affichage_debut_debut_semaine_prec' => 'Begin van de voorafgaande week', + 'label_affichage_debut_mois_passe' => '@mois@ vooraf', + 'label_affichage_duree' => 'De evenementen opsommen op', + 'label_descriptif' => 'Omschrijving', + 'label_insert_head_css_1' => 'Automatisch de standaardstijlen van de agenda invoegen', + 'label_titre' => 'Paginatitel', + 'label_url_evenement' => 'Weergave van een evenement', + 'label_url_evenement_article' => 'op de pagina van het bijbehorende artikel', + 'label_url_evenement_evenement' => 'op een eigen pagina voor ieder evenement', + 'legend_presentation_agenda' => 'Presentatie van de agenda', + + // T + 'titre_configuration' => 'Weergave van de Agenda' +); + +?> diff --git a/www/plugins/agenda_3_5/lang/migreragenda.xml b/www/plugins/agenda_3_5/lang/migreragenda.xml new file mode 100644 index 0000000..efd7d32 --- /dev/null +++ b/www/plugins/agenda_3_5/lang/migreragenda.xml @@ -0,0 +1,4 @@ + + + + diff --git a/www/plugins/agenda_3_5/lang/migreragenda_fr.php b/www/plugins/agenda_3_5/lang/migreragenda_fr.php index e1d0482..0c2283f 100644 --- a/www/plugins/agenda_3_5/lang/migreragenda_fr.php +++ b/www/plugins/agenda_3_5/lang/migreragenda_fr.php @@ -5,31 +5,36 @@ if (!defined('_ECRIRE_INC_VERSION')) return; $GLOBALS[$GLOBALS['idx_lang']] = array( - 'titre_migrer_agenda' => 'Migrer un Agenda d\'articles', + // B + 'bouton_lancer_migration' => 'Lancer la migration', + 'bouton_migrer' => 'Prévisualiser la migration', + + // E + 'erreur_choix_incorrect' => 'Ce choix n’est pas permis', 'explication_migration_agenda_article_1' => 'Si votre site contient un agenda basé sur des articles, vous pouvez utiliser cet outil pour le transformer automatiquement en événements.', 'explication_migration_agenda_article_2' => 'Dans la rubrique agenda sélectionnée, un événement sera créé et renseigné pour dater chaque article, selon les réglages ci-dessous.', - 'explication_migration_agenda_article_fin' => 'Seuls les articles publiés et n\'ayant pas déjà d\'événement seront migrés. - Aucune donnée ne sera supprimée sur les articles : si le résultat ne vous convient pas, il suffit de désinstaller le plugin Agenda pour retrouver votre rubrique comme avant la migration.', + 'explication_migration_agenda_article_fin' => 'Seuls les articles publiés et n’ayant pas déjà d’événement seront migrés. + Aucune donnée ne sera supprimée sur les articles : si le résultat ne vous convient pas, il suffit de désinstaller le plugin Agenda pour retrouver votre rubrique comme avant la migration.', - 'label_rubrique_source' => 'Rubrique Agenda à migrer', - 'label_toute_la_branche_oui' => 'Migrer aussi toutes les sous-rubriques', + // I + 'info_migration_articles' => 'Articles à migrer :', + 'info_migration_articles_reussi' => 'Articles migrés :', + + // L + 'label_champ_date' => 'Date de publication', 'label_champ_date_debut' => 'Date de début', 'label_champ_date_fin' => 'Date de fin', - 'label_champ_date' => 'Date de publication', 'label_champ_date_redac' => 'Date de rédaction antérieure', - 'label_horaire' => 'Horaire', - 'label_horaire_oui' => 'Prendre en compte l\'heure', - 'label_horaire_non' => 'Pas d\'horaire (événements par journées)', 'label_groupes_mots' => 'Associer les mots des groupes suivants', - 'bouton_migrer' => 'Prévisualiser la migration', - 'bouton_lancer_migration' => 'Lancer la migration', - - 'erreur_choix_incorrect' => 'Ce choix n\'est pas permis', - - 'info_migration_articles' => "Articles à migrer :", - 'info_migration_articles_reussi' => "Articles migrés :", + 'label_horaire' => 'Horaire', + 'label_horaire_non' => 'Pas d’horaire (événements par journées)', + 'label_horaire_oui' => 'Prendre en compte l’heure', + 'label_rubrique_source' => 'Rubrique Agenda à migrer', + 'label_toute_la_branche_oui' => 'Migrer aussi toutes les sous-rubriques', + // T + 'titre_migrer_agenda' => 'Migrer un Agenda d’articles' ); ?> diff --git a/www/plugins/agenda_3_5/lang/paquet-agenda.xml b/www/plugins/agenda_3_5/lang/paquet-agenda.xml index cac2b72..ddaae5b 100644 --- a/www/plugins/agenda_3_5/lang/paquet-agenda.xml +++ b/www/plugins/agenda_3_5/lang/paquet-agenda.xml @@ -1,12 +1,19 @@ - + - - + + - - + + + + + + + + + diff --git a/www/plugins/agenda_3_5/lang/paquet-agenda_nl.php b/www/plugins/agenda_3_5/lang/paquet-agenda_nl.php new file mode 100644 index 0000000..f21f2f3 --- /dev/null +++ b/www/plugins/agenda_3_5/lang/paquet-agenda_nl.php @@ -0,0 +1,16 @@ + 'Evenementenagenda', + 'agenda_nom' => 'Agenda', + 'agenda_slogan' => 'Evenementenagenda' +); + +?> diff --git a/www/plugins/agenda_3_5/lang/paquet-agenda_ru.php b/www/plugins/agenda_3_5/lang/paquet-agenda_ru.php new file mode 100644 index 0000000..af65ce0 --- /dev/null +++ b/www/plugins/agenda_3_5/lang/paquet-agenda_ru.php @@ -0,0 +1,16 @@ + 'События в расписании', + 'agenda_nom' => 'Расписание (Порядок дня)', + 'agenda_slogan' => 'События в расписании' +); + +?> diff --git a/www/plugins/agenda_3_5/paquet.xml b/www/plugins/agenda_3_5/paquet.xml index 1c4818b..875a0d9 100644 --- a/www/plugins/agenda_3_5/paquet.xml +++ b/www/plugins/agenda_3_5/paquet.xml @@ -1,28 +1,29 @@ Agenda Cedric MORIN - b_b - romy.tetue.net + b_b + Tetue Julien Tessier - 2006-2012 + 2006-2015 GPL 3 - + + @@ -36,10 +37,11 @@ + - - - + + + diff --git a/www/plugins/agenda_3_5/prive/objets/contenu/article-evenements.html b/www/plugins/agenda_3_5/prive/objets/contenu/article-evenements.html index 0839510..28fa90a 100644 --- a/www/plugins/agenda_3_5/prive/objets/contenu/article-evenements.html +++ b/www/plugins/agenda_3_5/prive/objets/contenu/article-evenements.html @@ -1,7 +1,12 @@ -[(#REM) afficher les evenements de cet article] -
    -,statut=#LISTE{publie,prop},env}> +#SET{sinon,''} [(#AUTORISER{creerevenementdans, article, #ID_ARTICLE}|oui) - [(#URL_ECRIRE{evenement_edit,id_evenement=new}|parametre_url{id_article,#ID_ARTICLE}|parametre_url{redirect,#SELF}|icone_horizontale{<:agenda:creer_evenement:>,evenement-24.png,new,creer_evenement})] + [(#SET{sinon,<:agenda:info_aucun_evenement:>})] ] + +[(#REM) afficher les evenements de cet article] +
    + + [(#AUTORISER{creerevenementdans, article, #ID_ARTICLE}|oui) + [(#URL_ECRIRE{evenement_edit,id_evenement=new}|parametre_url{id_article,#ID_ARTICLE}|parametre_url{redirect,#SELF}|icone_horizontale{<:agenda:creer_evenement:>,evenement-24.png,new,creer_evenement})] + ]
    diff --git a/www/plugins/agenda_3_5/prive/objets/contenu/evenement.html b/www/plugins/agenda_3_5/prive/objets/contenu/evenement.html index 780d67b..b6972b8 100644 --- a/www/plugins/agenda_3_5/prive/objets/contenu/evenement.html +++ b/www/plugins/agenda_3_5/prive/objets/contenu/evenement.html @@ -10,7 +10,7 @@
    [(#GRAND_TOTAL|singulier_ou_pluriel{agenda:une_repetition,agenda:nb_repetitions})]
    -
    ([(#DATE_DEBUT|affdate_court)])
    +
    diff --git a/www/plugins/agenda_3_5/prive/objets/liste/evenement_participants.html b/www/plugins/agenda_3_5/prive/objets/liste/evenement_participants.html index 390fc41..1b858cd 100755 --- a/www/plugins/agenda_3_5/prive/objets/liste/evenement_participants.html +++ b/www/plugins/agenda_3_5/prive/objets/liste/evenement_participants.html @@ -14,26 +14,33 @@ - + [(#STATUT|puce_statut{auteur,#ID_AUTEUR})] - [(#RANG). ][(#NOM|sinon{<:texte_vide:>})] - #EMAIL - [(#DATE|affdate_jourcourt|unique{liste_evt})] + + [(#NOM|sinon{ + [(#RANG). ][(#INFO_NOM{auteur,#ID_AUTEUR}|sinon{<:texte_vide:>})] + })] + + [(#EMAIL|sinon{#INFO_EMAIL{auteur,#ID_AUTEUR}})] + [(#DATE|affdate_jourcourt)] #REPONSE[ (#AUTORISER{modifier,evenement,#ID_EVENEMENT}) - - ] + [(#BOUTON_ACTION{<:agenda:lien_desinscrire:>, [(#URL_ACTION_AUTEUR{supprimer_evenement_participant,#ID_EVENEMENT-#ID_EVENEMENT_PARTICIPANT,#SELF})], ajax, <:agenda:confirm_suppression_inscription:>})] + ] [

    (#PAGINATION{prive})

    ]
    -[(#AUTORISER{modifier,evenement,#ID_EVENEMENT})

    ] +[(#AUTORISER{modifier,evenement,#ID_EVENEMENT}) + [(#BOUTON_ACTION{<:agenda:lien_desinscrire_tous:>, [(#URL_ACTION_AUTEUR{supprimer_evenement_participant,#ID_EVENEMENT-tous,#SELF})], ajax, <:agenda:confirm_suppression_inscription_toutes:>})] +]

    <:agenda:aucun_inscrit:>

    + diff --git a/www/plugins/agenda_3_5/prive/objets/liste/evenements.html b/www/plugins/agenda_3_5/prive/objets/liste/evenements.html index 42dc489..c4d2985 100644 --- a/www/plugins/agenda_3_5/prive/objets/liste/evenements.html +++ b/www/plugins/agenda_3_5/prive/objets/liste/evenements.html @@ -25,8 +25,7 @@ [(#STATUT|puce_statut{evenement,#ID_EVENEMENT})] [(#DATE_DEBUT|affdate_jourcourt|unique{liste_evt})] [[(#CHEMIN_IMAGE{article-16.png}|balise_img{#INFO_TITRE{article,#ID_ARTICLE}})]] - [(#RANG). ]#TITRE + [(#RANG). ]#TITRE

    [(#DATE_DEBUT|affdate_debut_fin{#DATE_FIN,#HORAIRE})]

    #LIEU diff --git a/www/plugins/agenda_3_5/prive/squelettes/contenu/agenda_inscriptions.html b/www/plugins/agenda_3_5/prive/squelettes/contenu/agenda_inscriptions.html index 8fde0b8..c9b7c0d 100755 --- a/www/plugins/agenda_3_5/prive/squelettes/contenu/agenda_inscriptions.html +++ b/www/plugins/agenda_3_5/prive/squelettes/contenu/agenda_inscriptions.html @@ -5,12 +5,10 @@
    [(#DATE_DEBUT|affdate_debut_fin{#DATE_FIN,#HORAIRE})]
    [
    <:agenda:evenement_descriptif:> : (#DESCRIPTIF|PtoBR)
    ] [
    <:agenda:evenement_lieu:> : (#LIEU)
    ] -
    - #FORMULAIRE_EVENEMENT_PARTICIPANTS{#ENV{id_evenement},#ENV{tri_inscrits}} -
    - +

    <:agenda:aucun_evenement:>

    #BOITE_FERMER + diff --git a/www/plugins/agenda_3_5/prive/squelettes/contenu/configurer_agenda.html b/www/plugins/agenda_3_5/prive/squelettes/contenu/configurer_agenda.html index 741df29..d47dd30 100644 --- a/www/plugins/agenda_3_5/prive/squelettes/contenu/configurer_agenda.html +++ b/www/plugins/agenda_3_5/prive/squelettes/contenu/configurer_agenda.html @@ -1,5 +1,8 @@ [(#AUTORISER{configurer_agenda}|sinon_interdire_acces)]

    <:agenda:agenda:>

    +[(#BOITE_OUVRIR{[(#VAL{agenda:explication_synchro_flux_ical_titre}|_T)],'info'})] +<:agenda:explication_synchro_flux_ical:> +#BOITE_FERMER
    #FORMULAIRE_CONFIGURER_AGENDA
    #FORMULAIRE_CONFIGURER_CALENDRIERMINI

    <:agenda:rubriques:>

    diff --git a/www/plugins/agenda_3_5/prive/transmettre/evenement_participants.html b/www/plugins/agenda_3_5/prive/transmettre/evenement_participants.html index ebcbda2..1cbaad1 100755 --- a/www/plugins/agenda_3_5/prive/transmettre/evenement_participants.html +++ b/www/plugins/agenda_3_5/prive/transmettre/evenement_participants.html @@ -1,15 +1,16 @@ "<:nom:>","<:email:>","<:agenda:evenement_date_inscription:>" -"[(#NOM|sinon{<:texte_vide:>})]","#EMAIL","[(#DATE|affdate{'d/m/Y H:i:s'})]" +"[(#NOM|sinon{#INFO_NOM{auteur,#ID_AUTEUR}})]","[(#EMAIL|sinon{#INFO_EMAIL{auteur,#ID_AUTEUR}})]","[(#DATE|affdate{'d/m/Y H:i:s'})]" "<:nom:>","<:email:>","<:agenda:evenement_date_inscription:>","<:agenda:reponse:>" -"[(#NOM|sinon{<:texte_vide:>})]","#EMAIL","[(#DATE|affdate{'d/m/Y H:i:s'})]","#REPONSE" +"[(#NOM|sinon{#INFO_NOM{auteur,#ID_AUTEUR}})]","[(#EMAIL|sinon{#INFO_EMAIL{auteur,#ID_AUTEUR}})]","[(#DATE|affdate{'d/m/Y H:i:s'})]","#REPONSE" \ No newline at end of file +}?> + \ No newline at end of file diff --git a/www/plugins/agenda_3_5/prive/transmettre/evenements_participants.html b/www/plugins/agenda_3_5/prive/transmettre/evenements_participants.html index fbf5522..51a5217 100755 --- a/www/plugins/agenda_3_5/prive/transmettre/evenements_participants.html +++ b/www/plugins/agenda_3_5/prive/transmettre/evenements_participants.html @@ -1,10 +1,10 @@ "<:numero:>","<:agenda:evenement:>","<:nom:>","<:email:>","<:agenda:evenement_date_inscription:>","<:agenda:reponse:>" -"#ID_EVENEMENT","#INFO_TITRE{evenement,#ID_EVENEMENT}","[(#NOM|sinon{<:texte_vide:>})]","#EMAIL","[(#DATE|affdate{'d/m/Y H:i:s'})]","#REPONSE" +"#ID_EVENEMENT","#INFO_TITRE{evenement,#ID_EVENEMENT}","[(#NOM|sinon{#INFO_NOM{auteur,#ID_AUTEUR}})]","[(#EMAIL|sinon{#INFO_EMAIL{auteur,#ID_AUTEUR}})]","[(#DATE|affdate{'d/m/Y H:i:s'})]","#REPONSE" +}?> \ No newline at end of file diff --git a/www/plugins/agenda_3_5/public/agenda.php b/www/plugins/agenda_3_5/public/agenda.php index d138999..aea759c 100644 --- a/www/plugins/agenda_3_5/public/agenda.php +++ b/www/plugins/agenda_3_5/public/agenda.php @@ -389,9 +389,9 @@ function agenda_calculer_date_reference($idb, &$boucles, $crit) { * @return object */ function balise_NB_INSCRITS_dist($p) { - $id_evenement = champ_sql('id_evenement', $p); - $p->code = "sql_countsel('spip_evenements_participants','id_evenement='.intval($id_evenement).' AND reponse=\'oui\'')"; - return $p; + $id_evenement = champ_sql('id_evenement', $p); + $p->code = "sql_countsel('spip_evenements_participants','id_evenement='.intval($id_evenement).' AND reponse=\'oui\'')"; + return $p; } ?> diff --git a/www/plugins/agenda_3_5/squelettes/agenda-ical.html b/www/plugins/agenda_3_5/squelettes/agenda-ical.html index dc1491c..bf40977 100644 --- a/www/plugins/agenda_3_5/squelettes/agenda-ical.html +++ b/www/plugins/agenda_3_5/squelettes/agenda-ical.html @@ -3,10 +3,17 @@ VERSION:2.0 X-WR-TIMEZONE:Europe/Paris CALSCALE:GREGORIAN PRODID:-//SPIP/Plugin #PLUGIN{AGENDA,nom}//NONSGML v1.0//FR + +X-WR-CALNAME;VALUE=TEXT:[(#NOM_SITE_SPIP|filtrer_ical)] - [(#TITRE|supprimer_tags|filtrer_ical)][ +X-WR-CALDESC:(#INTRODUCTION|supprimer_tags|filtrer_ical)] +X-WR-RELCALID:[(#URL_ARTICLE|filtrer_ical)] + + X-WR-CALNAME;VALUE=TEXT:[(#NOM_SITE_SPIP|filtrer_ical)] -- Agenda[ -X-WR-CALDESC:(#DESCRIPTIF_SITE_SPIP|supprimer_tags|filtrer_ical)] +X-WR-CALDESC:(#DESCRIPTION_SITE_SPIP|supprimer_tags|filtrer_ical)] X-WR-RELCALID:[(#URL_SITE_SPIP|filtrer_ical)] -[(#INCLURE{fond=inc/un-evenement-ical}{evtitre=#TITRE}{id_evenement}{date_debut}{horaire}{date_fin}{id_article}{descriptif}{lieu})] -=0} {inverse} {0,50} {doublons}>[(#INCLURE{fond=inc/un-evenement-ical}{evtitre=#TITRE}{id_evenement}{date_debut}{horaire}{date_fin}{id_article}{descriptif}{lieu})] -[(#INCLURE{fond=inc/un-evenement-ical}{evtitre=#TITRE}{id_evenement}{date_debut}{horaire}{date_fin}{id_article}{descriptif}{lieu})] + +[(#INCLURE{fond=inc/un-evenement-ical}{evtitre=#TITRE}{id_evenement}{date_debut}{horaire}{date_fin}{id_article}{descriptif}{lieu}{date_creation}{maj})] +=0} {inverse} {0,50} {doublons}>[(#INCLURE{fond=inc/un-evenement-ical}{evtitre=#TITRE}{id_evenement}{date_debut}{horaire}{date_fin}{id_article}{descriptif}{lieu}{date_creation}{maj})] +[(#INCLURE{fond=inc/un-evenement-ical}{evtitre=#TITRE}{id_evenement}{date_debut}{horaire}{date_fin}{id_article}{descriptif}{lieu}{date_creation}{maj})] END:VCALENDAR diff --git a/www/plugins/agenda_3_5/squelettes/aside/agenda.html b/www/plugins/agenda_3_5/squelettes/aside/agenda.html new file mode 100644 index 0000000..99c2ac9 --- /dev/null +++ b/www/plugins/agenda_3_5/squelettes/aside/agenda.html @@ -0,0 +1,16 @@ +[(#REM) + + Squelette + (c) 2009 xxx + Distribue sous licence GPL + +] + +#ANCRE_PAGINATION +
      + +
    • [(#SELF|parametre_url{date_debut,#DATE_DEBUT|affdate{Y-m-01}}|lien_ou_expose{#DATE_DEBUT|affdate_mois_annee{},#ENV{date_debut,''}|=={#DATE_DEBUT|affdate{Y-m-01}}})]
    • + +
    +[] +
    \ No newline at end of file diff --git a/www/plugins/agenda_3_5/squelettes/breadcrumb/agenda.html b/www/plugins/agenda_3_5/squelettes/breadcrumb/agenda.html new file mode 100644 index 0000000..58b70bc --- /dev/null +++ b/www/plugins/agenda_3_5/squelettes/breadcrumb/agenda.html @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/www/plugins/agenda_3_5/squelettes/content/agenda.html b/www/plugins/agenda_3_5/squelettes/content/agenda.html index dfaa307..263c0c5 100644 --- a/www/plugins/agenda_3_5/squelettes/content/agenda.html +++ b/www/plugins/agenda_3_5/squelettes/content/agenda.html @@ -10,10 +10,10 @@
    -

    [(#CONFIG{agenda/titre}|sinon{<:agenda:titre_sur_l_agenda:>}|entites_html)]

    +

    [(#CONFIG{agenda/titre}|sinon{<:agenda:titre_sur_l_agenda:>}|typo)]

    - [
    (#CONFIG{agenda/descriptif}|propre)
    ] + [
    (#CONFIG{agenda/descriptif}|propre)
    ]
    diff --git a/www/plugins/agenda_3_5/squelettes/content/jour.html b/www/plugins/agenda_3_5/squelettes/content/jour.html index e66a611..c7834d6 100644 --- a/www/plugins/agenda_3_5/squelettes/content/jour.html +++ b/www/plugins/agenda_3_5/squelettes/content/jour.html @@ -32,4 +32,4 @@

    <:agenda:info_aucun_evenement:>

    -
    \ No newline at end of file + diff --git a/www/plugins/agenda_3_5/squelettes/extra/agenda.html b/www/plugins/agenda_3_5/squelettes/extra/agenda.html new file mode 100644 index 0000000..a0b1474 --- /dev/null +++ b/www/plugins/agenda_3_5/squelettes/extra/agenda.html @@ -0,0 +1,16 @@ +[(#REM) + + Squelette + (c) 2009 xxx + Distribue sous licence GPL + +] +#SET{id_article,#ENV{id_article,''}} + +#CALENDRIER_MINI{#DATE_DEBUT,date_debut,#URL_PAGE{jour},#URL_PAGE{calendrier_mini_event.json,id_article=#ID_ARTICLE}} +#SET{id_article,#ID_ARTICLE} + +#CALENDRIER_MINI{#DATE_DEBUT,date_debut,#URL_PAGE{jour},#URL_PAGE{calendrier_mini_event.json}|parametre_url{id_article,#GET{id_article}}|parametre_url{id_rubrique,#GET{id_rubrique}}} + + + \ No newline at end of file diff --git a/www/plugins/agenda_3_5/squelettes/extra/evenement.html b/www/plugins/agenda_3_5/squelettes/extra/evenement.html new file mode 100644 index 0000000..a704a01 --- /dev/null +++ b/www/plugins/agenda_3_5/squelettes/extra/evenement.html @@ -0,0 +1,8 @@ +[(#REM) + + Squelette + (c) 2009 xxx + Distribue sous licence GPL + +] + \ No newline at end of file diff --git a/www/plugins/agenda_3_5/squelettes/extra/jour.html b/www/plugins/agenda_3_5/squelettes/extra/jour.html new file mode 100644 index 0000000..a704a01 --- /dev/null +++ b/www/plugins/agenda_3_5/squelettes/extra/jour.html @@ -0,0 +1,8 @@ +[(#REM) + + Squelette + (c) 2009 xxx + Distribue sous licence GPL + +] + \ No newline at end of file diff --git a/www/plugins/agenda_3_5/squelettes/extra/rubrique-agenda.html b/www/plugins/agenda_3_5/squelettes/extra/rubrique-agenda.html new file mode 100644 index 0000000..a704a01 --- /dev/null +++ b/www/plugins/agenda_3_5/squelettes/extra/rubrique-agenda.html @@ -0,0 +1,8 @@ +[(#REM) + + Squelette + (c) 2009 xxx + Distribue sous licence GPL + +] + \ No newline at end of file diff --git a/www/plugins/agenda_3_5/squelettes/inclure/agenda-liste.html b/www/plugins/agenda_3_5/squelettes/inclure/agenda-liste.html index 2b87e18..00273a6 100644 --- a/www/plugins/agenda_3_5/squelettes/inclure/agenda-liste.html +++ b/www/plugins/agenda_3_5/squelettes/inclure/agenda-liste.html @@ -32,9 +32,10 @@
    \ No newline at end of file diff --git a/www/plugins/agenda_3_5/squelettes/inclure/resume/evenement.html b/www/plugins/agenda_3_5/squelettes/inclure/resume/evenement.html index 8d0c432..45dbc99 100644 --- a/www/plugins/agenda_3_5/squelettes/inclure/resume/evenement.html +++ b/www/plugins/agenda_3_5/squelettes/inclure/resume/evenement.html @@ -1,20 +1,26 @@ -
    - - -

    []

    + [

    ] + #SET{intro,''}#SET{intro,#INTRODUCTION{#ENV{coupe,300}} + [(#ENV{intro,oui}|=={non}|non|et{#DESCRIPTIF}|oui)[(#SET{intro,[
    (#DESCRIPTIF|sinon{#GET{intro}})
    ]})]] + [(#GET{intro}|ou{#LIEU}|ou{#ADRESSE}|oui)
    - #SET{intro,''}#SET{intro,#INTRODUCTION{#ENV{coupe,300}} - [
    (#DESCRIPTIF|sinon{#GET{intro}})
    ] - - [

    (#LIEU)[
    (#ADRESSE|PtoBR)]

    ] -
    + #GET{intro} + [

    (#LIEU)[
    (#ADRESSE|PtoBR)]

    ] + ] +

    - [(#INSCRIPTION|?{' ',''})| #NB_INSCRITS[/(#PLACES) ]] - | #TITRE + [(#INSCRIPTION|?{' ',''})| #NB_INSCRITS[/#PLACES(#PLACES|>{0}|oui)]] + | #TITRE

    +
    + [(#INSCRIPTION|?{' ',''})

    | #NB_INSCRITS[/#PLACES(#PLACES|>{0}|oui)]

    ] +
    - + \ No newline at end of file diff --git a/www/plugins/agenda_3_5/svn.revision b/www/plugins/agenda_3_5/svn.revision index 9ab691f..b81dc04 100644 --- a/www/plugins/agenda_3_5/svn.revision +++ b/www/plugins/agenda_3_5/svn.revision @@ -1,10 +1,10 @@ Origine: file:///home/svn/repository/spip-zone/_plugins_/agenda/trunk -Revision: 72384 -Dernier commit: 2013-04-27 14:00:20 +0200 +Revision: 93548 +Dernier commit: 2015-12-11 17:15:07 +0100 file:///home/svn/repository/spip-zone/_plugins_/agenda/trunk -72384 -2013-04-27 14:00:20 +0200 +93548 +2015-12-11 17:15:07 +0100 \ No newline at end of file diff --git a/www/plugins/calendrier_mini-2.0/balise/calendrier_mini.php b/www/plugins/calendrier_mini-2.0/balise/calendrier_mini.php index 36fff63..ca03888 100644 --- a/www/plugins/calendrier_mini-2.0/balise/calendrier_mini.php +++ b/www/plugins/calendrier_mini-2.0/balise/calendrier_mini.php @@ -32,7 +32,7 @@ function balise_CALENDRIER_MINI_stat($args, $filtres) { * #CALENDRIER_MINI{#ENV{date},date,#SELF} * #CALENDRIER_MINI{#ENV{date},date,#SELF,#URL_PAGE{calendrier_mini.json}} * - * Quand l'url json est explicitée dans les arguments, la collecte automatisée de id_rubrique, id_article et id_mot est desactivée + * Quand l'url json est explicitee dans les arguments, la collecte automatisee de id_rubrique, id_article et id_mot est desactivee * car dans ce cas il suffit simplement de les expliciter sur l'url json pour les prendre en compte * * @param string $date diff --git a/www/plugins/calendrier_mini-2.0/calendriermini_fonctions.php b/www/plugins/calendrier_mini-2.0/calendriermini_fonctions.php index 1cff092..0fca972 100644 --- a/www/plugins/calendrier_mini-2.0/calendriermini_fonctions.php +++ b/www/plugins/calendrier_mini-2.0/calendriermini_fonctions.php @@ -1,57 +1,57 @@ -code = "_request('".VAR_DATE."')"; - - #$p->interdire_scripts = true; - return $p; -} - -function critere_archives($idb, &$boucles, $crit) { - $boucle = &$boucles[$idb]; - $objet = objet_type($boucle->id_table); - $date = objet_info($objet,'date'); - $champ_date = "'" . $boucle->id_table ."." . - $date . "'"; - $boucle->where[] = array( - 'REGEXP', - $champ_date, - "sql_quote(('^' . interdire_scripts(entites_html(\$Pile[0]['".VAR_DATE."']))))" - ); -} - -/** - * Crée un array d'un intervalle de jour entre la date de début $start et la date de fin $end - * - * $start datetime SQL - La date de début - * $end datetime SQL La date de fin - */ -function calendriermini_intervalle($start,$end=false){ - $jours = array(); - $starttime = strtotime($start); - $startdate = date('Y-m-d',$starttime); - $jours[] = $startdate; - if(!$end){ - return $jours; - } - $endtime = strtotime($end); - $enddate = date('Y-m-d',strtotime($end)); - $starttime = $starttime + (3600*24); - while(($date_test = date('Y-m-d',$starttime)) < $enddate){ - $jours[] = $date_test; - $starttime = $starttime + (3600*24); - } - $jours[] = $enddate; - return array_unique($jours); -} -?> +code = "_request('".VAR_DATE."')"; + + #$p->interdire_scripts = true; + return $p; +} + +function critere_archives($idb, &$boucles, $crit) { + $boucle = &$boucles[$idb]; + $objet = objet_type($boucle->id_table); + $date = objet_info($objet,'date'); + $champ_date = "'" . $boucle->id_table ."." . + $date . "'"; + $boucle->where[] = array( + "'REGEXP'", + $champ_date, + "sql_quote(('^' . interdire_scripts(entites_html(@\$Pile[0]['".VAR_DATE."']))))" + ); +} + +/** + * Crée un array d'un intervalle de jour entre la date de début $start et la date de fin $end + * + * $start datetime SQL - La date de début + * $end datetime SQL La date de fin + */ +function calendriermini_intervalle($start,$end=false){ + $jours = array(); + $starttime = strtotime($start); + $startdate = date('Y-m-d',$starttime); + $jours[] = $startdate; + if(!$end){ + return $jours; + } + $endtime = strtotime($end); + $enddate = date('Y-m-d',strtotime($end)); + $starttime = $starttime + (3600*24); + while(($date_test = date('Y-m-d',$starttime)) < $enddate){ + $jours[] = $date_test; + $starttime = $starttime + (3600*24); + } + $jours[] = $enddate; + return array_unique($jours); +} +?> diff --git a/www/plugins/calendrier_mini-2.0/css/img/month_next.png b/www/plugins/calendrier_mini-2.0/css/img/month_next.png index 75a8d7aa654a7261483a68c92699d142f215e6d2..068d1539e1513025fd74f1eb34a79dd0de3a0852 100644 GIT binary patch delta 246 zcmVB@{*)ga0diY#XSg+5G1}xk|?;|ZaDcD zB#8`;fc%x^?C1JO5rr*6h5g}-Y+ggIP{PjjUQ7`|RIqV96mKhaXw?RqdKU|O^`ygw z4lK7Wsx2M0b_aTI2yLrG(7)+h=^6SA5pdAV}yWtg|k zyfi7-@=08{aPhN~tmI~A{OjN8oO+%*4+G$*{l6e26=qyq1oJ)K1ksp?%k_$Il!q?? z%O!9+pRu=(U^xLk1i}jzlFn%(;s~h(1lVj3NTzd0W%5{?)_sG#Q8Y+kXS8$7=mgrrK&{b+((GU|U%xv9JvI<9)K_Tq`WWd; zkUN2?8Vqy;6Jz%QdlrztYNq`G(+PO#7UM-1rWQC8aAA4@{XPMqzJ1$@n{~th0000< KMNUMnLSTaPe0i4u diff --git a/www/plugins/calendrier_mini-2.0/css/img/month_prev.png b/www/plugins/calendrier_mini-2.0/css/img/month_prev.png index 4ee1fb4914d5cde8133f579225a1203c25d01a0b..6ea20c740f893a577ed2c50f70cd77b9853f88c4 100644 GIT binary patch delta 251 zcmV^K%|cP8XhPIP$;XjXW7vGn zXOnU)zr=w92e-Wvr{2kdtDcjm?yI|-`wvJ&hCh}adkP0aB2MQsLSY%qVSz~4I(rvUSu>QK}o(zybr_R8IW zL7)$etJY{EU#UVZYZ%Y$j|CK-)*V`NRO&61YfTuF#Y?~-kRop@#p6 diff --git a/www/plugins/calendrier_mini-2.0/css/img/month_prev_next-32x16.png b/www/plugins/calendrier_mini-2.0/css/img/month_prev_next-32x16.png index 03837b9f4dbe97d285cdad6c3d3ecda09aa786d3..6bda40daf3f1c8a7d0d0905d4445a3c6144b55ba 100644 GIT binary patch delta 348 zcmV-i0i*tt1ndHk8Gi!+002PVjcWh^0D(|UR7C&)00000xx2lxw6$h+gRQTyZE$q} z003=ob8BsKYi)7B!^3QDbJNw;cYA<#dVjpW!D?-C#>vTlhKhcKiMPAGY;JOBY;cj7 zoQIB*hK-T4xVwvym9e$Cj+L8@l$x-%x@vKDuC%w5oujR^xPP&_zpS*nu)D)*C`zCJ0000eSaefwW^{L9a%BKPWN%_+AW3auXJt}l zVPtu6$z?nM00Fg0L_t(|+QgL4N&-<7#?KwanK73^5D7g()Egw`qHqymty@@Bmi?h8 zXj>8DOSFhEA`^7c-XU5OpA2IpPTc3@crG#Z`Z5=c5swqo7zwRtCX;Gu z8spMmKLZHIaVVziWOyE7Pq>~R`gwsdOhZmSw4kZfg3{UXOrvpUOeT}0>!v)OAAVVZ z`Qf1jO=u5nfe5QyIuVJynaa%3^UJFc^C`^6L@pRz%zeQ4*eKPiRVtTGQQT5}1r~t% zZHoN`YF8DCifasO01ViE#RG@1(?leqHN`mF>JBu! zaebK>R9vQZ_BP;8r@s~)zgN70sqfphdd){)1OFYL0t^8CWX)|=-;Kxs0000 diff --git a/www/plugins/calendrier_mini-2.0/formulaires/calendrier_mini.html b/www/plugins/calendrier_mini-2.0/formulaires/calendrier_mini.html index 2bda6db..ba9e405 100644 --- a/www/plugins/calendrier_mini-2.0/formulaires/calendrier_mini.html +++ b/www/plugins/calendrier_mini-2.0/formulaires/calendrier_mini.html @@ -13,12 +13,17 @@ data-url="#ENV{self}" data-vardate="#ENV{var_date}" >[(#REM) - Contenu alternatif statique pour les Bot et les utilisateurs sans JS ]
    #SET{start,#ENV{date}|affdate{Y-m-01}|strtotime} #SET{end,#VAL{Y-m-01}|date{#GET{start}|plus{2764800}}|strtotime} - #SET{url,#GET{urljson}|parametre_url{start,#GET{start},'&'}|parametre_url{end,#GET{end},'&'}|url_absolue} + [(#SET{url,#INCLURE{fond=#GET{urljson}|parametre_url{page}, + id_rubrique=#GET{urljson}|parametre_url{id_rubrique}, + id_article=#GET{urljson}|parametre_url{id_articlee}, + id_mot=#GET{urljson}|parametre_url{id_mot}, + lang=#GET{urljson}|parametre_url{lang}, + start=#GET{start}, + end=#GET{end}}})] [(#ENV{date}|affdate_mois_annee)] :
      @@ -54,4 +59,4 @@ Chargement de la css que l'on importe inline pour eviter un hit (performance) ] \ No newline at end of file + diff --git a/www/plugins/calendrier_mini-2.0/formulaires/configurer_calendriermini.html b/www/plugins/calendrier_mini-2.0/formulaires/configurer_calendriermini.html index f5a1ca9..fa4cc28 100644 --- a/www/plugins/calendrier_mini-2.0/formulaires/configurer_calendriermini.html +++ b/www/plugins/calendrier_mini-2.0/formulaires/configurer_calendriermini.html @@ -19,7 +19,7 @@ - #SET{name,format_jour}#SET{defaut,1}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} + #SET{name,format_jour}#SET{defaut,initiale}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
    • [ (#GET{erreurs}) diff --git a/www/plugins/calendrier_mini-2.0/javascript/calendrier_mini.js.html b/www/plugins/calendrier_mini-2.0/javascript/calendrier_mini.js.html index 84c1db9..302fabc 100644 --- a/www/plugins/calendrier_mini-2.0/javascript/calendrier_mini.js.html +++ b/www/plugins/calendrier_mini-2.0/javascript/calendrier_mini.js.html @@ -1,8 +1,8 @@ #HTTP_HEADER{Content-type:text/javascript} if (!jQuery.fn.datepicker){ -#INCLURE{javascript/ui/jquery.ui.core.js} -#INCLURE{javascript/ui/jquery.ui.widget.js} -#INCLURE{javascript/ui/jquery.ui.datepicker.js} +[(#INCLURE{javascript/ui/core.js}|sinon{#INCLURE{javascript/ui/jquery.ui.core.js}})] +[(#INCLURE{javascript/ui/widget.js}|sinon{#INCLURE{javascript/ui/jquery.ui.widget.js}})] +[(#INCLURE{javascript/ui/datepicker.js}|sinon{#INCLURE{javascript/ui/jquery.ui.datepicker.js}})] } if (!jQuery.fn.multiDatesPicker){ #INCLURE{javascript/jquery-ui.multidatespicker.js} @@ -25,7 +25,7 @@ var minical = { '<:date_mois_1_abbr|texte_script:>','<:date_mois_2_abbr|texte_script:>','<:date_mois_3_abbr|texte_script:>','<:date_mois_4_abbr|texte_script:>','<:date_mois_5_abbr|texte_script:>','<:date_mois_6_abbr|texte_script:>', '<:date_mois_7_abbr|texte_script:>','<:date_mois_8_abbr|texte_script:>','<:date_mois_9_abbr|texte_script:>','<:date_mois_10_abbr|texte_script:>','<:date_mois_11_abbr|texte_script:>','<:date_mois_12_abbr|texte_script:>'], dayNames: [ - '<:date_jour_1|texte_script:>','<:date_jour_2|texte_script:>','<:date_jour_3|texte_script:>','<:date_jour_4:|texte_script:>', + '<:date_jour_1|texte_script:>','<:date_jour_2|texte_script:>','<:date_jour_3|texte_script:>','<:date_jour_4|texte_script:>', '<:date_jour_5|texte_script:>','<:date_jour_6|texte_script:>','<:date_jour_7|texte_script:>'], dayNamesShort: [ '<:date_jour_1_abbr|texte_script:>','<:date_jour_2_abbr|texte_script:>','<:date_jour_3_abbr|texte_script:>','<:date_jour_4_abbr|texte_script:>', diff --git a/www/plugins/calendrier_mini-2.0/lang/minical.xml b/www/plugins/calendrier_mini-2.0/lang/minical.xml index b7811ba..ef1a64b 100644 --- a/www/plugins/calendrier_mini-2.0/lang/minical.xml +++ b/www/plugins/calendrier_mini-2.0/lang/minical.xml @@ -1,13 +1,36 @@ - + + + + + + + + - - + + + + + + + + + + - - + + + + + + + + + + diff --git a/www/plugins/calendrier_mini-2.0/lang/minical_ca.php b/www/plugins/calendrier_mini-2.0/lang/minical_ca.php deleted file mode 100644 index 932efbb..0000000 --- a/www/plugins/calendrier_mini-2.0/lang/minical_ca.php +++ /dev/null @@ -1,27 +0,0 @@ - 'Rien pour ce mois', # NEW - - // D - 'date_jour_abbr_1' => 'dg', - 'date_jour_abbr_2' => 'dl', - 'date_jour_abbr_3' => 'dt', - 'date_jour_abbr_4' => 'dc', - 'date_jour_abbr_5' => 'dj', - 'date_jour_abbr_6' => 'dv', - 'date_jour_abbr_7' => 'db', - - // M - 'mois_precedent' => 'Mois précédent', # NEW - 'mois_suivant' => 'Mois suivant' # NEW -); - -?> diff --git a/www/plugins/calendrier_mini-2.0/lang/minical_de.php b/www/plugins/calendrier_mini-2.0/lang/minical_de.php index 9942b56..8dd322c 100644 --- a/www/plugins/calendrier_mini-2.0/lang/minical_de.php +++ b/www/plugins/calendrier_mini-2.0/lang/minical_de.php @@ -1,6 +1,6 @@ 'Rien pour ce mois', # NEW + 'aucune_date' => 'Nichts in diesem Monat', - // D - 'date_jour_abbr_1' => 'So', - 'date_jour_abbr_2' => 'Mo', - 'date_jour_abbr_3' => 'Di', - 'date_jour_abbr_4' => 'Mi', - 'date_jour_abbr_5' => 'Do', - 'date_jour_abbr_6' => 'Fr', - 'date_jour_abbr_7' => 'Sa', + // C + 'config_titre_calendriermini' => 'Mini-Kalender', + + // L + 'label_affichage_hors_mois' => 'Angezeigte Tage', + 'label_affichage_hors_mois_0' => 'Tage des folgenden und des vorherigen Monats verstecken', + 'label_affichage_hors_mois_1' => 'Tage des folgenden und des vorherigen Monats anzeigen', + 'label_changement_rapide' => 'Navigation', + 'label_changement_rapide_0' => 'Schnellauswahl von Jahr und Monat deaktivieren', + 'label_changement_rapide_1' => 'Schnellauswahl für Monat und Jahr aktivieren', + 'label_format_jour' => 'Format der Tagesanzeige', + 'label_format_jour_abbr' => 'Abkürzung', + 'label_format_jour_initiale' => 'Anfangsbuchstabe', + 'label_jour1' => 'Erster Tag der Woche', // M - 'mois_precedent' => 'Mois précédent', # NEW - 'mois_suivant' => 'Mois suivant' # NEW + 'mois_precedent' => 'Voriger Monat', + 'mois_suivant' => 'Folgender Monat' ); ?> diff --git a/www/plugins/calendrier_mini-2.0/lang/minical_fr.php b/www/plugins/calendrier_mini-2.0/lang/minical_fr.php index 9d72de2..b209d9b 100644 --- a/www/plugins/calendrier_mini-2.0/lang/minical_fr.php +++ b/www/plugins/calendrier_mini-2.0/lang/minical_fr.php @@ -16,8 +16,8 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'label_affichage_hors_mois_0' => 'Masquer les jours des mois précédent et suivant', 'label_affichage_hors_mois_1' => 'Afficher les jours des mois précédent et suivant', 'label_changement_rapide' => 'Navigation', - 'label_changement_rapide_0' => 'Désactiver la sélection rapide du mois ou de l\'année', - 'label_changement_rapide_1' => 'Activer la sélection rapide du mois ou de l\'année', + 'label_changement_rapide_0' => 'Désactiver la sélection rapide du mois ou de l’année', + 'label_changement_rapide_1' => 'Activer la sélection rapide du mois ou de l’année', 'label_format_jour' => 'Format des jours', 'label_format_jour_abbr' => 'Court', 'label_format_jour_initiale' => 'Initiale', diff --git a/www/plugins/calendrier_mini-2.0/lang/minical_it.php b/www/plugins/calendrier_mini-2.0/lang/minical_it.php deleted file mode 100644 index fde1071..0000000 --- a/www/plugins/calendrier_mini-2.0/lang/minical_it.php +++ /dev/null @@ -1,27 +0,0 @@ - 'Rien pour ce mois', # NEW - - // D - 'date_jour_abbr_1' => 'dom', - 'date_jour_abbr_2' => 'lun', - 'date_jour_abbr_3' => 'mar', - 'date_jour_abbr_4' => 'mer', - 'date_jour_abbr_5' => 'giov', - 'date_jour_abbr_6' => 'ven', - 'date_jour_abbr_7' => 'sab', - - // M - 'mois_precedent' => 'Mois précédent', # NEW - 'mois_suivant' => 'Mois suivant' # NEW -); - -?> diff --git a/www/plugins/calendrier_mini-2.0/lang/minical_nl.php b/www/plugins/calendrier_mini-2.0/lang/minical_nl.php new file mode 100644 index 0000000..17cd6ba --- /dev/null +++ b/www/plugins/calendrier_mini-2.0/lang/minical_nl.php @@ -0,0 +1,33 @@ + 'Niets voor deze maand', + + // C + 'config_titre_calendriermini' => 'Mini-Kalender', + + // L + 'label_affichage_hors_mois' => 'Getoonde dagen', + 'label_affichage_hors_mois_0' => 'Verberg de dagen van de vorige en volgende maand', + 'label_affichage_hors_mois_1' => 'Toon de dagen van de vorige en volgende maand', + 'label_changement_rapide' => 'Navigatie', + 'label_changement_rapide_0' => 'Desactiveer de snelkeuze van maand of jaar', + 'label_changement_rapide_1' => 'Activeer de snelkeuze van maand of jaar', + 'label_format_jour' => 'Dagformaat', + 'label_format_jour_abbr' => 'Kort', + 'label_format_jour_initiale' => 'Beginletter', + 'label_jour1' => 'Eerste dag van de week', + + // M + 'mois_precedent' => 'Vorige maand', + 'mois_suivant' => 'Volgende maand' +); + +?> diff --git a/www/plugins/calendrier_mini-2.0/lang/minical_oc_ni_mis.php b/www/plugins/calendrier_mini-2.0/lang/minical_oc_ni_mis.php new file mode 100644 index 0000000..c4ac7e0 --- /dev/null +++ b/www/plugins/calendrier_mini-2.0/lang/minical_oc_ni_mis.php @@ -0,0 +1,33 @@ + 'Mìnga per aqueu mès', + + // C + 'config_titre_calendriermini' => 'Mini-Calendari', + + // L + 'label_affichage_hors_mois' => 'Jou afichat', + 'label_affichage_hors_mois_0' => 'Escoundre lu jou dei mès prechedent e seguent', + 'label_affichage_hors_mois_1' => 'Afichà lu jou dei mès prechedent e seguent', + 'label_changement_rapide' => 'Navigacioun', + 'label_changement_rapide_0' => 'Desativà la selecioun rapida dóu mès o de l’anada', + 'label_changement_rapide_1' => 'Ativà la selecioun rapida dóu mès o de l’anada', + 'label_format_jour' => 'Fourmat dei jou', + 'label_format_jour_abbr' => 'Court', + 'label_format_jour_initiale' => 'Iniciala', + 'label_jour1' => 'Premié jou de la semana', + + // M + 'mois_precedent' => 'Mès prechedent', + 'mois_suivant' => 'Mès seguent' +); + +?> diff --git a/www/plugins/calendrier_mini-2.0/lang/minical_ru.php b/www/plugins/calendrier_mini-2.0/lang/minical_ru.php new file mode 100644 index 0000000..099ea76 --- /dev/null +++ b/www/plugins/calendrier_mini-2.0/lang/minical_ru.php @@ -0,0 +1,33 @@ + 'Ничего в этом месяце', + + // C + 'config_titre_calendriermini' => 'Мини-Календарь', + + // L + 'label_affichage_hors_mois' => 'Дни показаны', + 'label_affichage_hors_mois_0' => 'Скрыть дни предыдущего и следующего месяцев', + 'label_affichage_hors_mois_1' => 'Показать дни предыдущих и последующих месяцев', + 'label_changement_rapide' => 'Навигация', + 'label_changement_rapide_0' => 'Отключить быстрый выбор месяца или года', + 'label_changement_rapide_1' => 'Включить быстрый выбор месяца или года', + 'label_format_jour' => 'Формат дней', + 'label_format_jour_abbr' => 'Кратко', + 'label_format_jour_initiale' => 'Заглавная буква', + 'label_jour1' => 'Первый день недели', + + // M + 'mois_precedent' => 'Предыдущий месяц', + 'mois_suivant' => 'Следующий месяц' +); + +?> diff --git a/www/plugins/calendrier_mini-2.0/lang/paquet-calendriermini.xml b/www/plugins/calendrier_mini-2.0/lang/paquet-calendriermini.xml index 8894bca..d475866 100644 --- a/www/plugins/calendrier_mini-2.0/lang/paquet-calendriermini.xml +++ b/www/plugins/calendrier_mini-2.0/lang/paquet-calendriermini.xml @@ -1,15 +1,25 @@ - + - + - - + + - - + + + + + + + + + + + + diff --git a/www/plugins/calendrier_mini-2.0/lang/paquet-calendriermini_en.php b/www/plugins/calendrier_mini-2.0/lang/paquet-calendriermini_en.php index 53f1717..3b8d5ba 100644 --- a/www/plugins/calendrier_mini-2.0/lang/paquet-calendriermini_en.php +++ b/www/plugins/calendrier_mini-2.0/lang/paquet-calendriermini_en.php @@ -8,7 +8,7 @@ if (!defined('_ECRIRE_INC_VERSION')) return; $GLOBALS[$GLOBALS['idx_lang']] = array( // C - 'calendriermini_description' => '#CALENDRIER_MINI displays a calendar designed as dotclear\'s one and therefore compatible with the styles from this blog system. + 'calendriermini_description' => '#CALENDRIER_MINI displays a calendar designed as dotclear’s one and therefore compatible with the styles from this blog system. _ Other tools are added, such as tags, criteria, models...', 'calendriermini_nom' => 'Mini Calendar', 'calendriermini_slogan' => 'Allow to use a #CALENDRIER_MINI tag' diff --git a/www/plugins/calendrier_mini-2.0/lang/paquet-calendriermini_fr.php b/www/plugins/calendrier_mini-2.0/lang/paquet-calendriermini_fr.php index 467dc05..700b1f3 100644 --- a/www/plugins/calendrier_mini-2.0/lang/paquet-calendriermini_fr.php +++ b/www/plugins/calendrier_mini-2.0/lang/paquet-calendriermini_fr.php @@ -7,9 +7,9 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( // C 'calendriermini_description' => '#CALENDRIER_MINI affiche un calendrier au design issu de dotclear et donc compatible avec les styles issus de ce système de blog. -_ Lui sont adjoints d\'autre éléments, tels que balises, critères, modèles...', +_ Lui sont adjoints d’autre éléments, tels que balises, critères, modèles...', 'calendriermini_nom' => 'Mini Calendrier', - 'calendriermini_slogan' => 'Permet l\'utilisation d\'une balise #CALENDRIER_MINI' + 'calendriermini_slogan' => 'Permet l’utilisation d’une balise #CALENDRIER_MINI' ); ?> diff --git a/www/plugins/calendrier_mini-2.0/lang/paquet-calendriermini_nl.php b/www/plugins/calendrier_mini-2.0/lang/paquet-calendriermini_nl.php new file mode 100644 index 0000000..eea8844 --- /dev/null +++ b/www/plugins/calendrier_mini-2.0/lang/paquet-calendriermini_nl.php @@ -0,0 +1,17 @@ + '#CALENDRIER_MINI toont een kalender in het dotclear ontwerp en is dus compatibel met de stijl van blogs. +_ Er zijn extra elementen aan toegevoegd, zoals bakens, criteria, modellen...', + 'calendriermini_nom' => 'Mini Kalender', + 'calendriermini_slogan' => 'Maakt het gebruik van #CALENDRIER_MINI mogelijk' +); + +?> diff --git a/www/plugins/calendrier_mini-2.0/lang/paquet-calendriermini_oc_ni_mis.php b/www/plugins/calendrier_mini-2.0/lang/paquet-calendriermini_oc_ni_mis.php new file mode 100644 index 0000000..9b87f2c --- /dev/null +++ b/www/plugins/calendrier_mini-2.0/lang/paquet-calendriermini_oc_ni_mis.php @@ -0,0 +1,17 @@ + '#CALENDRIER_MINI afichà un calendari dau design que ven de dotclear e es pi coumpatible embé l’estile que ven d’aqueu sistèma de blog. +_ Lì soun ajounch d’autre elemen couma balisa, critèri, moudel...', + 'calendriermini_nom' => 'Mini Calendari', + 'calendriermini_slogan' => 'Permete l’utilisacioun d’una balisa #CALENDRIER_MINI' +); + +?> diff --git a/www/plugins/calendrier_mini-2.0/lang/paquet-calendriermini_ru.php b/www/plugins/calendrier_mini-2.0/lang/paquet-calendriermini_ru.php new file mode 100644 index 0000000..cbb9ebf --- /dev/null +++ b/www/plugins/calendrier_mini-2.0/lang/paquet-calendriermini_ru.php @@ -0,0 +1,17 @@ + '#CALENDRIER_MINI отображает календарь в соответствии с дизайном и стилями на сайте. +_Добавлены другие инструменты: теги, критерии, модели...', + 'calendriermini_nom' => 'Мини-Календарь', + 'calendriermini_slogan' => 'Позволяет использовать тег #CALENDRIER_MINI' +); + +?> diff --git a/www/plugins/calendrier_mini-2.0/minical-32.png b/www/plugins/calendrier_mini-2.0/minical-32.png index 9880597a27b3457bf13c50537d26a971bfe57a2b..d566a1b6042a6d6cae6b998553ff0f47f20bbdae 100644 GIT binary patch delta 2102 zcmV-62+8-aCc+SqBYy}9NklHFwhtp1fd(~D}8U@ z_c`~xYgg^<>YYkjV`3a&n7B^9thIM#*Z1x9I4S;T?>7|xfq$J`xufB%od*_xu7Y_L z1Pdtj0i}Y-ISbYfopb9BHh?WqYbp#SX7}F;IC=aSg%Jc=<>};b5QN8dxpJzMv{&L} z{-$!PdtIf~or{~DD5^Ell?0_rs8D-gb6l2U1=)C?bbp6gZ^v+(ofdp>@9W$Bh!cMjod9ZXy&B_eep)66l;9a(|g zTAXu$LII&tL;;k-fKuQnV~DabYOsO1@&?0qUZQvL+^eJAjmLqX0I0j}yb}PMj_+-s z`P|v~Q%|tlpD>shrZa=da&jTFR^S|1JgKv;@L>NX#(%GsgD_B(V@;zHGoO@bk1nwH z%vZh#JO-fdx%V^xZoK#4VC9RyxP0s}R66p9aSrE{01xY9Rd`Q?2R`Q7hNbX04?qAR zQP$(wxvxJBJPM$V(*Q(@d86u#2H;YK%Pp7`vKg3(c!8Y~+KC_~bcVoXC}(kiB_KzW zsR$dCA%99BzKR+|Wzb=vBE|-~O<`IV0H{!RN23Yq(pj!kn;fXlIMh@eY{y*JDhn#i zHL4`FHuY+Wq!J^OfC9jgnG`use>h@$Z@~K28gFm(S>2h6SG;Rl?8S#LwMA@LnWHc* z3jiir(EZX~jt4*5pIvTG7U{Kx9eEMOI-hKoxXgXuKz02n27Srj3#l=N} zP!kA&Qh|6l|MJU}OC{M4i!$J!?{05XuGgsw;yfpcW9p4AkAC59U-*X~d9nHSo7+{O zuYWUR0EkP~`6!BTK$<%O9WmeOFdR=Ajz%nr0E;(N0p}b+wMwZ}CfeO591IAfh{0?| zePf+@6#aY8kdH^KuC8Lzlv{4Sm1@#RtaWuSKmq{Dm9iHwlseXH6H2*Z%cWFlFZ zGM=X7HZMjnXIF&HzjcwNpFYEQFl4f@;D1N;`n^4xSJp*X%p^%LM{c8BF4N!N2OvqB zB@y2OE^7(UQKV|MT3hRo%kTb;cDqfl-)A%&u(`Fx>ZMEQz>g!~XPz_&;SbMp_($KT z_sC~?`xBoets2k$yiD|L%c_dB?)gyPq>?I;l2|mn2A{Fe&0{i)Udlhq9g+3eG33u0!*5j-s7917x?W>Uvk z*xsKIR_f@uv8o`muJ|3{ag!6v`-4tyVpu2=OFJDVCR){f#9} zz6|mlfE#bT5rCq1JbBSSgjzEmjqqy=22Cn3DniF)N|jn?I_$Ny9DforHJ>yZ0GvL3 znxf7g?}hay8CQA}Hit8Er>NKEqV;B{x3M~}oy`eC-E9^E~bL|!YzV;@=WEPX#Yabp!Zk_kG*aL;5_(Ze*xj#3{a;C;I zO>-g37)^5~X@HYTR(^vEb6n&)%(rAf!|-FAYt|`FD01%ONFuT8F-lkq+>k z9jI$%QC8rNB(b{NNjpWvdrnzYqA6S~+?L#nY$GeB^oQy&vk^f zP10zg;}WRQ_kYGLH6p;0W;tGj#F?NdiT8jn87PzrJhKwW=<(XwU-9&Jp7=KKf8a|J z1K?2qfA0A|e(3%O9=dBh9P;X)Uz+V~ZSMDbd&BW)I5Z|5nlzo}SvIxSrUHW^b5?%N zW_ZH^1_;D-@z3alJQP7%>nM=S?mN^sDNLO@b?P5ev@c{*^Z6{xUH~r1OZq{e20+e# g$<)fRqr9K?cUE(qmVgpI!vFvP07*qoM6N<$fKLZ*U+IBfRsybQWXdwQbLP>6pAqfylh#{fb6;Z(vMMVS~$e@S=j*ftg6;Uhf59&ghTmgWD0l;*T zI709Y^p6lP1rIRMx#05C~cW=H_Aw*bJ-5DT&Z2n+x)QHX^p z00esgV8|mQcmRZ%02D^@S3L16t`O%c004NIvOKvYIYoh62rY33S640`D9%Y2D-rV&neh&#Q1i z007~1e$oCcFS8neI|hJl{-P!B1ZZ9hpmq0)X0i`JwE&>$+E?>%_LC6RbVIkUx0b+_+BaR3cnT7Zv!AJxW zizFb)h!jyGOOZ85F;a?DAXP{m@;!0_IfqH8(HlgRxt7s3}k3K`kFu>>-2Q$QMFfPW!La{h336o>X zu_CMttHv6zR;&ZNiS=X8v3CR#fknUxHUxJ0uoBa_M6WNWeqIg~6QE69c9o#eyhGvpiOA@W-aonk<7r1(?fC{oI5N*U!4 zfg=2N-7=cNnjjOr{yriy6mMFgG#l znCF=fnQv8CDz++o6_Lscl}eQ+l^ZHARH>?_s@|##Rr6KLRFA1%Q+=*RRWnoLsR`7U zt5vFIcfW3@?wFpwUVxrVZ>QdQz32KIeJ}k~{cZZE^+ya? z2D1z#2HOnI7(B%_ac?{wFUQ;QQA1tBKtrWrm0_3Rgps+?Jfqb{jYbcQX~taRB;#$y zZN{S}1|}gUOHJxc?wV3fxuz+mJ4`!F$IZ;mqRrNsHJd##*D~ju=bP7?-?v~|cv>vB zsJ6IeNwVZxrdjT`yl#bBIa#GxRa#xMMy;K#CDyyGyQdMSxlWT#tDe?p!?5wT$+oGt z8L;Kp2HUQ-ZMJ=3XJQv;x5ci*?vuTfeY$;({XGW_huIFR9a(?@3)XSs8O^N5RyOM=TTmp(3=8^+zpz2r)C z^>JO{deZfso3oq3?Wo(Y?l$ge?uXo;%ru`Vo>?<<(8I_>;8Eq#KMS9gFl*neeosSB zfoHYnBQIkwkyowPu(zdms`p{<7e4kra-ZWq<2*OsGTvEV%s0Td$hXT+!*8Bnh2KMe zBmZRodjHV?r+_5^X9J0WL4jKW`}lf%A-|44I@@LTvf1rHjG(ze6+w@Jt%Bvjts!X0 z?2xS?_ve_-kiKB_KiJlZ$9G`c^=E@oNG)mWWaNo-3TIW8)$Hg0Ub-~8?KhvJ>$ z3*&nim@mj(aCxE5!t{lw7O5^0EIO7zOo&c6l<+|iDySBWCGrz@C5{St!X3hAA}`T4 z(TLbXTq+(;@<=L8dXnssyft|w#WSTW<++3>sgS%(4NTpeI-VAqb|7ssJvzNHgOZVu zaYCvgO_R1~>SyL=cFU|~g|hy|Zi}}s9+d~lYqOB71z9Z$wnC=pR9Yz4DhIM>Wmjgu z&56o6maCpC&F##y%G;1PobR9i?GnNg;gYtchD%p19a!eQtZF&3JaKv33gZ<8D~47E ztUS1iwkmDaPpj=$m#%)jCVEY4fnLGNg2A-`YwHVD3gv};>)hAvT~AmqS>Lr``i7kw zJ{5_It`yrBmlc25DBO7E8;5VoznR>Ww5hAaxn$2~(q`%A-YuS64wkBy=9dm`4cXeX z4c}I@?e+FW+b@^RDBHV(wnMq2zdX3SWv9u`%{xC-q*U}&`cyXV(%rRT*Z6MH?i+i& z_B8C(+grT%{XWUQ+f@NoP1R=AW&26{v-dx)iK^-Nmiuj8txj!m?Z*Ss1N{dh4z}01 z)YTo*JycSU)+_5r4#yw9{+;i4Ee$peRgIj+;v;ZGdF1K$3E%e~4LaI(jC-u%2h$&R z9cLXcYC@Xwnns&bn)_Q~Te?roKGD|d-g^8;+aC{{G(1^(O7m37Y1-+6)01cN&y1aw zoqc{T`P^XJqPBbIW6s}d4{z_f5Om?vMgNQEJG?v2T=KYd^0M3I6IZxbny)%vZR&LD zJpPl@Psh8QyPB@KTx+@RdcC!KX7}kEo;S|j^u2lU7XQ}Oo;f|;z4Ll+_r>@1-xl3| zawq-H%e&ckC+@AhPrP6BKT#_XdT7&;F71j}Joy zkC~6lh7E@6o;W@^IpRNZ{ptLtL(gQ-CY~4mqW;US7Zxvm_|@yz&e53Bp_lTPlfP|z zrTyx_>lv@x#=^!PzR7qqF<$gm`|ZJZ+;<)Cqu&ot2z=0000WV@Og>004R=004l4008;_004mL004C`008P>0026e000+nl3&F} z000P9NklT4hv(Mgpt)GK^dRjzA znsg;=ueJ8t*}w1lJ-Y( zl=_TPIuP;T{ZK@f1y+DHP)o{~6{XFl(gvl}rvs>(LR_g_K02VaxyQz}`=Ut_lS4~GGi4)fzL30gz-5>3bd3c@d)72I4q?K@H&Q| z1z`)q1_Uu!LxnEHYdd59(+QQay(Af-F22kzwaVW5nEf5azL}6+-I!h78nf*>t;P(^ zdPJ)hqO_*+ZJ{i3l4QirFkyXb!1CG>7glz-w2^UPMRB?4vK8*9Xe{7OZ5B2^4q#O3 z-nZ@-zVw9-2Nv(7*XyBct^blL1n)dWS>nA%yvKQ8%|$R;W39y+jWrtY3X;JNOG{UH zzTiB+NWKQ4ipsjTFeWo_qDG+&fRw%t^j3YhU=TGuC9?~BNi4G(8i**Mk$Tf zaOSPIh@%K?%)|_!wPtgDow(Vg-fR*&M-YZI+dZE8#sfSBJpRP%oeLkV*Ml(Hv6HMr z7)EnJ5FkMA1Z@N6=I0rv8N(!D&%y$JnlY*_BItUZD2fR-*D-?uCI}de$23=#nM1Mj z*@tmy!lg@>DDs>;4jrQ2YPYXK zLeR09B+Q*Z$DZFkM>-fX+Pxbu!Yx}{bgnKFMIobBi{kK|#Bt0{zYjpG)rmx;3tX`P zUPLt-jTvhVS1y0V%*+hiJ3A!90jq0kT)KD>tE+H?D&})-;Kdg>@S9(<{lt@8`0`iC z8%>N-B->le|LKq1e(nQ?wK{&7P-NNEi&~wI_Tp!zPAKBzMzht?N^$o6f3aupUYv6n zV~DIJjw0q}XDMAdQ9ihOgZ)>RkUfiReEYl1DupUbwAQS4I*{j#Po5$?d>GU3Q(D8; z))oNmb{7%mr`6DVUu(D99T5Sgh~tG^J_tI*$T6L{8T5G)blx2x? zjxBseru6&$N=R8U91ii`V~in=W2~)0(P+)iPM?iu ze}=jI5z+haVbhed)#CgUPa?P7!O3IC7&}Li=On`cSzfT&Ply_Aj4`{f`+%2jw>zV> z)OaO>(j=+Y9ttcumO=&CFea)s z=Ck2;*H%AJbFFq8fDv?nuTZN#+>kC50256KvGr)WB?O>P^eJ zmqs|})+|6i&Ni0Uw|VgJ?R1KYych#&!m_-FvaCjtN~jlbB9sD!7Ygsmy;P_4*ELd= zdQeJH<^}J){u2GwE4=dO-@k0E{jCxa?m2qo*j-2OeeKy_{MwdQs#-u(GbzW=?aANu?$YKx4Zoboj&s??zEBr}Rq$|$X@wSnH=T<;6& zM|yHonqEvMVY8>mi?5eu`5JIhYrUhj8Yrb5sf?%{k-H>0@ h&Ay)hdjP;-wA?rCUH1S0002ovPDHLkV1hI`FgH&7P>=us diff --git a/www/plugins/calendrier_mini-2.0/modeles/archives_mensuelles.html b/www/plugins/calendrier_mini-2.0/modeles/archives_mensuelles.html index a8d8eb7..a5bdf96 100644 --- a/www/plugins/calendrier_mini-2.0/modeles/archives_mensuelles.html +++ b/www/plugins/calendrier_mini-2.0/modeles/archives_mensuelles.html @@ -1,16 +1,16 @@ \ No newline at end of file diff --git a/www/plugins/calendrier_mini-2.0/paquet.xml b/www/plugins/calendrier_mini-2.0/paquet.xml index 9685fa0..ee9f61e 100644 --- a/www/plugins/calendrier_mini-2.0/paquet.xml +++ b/www/plugins/calendrier_mini-2.0/paquet.xml @@ -1,12 +1,12 @@ + documentation="http://contrib.spip.net/Calendrier-Mini-2-0" +> Mini Calendrier @@ -17,4 +17,4 @@ 2006-2012 GPL 3 - + \ No newline at end of file diff --git a/www/plugins/calendrier_mini-2.0/svn.revision b/www/plugins/calendrier_mini-2.0/svn.revision index 5ecbd66..819ea4e 100644 --- a/www/plugins/calendrier_mini-2.0/svn.revision +++ b/www/plugins/calendrier_mini-2.0/svn.revision @@ -1,10 +1,10 @@ Origine: file:///home/svn/repository/spip-zone/_plugins_/calendrier_mini/trunk -Revision: 69463 -Dernier commit: 2013-01-28 03:41:28 +0100 +Revision: 93150 +Dernier commit: 2015-11-24 23:00:03 +0100 file:///home/svn/repository/spip-zone/_plugins_/calendrier_mini/trunk -69463 -2013-01-28 03:41:28 +0100 +93150 +2015-11-24 23:00:03 +0100 \ No newline at end of file diff --git a/www/plugins/spip-bonux-3/inc/date_gestion.php b/www/plugins/spip-bonux-3/inc/date_gestion.php index 5fd2c99..090fc48 100644 --- a/www/plugins/spip-bonux-3/inc/date_gestion.php +++ b/www/plugins/spip-bonux-3/inc/date_gestion.php @@ -2,7 +2,7 @@ /** * Plugin Spip-Bonux * Le plugin qui lave plus SPIP que SPIP - * (c) 2008 Mathieu Marcillaud, Cedric Morin, Romy Tetue + * (c) 2008 Mathieu Marcillaud, Cedric Morin, Tetue * Licence GPL */ diff --git a/www/plugins/spip-bonux-3/inc/exporter_csv.php b/www/plugins/spip-bonux-3/inc/exporter_csv.php index bad0aed..20862e8 100644 --- a/www/plugins/spip-bonux-3/inc/exporter_csv.php +++ b/www/plugins/spip-bonux-3/inc/exporter_csv.php @@ -2,7 +2,7 @@ /** * Plugin Spip-Bonux * Le plugin qui lave plus SPIP que SPIP - * (c) 2008 Mathieu Marcillaud, Cedric Morin, Romy Tetue + * (c) 2008 Mathieu Marcillaud, Cedric Morin, Tetue * Licence GPL * * Fonctions d'export d'une requete sql ou d'un tableau @@ -41,7 +41,8 @@ function exporter_csv_champ($champ) { function exporter_csv_ligne($ligne, $delim = ',', $importer_charset = null) { $output = join($delim, array_map('exporter_csv_champ', $ligne))."\r\n"; if ($importer_charset){ - $output = unicode2charset(html2unicode(charset2unicode($output)), $importer_charset); + $output = str_replace('’', '\'', $output); + $output = unicode2charset(html2unicode(charset2unicode($output)), $importer_charset); } return $output; } diff --git a/www/plugins/spip-bonux-3/inc/importer_csv.php b/www/plugins/spip-bonux-3/inc/importer_csv.php index f09d392..5a438f7 100644 --- a/www/plugins/spip-bonux-3/inc/importer_csv.php +++ b/www/plugins/spip-bonux-3/inc/importer_csv.php @@ -2,7 +2,7 @@ /** * Plugin Spip-Bonux * Le plugin qui lave plus SPIP que SPIP - * (c) 2008 Mathieu Marcillaud, Cedric Morin, Romy Tetue + * (c) 2008 Mathieu Marcillaud, Cedric Morin, Tetue * Licence GPL * * Fonctions de lecture d'un fichier CSV pour transformation en array() diff --git a/www/plugins/spip-bonux-3/lang/paquet-spip_bonux.xml b/www/plugins/spip-bonux-3/lang/paquet-spip_bonux.xml index f263448..26d83f1 100644 --- a/www/plugins/spip-bonux-3/lang/paquet-spip_bonux.xml +++ b/www/plugins/spip-bonux-3/lang/paquet-spip_bonux.xml @@ -1,18 +1,28 @@ - + - + + + + - - + + + + + + + + + + - - + - + diff --git a/www/plugins/spip-bonux-3/lang/paquet-spip_bonux_de.php b/www/plugins/spip-bonux-3/lang/paquet-spip_bonux_de.php new file mode 100644 index 0000000..a0477cb --- /dev/null +++ b/www/plugins/spip-bonux-3/lang/paquet-spip_bonux_de.php @@ -0,0 +1,16 @@ + 'Der Plug-in, der SPIPer wäscht als SPIP, mit tollen Geschenken drin! + Tabellen, Zähler, usw.', + 'spip_bonux_slogan' => 'Der Plug-in, der SPIPer wäscht als SPIP.' +); + +?> diff --git a/www/plugins/spip-bonux-3/lang/paquet-spip_bonux_fa.php b/www/plugins/spip-bonux-3/lang/paquet-spip_bonux_fa.php new file mode 100644 index 0000000..b44df3b --- /dev/null +++ b/www/plugins/spip-bonux-3/lang/paquet-spip_bonux_fa.php @@ -0,0 +1,15 @@ + 'پلاگيني كه اسپيپ را از اسپيپ بهتر مي‌سازد، با هداياي داخلي قشنگ، تابلو، شمارشگر و غيره. ', + 'spip_bonux_slogan' => 'پلاگيني كه اسپيپ را از اسپيپ بهتر مي‌سازد ' +); + +?> diff --git a/www/plugins/spip-bonux-3/lang/paquet-spip_bonux_fr.php b/www/plugins/spip-bonux-3/lang/paquet-spip_bonux_fr.php index 9068077..5d132bb 100644 --- a/www/plugins/spip-bonux-3/lang/paquet-spip_bonux_fr.php +++ b/www/plugins/spip-bonux-3/lang/paquet-spip_bonux_fr.php @@ -6,7 +6,7 @@ if (!defined('_ECRIRE_INC_VERSION')) return; $GLOBALS[$GLOBALS['idx_lang']] = array( // S - 'spip_bonux_description' => 'Le plugin qui lave plus SPIP que SPIP, avec des chouettes cadeaux dedans ! + 'spip_bonux_description' => 'Le plugin qui lave plus SPIP que SPIP, avec des chouettes cadeaux dedans ! Tableaux, compteur, etc.', 'spip_bonux_slogan' => 'Le plugin qui lave plus SPIP que SPIP.' ); diff --git a/www/plugins/spip-bonux-3/lang/paquet-spip_bonux_nl.php b/www/plugins/spip-bonux-3/lang/paquet-spip_bonux_nl.php new file mode 100644 index 0000000..97b9f18 --- /dev/null +++ b/www/plugins/spip-bonux-3/lang/paquet-spip_bonux_nl.php @@ -0,0 +1,16 @@ + 'De plugin die SPIP nog SPIPper maakt met leuke extraatjes! + Tabellen, teller, enz.', + 'spip_bonux_slogan' => 'De plugin die SPIP nog SPIPper maakt.' +); + +?> diff --git a/www/plugins/spip-bonux-3/lang/spip_bonux.xml b/www/plugins/spip-bonux-3/lang/spip_bonux.xml index a7b88c8..7ee8b8b 100644 --- a/www/plugins/spip-bonux-3/lang/spip_bonux.xml +++ b/www/plugins/spip-bonux-3/lang/spip_bonux.xml @@ -1,14 +1,28 @@ - - - - + + - - + + + + + + + + + + + + + + + + + + - + diff --git a/www/plugins/spip-bonux-3/lang/spip_bonux_de.php b/www/plugins/spip-bonux-3/lang/spip_bonux_de.php new file mode 100644 index 0000000..0070def --- /dev/null +++ b/www/plugins/spip-bonux-3/lang/spip_bonux_de.php @@ -0,0 +1,36 @@ + 'Kalender anzeigen', + 'annee_precedente' => 'Vorheriges Jahr', # MODIF + 'annee_suivante' => 'Folgendes Jahr', + 'annuler_recherche' => 'Suche abbrechen', + + // B + 'bouton_fermer' => 'Schließen', + + // E + 'erreur_date' => 'Dieses Datum ist nicht korrekt', + 'erreur_date_corrigee' => 'Das Datum wurde korrigiert', + 'erreur_heure' => 'Diese Uhrzeit ist nicht korrekt', + 'erreur_heure_corrigee' => 'Die Uhrzeit wurde korrigiert', + + // I + 'id_rapide' => 'Schnelleingabe', + + // M + 'mois_precedent' => 'Vorheriger Monat', + 'mois_suivant' => 'Folgender Monat', + + // P + 'pages' => 'Seiten' +); + +?> diff --git a/www/plugins/spip-bonux-3/lang/spip_bonux_en.php b/www/plugins/spip-bonux-3/lang/spip_bonux_en.php index 80fe663..823a498 100644 --- a/www/plugins/spip-bonux-3/lang/spip_bonux_en.php +++ b/www/plugins/spip-bonux-3/lang/spip_bonux_en.php @@ -8,7 +8,7 @@ if (!defined('_ECRIRE_INC_VERSION')) return; $GLOBALS[$GLOBALS['idx_lang']] = array( // A - 'afficher_calendrier' => 'Show the calendar', + 'afficher_calendrier' => 'Display the calendar', 'annee_precedente' => 'Previous year', 'annee_suivante' => 'Next year', 'annuler_recherche' => 'Cancel the search', diff --git a/www/plugins/spip-bonux-3/lang/spip_bonux_fa.php b/www/plugins/spip-bonux-3/lang/spip_bonux_fa.php new file mode 100644 index 0000000..0b195da --- /dev/null +++ b/www/plugins/spip-bonux-3/lang/spip_bonux_fa.php @@ -0,0 +1,36 @@ + 'نمايش تقويم ', + 'annee_precedente' => 'سال پيش ', + 'annee_suivante' => 'سال بعد', + 'annuler_recherche' => 'لغو جستجو', + + // B + 'bouton_fermer' => 'بستن', + + // E + 'erreur_date' => 'اين تاريخ غلط ست', + 'erreur_date_corrigee' => 'تاريخ تصحيح شده است', + 'erreur_heure' => 'اين ساعت غلط است', + 'erreur_heure_corrigee' => 'ساعت تصحيح شده است', + + // I + 'id_rapide' => 'افزودن سريع ', + + // M + 'mois_precedent' => 'ماه پيش ', + 'mois_suivant' => 'ماه بعد ', + + // P + 'pages' => 'صفحه‌ها' +); + +?> diff --git a/www/plugins/spip-bonux-3/lang/spip_bonux_fr.php b/www/plugins/spip-bonux-3/lang/spip_bonux_fr.php index 002ec6f..ced3602 100644 --- a/www/plugins/spip-bonux-3/lang/spip_bonux_fr.php +++ b/www/plugins/spip-bonux-3/lang/spip_bonux_fr.php @@ -7,7 +7,7 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( // A 'afficher_calendrier' => 'Afficher le calendrier', - 'annee_precedente' => 'Anée précédente', + 'annee_precedente' => 'Année précédente', 'annee_suivante' => 'Année suivante', 'annuler_recherche' => 'Annuler la recherche', @@ -18,7 +18,7 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'erreur_date' => 'Cette date est incorrecte', 'erreur_date_corrigee' => 'La date a été corrigée', 'erreur_heure' => 'Cette heure est incorrecte', - 'erreur_heure_corrigee' => 'L\'heure a été corrigée', + 'erreur_heure_corrigee' => 'L’heure a été corrigée', // I 'id_rapide' => 'Ajout rapide', diff --git a/www/plugins/spip-bonux-3/lang/spip_bonux_nl.php b/www/plugins/spip-bonux-3/lang/spip_bonux_nl.php new file mode 100644 index 0000000..2105c7e --- /dev/null +++ b/www/plugins/spip-bonux-3/lang/spip_bonux_nl.php @@ -0,0 +1,36 @@ + 'Toon de kalender', + 'annee_precedente' => 'Vorig jaar', + 'annee_suivante' => 'Volgend jaar', + 'annuler_recherche' => 'Stop met zoeken', + + // B + 'bouton_fermer' => 'Sluiten', + + // E + 'erreur_date' => 'Deze datum is onjuist', + 'erreur_date_corrigee' => 'De datum is aangepast', + 'erreur_heure' => 'Dit tijdstip is onjuist', + 'erreur_heure_corrigee' => 'De tijd is aangepast', + + // I + 'id_rapide' => 'Voeg snel toe', + + // M + 'mois_precedent' => 'Vorige maand', + 'mois_suivant' => 'Volgende maand', + + // P + 'pages' => 'Blz.' +); + +?> diff --git a/www/plugins/spip-bonux-3/lang/spip_bonux_ru.php b/www/plugins/spip-bonux-3/lang/spip_bonux_ru.php index 7760ad2..d5bfd32 100644 --- a/www/plugins/spip-bonux-3/lang/spip_bonux_ru.php +++ b/www/plugins/spip-bonux-3/lang/spip_bonux_ru.php @@ -9,7 +9,7 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( // A 'afficher_calendrier' => 'Показать календарь', - 'annee_precedente' => 'Предыдущий год', + 'annee_precedente' => 'Предыдущий год', # MODIF 'annee_suivante' => 'Следующий год', 'annuler_recherche' => 'Отменить поиск', diff --git a/www/plugins/spip-bonux-3/lang/spip_bonux_sk.php b/www/plugins/spip-bonux-3/lang/spip_bonux_sk.php index 96522f8..e231e0d 100644 --- a/www/plugins/spip-bonux-3/lang/spip_bonux_sk.php +++ b/www/plugins/spip-bonux-3/lang/spip_bonux_sk.php @@ -9,8 +9,8 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( // A 'afficher_calendrier' => 'ZobraziÅ¥ kalendár', - 'annee_precedente' => 'Minulý rok', - 'annee_suivante' => 'Budúci rok', + 'annee_precedente' => 'PredoÅ¡lý rok', + 'annee_suivante' => 'Nasledujúci rok', 'annuler_recherche' => 'ZruÅ¡iÅ¥ vyhľadávanie', // B diff --git a/www/plugins/spip-bonux-3/lib/array_column/array_column.php b/www/plugins/spip-bonux-3/lib/array_column/array_column.php new file mode 100755 index 0000000..1e7fa99 --- /dev/null +++ b/www/plugins/spip-bonux-3/lib/array_column/array_column.php @@ -0,0 +1,115 @@ +(#GET{premiere}|>{1}|?{'...',''}) [(#GET*{separateur})]] [(#SET{item, #VALEUR|moins{1}|mult{#ENV{pas}} })] -[(#ENV{url}|parametre_url{#ENV{debut},#GET{item}}|aoustrong{#VALEUR,#VALEUR|=={#ENV{page_courante}},lien_pagination,'',nofollow})] +[(#ENV{url}|parametre_url{#ENV{debut},#GET{item}}|lien_ou_expose{#VALEUR,#VALEUR|=={#ENV{page_courante}},lien_pagination,'',nofollow})] [(#VALEUR|<{#GET{derniere}}|?{#GET{separateur}})] [[(#GET*{separateur})] (#GET{derniere}|<{#ENV{nombre_pages}}|?{'...',''})] diff --git a/www/plugins/spip-bonux-3/paquet.xml b/www/plugins/spip-bonux-3/paquet.xml index b4909a7..a26797f 100644 --- a/www/plugins/spip-bonux-3/paquet.xml +++ b/www/plugins/spip-bonux-3/paquet.xml @@ -1,12 +1,12 @@ + documentation="http://contrib.spip.net/Bonux-pour-SPIP3" +> SPIP Bonux @@ -15,7 +15,7 @@ Matthieu Marcillaud romy.tetue.net - 2008-2013 + 2008-2015 GPL diff --git a/www/plugins/spip-bonux-3/public/spip_bonux_balises.php b/www/plugins/spip-bonux-3/public/spip_bonux_balises.php index 59bce20..e7f11e6 100644 --- a/www/plugins/spip-bonux-3/public/spip_bonux_balises.php +++ b/www/plugins/spip-bonux-3/public/spip_bonux_balises.php @@ -2,7 +2,7 @@ /** * Plugin Spip-Bonux * Le plugin qui lave plus SPIP que SPIP - * (c) 2008 Mathieu Marcillaud, Cedric Morin, Romy Tetue + * (c) 2008 Mathieu Marcillaud, Cedric Morin, Tetue * Licence GPL * */ diff --git a/www/plugins/spip-bonux-3/public/spip_bonux_criteres.php b/www/plugins/spip-bonux-3/public/spip_bonux_criteres.php index 2fd43e0..ba12fef 100644 --- a/www/plugins/spip-bonux-3/public/spip_bonux_criteres.php +++ b/www/plugins/spip-bonux-3/public/spip_bonux_criteres.php @@ -2,7 +2,7 @@ /** * Plugin Spip-Bonux * Le plugin qui lave plus SPIP que SPIP - * (c) 2008 Mathieu Marcillaud, Cedric Morin, Romy Tetue + * (c) 2008 Mathieu Marcillaud, Cedric Morin, Tetue * Licence GPL * */ @@ -10,27 +10,50 @@ if (!defined('_ECRIRE_INC_VERSION')) return; /** - * http://www.spip-contrib.net/Classer-les-articles-par-nombre-de#forum409210 * Permet de faire un comptage par table liee - * exemple - * - * #ID_AUTEUR : #COMPTEUR{articles} - * - * pour avoir les auteurs classes par articles et le nombre d'article de chacun * - * @param unknown_type $idb - * @param unknown_type $boucles - * @param unknown_type $crit + * @syntaxe `{compteur table[, champ]}` + * @link http://www.spip-contrib.net/Classer-les-articles-par-nombre-de#forum409210 + * + * @example + * Pour avoir les auteurs classes par articles et + * le nombre d'article de chacun : + * + * ``` + * + * #ID_AUTEUR : #COMPTEUR{articles} + * + * ``` + * + * @note + * Avec un seul argument {compteur autre_table} le groupby est fait + * implicitement sur la cle primaire de la boucle en cours. + * Avec un second argument {compteur autre_table,champ_fusion} + * le groupby est fait sur le champ_fusion" + * + * @param string $idb + * Identifiant de la boucle + * @param Boucle[] $boucles + * AST du squelette + * @param Critere $crit + * Paramètres du critère dans cette boucle + * @param bool $left + * true pour utiliser un left join plutôt qu'un inner join. + * @return void */ function critere_compteur($idb, &$boucles, $crit, $left=false){ $boucle = &$boucles[$idb]; - $_fusion = calculer_liste($crit->param[1], array(), $boucles, $boucle->id_parent); + if (isset($crit->param[1])) { + $_fusion = calculer_liste($crit->param[1], array(), $boucles, $boucle->id_parent); + } else { + $_fusion = "''"; + } $params = $crit->param; $table = reset($params); $table = $table[0]->texte; $op = false; - if(preg_match(',^(\w+)([<>=])([0-9]+)$,',$table,$r)){ + if (preg_match(',^(\w+)([<>=])([0-9]+)$,',$table,$r)){ $table=$r[1]; if (count($r)>=3) $op=$r[2]; if (count($r)>=4) $op_val=$r[3]; @@ -42,7 +65,7 @@ function critere_compteur($idb, &$boucles, $crit, $left=false){ * Si la clé primaire est une clé multiple, on prend la première partie * Utile pour compter les versions de spip_versions par exemple */ - if(count($types = explode(',',$type_id)) > 1) + if (count($types = explode(',',$type_id)) > 1) $type_id = $types[0]; $table_sql = table_objet_sql($type); diff --git a/www/plugins/spip-bonux-3/spip_bonux_fonctions.php b/www/plugins/spip-bonux-3/spip_bonux_fonctions.php index c3b7411..5ceb501 100644 --- a/www/plugins/spip-bonux-3/spip_bonux_fonctions.php +++ b/www/plugins/spip-bonux-3/spip_bonux_fonctions.php @@ -2,7 +2,7 @@ /** * Plugin Spip-Bonux * Le plugin qui lave plus SPIP que SPIP - * (c) 2008 Mathieu Marcillaud, Cedric Morin, Romy Tetue + * (c) 2008 Mathieu Marcillaud, Cedric Morin, Tetue * Licence GPL * */ diff --git a/www/plugins/spip-bonux-3/spip_bonux_options.php b/www/plugins/spip-bonux-3/spip_bonux_options.php index fd09065..d3a762b 100644 --- a/www/plugins/spip-bonux-3/spip_bonux_options.php +++ b/www/plugins/spip-bonux-3/spip_bonux_options.php @@ -2,11 +2,14 @@ /** * Plugin Spip-Bonux * Le plugin qui lave plus SPIP que SPIP - * (c) 2008 Mathieu Marcillaud, Cedric Morin, Romy Tetue + * (c) 2008 Mathieu Marcillaud, Cedric Morin, Tetue * Licence GPL - * + * */ +// On inclu une bonne fois pour toutes array_column +include_spip('lib/array_column/array_column'); + if (_request('var_mode')=='preview' AND $cle = _request('var_relecture')){ include_spip("spip_bonux_fonctions"); @@ -52,17 +55,17 @@ if (!defined('_ECRIRE_INC_VERSION')) return; */ if (!function_exists('_T_ou_typo')) { function _T_ou_typo($valeur, $mode_typo='toujours') { - + // Si la valeur est bien une chaine (et pas non plus un entier déguisé) if (is_string($valeur) and !intval($valeur)){ // Si la chaine est du type <:truc:> on passe à _T() - if (preg_match('/^\<:(.*?):\>$/', $valeur, $match)) + if (preg_match('/^\<:(.*?):\>$/', $valeur, $match)) $valeur = _T($match[1]); // Sinon on la passe a typo() else { if (!in_array($mode_typo, array('toujours', 'multi', 'jamais'))) $mode_typo = 'toujours'; - + if ($mode_typo == 'toujours' or ($mode_typo == 'multi' and strpos($valeur, '') !== false)){ include_spip('inc/texte'); $valeur = typo($valeur); @@ -95,8 +98,8 @@ function _T_ou_typo($valeur, $mode_typo='toujours') { * @param bool $avant Indique si l'insertion se fait avant la clé (par défaut c'est après) * @return array Retourne le tableau avec l'insertion */ -if (!function_exists('array_insert')) { -function array_insert($arr1, $cle, $arr2, $avant=false){ +if (!function_exists('spip_array_insert')) { +function spip_array_insert($arr1, $cle, $arr2, $avant=false){ $index = array_search($cle, array_keys($arr1)); if($index === false){ $index = count($arr1); // insert @ end of array if $key not found @@ -135,14 +138,121 @@ if (!function_exists('array_replace_recursive')){ $array = $args[0]; if (!is_array($array)) return $array; - + for ($i = 1; $i < count($args); $i++) if (is_array($args[$i])) $array = recurse($array, $args[$i]); - + return $array; } } +if (!function_exists('text_truncate')) { +/** +* Truncates text. +* +* Cuts a string to the length of $length and replaces the last characters +* with the ending if the text is longer than length. +* +* ### Options: +* +* - `ending` Will be used as Ending and appended to the trimmed string +* - `exact` If false, $text will not be cut mid-word +* - `html` If true, HTML tags would be handled correctly +* +* @param string $text String to truncate. +* @param integer $length Length of returned string, including ellipsis. +* @param array $options An array of html attributes and options. +* @return string Trimmed string. +* @access public +* @link http://book.cakephp.org/view/1469/Text#truncate-1625 +*/ +function text_truncate($text, $length = 100, $options = array()) { + $default = array( + 'ending' => '...', 'exact' => true, 'html' => false + ); + $options = array_merge($default, $options); + extract($options); + + if ($html) { + if (mb_strlen(preg_replace('/<.*?>/', '', $text)) <= $length) { + return $text; + } + $totalLength = mb_strlen(strip_tags($ending)); + $openTags = array(); + $truncate = ''; + + preg_match_all('/(<\/?([\w+]+)[^>]*>)?([^<>]*)/', $text, $tags, PREG_SET_ORDER); + foreach ($tags as $tag) { + if (!preg_match('/img|br|input|hr|area|base|basefont|col|frame|isindex|link|meta|param/s', $tag[2])) { + if (preg_match('/<[\w]+[^>]*>/s', $tag[0])) { + array_unshift($openTags, $tag[2]); + } else if (preg_match('/<\/([\w]+)[^>]*>/s', $tag[0], $closeTag)) { + $pos = array_search($closeTag[1], $openTags); + if ($pos !== false) { + array_splice($openTags, $pos, 1); + } + } + } + $truncate .= $tag[1]; + + $contentLength = mb_strlen(preg_replace('/&[0-9a-z]{2,8};|&#[0-9]{1,7};|&#x[0-9a-f]{1,6};/i', ' ', $tag[3])); + if ($contentLength + $totalLength > $length) { + $left = $length - $totalLength; + $entitiesLength = 0; + if (preg_match_all('/&[0-9a-z]{2,8};|&#[0-9]{1,7};|&#x[0-9a-f]{1,6};/i', $tag[3], $entities, PREG_OFFSET_CAPTURE)) { + foreach ($entities[0] as $entity) { + if ($entity[1] + 1 - $entitiesLength <= $left) { + $left--; + $entitiesLength += mb_strlen($entity[0]); + } else { + break; + } + } + } + + $truncate .= mb_substr($tag[3], 0 , $left + $entitiesLength); + break; + } else { + $truncate .= $tag[3]; + $totalLength += $contentLength; + } + if ($totalLength >= $length) { + break; + } + } + } else { + if (mb_strlen($text) <= $length) { + return $text; + } else { + $truncate = mb_substr($text, 0, $length - mb_strlen($ending)); + } + } + if (!$exact) { + $spacepos = mb_strrpos($truncate, ' '); + if (isset($spacepos)) { + if ($html) { + $bits = mb_substr($truncate, $spacepos); + preg_match_all('/<\/([a-z]+)>/', $bits, $droppedTags, PREG_SET_ORDER); + if (!empty($droppedTags)) { + foreach ($droppedTags as $closingTag) { + if (!in_array($closingTag[1], $openTags)) { + array_unshift($openTags, $closingTag[1]); + } + } + } + } + $truncate = mb_substr($truncate, 0, $spacepos); + } + } + $truncate .= $ending; -?> + if ($html) { + foreach ($openTags as $tag) { + $truncate .= ''; + } + } + + return $truncate; +} +} diff --git a/www/plugins/spip-bonux-3/svn.revision b/www/plugins/spip-bonux-3/svn.revision index 50f6416..f6f1765 100644 --- a/www/plugins/spip-bonux-3/svn.revision +++ b/www/plugins/spip-bonux-3/svn.revision @@ -1,10 +1,10 @@ Origine: file:///home/svn/repository/spip-zone/_plugins_/spip-bonux-3 -Revision: 71958 -Dernier commit: 2013-04-11 18:00:24 +0200 +Revision: 90054 +Dernier commit: 2015-06-09 18:53:16 +0200 file:///home/svn/repository/spip-zone/_plugins_/spip-bonux-3 -71958 -2013-04-11 18:00:24 +0200 +90054 +2015-06-09 18:53:16 +0200 \ No newline at end of file -- 2.20.1