epnadmin-fr
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Epnadmin-fr] CVS: epnadmin basdepage.inc.php,1.7,1.8 config.php,1.13,1.


From: Loïc Dayot
Subject: [Epnadmin-fr] CVS: epnadmin basdepage.inc.php,1.7,1.8 config.php,1.13,1.14 constantes.inc.php,1.30,1.31 fonctions.inc.php,1.17,1.18 fr.lang.inc.php,1.23,1.24 table_horaire_session.php,1.24,1.25
Date: Wed, 14 May 2003 17:27:59 -0400

Update of /cvsroot/epnadmin/epnadmin
In directory subversions:/tmp/cvs-serv3058/epnadmin

Modified Files:
        basdepage.inc.php config.php constantes.inc.php 
        fonctions.inc.php fr.lang.inc.php table_horaire_session.php 
Log Message:
Ca y est, normalement, tout le contenu textuel est retiré des scripts. Tout est 
dans fr.lang.inc.php.
Avis aux traducteurs, à vous de faire.
Je ne sais toujours pas pourquoi il y a un problème dans config.php lors de la 
config du serveur mysql.
En tout cas, je refait une archive epnadmin-0.6beta8 qui devrait être très 
prochainement la 0.6 tout court.


Index: basdepage.inc.php
===================================================================
RCS file: /cvsroot/epnadmin/epnadmin/basdepage.inc.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** basdepage.inc.php   6 May 2003 19:31:04 -0000       1.7
--- basdepage.inc.php   14 May 2003 21:27:55 -0000      1.8
***************
*** 37,49 ****
  echo "<hr>
    <font size=\"-1\">
!   <center><a href=\"#\">Retour en haut de page</a></center>
    <p align=\"center\">$signature
    <br>$signatureoriginale
!   <br>Adresse de ce site : ".$SERVER_NAME.$PHP_SELF." -
!   <i>Dernière mise à jour : ";
  if ($datemaj)
    echo $datemaj;
  else
!   echo "inconnue";
  echo "</i></p></font>";
  
--- 37,49 ----
  echo "<hr>
    <font size=\"-1\">
!   <center><a href=\"#\">$sretourhautdepage</a></center>
    <p align=\"center\">$signature
    <br>$signatureoriginale
!   <br>$saddrcesite : ".$SERVER_NAME.$PHP_SELF." -
!   <i>$sdernieremaj : ";
  if ($datemaj)
    echo $datemaj;
  else
!   echo $sinconnue;
  echo "</i></p></font>";
  

Index: config.php
===================================================================
RCS file: /cvsroot/epnadmin/epnadmin/config.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** config.php  13 May 2003 21:33:46 -0000      1.13
--- config.php  14 May 2003 21:27:55 -0000      1.14
***************
*** 266,269 ****
--- 266,271 ----
      <input type=\"hidden\" name=\"is_ident\" value=\"$is_ident\">
      <input type=\"hidden\" name=\"id_structure\" value=\"$id_structure\">
+     <input type=\"hidden\" name=\"mysql_identifiant_root\" 
value=\"$mysql_identifiant\">
+     <input type=\"hidden\" name=\"mysql_motdepasse_root\" 
value=\"$mysql_motdepasse\">
      <input type=\"hidden\" name=\"mysql_identifiant_root\" 
value=\"$mysql_identifiant_root\">
      <input type=\"hidden\" name=\"mysql_motdepasse_root\" 
value=\"$mysql_motdepasse_root\">
***************
*** 277,285 ****
    $acces_serveur = DB::connect($connexion);
    if(DB::isError($acces_serveur))
!   { 
      $stop=TRUE;
    }
    echo $stop;
!   $connexion = "$type_base://$mysql_identifiant_root:address@hidden";  
    $acces_serveur_root = DB::connect($connexion);
    if ($stop || $operation==$ietape)
--- 279,287 ----
    $acces_serveur = DB::connect($connexion);
    if(DB::isError($acces_serveur))
!   {
      $stop=TRUE;
    }
    echo $stop;
!   $connexion = "$type_base://$mysql_identifiant_root:address@hidden";
    $acces_serveur_root = DB::connect($connexion);
    if ($stop || $operation==$ietape)

Index: constantes.inc.php
===================================================================
RCS file: /cvsroot/epnadmin/epnadmin/constantes.inc.php,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -r1.30 -r1.31
*** constantes.inc.php  6 May 2003 19:31:04 -0000       1.30
--- constantes.inc.php  14 May 2003 21:27:55 -0000      1.31
***************
*** 27,31 ****
  // ATTENTION : Une fois la configuration achevée, la ligne suivante doit être
  // dé-commentée. Cela peut se faire à partir du script config.php.
! $verrou_config=TRUE;
  
  // Langage, language, idioma
--- 27,31 ----
  // ATTENTION : Une fois la configuration achevée, la ligne suivante doit être
  // dé-commentée. Cela peut se faire à partir du script config.php.
! //$verrou_config=TRUE;
  
  // Langage, language, idioma

Index: fonctions.inc.php
===================================================================
RCS file: /cvsroot/epnadmin/epnadmin/fonctions.inc.php,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** fonctions.inc.php   6 May 2003 19:31:04 -0000       1.17
--- fonctions.inc.php   14 May 2003 21:27:55 -0000      1.18
***************
*** 88,92 ****
  }
  
- 
  // Affichage des messages d'erreurs
  function debug($texte)
--- 88,91 ----

Index: fr.lang.inc.php
===================================================================
RCS file: /cvsroot/epnadmin/epnadmin/fr.lang.inc.php,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -r1.23 -r1.24
*** fr.lang.inc.php     13 May 2003 21:17:06 -0000      1.23
--- fr.lang.inc.php     14 May 2003 21:27:55 -0000      1.24
***************
*** 23,26 ****
--- 23,34 ----
  require_once("constantes.inc.php");
  
+ // basedepage.inc.php
+ {
+ $sretourhautdepage="Retour en haut de page";
+ $saddrcesite="Adresse de ce site";
+ $sdernieremaj="Dernière mise à jour";
+ $sinconnue="inconnue";
+ }
+ 
  // config.php
  {

Index: table_horaire_session.php
===================================================================
RCS file: /cvsroot/epnadmin/epnadmin/table_horaire_session.php,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -r1.24 -r1.25
*** table_horaire_session.php   6 May 2003 19:31:06 -0000       1.24
--- table_horaire_session.php   14 May 2003 21:27:55 -0000      1.25
***************
*** 147,153 ****
    $req.="   FROM localisations
              LEFT JOIN structures ON structures.id=localisations.id_structure 
";
!       if (defined("FCT_HORAIRES"))
!         $req.=" LEFT JOIN calendrier ON 
calendrier.id_localisation=localisations.id ";
!       $req.="   WHERE ((\"$lieuv\"=\"*\") OR
                     (CONCAT(\"V\",ville)=\"$lieuv\") OR
                     (CONCAT(\"S\",id_structure)=\"$lieuv\") OR
--- 147,153 ----
    $req.="   FROM localisations
              LEFT JOIN structures ON structures.id=localisations.id_structure 
";
!   if (defined("FCT_HORAIRES"))
!     $req.=" LEFT JOIN calendrier ON 
calendrier.id_localisation=localisations.id ";
!   $req.="   WHERE ((\"$lieuv\"=\"*\") OR
                     (CONCAT(\"V\",ville)=\"$lieuv\") OR
                     (CONCAT(\"S\",id_structure)=\"$lieuv\") OR
***************
*** 155,164 ****
        //if (defined("FCT_HORAIRES"))
        //  $req.="   AND (calendrier.date>=\"$datev\") AND 
(calendrier.date<=\"$datef\") ";
!       $req.=" ORDER BY structures.ville, structures.structure, 
localisations.salle";
    // retiré le 16 juillet 2002               AND (ouverture=\"activités 
collectives\")
    // parce que le planning est celui de la salle et pas seulement celui des 
sessions collectives.
  
    $res = executeRequete($req);
  
    $unlieu=false;
  
--- 155,184 ----
        //if (defined("FCT_HORAIRES"))
        //  $req.="   AND (calendrier.date>=\"$datev\") AND 
(calendrier.date<=\"$datef\") ";
!   $req.=" ORDER BY structures.ville, structures.structure, 
localisations.salle";
    // retiré le 16 juillet 2002               AND (ouverture=\"activités 
collectives\")
    // parce que le planning est celui de la salle et pas seulement celui des 
sessions collectives.
  
+   // LD : Ajout du 14 mai 2003
+   // Affichage des liens vers chaque salle
    $res = executeRequete($req);
+   echo "<p>";
+   while ($reponse=fetch_object($res))
+   {
+     if ($ville!=$reponse->ville)
+     {
+       echo "<br><b>$reponse->ville</b>";
+       $ville=$reponse->ville;
+     }
+     if ($structure!=$reponse->structure)
+     {
+       echo "<br>$reponse->structure ";
+       $structure=$reponse->structure;
+     }
+     echo " - <a 
href=\"#$reponse->id_localisation\">".localisation($reponse->id_localisation)."</a>";
+   }
+   echo "</p>";
  
+   // Affichage de chaque salle
+   $res = executeRequete($req);
    $unlieu=false;
  
***************
*** 168,172 ****
       $unlieu=true;
       //echo "<hr>\n";
!                echo cadre_debut(localisation($reponse->id_localisation,
                                TRUE,  // image
                    TRUE)  // lien vers le parc
--- 188,193 ----
       $unlieu=true;
       //echo "<hr>\n";
!      echo "<a name=\"$reponse->id_localisation\">";
!      echo cadre_debut(localisation($reponse->id_localisation,
                                TRUE,  // image
                    TRUE)  // lien vers le parc





reply via email to

[Prev in Thread] Current Thread [Next in Thread]