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.15 2006-10-16 15:49:07 ddelon Exp $
|
22 |
// CVS : $Id: installateur.php,v 1.16 2007-04-20 13:31:42 florian 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 41... |
Line 41... |
41 |
}
|
41 |
}
|
42 |
} Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
42 |
} Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
43 |
//Autres auteurs :
|
43 |
//Autres auteurs :
|
44 |
*@author Aucun
|
44 |
*@author Aucun
|
45 |
*@copyright Tela-Botanica 2000-2004
|
45 |
*@copyright Tela-Botanica 2000-2004
|
46 |
*@version $Revision: 1.15 $ $Date: 2006-10-16 15:49:07 $
|
46 |
*@version $Revision: 1.16 $ $Date: 2007-04-20 13:31:42 $
|
47 |
// +------------------------------------------------------------------------------------------------------+
|
47 |
// +------------------------------------------------------------------------------------------------------+
|
48 |
**/
|
48 |
**/
|
Line 49... |
Line 49... |
49 |
|
49 |
|
50 |
// +------------------------------------------------------------------------------------------------------+
|
50 |
// +------------------------------------------------------------------------------------------------------+
|
Line 81... |
Line 81... |
81 |
// +------------------------------------------------------------------------------------------------------+
|
81 |
// +------------------------------------------------------------------------------------------------------+
|
82 |
// | CORPS du PROGRAMME |
|
82 |
// | CORPS du PROGRAMME |
|
83 |
// +------------------------------------------------------------------------------------------------------+
|
83 |
// +------------------------------------------------------------------------------------------------------+
|
84 |
function afficherContenuCorps()
|
84 |
function afficherContenuCorps()
|
85 |
{
|
85 |
{
|
86 |
// Entêtre XHTML des pages de l'installation de Papyrus
|
86 |
// Entête XHTML des pages de l'installation de Papyrus
|
87 |
$sortie = '';
|
87 |
$sortie = '';
|
88 |
$sortie .= '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"'."\n";
|
88 |
$sortie .= '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"'."\n";
|
89 |
$sortie .= '"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'."\n";
|
89 |
$sortie .= '"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'."\n";
|
90 |
$sortie .= '<html xmlns="http://www.w3.org/1999/xhtml" lang="fr-FR" xml:lang="fr-FR">'."\n";
|
90 |
$sortie .= '<html xmlns="http://www.w3.org/1999/xhtml" lang="fr-FR" xml:lang="fr-FR">'."\n";
|
91 |
$sortie .= ' <head>'."\n";
|
91 |
$sortie .= ' <head>'."\n";
|
Line 110... |
Line 110... |
110 |
'Vous êtes sur le point de <strong>mettre à jour</strong> Papyrus pour la version '.
|
110 |
'Vous êtes sur le point de <strong>mettre à jour</strong> Papyrus pour la version '.
|
111 |
INSTAL_VERSION_NOUVELLE.'.<br />'.
|
111 |
INSTAL_VERSION_NOUVELLE.'.<br />'.
|
112 |
'Veuillez revoir vos informations de configuration ci-dessous.</p><br style="clear:both;">'."\n";
|
112 |
'Veuillez revoir vos informations de configuration ci-dessous.</p><br style="clear:both;">'."\n";
|
113 |
} else {
|
113 |
} else {
|
114 |
$sortie .= '<p class="zone_info">Vous êtes sur le point d\'installer Papyrus '.INSTAL_VERSION_NOUVELLE.'.<br />'.
|
114 |
$sortie .= '<p class="zone_info">Vous êtes sur le point d\'installer Papyrus '.INSTAL_VERSION_NOUVELLE.'.<br />'.
|
115 |
'Veuillez configurer votre Papyrus en remplissant les formulaires étape par étape.</p><br style="clear:both;">'."\n";
|
115 |
'Veuillez configurer votre Papyrus en remplissant les formulaires étape par étape.</p><br style="clear:both;">'."\n";
|
116 |
}
|
116 |
}
|
Line 117... |
Line 117... |
117 |
|
117 |
|
118 |
if(!isset($_GET['installation']) || ($_GET['installation'] == 'form_pref' || $_GET['installation'] == 'verif_pref')) {
|
118 |
if(!isset($_GET['installation']) || ($_GET['installation'] == 'form_pref' || $_GET['installation'] == 'verif_pref')) {
|
119 |
include_once GEN_CHEMIN_APPLICATION.'installateur/instal_preference.inc.php';
|
119 |
include_once GEN_CHEMIN_APPLICATION.'installateur/instal_preference.inc.php';
|
Line 128... |
Line 128... |
128 |
$sortie .= ' <div id="zone_pied">'."\n";
|
128 |
$sortie .= ' <div id="zone_pied">'."\n";
|
129 |
$sortie .= ' <div id="copyright">'."\n";
|
129 |
$sortie .= ' <div id="copyright">'."\n";
|
130 |
$sortie .= ' <a href="http://frenchmozilla.org"><img src="papyrus/applications/installateur/presentations/images/logo-firefox.png" alt="Logo Firefox" /></a> '."\n";
|
130 |
$sortie .= ' <a href="http://frenchmozilla.org"><img src="papyrus/applications/installateur/presentations/images/logo-firefox.png" alt="Logo Firefox" /></a> '."\n";
|
131 |
$sortie .= ' <a href="http://validator.w3.org/check?uri=referer"><img src="papyrus/applications/installateur/presentations/images/logo-xhtml11.png" alt="Logo XHTML" /></a> '."\n";
|
131 |
$sortie .= ' <a href="http://validator.w3.org/check?uri=referer"><img src="papyrus/applications/installateur/presentations/images/logo-xhtml11.png" alt="Logo XHTML" /></a> '."\n";
|
132 |
$sortie .= ' <a href="http://jigsaw.w3.org/css-validator/check/referer"><img src="papyrus/applications/installateur/presentations/images/logo-css.png" alt="Logo CSS" /></a><br />'."\n";
|
132 |
$sortie .= ' <a href="http://jigsaw.w3.org/css-validator/check/referer"><img src="papyrus/applications/installateur/presentations/images/logo-css.png" alt="Logo CSS" /></a><br />'."\n";
|
133 |
$sortie .= ' © <a href="http://www.tela-botanica.org/">Tela Botanica</a> et <a href="http://www.ecole-et-nature.org/">Réseau Ecole et Nature</a> / 2004-2006<br />'."\n";
|
133 |
$sortie .= ' © <a href="http://www.tela-botanica.org/">Tela Botanica</a> et <a href="http://www.ecole-et-nature.org/">Réseau Ecole et Nature</a> / 2004-2006<br />'."\n";
|
134 |
$sortie .= ' Site utilisant <a href="http://outils-reseaux.org/wiki_papyrus">Papyrus, le CMS coopératif</a>'."\n";
|
134 |
$sortie .= ' Site utilisant <a href="http://outils-reseaux.org/wiki_papyrus">Papyrus, le CMS coopératif</a>'."\n";
|
135 |
$sortie .= ' </div>'."\n";
|
135 |
$sortie .= ' </div>'."\n";
|
136 |
$sortie .= ' </div>'."\n";
|
136 |
$sortie .= ' </div>'."\n";
|
137 |
$sortie .= ' </div>'."\n";
|
137 |
$sortie .= ' </div>'."\n";
|
138 |
$sortie .= ' </body>'."\n";
|
138 |
$sortie .= ' </body>'."\n";
|
Line 147... |
Line 147... |
147 |
// +------------------------------------------------------------------------------------------------------+
|
147 |
// +------------------------------------------------------------------------------------------------------+
|
Line 148... |
Line 148... |
148 |
|
148 |
|
149 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
149 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
150 |
*
|
150 |
*
|
- |
|
151 |
* $Log: not supported by cvs2svn $
|
- |
|
152 |
* Revision 1.15 2006/10/16 15:49:07 ddelon
|
- |
|
153 |
* Refactorisation code mulitlinguisme et gestion menu invisibles
|
151 |
* $Log: not supported by cvs2svn $
|
154 |
*
|
152 |
* Revision 1.14 2006/10/09 14:35:50 ddelon
|
155 |
* Revision 1.14 2006/10/09 14:35:50 ddelon
|
153 |
* bug caractere invalide trainant dans fichier
|
156 |
* bug caractere invalide trainant dans fichier
|
154 |
*
|
157 |
*
|
155 |
* Revision 1.13 2006/10/05 15:17:29 florian
|
158 |
* Revision 1.13 2006/10/05 15:17:29 florian
|
Line 188... |
Line 191... |
188 |
*
|
191 |
*
|
189 |
* Revision 1.2 2004/10/15 18:28:59 jpm
|
192 |
* Revision 1.2 2004/10/15 18:28:59 jpm
|
190 |
* Début appli installateur de Papyrus.
|
193 |
* Début appli installateur de Papyrus.
|
191 |
*
|
194 |
*
|
192 |
* Revision 1.1 2004/06/16 14:33:13 jpm
|
195 |
* Revision 1.1 2004/06/16 14:33:13 jpm
|
193 |
* Changement de nom de Génésia en Papyrus.
|
196 |
* Changement de nom de Papyrus en Papyrus.
|
194 |
* Changement de l'arborescence.
|
197 |
* Changement de l'arborescence.
|
195 |
*
|
198 |
*
|
196 |
* Revision 1.6 2004/04/22 08:25:48 jpm
|
199 |
* Revision 1.6 2004/04/22 08:25:48 jpm
|
197 |
* Transformation de $GS_GLOBAL en $_GEN_commun.
|
200 |
* Transformation de $GS_GLOBAL en $_GEN_commun.
|
198 |
*
|
201 |
*
|
199 |
* Revision 1.5 2004/04/08 13:21:05 jpm
|
202 |
* Revision 1.5 2004/04/08 13:21:05 jpm
|
200 |
* Le code pour l'installation uniquement.
|
203 |
* Le code pour l'installation uniquement.
|
201 |
*
|
204 |
*
|
202 |
* Revision 1.4 2004/04/08 12:25:16 jpm
|
205 |
* Revision 1.4 2004/04/08 12:25:16 jpm
|
203 |
* Suppression de tous le code réalisant les vérifications. L'application Installateur ne fera qu'installer Génésia et non vérifier son bon fonctionnement.
|
206 |
* Suppression de tous le code réalisant les vérifications. L'application Installateur ne fera qu'installer Papyrus et non vérifier son bon fonctionnement.
|
204 |
*
|
207 |
*
|
205 |
* Revision 1.3 2004/04/02 16:37:51 jpm
|
208 |
* Revision 1.3 2004/04/02 16:37:51 jpm
|
206 |
* Modification des commentaires.
|
209 |
* Modification des commentaires.
|
207 |
*
|
210 |
*
|
208 |
* Revision 1.2 2004/03/31 16:57:16 jpm
|
211 |
* Revision 1.2 2004/03/31 16:57:16 jpm
|
209 |
* Ajout de la gestion des erreur de base de données, de la connexion à celle-ci et des extenssions php disponibles.
|
212 |
* Ajout de la gestion des erreur de base de données, de la connexion à celle-ci et des extenssions php disponibles.
|
210 |
*
|
213 |
*
|
211 |
* Revision 1.1 2004/03/29 11:00:12 jpm
|
214 |
* Revision 1.1 2004/03/29 11:00:12 jpm
|
212 |
* Transfert d'un morceau de code gérant les erreurs et l'installation mais qui a actuellement aucun effet sur Génésia.
|
215 |
* Transfert d'un morceau de code gérant les erreurs et l'installation mais qui a actuellement aucun effet sur Papyrus.
|
213 |
*
|
216 |
*
|
214 |
*
|
217 |
*
|
215 |
* +-- Fin du code ----------------------------------------------------------------------------------------+
|
218 |
* +-- Fin du code ----------------------------------------------------------------------------------------+
|
216 |
*/
|
219 |
*/
|
217 |
?>
|
220 |
?>
|
218 |
|
221 |
|