Skip to content
Extraits de code Groupes Projets
Valider 0a17cfbd rédigé par esj's avatar esj
Parcourir les fichiers

installation de theme de couleur dans l'agenda des jours

parent fb58425c
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -8,5 +8,5 @@
<script type="text/javascript" src="ecrire/presentation.js"></script>
</head><body>
[(#ENV{type, mois}|agenda_connu)<INCLURE(page.php3)
{fond=agenda_#ENV{type,mois}}{type}{delais=900}{annee}{mois}{jour}{echelle}{partie_cal}>]
{fond=agenda_#ENV{type,mois}}{type}{delais=900}{annee}{mois}{jour}{echelle}{partie_cal}{theme}>]
</body></html>
<BOUCLE_jour(ARTICLES)
{agenda date, jour, #ENV{annee}, #ENV{mois}, #ENV{jour}}{par date}
>[(#DATE|agenda_memo{#DESCRIPTIF, #TITRE, #URL_ARTICLE,
[(#COMPTEUR_BOUCLE|
alterner{'calendrier-couleur1', 'calendrier-couleur3'})]})]</BOUCLE_jour>[(#TOTAL_BOUCLE|
agenda_affiche{<:aucun_article:>, 'jour', 'calendrier-couleur1', 'calendrier-couleur3'}
)]<//B_jour>
\ No newline at end of file
calendrier-couleur[(#ENV{theme,0}|modulo{14,1})]})]</BOUCLE_jour>[(#TOTAL_BOUCLE|agenda_affiche{<:aucun_article:>, 'jour',
calendrier-couleur[(#ENV{theme,0}|modulo{14,1})]})
<div style='position: fixed; top:50px; left: 20px'>
<table style='width: 10px'><tr>
<td class='calendrier-couleur1'><a style='text-decoration: none;' href='[(#SELF)]&theme=0'>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur2'><a style='text-decoration: none;' href='[(#SELF)]&theme=1''>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur3'><a style='text-decoration: none;' href='[(#SELF)]&theme=2'>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur4'><a style='text-decoration: none;' href='[(#SELF)]&theme=3'>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur5'><a style='text-decoration: none;' href='[(#SELF)]&theme=4'>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur6'><a style='text-decoration: none;' href='[(#SELF)]&theme=5''>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur7'><a style='text-decoration: none;' href='[(#SELF)]&theme=6'>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur8'><a style='text-decoration: none;' href='[(#SELF)]&theme=7'>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur9'><a style='text-decoration: none;' href='[(#SELF)]&theme=8'>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur10'><a style='text-decoration: none;' href='[(#SELF)]&theme=9'>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur11'><a style='text-decoration: none;' href='[(#SELF)]&theme=10'>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur12'><a style='text-decoration: none;' href='[(#SELF)]&theme=11'>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur13'><a style='text-decoration: none;' href='[(#SELF)]&theme=12'>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur14'><a style='text-decoration: none;' href='[(#SELF)]&theme=13'>&nbsp;&nbsp;</a></td></tr>
</table>
</div>
]<//B_jour>
......@@ -634,7 +634,7 @@ function http_calendrier_ics($annee, $mois, $jour,$echelle, $partie_cal, $large
$haut = calendrier_top ("$heure_debut:$minutes_debut", $debut, $fin, $dimheure, $dimjour, $fontsize);
$bas = !$e ? $haut :calendrier_top ("$heure_fin:$minutes_fin", $debut, $fin, $dimheure, $dimjour, $fontsize);
$hauteur = calendrier_height ("$heure_debut:$minutes_debut", "$heure_fin:$minutes_fin", $debut, $fin, $dimheure, $dimjour, $fontsize);
if ($bas_prec > $haut) $decale += $modif_decalage;
if ($bas_prec >= $haut) $decale += $modif_decalage;
else $decale = (4 * $fontsize);
if ($bas > $bas_prec) $bas_prec = $bas;
$url = $evenement['URL'];
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter