Subversion Repositories Applications.papyrus

Rev

Rev 109 | Rev 832 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 109 Rev 458
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: instal_installation.fonct.php,v 1.4 2004-10-25 16:26:56 jpm Exp $
22
// CVS : $Id: instal_installation.fonct.php,v 1.5 2005-09-23 14:20:23 florian Exp $
23
/**
23
/**
24
* Bibliothèque des fonctions de l'application Installateur de Papyrus.
24
* Bibliothèque des fonctions de l'application Installateur de Papyrus.
25
*
25
*
26
* Ce sous-paquetage contient les fonctions de l'application Installateur de Papyrus. Cette application gère 
26
* Ce sous-paquetage contient les fonctions de l'application Installateur de Papyrus. Cette application gère 
27
* l'installation de Papyrus (base de données).
27
* l'installation de Papyrus (base de données).
Line 31... Line 31...
31
//Auteur original :
31
//Auteur original :
32
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
32
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
33
//Autres auteurs :
33
//Autres auteurs :
34
*@author        aucun
34
*@author        aucun
35
*@copyright     Tela-Botanica 2000-2004
35
*@copyright     Tela-Botanica 2000-2004
36
*@version       $Revision: 1.4 $ $Date: 2004-10-25 16:26:56 $
36
*@version       $Revision: 1.5 $ $Date: 2005-09-23 14:20:23 $
37
*/
37
*/
Line 38... Line 38...
38
 
38
 
39
// +------------------------------------------------------------------------------------------------------+
39
// +------------------------------------------------------------------------------------------------------+
40
// |                                           LISTE de FONCTIONS                                         |
40
// |                                           LISTE de FONCTIONS                                         |
Line 71... Line 71...
71
    if ($erreur == 2) {
71
    if ($erreur == 2) {
72
        return 2;
72
        return 2;
73
    }
73
    }
74
    $sortie .= $texte.' ';
74
    $sortie .= $texte.' ';
75
    if ($test) {
75
    if ($test) {
76
        $sortie .= '<span class="ok">OK</span><br />'."\n";
76
        $sortie .= '<span class="ok">&nbsp;OK&nbsp;</span><br />'."\n";
77
        return 0;
77
        return 0;
78
    } else {
78
    } else {
79
        $sortie .= '<span class="failed">ECHEC</span>';
79
        $sortie .= '<span class="failed">&nbsp;ECHEC&nbsp;</span>';
80
        if ($texte_erreur) {
80
        if ($texte_erreur) {
81
            $sortie .= ': '.$texte_erreur;
81
            $sortie .= ' <span class="erreur">'.$texte_erreur.'</span>';
82
        }
82
        }
83
        $sortie .= '<br />'."\n" ;
83
        $sortie .= '<br />'."\n" ;
84
        if ($stop_erreur == 1) {
84
        if ($stop_erreur == 1) {
85
            return 2;
85
            return 2;
86
        } else {
86
        } else {
Line 329... Line 329...
329
    return $content;
329
    return $content;
330
}
330
}
331
/* +--Fin du code ---------------------------------------------------------------------------------------+
331
/* +--Fin du code ---------------------------------------------------------------------------------------+
332
*
332
*
333
* $Log: not supported by cvs2svn $
333
* $Log: not supported by cvs2svn $
-
 
334
* Revision 1.4  2004/10/25 16:26:56  jpm
-
 
335
* Ajout de la gestion des requêtes de type alter et update.
-
 
336
*
334
* Revision 1.3  2004/10/19 16:47:06  jpm
337
* Revision 1.3  2004/10/19 16:47:06  jpm
335
* Modification de la gestion du texte de sortie dans la fonction testerConfig().
338
* Modification de la gestion du texte de sortie dans la fonction testerConfig().
336
*
339
*
337
* Revision 1.2  2004/10/15 18:28:44  jpm
340
* Revision 1.2  2004/10/15 18:28:44  jpm
338
* Ajout de fonction utilisée pour l'installation de Papyrus.
341
* Ajout de fonction utilisée pour l'installation de Papyrus.