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

Avec ceci plus l'envoi précédent (qui aurait du se limiter à messagerie.php3)...

Avec ceci plus l'envoi précédent (qui aurait du se limiter à messagerie.php3) correction de certains mauvais lien dans l'armée de boutons, et rationnalisation des arguments des fonctions pour permettre des appels extérieurs
parent c5616e06
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
target="spip_pass" target="spip_pass"
onclick="javascript:window.open(this.href, 'spip_pass', 'scrollbars=yes, resizable=yes, width=480, height=280'); return false;"><:login_motpasseoublie:></a>&#93; onclick="javascript:window.open(this.href, 'spip_pass', 'scrollbars=yes, resizable=yes, width=480, height=280'); return false;"><:login_motpasseoublie:></a>&#93;
&#91;<a href='#URL_SITE_SPIP'><:login_retoursitepublic:></a>&#93 &#91;<a href='#URL_SITE_SPIP'><:login_retoursitepublic:></a>&#93;
</div> </div>
......
...@@ -58,15 +58,7 @@ if (!_DIR_RESTREINT) ...@@ -58,15 +58,7 @@ if (!_DIR_RESTREINT)
debut_page($titre, "redacteurs", "calendrier"); debut_page($titre, "redacteurs", "calendrier");
else debut_html($titre); else debut_html($titre);
$f = 'http_calendrier_init_' . $type; echo http_calendrier_init($date, $type);
echo $f($date, $echelle, $partie_cal, $GLOBALS['PHP_SELF']);
if (!_DIR_RESTREINT) fin_page(); else echo "</body></html>\n"; if (!_DIR_RESTREINT) fin_page(); else echo "</body></html>\n";
// partie_cal est utilisee dans:
// calendrier_navication navi_jour navi_sem
// calendrier_mois calendrier_jour
// calendrier_suite_heures
?> ?>
...@@ -42,6 +42,17 @@ $bleu = http_img_pack("m_envoi_bleu$spip_lang_rtl.gif", 'B', "width='14' height= ...@@ -42,6 +42,17 @@ $bleu = http_img_pack("m_envoi_bleu$spip_lang_rtl.gif", 'B', "width='14' height=
$vert = http_img_pack("m_envoi$spip_lang_rtl.gif", 'V', "width='14' height='7' border='0'"); $vert = http_img_pack("m_envoi$spip_lang_rtl.gif", 'V', "width='14' height='7' border='0'");
$jaune= http_img_pack("m_envoi_jaune$spip_lang_rtl.gif", 'J', "width='14' height='7' border='0'"); $jaune= http_img_pack("m_envoi_jaune$spip_lang_rtl.gif", 'J', "width='14' height='7' border='0'");
function http_calendrier_init($date='', $type='semaine', $echelle='', $partie_cal='', $script='')
{
if (!$date) $date = date("Y-m-d");
if (!$script) $script = $GLOBALS['REQUEST_URI'];
$script = http_calendrier_retire_args($script,
array('echelle','jour','mois','annee', 'type'));
$f = 'http_calendrier_init_' . $type;
return $f($date, $echelle, $partie_cal, $script);
}
// Conversion en HTML d'un tableau de champ ics // Conversion en HTML d'un tableau de champ ics
// Le champ URL devient une balise A // Le champ URL devient une balise A
// avec href=URL et clic sur les champs SUMMARY et DESC // avec href=URL et clic sur les champs SUMMARY et DESC
...@@ -437,8 +448,6 @@ function http_calendrier_mois($mois, $annee, $premier_jour, $dernier_jour, $part ...@@ -437,8 +448,6 @@ function http_calendrier_mois($mois, $annee, $premier_jour, $dernier_jour, $part
{ {
global $couleur_claire, $couleur_foncee; global $couleur_claire, $couleur_foncee;
$script = http_calendrier_retire_args($GLOBALS['REQUEST_URI'],
array('echelle','jour','mois','annee', 'type'));
$today=getdate(time()); $today=getdate(time());
$j=$today["mday"]; $j=$today["mday"];
if ($dernier_jour > 31) { if ($dernier_jour > 31) {
......
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