Subversion Repositories Applications.papyrus

Compare Revisions

Ignore whitespace Rev 78 → Rev 79

/trunk/papyrus/applications/installateur/installateur.php
19,7 → 19,7
// | License along with this library; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: installateur.php,v 1.4 2004-10-19 15:59:18 jpm Exp $
// CVS : $Id: installateur.php,v 1.5 2004-10-19 16:47:28 jpm Exp $
/**
* Application Installateur de Papyrus.
*
32,7 → 32,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.4 $ $Date: 2004-10-19 15:59:18 $
*@version $Revision: 1.5 $ $Date: 2004-10-19 16:47:28 $
// +------------------------------------------------------------------------------------------------------+
**/
 
60,56 → 60,63
 
// Fichiers à inclure
require_once INSTAL_DOSSIER_BIBLIO.'instal_installation.fonct.php';
 
// Entêtre XHTML des pages de l'installation de Papyrus
$sortie = '';
$sortie .= '<html>';
$sortie .= ' <head>';
$sortie .= ' <title>Installation de Papyrus</title>';
$sortie .= ' <style>';
$sortie .= ' p, body, td, li, input, select, textarea { font-family: Verdana; font-size: 13px; }';
$sortie .= ' h1 { font-size: 1.8em; text-align: center; color: #880000; }';
$sortie .= ' h2 { font-size: 1.2em; text-align: left; color: #880000; }';
$sortie .= ' input { color: #880000; }';
$sortie .= ' form ul { list-style-type: none; padding : 0px; }';
$sortie .= ' form ul li { clear:both;text-align: left; padding-left: 0px; margin-left: 0px; }';
$sortie .= ' form ul li label { float: left; width: 175px; text-align: left; }';
$sortie .= ' li { margin: 5px 5px 5px 5px; }';
$sortie .= ' a { color: #0000FF; }';
$sortie .= ' .ok { color: #008800; font-weight: bold; }';
$sortie .= ' .failed { color: #880000; font-weight: bold; }';
$sortie .= ' .erreur { color: red; font-weight: bold;}';
$sortie .= ' .zone_requete { height: 300px; width: 550px; overflow: auto;}';
$sortie .= ' </style>';
$sortie .= ' </head>';
$sortie .= ' <body>';
 
// +------------------------------------------------------------------------------------------------------+
// | CORPS du PROGRAMME |
// +------------------------------------------------------------------------------------------------------+
if(!isset($_GET['installation'])) {
include_once GEN_CHEMIN_APPLICATION.'installateur/instal_defaut.inc.php';
} else if($_GET['installation'] == 'verif') {
include_once GEN_CHEMIN_APPLICATION.'installateur/instal_verification.inc.php';
} else if($_GET['installation'] == 'bdd') {
include_once GEN_CHEMIN_APPLICATION.'installateur/instal_base_de_donnees.inc.php';
} else if($_GET['installation'] == 'config') {
include_once GEN_CHEMIN_APPLICATION.'installateur/instal_fichier.inc.php';
function afficherContenuCorps()
{
// Entêtre XHTML des pages de l'installation de Papyrus
$sortie = '';
$sortie .= '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"'."\n";
$sortie .= '"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'."\n";
$sortie .= '<html xmlns="http://www.w3.org/1999/xhtml" lang="fr-FR" xml:lang="fr-FR">'."\n";
$sortie .= ' <head>'."\n";
$sortie .= ' <title>Installation de Papyrus</title>'."\n";
$sortie .= ' <style type="text/javascript">'."\n";
$sortie .= ' p, body, td, li, input, select, textarea { font-family: Verdana; font-size: 13px; }'."\n";
$sortie .= ' h1 { font-size: 1.8em; text-align: center; color: #880000; }'."\n";
$sortie .= ' h2 { font-size: 1.2em; text-align: left; color: #880000; }'."\n";
$sortie .= ' input { color: #880000; }'."\n";
$sortie .= ' form ul { list-style-type: none; padding : 0px; }'."\n";
$sortie .= ' form ul li { clear:both;text-align: left; padding-left: 0px; margin-left: 0px; }'."\n";
$sortie .= ' form ul li label { float: left; width: 175px; text-align: left; }'."\n";
$sortie .= ' li { margin: 5px 5px 5px 5px; }'."\n";
$sortie .= ' a { color: #0000FF; }'."\n";
$sortie .= ' .ok { color: #008800; font-weight: bold; }'."\n";
$sortie .= ' .failed { color: #880000; font-weight: bold; }'."\n";
$sortie .= ' .erreur { color: red; font-weight: bold;}'."\n";
$sortie .= ' .zone_requete { height: 300px; width: 550px; overflow: auto;}'."\n";
$sortie .= ' </style>'."\n";
$sortie .= ' </head>'."\n";
$sortie .= ' <body>'."\n";
if(!isset($_GET['installation'])) {
include_once GEN_CHEMIN_APPLICATION.'installateur/instal_defaut.inc.php';
} else if($_GET['installation'] == 'verif') {
include_once GEN_CHEMIN_APPLICATION.'installateur/instal_verification.inc.php';
} else if($_GET['installation'] == 'bdd') {
include_once GEN_CHEMIN_APPLICATION.'installateur/instal_base_de_donnees.inc.php';
} else if($_GET['installation'] == 'config') {
include_once GEN_CHEMIN_APPLICATION.'installateur/instal_fichier.inc.php';
}
// Pied XHTML des pages de l'installation de Papyrus
$sortie .= ' </body>'."\n";
$sortie .= '</html>';
return $sortie;
}
 
// +------------------------------------------------------------------------------------------------------+
// | PIED du PROGRAMME |
// +------------------------------------------------------------------------------------------------------+
// Pied XHTML des pages de l'installation de Papyrus
$sortie .= ' </body>';
$sortie .= '</html>';
 
// Attribution à la variable globale de sortie de Papyrus du texte XHTML de l'installation
$GLOBALS['_GEN_commun']['sortie'] = $sortie;
 
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.4 2004/10/19 15:59:18 jpm
* Ajout de la gestion des valeurs propre à Papyrus à insérer dans la base de données.
* Ajout des constantes FTP.
*
* Revision 1.3 2004/10/18 09:12:09 jpm
* Changement de nom d'un fichier.
*