epnadmin-fr
[Top][All Lists]
Advanced

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

[Epnadmin-fr] CVS: epnadmin configuration.php, 1.16, 1.17 epnadmin.css,


From: Loïc Dayot
Subject: [Epnadmin-fr] CVS: epnadmin configuration.php, 1.16, 1.17 epnadmin.css, 1.5, 1.6 fr.lang.inc.php, 1.32, 1.33 usagers.php, 1.27, 1.28
Date: Mon, 08 Sep 2003 05:34:52 -0400

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

Modified Files:
        configuration.php epnadmin.css fr.lang.inc.php usagers.php 
Log Message:
Réparation de quelques bugs dans les comptes usagers (pour les cartes 
d'usagers) et de la configuration.



Index: configuration.php
===================================================================
RCS file: /cvsroot/epnadmin/epnadmin/configuration.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** configuration.php   17 Jul 2003 20:45:47 -0000      1.16
--- configuration.php   8 Sep 2003 09:34:49 -0000       1.17
***************
*** 506,512 ****
  {
    echo "<tr bgcolor=\"".COULEUR_DROITS."\"><th>$fonctionnalitesdeappli</th>";
!   echo "<td><a href='$PHP_SELF?operation=41'>$svoir</a></td>";
    if (DROITS_AUTRES>="w")
!     echo "<td><a href='$PHP_SELF?operation=42'>$smodifier</a></td>";
    echo "</tr>\n";
  }
--- 506,512 ----
  {
    echo "<tr bgcolor=\"".COULEUR_DROITS."\"><th>$fonctionnalitesdeappli</th>";
!   echo "<td><a href='$PHP_SELF?operation=41' title='$svoir'>$info</a></td>";
    if (DROITS_AUTRES>="w")
!     echo "<td><a href='$PHP_SELF?operation=42' 
title='$smodifier'>$modifier</a></td>";
    echo "</tr>\n";
  }
***************
*** 517,531 ****
    {
      echo "<tr bgcolor=\"".COULEUR_STRUCTURES."\"><th>$autordefstructure</th>";
!     echo "<td><a href='$PHP_SELF?operation=311&id=-3'>$svoir</a></td>";
!     echo "<td><a href='$PHP_SELF?operation=321&id=-3'>$smodifier</a></td>";
      echo "</tr>\n";
    }
!   
    if ($is_ident=="structure" && DROITS_MOI>="r")
    {
      echo "<tr bgcolor=\"".COULEUR_STRUCTURES."\"><th>$smesdroits</th>";
!     echo "<td><a 
href='$PHP_SELF?operation=311&id=$id_structure'>$svoir</a></td>";
      if (DROITS_MOI>="w")
!       echo "<td><a 
href='$PHP_SELF?operation=321&id=$id_structure'>$smodifier</a></td>";
      echo "</tr>\n";
    }
--- 517,531 ----
    {
      echo "<tr bgcolor=\"".COULEUR_STRUCTURES."\"><th>$autordefstructure</th>";
!     echo "<td><a href='$PHP_SELF?operation=311&id=-3' 
title='$svoir'>$info</a></td>";
!     echo "<td><a href='$PHP_SELF?operation=321&id=-3' 
title='$smodifier'>$modifier</a></td>";
      echo "</tr>\n";
    }
! 
    if ($is_ident=="structure" && DROITS_MOI>="r")
    {
      echo "<tr bgcolor=\"".COULEUR_STRUCTURES."\"><th>$smesdroits</th>";
!     echo "<td><a href='$PHP_SELF?operation=311&id=$id_structure' 
title='$svoir'>$info</a></td>";
      if (DROITS_MOI>="w")
!       echo "<td><a href='$PHP_SELF?operation=321&id=$id_structure' 
title='$smodifier'>$modifier</a></td>";
      echo "</tr>\n";
    }
***************
*** 534,540 ****
    {
      echo "<tr bgcolor=\"".COULEUR_STRUCTURES."\"><th>$sautorstructure</th>";
!     echo "<td><a href='$PHP_SELF?operation=31'>$svoir</a></td>";
      if (DROITS_AUTRES>="w")
!       echo "<td><a href='$PHP_SELF?operation=32'>$smodifier</a></td>";
      echo "</tr>\n";
    }
--- 534,540 ----
    {
      echo "<tr bgcolor=\"".COULEUR_STRUCTURES."\"><th>$sautorstructure</th>";
!     echo "<td><a href='$PHP_SELF?operation=31' title='$svoir'>$info</a></td>";
      if (DROITS_AUTRES>="w")
!       echo "<td><a href='$PHP_SELF?operation=32' 
title='$smodifier'>$modifier</a></td>";
      echo "</tr>\n";
    }
***************
*** 545,551 ****
    echo "<tr bgcolor=\"".COULEUR_USAGERS."\"><th>$autorusagers</th>";
    if (DROITS_AUTRES>="r" || ($is_ident=="usager" && DROITS_MOI>="r"))
!   echo "<td><a href='$PHP_SELF?operation=11'>$svoir</a></td>";
    if (DROITS_AUTRES=="w" || ($is_ident=="usager" && DROITS_MOI>="r"))
!     echo "<td><a href='$PHP_SELF?operation=12'>$smodifier</a></td>";
    echo "</tr>\n";
  }
--- 545,551 ----
    echo "<tr bgcolor=\"".COULEUR_USAGERS."\"><th>$autorusagers</th>";
    if (DROITS_AUTRES>="r" || ($is_ident=="usager" && DROITS_MOI>="r"))
!   echo "<td><a href='$PHP_SELF?operation=11' title='$svoir'>$info</a></td>";
    if (DROITS_AUTRES=="w" || ($is_ident=="usager" && DROITS_MOI>="r"))
!     echo "<td><a href='$PHP_SELF?operation=12' 
title='$smodifier'>$modifier</a></td>";
    echo "</tr>\n";
  }
***************
*** 555,561 ****
    echo "<tr bgcolor=\"".COULEUR_ANIMATEURS."\"><th>$autordefanimateur</th>";
    if (DROITS_AUTRES>="r" || ($is_ident=="animateur" && DROITS_MOI>="r"))
!     echo "<td><a href='$PHP_SELF?operation=21&id=-2'>$svoir</a></td>";
    if (DROITS_AUTRES>="w" || ($is_ident=="animateur" && DROITS_MOI>="w"))
!     echo "<td><a href='$PHP_SELF?operation=22&id=-2'>$smodifier</a></td>";
    echo "</tr>\n";
  }
--- 555,561 ----
    echo "<tr bgcolor=\"".COULEUR_ANIMATEURS."\"><th>$autordefanimateur</th>";
    if (DROITS_AUTRES>="r" || ($is_ident=="animateur" && DROITS_MOI>="r"))
!     echo "<td><a href='$PHP_SELF?operation=21&id=-2' 
title='$svoir'>$info</a></td>";
    if (DROITS_AUTRES>="w" || ($is_ident=="animateur" && DROITS_MOI>="w"))
!     echo "<td><a href='$PHP_SELF?operation=22&id=-2' 
title='$smodifier'>$modifier</a></td>";
    echo "</tr>\n";
  }
***************
*** 564,570 ****
  {
    echo "<tr><th>$autorvisiteur</th>";
!   echo "<td><a href='$PHP_SELF?operation=51'>$svoir</a></td>";
    if (DROITS_AUTRES>="w")
!     echo "<td><a href='$PHP_SELF?operation=52'>$smodifier</a></td>";
    echo "</tr>\n";
  }
--- 564,570 ----
  {
    echo "<tr><th>$autorvisiteur</th>";
!   echo "<td><a href='$PHP_SELF?operation=51' title='$svoir'>$info</a></td>";
    if (DROITS_AUTRES>="w")
!     echo "<td><a href='$PHP_SELF?operation=52' 
title='$smodifier'>$modifier</a></td>";
    echo "</tr>\n";
  }

Index: epnadmin.css
===================================================================
RCS file: /cvsroot/epnadmin/epnadmin/epnadmin.css,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** epnadmin.css        23 Jul 2003 20:09:27 -0000      1.5
--- epnadmin.css        8 Sep 2003 09:34:49 -0000       1.6
***************
*** 143,148 ****
  /* Ajout */
  input, textarea {
!     border          : 1px solid black;
  }
  table {
    font-size: 0.8em;
--- 143,149 ----
  /* Ajout */
  input, textarea {
!     border: 1px solid black;
  }
+ 
  table {
    font-size: 0.8em;

Index: fr.lang.inc.php
===================================================================
RCS file: /cvsroot/epnadmin/epnadmin/fr.lang.inc.php,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -r1.32 -r1.33
*** fr.lang.inc.php     24 Aug 2003 20:21:16 -0000      1.32
--- fr.lang.inc.php     8 Sep 2003 09:34:49 -0000       1.33
***************
*** 733,737 ****
  // mysql.inc.php
  {
! $smysqlpbserveur="Impossible de se connecter au serveur mysql.";
  $smysqlpbbase="Impossible de se connecter à la base de données.
              <p><a href=\"config.php?operation=200\">Refaire une 
configuration</a></p>";
--- 733,738 ----
  // mysql.inc.php
  {
! $smysqlpbserveur="Impossible de se connecter au serveur mysql.
!             <p><a href=\"config.php?operation=200\">Refaire une 
configuration</a></p>";
  $smysqlpbbase="Impossible de se connecter à la base de données.
              <p><a href=\"config.php?operation=200\">Refaire une 
configuration</a></p>";

Index: usagers.php
===================================================================
RCS file: /cvsroot/epnadmin/epnadmin/usagers.php,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -r1.27 -r1.28
*** usagers.php 30 Jul 2003 20:38:27 -0000      1.27
--- usagers.php 8 Sep 2003 09:34:49 -0000       1.28
***************
*** 37,41 ****
  //require_once("siteweb.inc.php");              // concernant les pages perso 
des usagers et les sites web des structures
  require_once("dateheure.inc.php");            // concernant la manipulation 
des heures et des dates, formulaire, conversion...
! //require_once("structures.inc.php");           // concernant les structures
  //require_once("initiations.inc.php");          // concernant les initiations 
et les thèmes
  require_once("parcours.inc.php");             // concernant les parcours des 
usagers et leur positionnement
--- 37,41 ----
  //require_once("siteweb.inc.php");              // concernant les pages perso 
des usagers et les sites web des structures
  require_once("dateheure.inc.php");            // concernant la manipulation 
des heures et des dates, formulaire, conversion...
! require_once("structures.inc.php");           // concernant les structures
  //require_once("initiations.inc.php");          // concernant les initiations 
et les thèmes
  require_once("parcours.inc.php");             // concernant les parcours des 
usagers et leur positionnement
***************
*** 504,508 ****
                echo "<p>$spbmajusager</p>\n";
  
!   if (defined("FCT_CREDITS") || defined("FCT_TARIFS"))
    {
      // on regarde dans la table [crédits] si l'usager existe ou non
--- 504,508 ----
                echo "<p>$spbmajusager</p>\n";
  
!   if (defined("FCT_CREDITS") || defined("FCT_TARIFS") || TRUE) // LD : il 
faut quand même un enregistrement pour les cartes usagers
    {
      // on regarde dans la table [crédits] si l'usager existe ou non
***************
*** 838,842 ****
    }
  
!   if (defined("FCT_CREDITS"))
    {
      // retrouver l'id pour s'en servir dans la table [crédits]
--- 838,842 ----
    }
  
!   if (defined("FCT_CREDITS") || TRUE) // LD : il faut un enregistrement de 
toute façon, pour les cartes usagers
    {
      // retrouver l'id pour s'en servir dans la table [crédits]





reply via email to

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