| 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.12 2006-10-05 15:11:17 florian Exp $
|
22 |
// CVS : $Id: installateur.php,v 1.13 2006-10-05 15:17:29 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 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.12 $ $Date: 2006-10-05 15:11:17 $
|
35 |
*@version $Revision: 1.13 $ $Date: 2006-10-05 15:17:29 $
|
| 36 |
// +------------------------------------------------------------------------------------------------------+
|
36 |
// +------------------------------------------------------------------------------------------------------+
|
| 37 |
**/
|
37 |
**/
|
| Line 38... |
Line 38... |
| 38 |
|
38 |
|
| 39 |
// +------------------------------------------------------------------------------------------------------+
|
39 |
// +------------------------------------------------------------------------------------------------------+
|
| Line 92... |
Line 92... |
| 92 |
$sortie .= ' </div>'."\n";
|
92 |
$sortie .= ' </div>'."\n";
|
| 93 |
$sortie .= ' </div>'."\n";
|
93 |
$sortie .= ' </div>'."\n";
|
| 94 |
$sortie .= ' <div id="zone_contenu">'."\n";
|
94 |
$sortie .= ' <div id="zone_contenu">'."\n";
|
| 95 |
// Message situation de l'installation
|
95 |
// Message situation de l'installation
|
| 96 |
if (defined('PAP_VERSION')) {
|
96 |
if (defined('PAP_VERSION')) {
|
| 97 |
$sortie .= '<p>Votre système Papyrus existant a été reconnu comme étant la version '.
|
97 |
$sortie .= '<p class="zone_info">Votre système Papyrus existant a été reconnu comme étant la version '.
|
| 98 |
INSTAL_VERSION_ANCIENNE.'.<br />'.
|
98 |
INSTAL_VERSION_ANCIENNE.'.<br />'.
|
| 99 |
'Vous êtes sur le point de <b>mettre à jour</b> Papyrus pour la version '.
|
99 |
'Vous êtes sur le point de <strong>mettre à jour</strong> Papyrus pour la version '.
|
| 100 |
INSTAL_VERSION_NOUVELLE.'.<br />'.
|
100 |
INSTAL_VERSION_NOUVELLE.'.<br />'.
|
| 101 |
'Veuillez revoir vos informations de configuration ci-dessous.</p>'."\n";
|
101 |
'Veuillez revoir vos informations de configuration ci-dessous.</p><br style="clear:both;">'."\n";
|
| 102 |
} else {
|
102 |
} else {
|
| 103 |
$sortie .= '<p>Vous êtes sur le point d\'installer Papyrus '.INSTAL_VERSION_NOUVELLE.'.<br />'.
|
103 |
$sortie .= '<p class="zone_info">Vous êtes sur le point d\'installer Papyrus '.INSTAL_VERSION_NOUVELLE.'.<br />'.
|
| 104 |
'Veuillez configurer votre Papyrus en remplissant les formulaires étape par étape.</p>'."\n";
|
104 |
'Veuillez configurer votre Papyrus en remplissant les formulaires étape par étape.</p><br style="clear:both;">'."\n";
|
| 105 |
}
|
105 |
}
|
| Line 106... |
Line 106... |
| 106 |
|
106 |
|
| 107 |
if(!isset($_GET['installation']) || ($_GET['installation'] == 'form_pref' || $_GET['installation'] == 'verif_pref')) {
|
107 |
if(!isset($_GET['installation']) || ($_GET['installation'] == 'form_pref' || $_GET['installation'] == 'verif_pref')) {
|
| 108 |
include_once GEN_CHEMIN_APPLICATION.'installateur/instal_preference.inc.php';
|
108 |
include_once GEN_CHEMIN_APPLICATION.'installateur/instal_preference.inc.php';
|
| Line 134... |
Line 134... |
| 134 |
// +------------------------------------------------------------------------------------------------------+
|
134 |
// +------------------------------------------------------------------------------------------------------+
|
| Line 135... |
Line 135... |
| 135 |
|
135 |
|
| 136 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
136 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
| 137 |
*
|
137 |
*
|
| - |
|
138 |
* $Log: not supported by cvs2svn $
|
| - |
|
139 |
* Revision 1.12 2006/10/05 15:11:17 florian
|
| - |
|
140 |
* changement presentation
|
| 138 |
* $Log: not supported by cvs2svn $
|
141 |
*
|
| 139 |
* Revision 1.11 2006/10/05 14:41:53 florian
|
142 |
* Revision 1.11 2006/10/05 14:41:53 florian
|
| 140 |
* changement presentation
|
143 |
* changement presentation
|
| 141 |
*
|
144 |
*
|
| 142 |
* Revision 1.10 2005/09/23 14:20:23 florian
|
145 |
* Revision 1.10 2005/09/23 14:20:23 florian
|