Browse Source

Permettre de passer un id_mot ou un id_rubrique au calendrier

svn/root/tags/plugins/organiseur/0.7.1 v0.7.1
cedric@yterium.com 11 years ago
parent
commit
021b79b829
  1. 2
      calendrier_quete.json.html
  2. 2
      contenu/calendrier.html
  3. 2
      paquet.xml

2
calendrier_quete.json.html

@ -1,5 +1,5 @@
#HTTP_HEADER{Content-type:text/javascript;}
[<BOUCLE_periode(ARTICLES)
[<BOUCLE_periode(ARTICLES){id_mot?}{id_rubrique?}
{agenda date, periode,
#ENV{start}|todate|affdate{Y}, #ENV{start}|todate|affdate{m}, #ENV{start}|todate|affdate{d},
#ENV{end}|todate|affdate{Y}, #ENV{end}|todate|affdate{m}, #ENV{end}|todate|affdate{d}}{', '}>

2
contenu/calendrier.html

@ -9,7 +9,7 @@ jQuery(document).ready(function() {
// page is now ready, initialize the calendar...
$('#calendrier').fullCalendar({
editable: false,
events: "[(#URL_PAGE{calendrier_quete.json})]",
events: "[(#URL_PAGE{calendrier_quete.json}|parametre_url{id_mot,#ENV{id_mot,''}}|parametre_url{id_rubrique,#ENV{id_rubrique,''}})]",
header: {
left: 'prevYear,prev,next,nextYear today',
center: 'title',

2
paquet.xml

@ -1,7 +1,7 @@
<paquet
prefix="organiseur"
categorie="date"
version="0.7.0"
version="0.7.1"
etat="test"
compatibilite="[3.0.0-alpha2;["
logo="prive/themes/spip/images/calendrier-32.png"

Loading…
Cancel
Save