Dotclear

Changeset 3051


Ignore:
Timestamp:
06/03/11 16:28:36 (12 years ago)
Author:
JcDenis
Message:

enhancePostContent 2011.06.03

  • Added 'feeds pages'
  • (c) Year 2011
Location:
plugins/enhancePostContent
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • plugins/enhancePostContent/_admin.php

    r2312 r3051  
    33# This file is part of enhancePostContent, a plugin for Dotclear 2. 
    44#  
    5 # Copyright (c) 2009-2010 JC Denis and contributors 
     5# Copyright (c) 2008-2011 JC Denis and contributors 
    66# jcdenis@gdwd.com 
    77#  
  • plugins/enhancePostContent/_define.php

    r2312 r3051  
    33# This file is part of enhancePostContent, a plugin for Dotclear 2. 
    44#  
    5 # Copyright (c) 2009-2010 JC Denis and contributors 
     5# Copyright (c) 2008-2011 JC Denis and contributors 
    66# jcdenis@gdwd.com 
    77#  
     
    1717     /* Description*/         "Add features to words in post content", 
    1818     /* Author */             "JC Denis", 
    19      /* Version */            '0.9', 
     19     /* Version */            '2011.06.03', 
    2020     /* Permissions */        'content' 
    2121); 
    22      /* date */          #20100606 
    2322?> 
  • plugins/enhancePostContent/_install.php

    r2312 r3051  
    33# This file is part of enhancePostContent, a plugin for Dotclear 2. 
    44#  
    5 # Copyright (c) 2009-2010 JC Denis and contributors 
     5# Copyright (c) 2008-2011 JC Denis and contributors 
    66# jcdenis@gdwd.com 
    77#  
     
    2121{ 
    2222     # Check DC version 
    23      if (version_compare(DC_VERSION,'2.2-beta','<')) 
     23     if (version_compare(str_replace("-r","-p",DC_VERSION),'2.2-alpha','<')) 
    2424     { 
    25           throw new Exception('translater requires Dotclear 2.2'); 
     25          throw new Exception('enhancePostContent requires Dotclear 2.2'); 
    2626     } 
    2727      
  • plugins/enhancePostContent/_prepend.php

    r2019 r3051  
    33# This file is part of enhancePostContent, a plugin for Dotclear 2. 
    44#  
    5 # Copyright (c) 2009-2010 JC Denis and contributors 
     5# Copyright (c) 2008-2011 JC Denis and contributors 
    66# jcdenis@gdwd.com 
    77#  
  • plugins/enhancePostContent/_public.php

    r2312 r3051  
    33# This file is part of enhancePostContent, a plugin for Dotclear 2. 
    44#  
    5 # Copyright (c) 2009-2010 JC Denis and contributors 
     5# Copyright (c) 2008-2011 JC Denis and contributors 
    66# jcdenis@gdwd.com 
    77#  
  • plugins/enhancePostContent/_uninstall.php

    r2019 r3051  
    33# This file is part of enhancePostContent, a plugin for Dotclear 2. 
    44#  
    5 # Copyright (c) 2009-2010 JC Denis and contributors 
     5# Copyright (c) 2008-2011 JC Denis and contributors 
    66# jcdenis@gdwd.com 
    77#  
  • plugins/enhancePostContent/_widgets.php

    r2312 r3051  
    33# This file is part of enhancePostContent, a plugin for Dotclear 2. 
    44#  
    5 # Copyright (c) 2009-2010 JC Denis and contributors 
     5# Copyright (c) 2008-2011 JC Denis and contributors 
    66# jcdenis@gdwd.com 
    77#  
  • plugins/enhancePostContent/inc/lib.epc.php

    r2312 r3051  
    33# This file is part of enhancePostContent, a plugin for Dotclear 2. 
    44#  
    5 # Copyright (c) 2009-2010 JC Denis and contributors 
     5# Copyright (c) 2008-2011 JC Denis and contributors 
    66# jcdenis@gdwd.com 
    77#  
     
    1616__('entry excerpt');__('entry content');__('comment content'); 
    1717__('home page');__('post page');__('category page');__('search results page'); 
     18__('atom feeds');__('RSS feeds'); 
    1819 
    1920class libEPC 
     
    7172               'post page' => 'post.html', 
    7273               'category page' => 'category.html', 
    73                'search results page' => 'search.html' 
     74               'search results page' => 'search.html', 
     75               'atom feeds' => 'atom.xml', 
     76               'RSS feeds' => 'rss2.xml' 
    7477          ); 
    7578     } 
     
    521524     # 
    522525      
    523      public static function publicContentFilterTag($core,$filter,&$tag,&$args) 
     526     public static function publicContentFilterTag($core,$filter,$tag,$args) 
    524527     { 
    525528          if (!$core->plugins->moduleExists('tags')) return; 
  • plugins/enhancePostContent/inc/lib.epc.records.php

    r2312 r3051  
    33# This file is part of enhancePostContent, a plugin for Dotclear 2. 
    44#  
    5 # Copyright (c) 2009-2010 JC Denis and contributors 
     5# Copyright (c) 2008-2011 JC Denis and contributors 
    66# jcdenis@gdwd.com 
    77#  
  • plugins/enhancePostContent/inc/lib.epc.update.php

    r2312 r3051  
    33# This file is part of enhancePostContent, a plugin for Dotclear 2. 
    44#  
    5 # Copyright (c) 2009-2010 JC Denis and contributors 
     5# Copyright (c) 2008-2011 JC Denis and contributors 
    66# jcdenis@gdwd.com 
    77#  
  • plugins/enhancePostContent/index.php

    r2312 r3051  
    33# This file is part of enhancePostContent, a plugin for Dotclear 2. 
    44#  
    5 # Copyright (c) 2009-2010 JC Denis and contributors 
     5# Copyright (c) 2008-2011 JC Denis and contributors 
    66# jcdenis@gdwd.com 
    77#  
  • plugins/enhancePostContent/locales/fr/main.lang.php

    r2152 r3051  
    11<?php 
    2 // Language: français  
    3 // Module: enhancePostContent - 0.8.1 
    4 // Date: 2010-03-31 21:59:45  
    5 // Translated with dcTranslater - 1.3  
     2// Language: Français  
     3// Module: enhancePostContent - 2011.06.03 
     4// Date: 2011-06-03 09:04:16  
     5// Translated with dcTranslater - 1.5  
    66 
    77#_admin.php:19 
    88#_widgets.php:23 
    9 #index.php:191 
    10 #index.php:202 
     9#index.php:190 
     10#index.php:201 
    1111$GLOBALS['__l10n']['Enhance post content'] = 'Amélioration du contenu'; 
    1212 
     
    6565$GLOBALS['__l10n']['search results page'] = 'la page des résultats de recherche'; 
    6666 
    67 #inc/lib.epc.php:94 
     67#inc/lib.epc.php:18 
     68$GLOBALS['__l10n']['atom feeds'] = 'les flux Atom'; 
     69 
     70#inc/lib.epc.php:18 
     71$GLOBALS['__l10n']['RSS feeds'] = 'les flux RSS'; 
     72 
     73#inc/lib.epc.php:99 
    6874$GLOBALS['__l10n']['Highlight tags of your blog.'] = 'Met en avant les Tags de votre blog'; 
    6975 
    70 #inc/lib.epc.php:113 
     76#inc/lib.epc.php:118 
    7177$GLOBALS['__l10n']['Highlight searched words.'] = 'Met en avant les mots recherchés'; 
    7278 
    73 #inc/lib.epc.php:132 
     79#inc/lib.epc.php:137 
    7480$GLOBALS['__l10n']['Explain some acronyms. First term of the list is the acornym and second term the explanation.'] = 'Explique des acronymes. Le premier terme de la liste est l\'acronyme et les second terme l\'explication.'; 
    7581 
    76 #inc/lib.epc.php:152 
     82#inc/lib.epc.php:157 
    7783$GLOBALS['__l10n']['Explain some abbreviation. First term of the list is the abbreviation and second term the explanation.'] = 'Explique des abréviations. Le premier terme de la liste est l\'abréviation et le second terme l\'explication.'; 
    7884 
    79 #inc/lib.epc.php:172 
     85#inc/lib.epc.php:177 
    8086$GLOBALS['__l10n']['Explain some definition. First term of the list is the sample to define and second term the explanation.'] = 'Explique des définitions. Le premier terme de la liste est la chaine à expliquer et le second terme est la définition.'; 
    8187 
    82 #inc/lib.epc.php:192 
    83 $GLOBALS['__l10n']['Highlight citation of people. First term of the list is the citation and second term the author.'] = 'Met en avant les citation des gens. Le premier terme est la citation et le seond terme est l\'auteur.'; 
    84  
    85 #inc/lib.epc.php:212 
    86 $GLOBALS['__l10n']['Link some words. First term of the list is the term to link and second term the link.'] = 'Ajouter des liens. Le premier terme de la liste est le texte à lier et le seconde terme est l\'adresse de lien.'; 
    87  
    88 #inc/lib.epc.php:231 
     88#inc/lib.epc.php:197 
     89$GLOBALS['__l10n']['Highlight citation of people. First term of the list is the citation and second term the author.'] = 'Met en avant les citation des gens. Le premier terme est la citation et le second terme est l\'auteur.'; 
     90 
     91#inc/lib.epc.php:217 
     92$GLOBALS['__l10n']['Link some words. First term of the list is the term to link and second term the link.'] = 'Ajouter des liens. Le premier terme de la liste est le texte à lier et le second terme est l\'adresse de lien.'; 
     93 
     94#inc/lib.epc.php:236 
    8995$GLOBALS['__l10n']['Replace some text. First term of the list is the text to replace and second term the replacement.'] = 'Remplace du texte. Le premier terme de la liste est le terme à remplacer et le second le nouveau terme.'; 
    9096 
    91 #inc/lib.epc.php:249 
     97#inc/lib.epc.php:254 
    9298$GLOBALS['__l10n']['Update and show terms. First term of the list is the term to update and second term the new term.'] = 'Met à jour du contenu. Le premier terme de la liste est l\'ancien texte et le second le nouveau texte.'; 
    9399 
    94 #inc/lib.epc.php:267 
     100#inc/lib.epc.php:272 
    95101$GLOBALS['__l10n']['Add link to twitter user page. Every word started with "@" will be considered as twitter user.'] = 'Ajouter un lien vers une page Twitter. Chaque mot commençant par "@" sera considéré comme un nom de compte Twitter'; 
    96102 
    97 #inc/lib.epc.php:271 
     103#inc/lib.epc.php:276 
    98104$GLOBALS['__l10n']['View this user\'s twitter page'] = 'Voir la page Twitter de cet utilisateur'; 
    99105 
    100 #index.php:44 
    101 #index.php:364 
     106#index.php:48 
     107#index.php:372 
    102108$GLOBALS['__l10n']['Key'] = 'Clé'; 
    103109 
    104 #index.php:225 
    105 #index.php:482 
     110#index.php:224 
     111#index.php:491 
    106112$GLOBALS['__l10n']['Settings'] = 'Paramètres'; 
    107113 
     
    142148$GLOBALS['__l10n']['Tag "%s" always be ignored.'] = 'Les balises "%s" seront toujours ignorées.'; 
    143149 
    144 #index.php:346 
     150#index.php:351 
    145151$GLOBALS['__l10n']['Records'] = 'Enregistrements'; 
    146152 
    147 #index.php:349 
     153#index.php:355 
    148154$GLOBALS['__l10n']['Record successfully added'] = 'Enregistrement ajouté avec succès'; 
    149155 
    150 #index.php:352 
     156#index.php:359 
    151157$GLOBALS['__l10n']['Records successfully updated'] = 'Enregistrements mis à jour avec succès'; 
    152158 
    153 #index.php:356 
     159#index.php:363 
    154160$GLOBALS['__l10n']['No record'] = 'Pas d\'enregistrement'; 
    155161 
    156 #index.php:388 
     162#index.php:396 
    157163$GLOBALS['__l10n']['In order to remove a record, leave empty its key or value.'] = 'Pour retirer un enregistrement, laisser vide sa clé ou sa valeur.'; 
    158164 
    159 #index.php:407 
     165#index.php:414 
    160166$GLOBALS['__l10n']['New record'] = 'Nouvel enregistrement'; 
    161167 
    162 #index.php:409 
     168#index.php:416 
    163169$GLOBALS['__l10n']['Key:'] = 'Clé :'; 
    164170 
    165 #index.php:412 
     171#index.php:419 
    166172$GLOBALS['__l10n']['Value:'] = 'Valeur :'; 
    167173 
    168 #index.php:430 
     174#index.php:438 
    169175$GLOBALS['__l10n']['Settings of enhancePostContent'] = 'Paramètres de enhancePostContent'; 
    170176 
    171 #index.php:434 
     177#index.php:443 
    172178$GLOBALS['__l10n']['Configuration successfully saved'] = 'Configuration sauvegardée avec succès'; 
    173179 
    174 #index.php:440 
     180#index.php:449 
    175181$GLOBALS['__l10n']['Enable extension'] = 'Activer l\'extension'; 
    176182 
    177 #index.php:441 
     183#index.php:450 
    178184$GLOBALS['__l10n']['This also actives widget'] = 'Ceci active également le widget'; 
    179185 
    180 #index.php:442 
     186#index.php:451 
    181187$GLOBALS['__l10n']['Records lists'] = 'Listes des enregistrements'; 
    182188 
    183 #index.php:443 
     189#index.php:452 
    184190$GLOBALS['__l10n']['This is the default order of records lists.'] = 'Ceci est l\'ordre de trie par défaut des listes d\'enregistrements.'; 
    185191 
    186 #index.php:448 
     192#index.php:457 
    187193$GLOBALS['__l10n']['Records per page:'] = 'Enregistrements par page :'; 
    188194 
    189 #index.php:455 
     195#index.php:464 
    190196$GLOBALS['__l10n']['This is a special feature to edit list of allowed template values and public pages where this plugin works.'] = 'Ceci est une option spéciale pour modifier les listes des balises de template et des pages publiques ou le plugin sera actif.'; 
    191197 
    192 #index.php:456 
     198#index.php:465 
    193199$GLOBALS['__l10n']['Allowed DC template values:'] = 'Autoriser les balises de template :'; 
    194200 
    195 #index.php:459 
     201#index.php:468 
    196202$GLOBALS['__l10n']['Use "readable_name1:template_value1;readable_name2:template_value2;" like "entry content:EntryContent;entry excerpt:EntryExcerpt;".'] = 'Utiliser "titre1:valeur_de_template1;titre2:valeur_de_template2;" exemple "entry content:EntreyContent;entry excerpt:EntreyExcerpt;".'; 
    197203 
    198 #index.php:460 
     204#index.php:469 
    199205$GLOBALS['__l10n']['Allowed public pages:'] = 'Autoriser les pages publiques :'; 
    200206 
    201 #index.php:463 
     207#index.php:472 
    202208$GLOBALS['__l10n']['Use "readable_name1:template_page1;readable_name2:template_page2;" like "post page:post.html;home page:home.html;".'] = 'Utiliser "titre1:page_de_template1;titre2:page_de_template2;" comme "post page:post.html;home page:home.html;".'; 
    203209 
  • plugins/enhancePostContent/locales/fr/main.po

    r2152 r3051  
    1 # Language: français 
    2 # Module: enhancePostContent - 0.8.1 
    3 # Date: 2010-03-31 21:59:45 
    4 # Translated with translater 1.3 
     1# Language: Français 
     2# Module: enhancePostContent - 2011.06.03 
     3# Date: 2011-06-03 09:04:16 
     4# Translated with translater 1.5 
    55 
    66msgid "" 
    77msgstr "" 
    88"Content-Type: text/plain; charset=UTF-8\n" 
    9 "Project-Id-Version: enhancePostContent 0.8.1\n" 
     9"Project-Id-Version: enhancePostContent 2011.06.03\n" 
    1010"POT-Creation-Date: \n" 
    11 "PO-Revision-Date: 2010-03-31T21:59:45+00:00\n" 
     11"PO-Revision-Date: 2011-06-03T09:04:16+00:00\n" 
    1212"Last-Translator: JC Denis\n" 
    1313"Language-Team: \n" 
     
    1717#: _admin.php:19 
    1818#: _widgets.php:23 
    19 #: index.php:191 
    20 #: index.php:202 
     19#: index.php:190 
     20#: index.php:201 
    2121msgid "Enhance post content" 
    2222msgstr "Amélioration du contenu" 
     
    9494msgstr "la page des résultats de recherche" 
    9595 
    96 #: inc/lib.epc.php:94 
     96#: inc/lib.epc.php:18 
     97msgid "atom feeds" 
     98msgstr "les flux Atom" 
     99 
     100#: inc/lib.epc.php:18 
     101msgid "RSS feeds" 
     102msgstr "les flux RSS" 
     103 
     104#: inc/lib.epc.php:99 
    97105msgid "Highlight tags of your blog." 
    98106msgstr "Met en avant les Tags de votre blog" 
    99107 
    100 #: inc/lib.epc.php:113 
     108#: inc/lib.epc.php:118 
    101109msgid "Highlight searched words." 
    102110msgstr "Met en avant les mots recherchés" 
    103111 
    104 #: inc/lib.epc.php:132 
     112#: inc/lib.epc.php:137 
    105113msgid "Explain some acronyms. First term of the list is the acornym and second term the explanation." 
    106114msgstr "Explique des acronymes. Le premier terme de la liste est l'acronyme et les second terme l'explication." 
    107115 
    108 #: inc/lib.epc.php:152 
     116#: inc/lib.epc.php:157 
    109117msgid "Explain some abbreviation. First term of the list is the abbreviation and second term the explanation." 
    110118msgstr "Explique des abréviations. Le premier terme de la liste est l'abréviation et le second terme l'explication." 
    111119 
    112 #: inc/lib.epc.php:172 
     120#: inc/lib.epc.php:177 
    113121msgid "Explain some definition. First term of the list is the sample to define and second term the explanation." 
    114122msgstr "Explique des définitions. Le premier terme de la liste est la chaine à expliquer et le second terme est la définition." 
    115123 
    116 #: inc/lib.epc.php:192 
     124#: inc/lib.epc.php:197 
    117125msgid "Highlight citation of people. First term of the list is the citation and second term the author." 
    118 msgstr "Met en avant les citation des gens. Le premier terme est la citation et le seond terme est l'auteur." 
    119  
    120 #: inc/lib.epc.php:212 
     126msgstr "Met en avant les citation des gens. Le premier terme est la citation et le second terme est l'auteur." 
     127 
     128#: inc/lib.epc.php:217 
    121129msgid "Link some words. First term of the list is the term to link and second term the link." 
    122 msgstr "Ajouter des liens. Le premier terme de la liste est le texte à lier et le seconde terme est l'adresse de lien." 
    123  
    124 #: inc/lib.epc.php:231 
     130msgstr "Ajouter des liens. Le premier terme de la liste est le texte à lier et le second terme est l'adresse de lien." 
     131 
     132#: inc/lib.epc.php:236 
    125133msgid "Replace some text. First term of the list is the text to replace and second term the replacement." 
    126134msgstr "Remplace du texte. Le premier terme de la liste est le terme à remplacer et le second le nouveau terme." 
    127135 
    128 #: inc/lib.epc.php:249 
     136#: inc/lib.epc.php:254 
    129137msgid "Update and show terms. First term of the list is the term to update and second term the new term." 
    130138msgstr "Met à jour du contenu. Le premier terme de la liste est l'ancien texte et le second le nouveau texte." 
    131139 
    132 #: inc/lib.epc.php:267 
     140#: inc/lib.epc.php:272 
    133141msgid "Add link to twitter user page. Every word started with \"@\" will be considered as twitter user." 
    134142msgstr "Ajouter un lien vers une page Twitter. Chaque mot commençant par \"@\" sera considéré comme un nom de compte Twitter" 
    135143 
    136 #: inc/lib.epc.php:271 
     144#: inc/lib.epc.php:276 
    137145msgid "View this user's twitter page" 
    138146msgstr "Voir la page Twitter de cet utilisateur" 
    139147 
    140 #: index.php:44 
    141 #: index.php:364 
     148#: index.php:48 
     149#: index.php:372 
    142150msgid "Key" 
    143151msgstr "Clé" 
    144152 
    145 #: index.php:225 
    146 #: index.php:482 
     153#: index.php:224 
     154#: index.php:491 
    147155msgid "Settings" 
    148156msgstr "Paramètres" 
     
    196204msgstr "Les balises \"%s\" seront toujours ignorées." 
    197205 
    198 #: index.php:346 
     206#: index.php:351 
    199207msgid "Records" 
    200208msgstr "Enregistrements" 
    201209 
    202 #: index.php:349 
     210#: index.php:355 
    203211msgid "Record successfully added" 
    204212msgstr "Enregistrement ajouté avec succès" 
    205213 
    206 #: index.php:352 
     214#: index.php:359 
    207215msgid "Records successfully updated" 
    208216msgstr "Enregistrements mis à jour avec succès" 
    209217 
    210 #: index.php:356 
     218#: index.php:363 
    211219msgid "No record" 
    212220msgstr "Pas d'enregistrement" 
    213221 
    214 #: index.php:388 
     222#: index.php:396 
    215223msgid "In order to remove a record, leave empty its key or value." 
    216224msgstr "Pour retirer un enregistrement, laisser vide sa clé ou sa valeur." 
    217225 
    218 #: index.php:407 
     226#: index.php:414 
    219227msgid "New record" 
    220228msgstr "Nouvel enregistrement" 
    221229 
    222 #: index.php:409 
     230#: index.php:416 
    223231msgid "Key:" 
    224232msgstr "Clé :" 
    225233 
    226 #: index.php:412 
     234#: index.php:419 
    227235msgid "Value:" 
    228236msgstr "Valeur :" 
    229237 
    230 #: index.php:430 
     238#: index.php:438 
    231239msgid "Settings of enhancePostContent" 
    232240msgstr "Paramètres de enhancePostContent" 
    233241 
    234 #: index.php:434 
     242#: index.php:443 
    235243msgid "Configuration successfully saved" 
    236244msgstr "Configuration sauvegardée avec succès" 
    237245 
    238 #: index.php:440 
     246#: index.php:449 
    239247msgid "Enable extension" 
    240248msgstr "Activer l'extension" 
    241249 
    242 #: index.php:441 
     250#: index.php:450 
    243251msgid "This also actives widget" 
    244252msgstr "Ceci active également le widget" 
    245253 
    246 #: index.php:442 
     254#: index.php:451 
    247255msgid "Records lists" 
    248256msgstr "Listes des enregistrements" 
    249257 
    250 #: index.php:443 
     258#: index.php:452 
    251259msgid "This is the default order of records lists." 
    252260msgstr "Ceci est l'ordre de trie par défaut des listes d'enregistrements." 
    253261 
    254 #: index.php:448 
     262#: index.php:457 
    255263msgid "Records per page:" 
    256264msgstr "Enregistrements par page :" 
    257265 
    258 #: index.php:455 
     266#: index.php:464 
    259267msgid "This is a special feature to edit list of allowed template values and public pages where this plugin works." 
    260268msgstr "Ceci est une option spéciale pour modifier les listes des balises de template et des pages publiques ou le plugin sera actif." 
    261269 
    262 #: index.php:456 
     270#: index.php:465 
    263271msgid "Allowed DC template values:" 
    264272msgstr "Autoriser les balises de template :" 
    265273 
    266 #: index.php:459 
     274#: index.php:468 
    267275msgid "Use \"readable_name1:template_value1;readable_name2:template_value2;\" like \"entry content:EntryContent;entry excerpt:EntryExcerpt;\"." 
    268276msgstr "Utiliser \"titre1:valeur_de_template1;titre2:valeur_de_template2;\" exemple \"entry content:EntreyContent;entry excerpt:EntreyExcerpt;\"." 
    269277 
    270 #: index.php:460 
     278#: index.php:469 
    271279msgid "Allowed public pages:" 
    272280msgstr "Autoriser les pages publiques :" 
    273281 
    274 #: index.php:463 
     282#: index.php:472 
    275283msgid "Use \"readable_name1:template_page1;readable_name2:template_page2;\" like \"post page:post.html;home page:home.html;\"." 
    276284msgstr "Utiliser \"titre1:page_de_template1;titre2:page_de_template2;\" comme \"post page:post.html;home page:home.html;\"." 
  • plugins/enhancePostContent/release.txt

    r2312 r3051  
    11x.x xxxxxxxx 
    2  * Not added priority on filters 
     2 * Not added priority on filters for replacement order 
     3 * Not added priority on lists of filters for replacement order 
    34 * Not added auto-find post title in content 
     5 * Fixed records list (more Dotclear compliant) (checkbox and action) 
     6 
     72011.06.03 
     8 * Added 'feeds pages' 
    49 
    5100.9 20100606 
Note: See TracChangeset for help on using the changeset viewer.

Sites map