Changeset 70270 in spip-zone


Ignore:
Timestamp:
Feb 28, 2013, 10:43:51 AM (6 years ago)
Author:
brunobergot@…
Message:

Version 0.2.0 : permettre d'utiliser des raccourcis de type SPIP (art23 ou rub32) pour l'url de la page de don

Location:
_plugins_/badge_don
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/badge_don/formulaires/configurer_badge_don.html

    r58141 r70270  
    66<ul>
    77        <li class="badge_don_url_don[ (#ENV**{erreurs}|table_valeur{url_don}|oui)erreur]">
    8                 <label for="url_don"><:badge_don:label_url_don:></label>[
     8                <label for="url_don"><:badge_don:label_url_don:></label>
     9                <p class="explication"><:badge_don:explication_url_don:></p>[
    910                <span class='erreur'>(#ENV**{erreurs}|table_valeur{url_don})</span>
    1011                ]<input type="text" class="text" name="url_don" value="[(#ENV{url_don}|sinon{#VAL{_BADGE_DON_URL}|defined|?{#EVAL{_BADGE_DON_URL},''}})]" id="url_don" />
  • _plugins_/badge_don/lang/badge_don_fr.php

    r58141 r70270  
    55$GLOBALS[$GLOBALS['idx_lang']] = array(
    66
     7        'explication_url_don' => 'URL ou raccourci de type SPIP (art23 ou rub32 par exemple).',
    78        'label_url_don' => 'Adresse de la page de dons',
    89        'titre_badge_don' => 'Badge pour dons',
  • _plugins_/badge_don/modeles/badge_don.html

    r64893 r70270  
    11<div id="badge_don">
    2         <a href="#CONFIG{badge_don/url_don,#VAL{_BADGE_DON_URL}|defined|?{#EVAL{_BADGE_DON_URL},''}}"[ style="background-image: url((#CHEMIN{images/badge_don.png}))"]><:badge_don:titre_lien:></a>
     2        <a href="[(#CONFIG{badge_don/url_don,#VAL{_BADGE_DON_URL}|defined|?{#EVAL{_BADGE_DON_URL},''}}|traiter_lien_implicite|sinon{#CONFIG{badge_don/url_don,#VAL{_BADGE_DON_URL}|defined|?{#EVAL{_BADGE_DON_URL},''}}})]"[ style="background-image: url((#CHEMIN{images/badge_don.png}))"]><:badge_don:titre_lien:></a>
    33</div>
  • _plugins_/badge_don/plugin.xml

    r64893 r70270  
    22        <nom>Badge pour dons</nom>
    33        <auteur>b_b</auteur>
    4         <version>0.1.2</version>
     4        <version>0.2.0</version>
    55        <etat>stable</etat>
    66        <prefix>badge_don</prefix>
Note: See TracChangeset for help on using the changeset viewer.