Changeset 81260 in spip-zone


Ignore:
Timestamp:
Mar 7, 2014, 4:51:06 PM (5 years ago)
Author:
gouz@…
Message:

Suppression de mes betises ; Marcimat a déjà intégré les microdata... (pardon pour ce bruit)

Location:
_plugins_/notation/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/notation/trunk/formulaires/jaime.html

    r81259 r81260  
    44#SET{total,#NOMBRE_VOTES}
    55</BOUCLE_note>
    6 <div class="formulaire_notation formulaire_#FORM ajax"[(#HTML5|oui) itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating"]>
     6<div class="formulaire_notation formulaire_#FORM ajax">
    77        [(#NOTATION_ETOILE{[(#GET{note_ponderee})],[(#ENV*{_objet})][(#ENV*{_id_objet})]})]
    8         [<span class="[(#PLUGIN{bootstrap}|?{badge,note})]">[(#HTML5|oui)<span itemprop="ratingCount">](#GET{total})[(#HTML5|oui)</span>] [(#GET{total}|>{1}|?{<:notation:votes:>,<:notation:vote:>})]</span>]
     8        [<span class="[(#PLUGIN{bootstrap}|?{badge,note})]">(#GET{total}) [(#GET{total}|>{1}|?{<:notation:votes:>,<:notation:vote:>})]</span>]
    99        [<p class="reponse_formulaire reponse_formulaire_ok">(#ENV*{message_ok})</p>]
    1010        [<p class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</p>]
  • _plugins_/notation/trunk/formulaires/jaime_jaimepas.html

    r81259 r81260  
    55#SET{total,#NOMBRE_VOTES}
    66</BOUCLE_note>
    7 <div class="formulaire_notation formulaire_#FORM ajax"[(#HTML5|oui) itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating"]>
     7<div class="formulaire_notation formulaire_#FORM ajax">
    88        [(#NOTATION_ETOILE{[(#GET{note_ponderee})],[(#ENV*{_objet})][(#ENV*{_id_objet})]})]
    9         [<span class="[(#PLUGIN{bootstrap}|?{badge,note})]">[(#HTML5|oui)<span itemprop="ratingCount">](#GET{total})[(#HTML5|oui)</span>] [(#GET{total}|>{1}|?{<:notation:votes:>,<:notation:vote:>})]</span>]
     9        [<span class="[(#PLUGIN{bootstrap}|?{badge,note})]">(#GET{total}) [(#GET{total}|>{1}|?{<:notation:votes:>,<:notation:vote:>})]</span>]
    1010        [<p class="reponse_formulaire reponse_formulaire_ok">(#ENV*{message_ok})</p>]
    1111        [<p class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</p>]
  • _plugins_/notation/trunk/formulaires/notation.html

    r81259 r81260  
    55#SET{total,#NOMBRE_VOTES}
    66</BOUCLE_note>
    7 <div class="formulaire_notation ajax"[(#HTML5|oui) itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating"]>
     7<div class="formulaire_notation ajax">
    88[(#ENV**{editable}|oui)
    99        <form action="#SELF" method="post" id="notation[(#ENV*{_form_id})]" style="display:inline; padding:0; spacing:0; border:0">
     
    1818                        <input type="hidden" name="content" id="content[(#ENV*{_form_id})]" value="" />
    1919                        <input type="submit" class="access" value="Voter"/>
    20                         [<span class="[(#PLUGIN{bootstrap}|?{badge,note})]">[(#HTML5|oui)<span itemprop="ratingCount">](#GET{total})[(#HTML5|oui)</span>] [(#GET{total}|>{1}|?{<:notation:votes:>,<:notation:vote:>})]</span>]
     20                        [<span class="[(#PLUGIN{bootstrap}|?{badge,note})]">(#GET{total}) [(#GET{total}|>{1}|?{<:notation:votes:>,<:notation:vote:>})]</span>]
    2121                </div>
    2222        </form>
  • _plugins_/notation/trunk/inc/notation_balises.php

    r81259 r81260  
    3333                }
    3434                for ($i=1; $i<=$max_note; $i++){
    35                         $microdata_insert = ($GLOBALS['meta']['version_html_max'] == 'html5' && $i == $nb) ? " itemprop='ratingValue'" : "";
    3635                        $checked = ($i==$nb) ? " checked='checked'" : "";
    37                         $ret .= "<input name='notation-$id' type='radio' class='$class' value='$i'$checked$disabled $microdata_insert/>\n";
     36                        $ret .= "<input name='notation-$id' type='radio' class='$class' value='$i'$checked$disabled />\n";
    3837                }
    3938        }
     
    4241        {
    4342                for ($i=1; $i<=$max_note; $i++){
    44                         $microdata_insert = ($GLOBALS['meta']['version_html_max'] == 'html5' && $i == $nb) ? " itemprop='ratingValue'" : "";
    4543                        $checked = ($i<=$nb) ? " star-rating-on" : "";
    46                         $ret .= "<div class='star-rating ratingstar_group_notation-$id star-rating-readonly$checked'$microdata_insert><a>$nb</a></div>";
     44                        $ret .= "<div class='star-rating ratingstar_group_notation-$id star-rating-readonly$checked'><a>$nb</a></div>";
    4745                }
    4846        }
Note: See TracChangeset for help on using the changeset viewer.