Désactivation de l'option d'envoie de mail dans la page de contact, on

ne conserve que l'enregsitrement dans un fichier.
This commit is contained in:
Yoann Bonavero 2011-02-24 10:51:28 +01:00
parent a9b8803b65
commit 5fb2eccef6
3 changed files with 24 additions and 15 deletions

View File

@ -32,13 +32,15 @@ if(isset($_POST['email']) && isset($_POST['subject']) && isset($_POST['message']
writemail($mailfile,$from,$subject,$message);
if(mail($dest,$subject,$message,$header))
/*if(mail($dest,$subject,$message,$header))
{
$notif = "Votre email à été envoyé";
$displayForm = false;
}
else
$notif = "Une erreur s'est produite lors de l'envoi du message";
$notif = "Une erreur s'est produite lors de l'envoi du message";*/
$notif = "Votre email à été envoyé";
}
else
$notif = "Veuillez remplir tout les champs";

View File

@ -20,7 +20,7 @@ if(!isset($_SESSION['userId']))
<?php include("ressources/menu.html"); ?>
</div>
<div class="content">
<a href="ressources/pticlic.apk" id="downloadlink">Télécharger</a>
<span class="downloadarea"><a href="ressources/pticlic.apk" id="downloadlink">Télécharger</a></span>
<h2>Installation de l'application</h2>
<h3> A partir de votre téléphone </h3>
<ul>

View File

@ -1,6 +1,7 @@
.menu {
border-bottom : 1px solid grey;
background-color : #FFFFE0;
margin : 0px;
}
.menu #links {
@ -34,8 +35,8 @@
min-height : 80px;
margin: 0;
padding: 1em;
padding-top: 4em;
padding-bottom : 4em;
padding-top: 1.2em;
padding-bottom : 1.2em;
}
.content p {
@ -145,21 +146,27 @@ h2#tache-description {
}
#downloadlink {
border: medium solid blue;
border-radius: 1em;
-moz-border-radius: 1em;
-webkit-border-radius: 1em;
padding: 1em;
background-color: #8888ff;
margin: 2em;
color : black;
text-decoration : none;
font-size : 16pt;
background-color: #8888ff;
border: medium solid blue;
border-radius: 1em;
-moz-border-radius: 1em;
-webkit-border-radius: 1em;
padding: 0.5em;
padding-left : 2em;
padding-right : 2em;
}
#downloadlink:hover {
background-color: red;
background-color: red;
}
#downloadp {
text-align: center;
.downloadarea {
display : block;
margin : 3em;
margin-top : 2em;
}
#cnx {