Changeset 58802 in spip-zone


Ignore:
Timestamp:
Feb 23, 2012, 4:39:40 PM (8 years ago)
Author:
kent1@…
Message:

revert de 58800 qui n'est pas bon (cerdic)

Location:
_plugins_/agenda/trunk/prive
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/agenda/trunk/prive/objets/liste/evenements.html

    r58800 r58802  
    2121        </thead>
    2222        <tbody>
    23         <BOUCLE_liste_evt(EVENEMENTS){id_evenement?}{id_article?}{id_rubrique?}{id_mot?}{id_evenement_source?}{where?}{statut?}{!evenement_passe #ENV{date_debut,#ENV{date}}}{!evenement_a_venir #ENV{date_fin,#ENV{date_debut,#ENV{date}}|agenda_moisdecal{1,'Y-m-d H:i:00'}}}{recherche?}{tri #ENV{par,date_debut},#GET{defaut_tri}}{pagination #ENV{nb,15}}>
     23        <BOUCLE_liste_evt(EVENEMENTS){id_evenement?}{id_article?}{id_rubrique?}{id_mot?}{id_evenement_source?}{where?}{statut?}{!evenement_passe #ENV{date_debut,#ENV{date}}}{!evenement_a_venir #ENV{date_debut,#ENV{date}}}{recherche?}{tri #ENV{par,date_debut},#GET{defaut_tri}}{pagination #ENV{nb,15}}>
    2424                <tr class="[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})][ (#EXPOSE)][(#ID_EVENEMENT_SOURCE|oui)repetition]">
    2525                        <td class='statut'>[(#STATUT|puce_statut{evenement,#ID_EVENEMENT})]</td>
  • _plugins_/agenda/trunk/prive/squelettes/inclure/agenda-navigation-mois.html

    r58800 r58802  
    55<BOUCLE_mois(EVENEMENTS){!par date_debut}{pagination 12}{id_article?}{id_rubrique?}{id_mot?}{id_evenement_source?}{fusion_par_mois date_debut}{statut==.*}>
    66<li class="item[(#ENV{date_debut,''}|=={#DATE_DEBUT|affdate{Y-m-01}}|oui)on]"><a
    7         href="[(#GET{self}|parametre_url{date_debut,#DATE_DEBUT|affdate{Y-m-01}}|parametre_url{date_fin,''})]"
     7        href="[(#GET{self}|parametre_url{date_debut,#DATE_DEBUT|affdate{Y-m-01}})]"
    88        onclick='return update_agenda(this);'>[(#DATE_DEBUT|affdate_mois_annee{})]</a></li>
    99</BOUCLE_mois>
  • _plugins_/agenda/trunk/prive/squelettes/navigation/evenements.html

    r58800 r58802  
    11[(#BOITE_OUVRIR{[(#CHEMIN_IMAGE{calendrier-24.png}|balise_img{'',cadre-icone})],'simple'})]
    2 #SET{self,#SELF|parametre_url{id_evenement|date_debut|debut_liste_evt,''}|parametre_url{debut_mois,#EVAL{_request('debut_mois')}|parametre_url{date_fin,''}}}
     2#SET{self,#SELF|parametre_url{id_evenement|date_debut|debut_liste_evt,''}|parametre_url{debut_mois,#EVAL{_request('debut_mois')}}}
    33<ul class='liste-items agenda-nav'>
    44<BOUCLE_debut(EVENEMENTS){par date_debut}{0,1}{id_article?}{id_rubrique?}{id_evenement_source?}{statut==.*}>
    55<li class="item[(#ENV{date_debut,''}|=={#DATE_DEBUT|affdate{Y-01-01}}|oui)on]"><a
    6         href="[(#GET{self}|parametre_url{date_debut,#DATE_DEBUT|affdate{Y-01-01}}|parametre_url{date_fin,#ENV{date}|agenda_moisdecal{12,'Y-m-d'}}|parametre_url{debut_mois,''})]"
     6        href="[(#GET{self}|parametre_url{date_debut,#DATE_DEBUT|affdate{Y-01-01}})]"
    77        onclick='return update_agenda(this);'><:agenda:evenements_depuis_debut:></a></li>
    88</BOUCLE_debut>
    99<li class="item[(#ENV{date_debut,''}|non)on]"><a
    10         href="[(#GET{self}|parametre_url{date_debut,#ENV{date}})]"
     10        href="[(#GET{self})]"
    1111        onclick='return update_agenda(this);'><:agenda:evenements_a_venir:></a></li>
    1212</ul>
     
    1717function update_agenda(link){
    1818        var date_debut = parametre_url(jQuery(link).attr('href'),'date_debut');
    19         var date_fin = parametre_url(jQuery(link).attr('href'),'date_fin');
    20         $("#liste_des_evenements").ajaxReload({args:{date_debut:date_debut,date_fin:date_fin,debut_liste_evt:""},history:true});
     19        $("#liste_des_evenements").ajaxReload({args:{date_debut:date_debut,debut_liste_evt:""},history:true});
    2120        jQuery(link).closest('.box').find('li.on').removeClass('on');
    2221        jQuery(link).closest('li').addClass('on');
Note: See TracChangeset for help on using the changeset viewer.