<?
/* ----------------------------------------------------------------------------
I N S T A L L A T I O N
- En haut -
PHPMyRing (4.1) dernière modification du fichier [16-06-2003]
---------------------------------------------------------------------------- */
// Version qui est en train d'être installée
$VEC="4.2.0";
if (file_exists("../include/config.php"))
{
include('../include/config.php');
}
require('../include/fonctions.php');
// Nous allons déterminer où nous nous trouvons (dans quel dossier)
// pour l'inclusion de la locale
if (!isset($conf)) {
$conf['dossierwr']=ereg_replace($_SERVER["DOCUMENT_ROOT"],"",$_SERVER["SCRIPT_FILENAME"]);
$dossier=explode("/",$conf['dossierwr']); // [webring,install,index.php]
$conf['dossierwr']=$dossier[1];
}
// Le français est la langue par défaut (et oui ;)
InsertLang('../',"fr_FR");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<? echo _("fr"); ?>">
<head>
<title><? echo _("Installation de PHPMyRing ").$VEC; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=<? echo _('iso-8859-15'); ?>" />
<link rel="StyleSheet" href="../admin/styles.css" type="text/css" />
</head>
<body>
<h1>
- <? echo _("Installation de PHPMyRing version")." ".$VEC; ?> -
</h1>
<hr style="width:200px;" />
<!--- A G A U C H E -->
<div class="gauche">
<?
// S'il s'agit d'une version de développement...
if (ereg("[b,ß,RC]",$VEC))
{
echo "<div class=\"devel\">\n";
echo "<strong>";
echo _("Attention!");
echo " </strong>";
echo _("Il s'agit d'une version de développement destinée aux utilisateurs ayant quelques connaissances en PHP.")." ";
echo _("Une <a href=\"http://lists.sourceforge.net/lists/listinfo/phpmyring-devel\"> liste de discussion</a> est à votre disposition pour vos rapports de bogues.");
echo "</div>";
}
?>
<div class="choixlangue">
<? echo _("Choisissez votre langue pour l'installation"); //choix_langue ?> :
<?// Analyse du fichier /lang/langs
/* if ($fp=fopen("../lang/langs","r"))
{
echo "<select name=\"LANGINS\" onChange=\"document.form_lang.submit();\">\n";
while (($fp) and (!feof($fp)))
{
$row=fgetcsv($fp,200,";");
if (!$row) break;
$lang=$row[0];
$langue=htmlspecialchars($row[1]);
if ($lang==$LANGINS) $selected="selected";
echo " <option value=\"$lang\" $selected>$langue</option>
";
$selected="";
}
echo "</select> ";
fclose($fp);
}
else
{
echo _("Aucune langue installée!"); //aucunelangue
}
*/
menu_lang("../",$lang); ?>
</div>
<div class="imagepmr">
<a href="http://www.microniko.net/phpmyring" title="PHP My Ring <? echo $VEC; ?>">
<img src="../images/logo_petit.png"
style="width:176px; height:62px; border:0;"
alt="PHPMyRing <? echo $VEC; ?>" />
</a>
<a href="http://validator.w3.org/check/referer">
<img style="border:0;width:88px;height:31px;"
src="http://www.w3.org/Icons/valid-xhtml11"
alt="Valid XHTML 1.1!" /></a>
<a href="http://jigsaw.w3.org/css-validator/">
<img style="border:0;width:88px;height:31px"
src="http://jigsaw.w3.org/css-validator/images/vcss"
alt="Valid CSS!" />
</a>
</div>
</div>
<!--- fin A G A U C H E -->