[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Epnadmin-fr] CVS: epnadmin basdepage.inc.php, 1.12, 1.13 config.php, 1
From: |
Loïc Dayot |
Subject: |
[Epnadmin-fr] CVS: epnadmin basdepage.inc.php, 1.12, 1.13 config.php, 1.19, 1.20 constantes.inc.php, 1.36, 1.37 epnadmin.css, 1.1, 1.2 fr.initial.sql, 1.1, 1.2 header.inc.php, 1.26, 1.27 menu2.js, 1.1, 1.2 |
Date: |
Fri, 18 Jul 2003 13:24:39 -0400 |
Update of /cvsroot/epnadmin/epnadmin
In directory subversions:/tmp/cvs-serv24622/epnadmin
Modified Files:
basdepage.inc.php config.php constantes.inc.php epnadmin.css
fr.initial.sql header.inc.php menu2.js
Log Message:
Corrections diverses suite au changement d'interface et des menus déroulant.
Nouveau logo en gif (pour aider msiexplorer à ouvrir correctement une page html
avec des images).
Index: basdepage.inc.php
===================================================================
RCS file: /cvsroot/epnadmin/epnadmin/basdepage.inc.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** basdepage.inc.php 17 Jul 2003 20:45:47 -0000 1.12
--- basdepage.inc.php 18 Jul 2003 17:24:37 -0000 1.13
***************
*** 51,55 ****
LEFT JOIN droits ON menus.id_fonction=droits.id_fonction
WHERE (language=\"$langage\") AND
! ((id_structure=$nstructure) OR (id_structure=-3 AND
$nstructure>0)) AND ";
$reqm1.=$scond;
$reqm1.=" ORDER BY level_order";
--- 51,63 ----
LEFT JOIN droits ON menus.id_fonction=droits.id_fonction
WHERE (language=\"$langage\") AND
! (
! (rights_me=\"any\" OR rights_others=\"any\")
! OR ( (rights_me=\"active\" OR rights_others=\"active\")
! AND droits.actif=\"y\" AND id_structure=0)
! OR (rights_me=\"see\" AND droits.moi>=\"r\" AND
((id_structure=$nstructure) OR (id_structure=-3 AND $nstructure>0)))
! OR (rights_me=\"change\" AND droits.moi>=\"w\") AND
((id_structure=$nstructure) OR (id_structure=-3 AND $nstructure>0))
! OR (rights_others=\"see\" AND droits.autres>=\"r\" AND
((id_structure=$nstructure) OR (id_structure=-3 AND $nstructure>0)))
! OR (rights_others=\"change\" AND droits.autres>=\"w\" AND
((id_structure=$nstructure) OR (id_structure=-3 AND $nstructure>0)))
! ) AND ";
$reqm1.=$scond;
$reqm1.=" ORDER BY level_order";
***************
*** 89,93 ****
// -------------------------------
! echo "<div id=\"logo\" onmouseover=\"CacherMenus();\">
<a href=\"index.php\" title=\"retour à l'index\">
<img src=\"$logo\" border=\"0\" alt=\"Logo EPNadmin, retour à
l'index\">
--- 97,101 ----
// -------------------------------
! echo "\n<div id=\"logo\" onmouseover=\"CacherMenus();\">
<a href=\"index.php\" title=\"retour à l'index\">
<img src=\"$logo\" border=\"0\" alt=\"Logo EPNadmin, retour à
l'index\">
***************
*** 113,119 ****
echo "<table align=\"center\">
<tr>
! <td valign=center rowspan=2>
<a href=\"http://www.nongnu.org/epnadmin/\" target=\"_blank\"
onfocus=\"CacherMenus();\">
! <img alt=\"logo EPNadmin\" src=\"images/galago_epnadmin.png\"
height=\"60\" border=0>
</a>
</td>
--- 121,127 ----
echo "<table align=\"center\">
<tr>
! <td valign=center>
<a href=\"http://www.nongnu.org/epnadmin/\" target=\"_blank\"
onfocus=\"CacherMenus();\">
! <img alt=\"logo EPNadmin\" src=\"$logo\" height=\"60\" border=0>
</a>
</td>
***************
*** 123,128 ****
</a>
</td>
- </tr>
- <tr>
<td>
<a href=\"http://www.mysql.com\" target=\"_blank\"
onfocus=\"CacherMenus();\">
--- 131,134 ----
***************
*** 132,135 ****
--- 138,142 ----
</tr>
</table>
+ <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br
/><br /><br /><br /><br />
</div>\n"; //" fin de div id=copy
Index: config.php
===================================================================
RCS file: /cvsroot/epnadmin/epnadmin/config.php,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -r1.19 -r1.20
*** config.php 17 Jul 2003 20:45:47 -0000 1.19
--- config.php 18 Jul 2003 17:24:37 -0000 1.20
***************
*** 307,311 ****
// Construction de la requête
$req="SELECT * FROM $nomtable WHERE (0=0) ";
! for ($ichamp=1; $ichamp<$nchamp; $ichamp++)
if ($svalue[$ichamp]=="NULL")
$req.=" AND ISNULL({$snomchamp[$ichamp]})";
--- 307,311 ----
// Construction de la requête
$req="SELECT * FROM $nomtable WHERE (0=0) ";
! for ($ichamp=1; $ichamp<=$nchamp; $ichamp++)
if ($svalue[$ichamp]=="NULL")
$req.=" AND ISNULL({$snomchamp[$ichamp]})";
***************
*** 319,323 ****
$reqi="INSERT INTO $nomtable SET";
$sep="";
! for ($ichamp=1; $ichamp<$nchamp; $ichamp++)
{
$reqi.="$sep {$snomchamp[$ichamp]}={$svalue[$ichamp]}";
--- 319,323 ----
$reqi="INSERT INTO $nomtable SET";
$sep="";
! for ($ichamp=1; $ichamp<=$nchamp; $ichamp++)
{
$reqi.="$sep {$snomchamp[$ichamp]}={$svalue[$ichamp]}";
***************
*** 1423,1427 ****
<input type=\"hidden\" name=\"saisie\" value=\"1\">
<input type=\"hidden\" name=\"is_ident\" value=\"$is_ident\">
! <input type=\"hidden\" name=\"operation\" value=\"$operation\">
<input type=\"hidden\" name=\"mysql_identifiant_root\"
value=\"$mysql_identifiant_root\">
<input type=\"hidden\" name=\"mysql_motdepasse_root\"
value=\"$mysql_motdepasse_root\">
--- 1423,1427 ----
<input type=\"hidden\" name=\"saisie\" value=\"1\">
<input type=\"hidden\" name=\"is_ident\" value=\"$is_ident\">
! <input type=\"hidden\" name=\"operation\" value=\"$ietape\">
<input type=\"hidden\" name=\"mysql_identifiant_root\"
value=\"$mysql_identifiant_root\">
<input type=\"hidden\" name=\"mysql_motdepasse_root\"
value=\"$mysql_motdepasse_root\">
Index: constantes.inc.php
===================================================================
RCS file: /cvsroot/epnadmin/epnadmin/constantes.inc.php,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -r1.36 -r1.37
*** constantes.inc.php 17 Jul 2003 20:45:47 -0000 1.36
--- constantes.inc.php 18 Jul 2003 17:24:37 -0000 1.37
***************
*** 107,111 ****
// Design
if (! isset($logo))
! $logo = "./images/galago_epnadmin2.png"; // image qui est utilisée dans
entete.inc.php
// Signatures
--- 107,111 ----
// Design
if (! isset($logo))
! $logo = "./images/galago_epnadmin.gif"; // image qui est utilisée dans
entete.inc.php
// Signatures
Index: epnadmin.css
===================================================================
RCS file: /cvsroot/epnadmin/epnadmin/epnadmin.css,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** epnadmin.css 17 Jul 2003 20:45:47 -0000 1.1
--- epnadmin.css 18 Jul 2003 17:24:37 -0000 1.2
***************
*** 7,10 ****
--- 7,11 ----
margin:0;
padding:0;
+ font-size:14px;
}
***************
*** 22,25 ****
--- 23,27 ----
border: 1px #333 solid;
background-color: #F66;
+ font-size: 14px;
}
***************
*** 29,32 ****
--- 31,35 ----
border:0.1em solid #333;
margin:1em;
+ font-size: 14px;
}
***************
*** 103,110 ****
margin:0;
text-align:center;
}
h1 {
! font-size: 24px;
font-weight: bold;
color: #666666;
--- 106,114 ----
margin:0;
text-align:center;
+ background-color:#FFF;
}
h1 {
! font-size: 20px;
font-weight: bold;
color: #666666;
***************
*** 119,129 ****
h2 {
! font-size: 12px;
! color: #FFCC00;
font-weight: bold;
! letter-spacing: 4px
}
! tableau {
background-color:#F96;
}
--- 123,133 ----
h2 {
! font-size: 16px;
! color: #AA9900;
font-weight: bold;
! /*letter-spacing: 4px*/
}
! #tableau {
background-color:#F96;
}
Index: fr.initial.sql
===================================================================
RCS file: /cvsroot/epnadmin/epnadmin/fr.initial.sql,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** fr.initial.sql 17 Jul 2003 20:45:48 -0000 1.1
--- fr.initial.sql 18 Jul 2003 17:24:37 -0000 1.2
***************
*** 30,36 ****
('19', 'fr', 'me délogguer', 'me délogguer', 'index.php?logoff=3', '', 'n',
'n', 'y', 'n', 1, 'any', 'any'),
('19', 'fr', 'me délogguer', 'me délogguer', 'index.php?logoff=1', '', 'n',
'n', 'n', 'y', 1, 'any', 'any'),
! ('2', 'fr', 'accès individuels', 'accès individuels', NULL, '', 'y', 'y',
'y', 'y', 12, 'active', 'active'),
('21', 'fr', 'réservations en cours', 'réservations en cours',
'reservations.php?operation=5', '', 'n', 'y', 'n', 'n', 12, 'see', 'see'),
! ('2', 'fr', 'accès individuels', 'accès individuels', NULL, '', 'y', 'y',
'y', 'y', 3, 'any', 'any'),
('2', 'fr', 'accès individuels', 'accès individuels', NULL, '', 'y', 'y',
'y', 'y', 18, 'see', 'see'),
('22', 'fr', 'réserver un poste', 'réserver un poste', 'table_horaire.php',
'', 'y', 'y', 'y', 'y', 12, 'change', 'change'),
--- 30,36 ----
('19', 'fr', 'me délogguer', 'me délogguer', 'index.php?logoff=3', '', 'n',
'n', 'y', 'n', 1, 'any', 'any'),
('19', 'fr', 'me délogguer', 'me délogguer', 'index.php?logoff=1', '', 'n',
'n', 'n', 'y', 1, 'any', 'any'),
! ('2', 'fr', 'accès individuels', 'accès individuels', NULL, '', 'y', 'y',
'y', 'y', 12, 'see', 'see'),
('21', 'fr', 'réservations en cours', 'réservations en cours',
'reservations.php?operation=5', '', 'n', 'y', 'n', 'n', 12, 'see', 'see'),
! ('2', 'fr', 'accès individuels', 'accès individuels', NULL, '', 'y', 'y',
'y', 'y', 3, 'see', 'see'),
('2', 'fr', 'accès individuels', 'accès individuels', NULL, '', 'y', 'y',
'y', 'y', 18, 'see', 'see'),
('22', 'fr', 'réserver un poste', 'réserver un poste', 'table_horaire.php',
'', 'y', 'y', 'y', 'y', 12, 'change', 'change'),
***************
*** 59,63 ****
('56', 'fr', 'thèmes', 'liste des thèmes possibles pour le classement des
initiations', 'themes.php', NULL, 'n', 'n', 'y', 'y', 19, 'active', 'no'),
('57', 'fr', 'horaires', 'horaires d\'ouverture des salles', 'horaires.php',
NULL, 'n', 'n', 'y', 'y', 8, 'active', 'no'),
! ('6', 'fr', 'prêts', 'gestion des prêts et des emprunts de matériels et
logiciels', NULL, NULL, 'y', 'y', 'y', 'y', 5, 'active', 'no'),
('6', 'fr', 'parc', 'gestion des parcs de matériels et de logiciels',
'materiels.php', NULL, 'y', 'y', 'y', 'y', 4, 'see', 'see'),
('61', 'fr', 'emprunter', 'emprunter du matériel à une autre structure',
'prets.php?operation=2', NULL, 'n', 'n', 'y', 'y', 5, 'active', ''),
--- 59,63 ----
('56', 'fr', 'thèmes', 'liste des thèmes possibles pour le classement des
initiations', 'themes.php', NULL, 'n', 'n', 'y', 'y', 19, 'active', 'no'),
('57', 'fr', 'horaires', 'horaires d\'ouverture des salles', 'horaires.php',
NULL, 'n', 'n', 'y', 'y', 8, 'active', 'no'),
! ('6', 'fr', 'prêts', 'gestion des prêts et des emprunts de matériels et
logiciels', NULL, NULL, 'y', 'y', 'y', 'y', 5, 'see', 'no'),
('6', 'fr', 'parc', 'gestion des parcs de matériels et de logiciels',
'materiels.php', NULL, 'y', 'y', 'y', 'y', 4, 'see', 'see'),
('61', 'fr', 'emprunter', 'emprunter du matériel à une autre structure',
'prets.php?operation=2', NULL, 'n', 'n', 'y', 'y', 5, 'active', ''),
Index: header.inc.php
===================================================================
RCS file: /cvsroot/epnadmin/epnadmin/header.inc.php,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -r1.26 -r1.27
*** header.inc.php 17 Jul 2003 20:45:48 -0000 1.26
--- header.inc.php 18 Jul 2003 17:24:37 -0000 1.27
***************
*** 243,247 ****
case 4 :
$is_ident = "visiteur";
! $id_visiteur=TRUE;
session_register("id_visiteur"); // celle qui regarde
break;
--- 243,247 ----
case 4 :
$is_ident = "visiteur";
! $id_visiteur=TRUE; $id=-4;
session_register("id_visiteur"); // celle qui regarde
break;
Index: menu2.js
===================================================================
RCS file: /cvsroot/epnadmin/epnadmin/menu2.js,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** menu2.js 17 Jul 2003 20:45:48 -0000 1.1
--- menu2.js 18 Jul 2003 17:24:37 -0000 1.2
***************
*** 1,114 ****
! var blnOk=true;
! var decal=10;
! var distance=2;
!
! function Chargement() {
!
! if(document.body.style.backgroundColor!="") { blnOk=false; }
! if(document.body.style.color!="") { blnOk=false; }
! if(document.body.style.marginTop!="") { blnOk=false; }
! if(document.getElementById) {
! with(document.getElementById("texte").style) {
! if(position!="") { blnOk=false; }
! if(top!="") { blnOk=false; }
! if(left!="") { blnOk=false; }
! if(width!="") { blnOk=false; }
! if(height!="") { blnOk=false; }
! if(zIndex!="") { blnOk=false; }
! if(margin!="") { blnOk=false; }
! if(padding!="") { blnOk=false; }
! if(visibility!="") { blnOk=false; }
! }
! }
! else{
! blnOk=false;
! }
!
! if(blnOk) {
! with(document.body.style) {
! //backgroundColor="#FFF";
! //color="#FFF";
! marginLeft="12.2em";
! }
!
! with(document.getElementById("titre").style) {
! backgroundColor=couleurfondtitre;
! //color="#FFF";
! //marginLeft="12.2em";
! }
!
! with(document.getElementById("logo").style) {
! position="absolute";
! top="1em";
! left="1em";
! width="10em";
! margin="0";
! }
!
! with(document.getElementById("access").style) {
! position="absolute";
! top=(decal+(1+nmenu)*2)+"em";
! left="1em";
! width="10em";
! margin="0";
! }
!
! with(document.getElementById("texte").style) {
! margin="0";
! padding="1em";
! //backgroundColor="#FFF";
! //color="#333";
! }
!
! for(i=1;i<=nmenu;i++) {
! with(document.getElementById("menu"+i).style) {
! position="absolute";
! top=decal+(((i-1)*distance)+1)+"em";
! left="1em";
! width="10em";
! height="1.2em";
! textAlign="center";
! margin="0";
! padding="0";
! zIndex="2";
! }
! }
!
! for(i=1;i<=nmenu;i++) {
! with(document.getElementById("ssmenu"+i).style) {
! position="absolute";
! top=decal+(((i-1)*distance)+1)+"em";
! left="11.2em";
! width="12em";
! margin="0";
! padding="0";
! zIndex="3";
! }
! }
!
! //with(document.getElementById("copy").style) {
! //backgroundColor="#333";
! //color="#FFF";
! //}
!
! CacherMenus();
! }
! }
!
! function MontrerMenu(strMenu) {
! if(blnOk) {
! CacherMenus();
!
! document.getElementById(strMenu).style.visibility="visible";
! }
! }
!
! function CacherMenus() {
! if(blnOk) {
! for(i=1;i<=nmenu;i++) {
! with(document.getElementById("ssmenu"+i).style) {
! visibility="hidden";
! }
! }
! }
! }
--- 1,114 ----
! var blnOk=true;
! var decal=12;
! var distance=2;
!
! function Chargement() {
!
! if(document.body.style.backgroundColor!="") { blnOk=false; }
! if(document.body.style.color!="") { blnOk=false; }
! if(document.body.style.marginTop!="") { blnOk=false; }
! if(document.getElementById) {
! with(document.getElementById("texte").style) {
! if(position!="") { blnOk=false; }
! if(top!="") { blnOk=false; }
! if(left!="") { blnOk=false; }
! if(width!="") { blnOk=false; }
! if(height!="") { blnOk=false; }
! if(zIndex!="") { blnOk=false; }
! if(margin!="") { blnOk=false; }
! if(padding!="") { blnOk=false; }
! if(visibility!="") { blnOk=false; }
! }
! }
! else{
! blnOk=false;
! }
!
! if(blnOk) {
! with(document.body.style) {
! //backgroundColor="#FFF";
! //color="#FFF";
! marginLeft="12.2em";
! }
!
! with(document.getElementById("titre").style) {
! backgroundColor=couleurfondtitre;
! //color="#FFF";
! //marginLeft="12.2em";
! }
!
! with(document.getElementById("logo").style) {
! position="absolute";
! top="1em";
! left="1em";
! width="10em";
! margin="0";
! }
!
! with(document.getElementById("access").style) {
! position="absolute";
! top=(decal+(1+nmenu)*2)+"em";
! left="1em";
! width="10em";
! margin="0";
! }
!
! with(document.getElementById("texte").style) {
! margin="0";
! padding="1em";
! //backgroundColor="#FFF";
! //color="#333";
! }
!
! for(i=1;i<=nmenu;i++) {
! with(document.getElementById("menu"+i).style) {
! position="absolute";
! top=decal+(((i-1)*distance)+1)+"em";
! left="1em";
! width="10em";
! height="1.2em";
! textAlign="center";
! margin="0";
! padding="0";
! zIndex="2";
! }
! }
!
! for(i=1;i<=nmenu;i++) {
! with(document.getElementById("ssmenu"+i).style) {
! position="absolute";
! top=decal+(((i-1)*distance)+1)+"em";
! left="11.2em";
! width="12em";
! margin="0";
! padding="0";
! zIndex="3";
! }
! }
!
! //with(document.getElementById("copy").style) {
! //backgroundColor="#333";
! //color="#FFF";
! //}
!
! CacherMenus();
! }
! }
!
! function MontrerMenu(strMenu) {
! if(blnOk) {
! CacherMenus();
!
! document.getElementById(strMenu).style.visibility="visible";
! }
! }
!
! function CacherMenus() {
! if(blnOk) {
! for(i=1;i<=nmenu;i++) {
! with(document.getElementById("ssmenu"+i).style) {
! visibility="hidden";
! }
! }
! }
! }
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Epnadmin-fr] CVS: epnadmin basdepage.inc.php, 1.12, 1.13 config.php, 1.19, 1.20 constantes.inc.php, 1.36, 1.37 epnadmin.css, 1.1, 1.2 fr.initial.sql, 1.1, 1.2 header.inc.php, 1.26, 1.27 menu2.js, 1.1, 1.2,
Loïc Dayot <=
- Prev by Date:
[Epnadmin-fr] CVS: epnadmin animateurs-disponibilites.php, NONE, 1.1 common.initial.sql, NONE, 1.1 epnadmin.css, NONE, 1.1 fr.initial.sql, NONE, 1.1 initial.sql, NONE, 1.1 menu2.js, NONE, 1.1 animateurs-horaires.php, 1.3, 1.4 basdepage.inc.php, 1.11, 1.12 config.php, 1.18, 1.19 configuration.php, 1.15, 1.16 constantes.inc.php, 1.35, 1.36 courriel.php, 1.15, 1.16 entete.inc.php, 1.31, 1.32 fr.lang.inc.php, 1.28, 1.29 header.inc.php, 1.25, 1.26 horaires.php, 1.17, 1.18 index.php, 1.12, 1.13 initiations.php, 1.14, 1.15 inscription_session.php, 1.23, 1.24 localisations.php, 1.8, 1.9 logiciels.php, 1.10, 1.11 materiels.php, 1.13, 1.14 parcours.php, 1.12, 1.13 positionnement.php, 1.11, 1.12 prets.php, 1.12, 1.13 print.php, 1.11, 1.12 questions.php, 1.6, 1.7 reservations.php, 1.18, 1.19 session.php, 1.19, 1.20 siteweb.php, 1.24, 1.25 stats.php, 1.18, 1.19 structure.sql, 1.11, 1.12 table_horaire.php, 1.22, 1.23 table_horaire_session.php, 1.25, 1.26 tarifs.php, 1.3, 1.4 themes.php, 1.7, 1.8 usagers.php, 1.24, 1.25 usages.php, 1.5, 1.6
- Next by Date:
[Epnadmin-fr] CVS: epnadmin/images galago_epnadmin.gif,NONE,1.1
- Previous by thread:
[Epnadmin-fr] CVS: epnadmin animateurs-disponibilites.php, NONE, 1.1 common.initial.sql, NONE, 1.1 epnadmin.css, NONE, 1.1 fr.initial.sql, NONE, 1.1 initial.sql, NONE, 1.1 menu2.js, NONE, 1.1 animateurs-horaires.php, 1.3, 1.4 basdepage.inc.php, 1.11, 1.12 config.php, 1.18, 1.19 configuration.php, 1.15, 1.16 constantes.inc.php, 1.35, 1.36 courriel.php, 1.15, 1.16 entete.inc.php, 1.31, 1.32 fr.lang.inc.php, 1.28, 1.29 header.inc.php, 1.25, 1.26 horaires.php, 1.17, 1.18 index.php, 1.12, 1.13 initiations.php, 1.14, 1.15 inscription_session.php, 1.23, 1.24 localisations.php, 1.8, 1.9 logiciels.php, 1.10, 1.11 materiels.php, 1.13, 1.14 parcours.php, 1.12, 1.13 positionnement.php, 1.11, 1.12 prets.php, 1.12, 1.13 print.php, 1.11, 1.12 questions.php, 1.6, 1.7 reservations.php, 1.18, 1.19 session.php, 1.19, 1.20 siteweb.php, 1.24, 1.25 stats.php, 1.18, 1.19 structure.sql, 1.11, 1.12 table_horaire.php, 1.22, 1.23 table_horaire_session.php, 1.25, 1.26 tarifs.php, 1.3, 1.4 themes.php, 1.7, 1.8 usagers.php, 1.24, 1.25 usages.php, 1.5, 1.6
- Next by thread:
[Epnadmin-fr] CVS: epnadmin/images galago_epnadmin.gif,NONE,1.1
- Index(es):