Subversion Repositories Applications.papyrus

Rev

Rev 69 | Rev 79 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 69 Rev 76
Line 17... Line 17...
17
// |                                                                                                      |
17
// |                                                                                                      |
18
// | You should have received a copy of the GNU Lesser General Public                                     |
18
// | You should have received a copy of the GNU Lesser General Public                                     |
19
// | License along with this library; if not, write to the Free Software                                  |
19
// | License along with this library; if not, write to the Free Software                                  |
20
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
20
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
21
// +------------------------------------------------------------------------------------------------------+
21
// +------------------------------------------------------------------------------------------------------+
22
// CVS : $Id: installateur.php,v 1.3 2004-10-18 09:12:09 jpm Exp $
22
// CVS : $Id: installateur.php,v 1.4 2004-10-19 15:59:18 jpm Exp $
23
/**
23
/**
24
* Application Installateur de Papyrus.
24
* Application Installateur de Papyrus.
25
*
25
*
26
* Application permettant de gérer l'installation et les erreurs liés à l'abscence de base de données, 
26
* Application permettant de gérer l'installation et les erreurs liés à l'abscence de base de données, 
27
* d'extenssin PHP...
27
* d'extenssin PHP...
Line 30... Line 30...
30
//Auteur original :
30
//Auteur original :
31
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
31
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
32
//Autres auteurs :
32
//Autres auteurs :
33
*@author        Aucun
33
*@author        Aucun
34
*@copyright     Tela-Botanica 2000-2004
34
*@copyright     Tela-Botanica 2000-2004
35
*@version       $Revision: 1.3 $ $Date: 2004-10-18 09:12:09 $
35
*@version       $Revision: 1.4 $ $Date: 2004-10-19 15:59:18 $
36
// +------------------------------------------------------------------------------------------------------+
36
// +------------------------------------------------------------------------------------------------------+
37
**/
37
**/
Line 38... Line 38...
38
 
38
 
39
// +------------------------------------------------------------------------------------------------------+
39
// +------------------------------------------------------------------------------------------------------+
Line 70... Line 70...
70
$sortie .= '      p, body, td, li, input, select, textarea { font-family: Verdana; font-size: 13px; }';
70
$sortie .= '      p, body, td, li, input, select, textarea { font-family: Verdana; font-size: 13px; }';
71
$sortie .= '      h1 { font-size: 1.8em; text-align: center; color: #880000; }';
71
$sortie .= '      h1 { font-size: 1.8em; text-align: center; color: #880000; }';
72
$sortie .= '      h2 { font-size: 1.2em; text-align: left; color: #880000; }';
72
$sortie .= '      h2 { font-size: 1.2em; text-align: left; color: #880000; }';
73
$sortie .= '      input { color: #880000; }';
73
$sortie .= '      input { color: #880000; }';
74
$sortie .= '      form ul { list-style-type: none; padding : 0px; }';
74
$sortie .= '      form ul { list-style-type: none; padding : 0px; }';
75
$sortie .= '      form ul li { text-align: left; padding-left: 0px; margin-left: 0px; }';
75
$sortie .= '      form ul li { clear:both;text-align: left; padding-left: 0px; margin-left: 0px; }';
76
$sortie .= '      form label { float: left; width: 175px; text-align: left; }';
76
$sortie .= '      form ul li label { float: left; width: 175px; text-align: left; }';
77
$sortie .= '      li { margin: 5px 5px 5px 5px; }';
77
$sortie .= '      li { margin: 5px 5px 5px 5px; }';
78
$sortie .= '      a { color: #0000FF; }';
78
$sortie .= '      a { color: #0000FF; }';
79
$sortie .= '      .ok { color: #008800; font-weight: bold; }';
79
$sortie .= '      .ok { color: #008800; font-weight: bold; }';
80
$sortie .= '      .failed { color: #880000; font-weight: bold; }';
80
$sortie .= '      .failed { color: #880000; font-weight: bold; }';
-
 
81
$sortie .= '      .erreur { color: red; font-weight: bold;}';
-
 
82
$sortie .= '      .zone_requete { height: 300px; width: 550px; overflow: auto;}';
81
$sortie .= '    </style>';
83
$sortie .= '    </style>';
82
$sortie .= '  </head>';
84
$sortie .= '  </head>';
83
$sortie .= '  <body>';
85
$sortie .= '  <body>';
Line 84... Line 86...
84
 
86
 
85
// +------------------------------------------------------------------------------------------------------+
87
// +------------------------------------------------------------------------------------------------------+
86
// |                                          CORPS du PROGRAMME                                          |
88
// |                                          CORPS du PROGRAMME                                          |
87
// +------------------------------------------------------------------------------------------------------+
89
// +------------------------------------------------------------------------------------------------------+
88
if(!isset($_GET['installation'])) {
90
if(!isset($_GET['installation'])) {
-
 
91
    include_once GEN_CHEMIN_APPLICATION.'installateur/instal_defaut.inc.php';
-
 
92
} else if($_GET['installation'] == 'verif') {
89
    include_once GEN_CHEMIN_APPLICATION.'installateur/instal_defaut.inc.php';
93
    include_once GEN_CHEMIN_APPLICATION.'installateur/instal_verification.inc.php';
90
} else if($_GET['installation'] == 'bdd') {
94
} else if($_GET['installation'] == 'bdd') {
91
    include_once GEN_CHEMIN_APPLICATION.'installateur/instal_base_de_donnees.inc.php';
95
    include_once GEN_CHEMIN_APPLICATION.'installateur/instal_base_de_donnees.inc.php';
92
} else if($_GET['installation'] == 'config') {
96
} else if($_GET['installation'] == 'config') {
93
    include_once GEN_CHEMIN_APPLICATION.'installateur/instal_fichier.inc.php';
97
    include_once GEN_CHEMIN_APPLICATION.'installateur/instal_fichier.inc.php';
Line 104... Line 108...
104
$GLOBALS['_GEN_commun']['sortie'] = $sortie;
108
$GLOBALS['_GEN_commun']['sortie'] = $sortie;
Line 105... Line 109...
105
 
109
 
106
/* +--Fin du code ----------------------------------------------------------------------------------------+
110
/* +--Fin du code ----------------------------------------------------------------------------------------+
107
*
111
*
-
 
112
* $Log: not supported by cvs2svn $
-
 
113
* Revision 1.3  2004/10/18 09:12:09  jpm
-
 
114
* Changement de nom d'un fichier.
108
* $Log: not supported by cvs2svn $
115
*
109
* Revision 1.2  2004/10/15 18:28:59  jpm
116
* Revision 1.2  2004/10/15 18:28:59  jpm
110
* Début appli installateur de Papyrus.
117
* Début appli installateur de Papyrus.
111
*
118
*
112
* Revision 1.1  2004/06/16 14:33:13  jpm
119
* Revision 1.1  2004/06/16 14:33:13  jpm