Skip to content
Extraits de code Groupes Projets
Valider e39b09a9 rédigé par ARNO*'s avatar ARNO*
Parcourir les fichiers

Remplacer trois fichiers "Include" par un seul: "inc_calendrier.php"

parent fd1bc6fd
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -6,9 +6,7 @@ if ($HTTP_GET_VARS['type'] == 'semaine') ...@@ -6,9 +6,7 @@ if ($HTTP_GET_VARS['type'] == 'semaine')
{ include ("calendrier_jour.php3");exit;} { include ("calendrier_jour.php3");exit;}
include ("inc.php3"); include ("inc.php3");
include_ecrire ("Include/PHP4/calendrier_php4.php"); include_ecrire ("inc_calendrier.php");
include_ecrire ("Include/MySQL3/calendrier_mysql3.php");
include_ecrire ("Include/HTML4/calendrier_html4.php");
$today=getdate(time()); $today=getdate(time());
......
<?php <?php
include ("inc.php3"); include ("inc.php3");
include_ecrire ("Include/PHP4/calendrier_php4.php"); include_ecrire ("inc_calendrier.php");
include_ecrire ("Include/MySQL3/calendrier_mysql3.php");
include_ecrire ("Include/HTML4/calendrier_html4.php");
$today=getdate(time()); $today=getdate(time());
$jour_today = $today["mday"]; $jour_today = $today["mday"];
......
<?php <?php
include ("inc.php3"); include ("inc.php3");
include_ecrire ("Include/PHP4/calendrier_php4.php"); include_ecrire ("inc_calendrier.php");
include_ecrire ("Include/MySQL3/calendrier_mysql3.php");
include_ecrire ("Include/HTML4/calendrier_html4.php");
// sans arguments => mois courant // sans arguments => mois courant
if (!$mois){ if (!$mois){
......
Ce diff est replié.
...@@ -7,9 +7,7 @@ define("_ECRIRE_INC_PRESENTATION", "1"); ...@@ -7,9 +7,7 @@ define("_ECRIRE_INC_PRESENTATION", "1");
include_ecrire ("inc_lang.php3"); include_ecrire ("inc_lang.php3");
utiliser_langue_visiteur(); utiliser_langue_visiteur();
include_ecrire ("Include/PHP4/calendrier_php4.php"); include_ecrire ("inc_calendrier.php");
include_ecrire ("Include/MySQL3/calendrier_mysql3.php");
include_ecrire ("Include/HTML4/calendrier_html4.php");
// //
// Aide // Aide
......
<?php <?php
include ("inc.php3"); include ("inc.php3");
include_ecrire ("Include/PHP4/calendrier_php4.php"); include_ecrire ("inc_calendrier.php");
include_ecrire ("Include/MySQL3/calendrier_mysql3.php");
include_ecrire ("Include/HTML4/calendrier_html4.php");
if ($HTTP_REFERER && !strpos($HTTP_REFERER, '/ecrire/')) $bonjour = 'oui'; if ($HTTP_REFERER && !strpos($HTTP_REFERER, '/ecrire/')) $bonjour = 'oui';
......
...@@ -2,9 +2,7 @@ ...@@ -2,9 +2,7 @@
include ("inc.php3"); include ("inc.php3");
include_ecrire ("inc_mots.php3"); include_ecrire ("inc_mots.php3");
include_ecrire ("Include/PHP4/calendrier_php4.php"); include_ecrire ("inc_calendrier.php");
include_ecrire ("Include/MySQL3/calendrier_mysql3.php");
include_ecrire ("Include/HTML4/calendrier_html4.php");
$query = "SELECT COUNT(*) FROM spip_auteurs_messages WHERE id_auteur=$connect_id_auteur AND id_message=$id_message"; $query = "SELECT COUNT(*) FROM spip_auteurs_messages WHERE id_auteur=$connect_id_auteur AND id_message=$id_message";
$result = spip_query($query); $result = spip_query($query);
......
...@@ -2,9 +2,7 @@ ...@@ -2,9 +2,7 @@
include ("inc.php3"); include ("inc.php3");
include_ecrire ("inc_acces.php3"); include_ecrire ("inc_acces.php3");
include_ecrire ("Include/PHP4/calendrier_php4.php"); include_ecrire ("inc_calendrier.php");
include_ecrire ("Include/MySQL3/calendrier_mysql3.php");
include_ecrire ("Include/HTML4/calendrier_html4.php");
if ($supp_dest) { if ($supp_dest) {
spip_query("DELETE FROM spip_auteurs_messages WHERE id_message=$id_message AND id_auteur=$supp_dest"); spip_query("DELETE FROM spip_auteurs_messages WHERE id_message=$id_message AND id_auteur=$supp_dest");
......
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