[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Epnadmin-fr] CVS: epnadmin TODO,1.6,1.7 constantes.inc.php,1.32,1.33 in
From: |
Loïc Dayot |
Subject: |
[Epnadmin-fr] CVS: epnadmin TODO,1.6,1.7 constantes.inc.php,1.32,1.33 index.php,1.10,1.11 initiations.php,1.12,1.13 inscription_session.php,1.22,1.23 parcours.inc.php,1.9,1.10 positionnement.php,1.10,1.11 table_horaire.php,1.20,1.21 |
Date: |
Sun, 18 May 2003 14:41:43 -0400 |
Update of /cvsroot/epnadmin/epnadmin
In directory subversions:/tmp/cvs-serv23477/epnadmin
Modified Files:
TODO constantes.inc.php index.php initiations.php
inscription_session.php parcours.inc.php positionnement.php
table_horaire.php
Log Message:
?
Index: TODO
===================================================================
RCS file: /cvsroot/epnadmin/epnadmin/TODO,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** TODO 6 May 2003 19:31:04 -0000 1.6
--- TODO 18 May 2003 18:41:40 -0000 1.7
***************
*** 1,3 ****
! Derniere mise a jour : 5 mai 2003.
--- 1,3 ----
! Derniere mise a jour : 18 mai 2003.
***************
*** 76,86 ****
* Integration des modules fonctionnels (en cours)
! ie * Rendre beaucoup plus modulable l'application (pour n'en utiliser
qu'une
! partie ou en rajouter une autre facilement).
! * Permettre des fonctions de marcher indépendamment d'autres non
activées
* Separer la forme du fond (en cours)
! * Rendre multilingue possible (en cours)
* Revoir la conception graphique
--- 76,84 ----
* Integration des modules fonctionnels (en cours)
! ie * Permettre des fonctions de marcher indépendamment d'autres non
activées
* Separer la forme du fond (en cours)
! * Traduire le projet
* Revoir la conception graphique
Index: constantes.inc.php
===================================================================
RCS file: /cvsroot/epnadmin/epnadmin/constantes.inc.php,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -r1.32 -r1.33
*** constantes.inc.php 18 May 2003 12:16:47 -0000 1.32
--- constantes.inc.php 18 May 2003 18:41:40 -0000 1.33
***************
*** 105,113 ****
define ("MAXHORAIRE", "25:00"); // idem
- // Gestion des parcours pédagogiques
- // TODO : remplacer cette constante par un calcul automatique du nombre maxi
de thème
- // d'après le contenu de la base.
- define ("NBMAXTHEMES", "9"); // nombre max de thème + 1
-
// Design
if (! isset($logo))
--- 105,108 ----
Index: index.php
===================================================================
RCS file: /cvsroot/epnadmin/epnadmin/index.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** index.php 6 May 2003 19:31:05 -0000 1.10
--- index.php 18 May 2003 18:41:40 -0000 1.11
***************
*** 41,54 ****
$titr = ($is_ident!="usager" ? $sindextitre1 : $sindextitre2);
! $datemaj="29 avril 2003";
require("entete.inc.php");
if ($id_usager)
{
- echo "<table align=center bgcolor=\"yellow\" width=\"40%\">
- <tr><td align=center><b>Le 24 Janvier 2003 a eu lieu le premier comité
d'usagers.</td>
- <td><a
href=\"http://arobase.pierrefitte93.fr/presentation/comiteusagers.htm\">Voici
le compte-rendu</a>
- </td></tr></table><br>\n";
-
define("COULEUR", COULEUR_USAGERS);
echo $message_demarrage;
--- 41,49 ----
$titr = ($is_ident!="usager" ? $sindextitre1 : $sindextitre2);
! $datemaj="18 mai 2003";
require("entete.inc.php");
if ($id_usager)
{
define("COULEUR", COULEUR_USAGERS);
echo $message_demarrage;
Index: initiations.php
===================================================================
RCS file: /cvsroot/epnadmin/epnadmin/initiations.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** initiations.php 6 May 2003 19:31:05 -0000 1.12
--- initiations.php 18 May 2003 18:41:40 -0000 1.13
***************
*** 148,152 ****
}
$res = recherche("initiations", "id", $id_initiation);
! if ($initiation = fetch_object($res))
extract($initiation);
// pas de break, on enchaîne avec le formulaire d'édition
--- 148,152 ----
}
$res = recherche("initiations", "id", $id_initiation);
! if ($initiation = fetch_array($res))
extract($initiation);
// pas de break, on enchaîne avec le formulaire d'édition
Index: inscription_session.php
===================================================================
RCS file: /cvsroot/epnadmin/epnadmin/inscription_session.php,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -r1.22 -r1.23
*** inscription_session.php 6 May 2003 19:31:05 -0000 1.22
--- inscription_session.php 18 May 2003 18:41:40 -0000 1.23
***************
*** 303,307 ****
AND fin>'$session->debut' AND debut<'$session->fin'";
$res6=executeRequete($req6);
! if (numrows($res6))
{
echo "<p><b>$sdejainscritautre</b></p>";
--- 303,307 ----
AND fin>'$session->debut' AND debut<'$session->fin'";
$res6=executeRequete($req6);
! if (num_rows($res6))
{
echo "<p><b>$sdejainscritautre</b></p>";
Index: parcours.inc.php
===================================================================
RCS file: /cvsroot/epnadmin/epnadmin/parcours.inc.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** parcours.inc.php 13 May 2003 21:17:06 -0000 1.9
--- parcours.inc.php 18 May 2003 18:41:40 -0000 1.10
***************
*** 347,351 ****
// Affichage maintenant des sessions qui ne font pas partie du parcours,
mais à inscription automatique
$req="SELECT * FROM sessions
! WHERE date>=NOW() AND inscriptionauto='oui'";
$res=executeRequete($req);
--- 347,351 ----
// Affichage maintenant des sessions qui ne font pas partie du parcours,
mais à inscription automatique
$req="SELECT * FROM sessions
! WHERE date>=NOW() AND inscriptionauto='oui' AND
etat='réservation'";
$res=executeRequete($req);
Index: positionnement.php
===================================================================
RCS file: /cvsroot/epnadmin/epnadmin/positionnement.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** positionnement.php 6 May 2003 19:31:05 -0000 1.10
--- positionnement.php 18 May 2003 18:41:40 -0000 1.11
***************
*** 47,51 ****
$titr = $sposititre;
define("COULEUR", COULEUR_POSITIONNEMENT);
! $datemaj="3 mai 2003";
require("entete.inc.php");
--- 47,51 ----
$titr = $sposititre;
define("COULEUR", COULEUR_POSITIONNEMENT);
! $datemaj="18 mai 2003";
require("entete.inc.php");
***************
*** 60,64 ****
function formulaireTheme($mode, $id_usager, $id_theme, $niveaucourant,
$id_initiation)
! {
global $PHP_SELF, $sposiindiquerniveau, $snon, $sposijaiundoute, $soui,
$sposijaibesoindaide,
$sposioucachoerdirectniveau, $sposimettreajourleniveau, $sposidebutant,
$sposiinitie,
--- 60,64 ----
function formulaireTheme($mode, $id_usager, $id_theme, $niveaucourant,
$id_initiation)
! {
global $PHP_SELF, $sposiindiquerniveau, $snon, $sposijaiundoute, $soui,
$sposijaibesoindaide,
$sposioucachoerdirectniveau, $sposimettreajourleniveau, $sposidebutant,
$sposiinitie,
***************
*** 136,143 ****
{
global $PHP_SELF, $info, $sposipasencoreeu, $sposimevaluer,
! $sposimereevaluer, $sposidebutant, $sposiinitie, $sposiavance;
echo "<table align=\"center\" cellspacing=\"0\">\n";
! for ($id_theme=1; $id_theme<9; $id_theme++)
{
$res = rechercheTheme($id_theme);
--- 136,143 ----
{
global $PHP_SELF, $info, $sposipasencoreeu, $sposimevaluer,
! $sposimereevaluer, $sposidebutant, $sposiinitie, $sposiavance, $nbmaxthemes;
echo "<table align=\"center\" cellspacing=\"0\">\n";
! for ($id_theme=1; $id_theme<=$nbmaxthemes; $id_theme++)
{
$res = rechercheTheme($id_theme);
***************
*** 188,191 ****
--- 188,197 ----
// Début de la page effective
+ // Calcul de NBMAXTHEMES
+ $req="SELECT * FROM themes";
+ $res=executeRequete($req);
+ $nbmaxthemes=num_rows($res);
+ free_result($res);
+
switch ($operation)
{
***************
*** 278,282 ****
$res = executeRequete($req);
}
! while (($id_theme<NBMAXTHEMES) && !$initiation=fetch_object($res));
$id_initiation = $initiation->id;
--- 284,288 ----
$res = executeRequete($req);
}
! while (($id_theme<=$nbmaxthemes) && !$initiation=fetch_object($res));
$id_initiation = $initiation->id;
***************
*** 300,304 ****
break;
}
! if ($id_theme==NBMAXTHEMES) // Il n'y a plus de thème, la positionnement
est temriné.
{
echo "<h3>$spositermine</h3>\n";
--- 306,310 ----
break;
}
! if ($id_theme==$nbmaxthemes+1) // Il n'y a plus de thème, la positionnement
est temriné.
{
echo "<h3>$spositermine</h3>\n";
Index: table_horaire.php
===================================================================
RCS file: /cvsroot/epnadmin/epnadmin/table_horaire.php,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -r1.20 -r1.21
*** table_horaire.php 6 May 2003 19:31:06 -0000 1.20
--- table_horaire.php 18 May 2003 18:41:40 -0000 1.21
***************
*** 46,50 ****
$titr = $stitretablehoraire;
! $datemaj="3 mai 2003";
define("COULEUR", COULEUR_UTILISATIONS);
require("entete.inc.php");
--- 46,50 ----
$titr = $stitretablehoraire;
! $datemaj="18 mai 2003";
define("COULEUR", COULEUR_UTILISATIONS);
require("entete.inc.php");
***************
*** 84,88 ****
{
$unlieu=true;
! echo "<hr>\n";
echo cadre_debut(localisation($reponse->id_localisation, TRUE));
//echo "<h3>$reponse->salle de $reponse->structure à
$reponse->ville</h3>\n";
--- 84,88 ----
{
$unlieu=true;
! echo "<hr>\n";
echo cadre_debut(localisation($reponse->id_localisation, TRUE));
//echo "<h3>$reponse->salle de $reponse->structure à
$reponse->ville</h3>\n";
***************
*** 422,429 ****
{ // s'il y une réponse, c'est qu'il y a déjà des réservations.
// retrancher $dejareserve à $longmaxi
! $longmaxi = differenceHeure($longmaxi, $dejareserve->nbheure);
}
//debug($longmaxi);
! if ($longmaxi=="00:00:00" || $longmaxi>"15:00:00") // le 20h, c'est pour
traiter les heures négatives
{
echo "<p>$screditepuise</p>\n";
--- 422,429 ----
{ // s'il y une réponse, c'est qu'il y a déjà des réservations.
// retrancher $dejareserve à $longmaxi
! $longmaxi = $longmaxi - h2min($dejareserve->nbheure);
}
//debug($longmaxi);
! if ($longmaxi==0) // le 20h, c'est pour traiter les heures négatives
{
echo "<p>$screditepuise</p>\n";
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Epnadmin-fr] CVS: epnadmin TODO,1.6,1.7 constantes.inc.php,1.32,1.33 index.php,1.10,1.11 initiations.php,1.12,1.13 inscription_session.php,1.22,1.23 parcours.inc.php,1.9,1.10 positionnement.php,1.10,1.11 table_horaire.php,1.20,1.21,
Loïc Dayot <=
- Prev by Date:
[Epnadmin-fr] CVS: epnadmin config.php,1.14,1.15 constantes.inc.php,1.31,1.32 fr.lang.inc.php,1.24,1.25 header.inc.php,1.21,1.22mysql.inc.php,1.5,1.6
- Next by Date:
Re: [Epnadmin-fr] nouvelle version pour animateur-disponibilité
- Previous by thread:
[Epnadmin-fr] CVS: epnadmin config.php,1.14,1.15 constantes.inc.php,1.31,1.32 fr.lang.inc.php,1.24,1.25 header.inc.php,1.21,1.22mysql.inc.php,1.5,1.6
- Next by thread:
[Epnadmin-fr] Rép. : Re: Rendez-vous avec Marc Carlucci
- Index(es):