149,8 → 149,10 |
|
function carto_formulaire ($titre_mail="", $corps = "") { |
global $HTTP_USER_AGENT ; |
$res .= "<div class=\"chapo\">".ANN_ENVOYER_MAIL."</div>\n"; |
$res .= "<div>\n<table border=\"0\">\n" |
$res = "<h2 class=\"chapo\">".ANN_ENVOYER_MAIL."</h2>\n"; |
$res .= '<p class="attention surveillance">'.ANN_SURVEILLANCE.'</p>' ; |
$res .= '<p class="information message_a_tous">'.sprintf(ANN_MESSAGE_A_TOUS, '<a href="'.ANN_URL_ACTUALITE.'">'.ANN_ACTUALITE.'</a>').'</p>' ; |
$res .= '<table>'."\n" |
.'<tr><td class="texte">'.ANN_SUJET.' :</td>'."\n" |
.'<td><input class="forml" type="text" name="titre_mail" size="60" value="'.$GLOBALS['titre_mail'].'"></td>'."\n" |
.'</tr><tr><td class="texte" valign="top">'.ANN_MESSAGE.' : </td>'."\n" |
157,11 → 159,11 |
.'<td><textarea class="forml" name="corps" rows="5" cols="60">'.$GLOBALS['corps'].'</textarea></td>'."\n" |
.'</tr><tr><td></td><td align="center">'; |
if (ereg ("Gecko",$HTTP_USER_AGENT)) { |
$res.='<input class="spip_bouton" type="submit" value="'.ANN_ENVOYER.'">'; |
$res.='<input class="spip_bouton" type="submit" value="'.ANN_ENVOYER.'" />'; |
} else { |
$res.='<input class="spip_bouton" type="submit" onclick="javascript:confirmer();" value="'.ANN_ENVOYER.'">'; |
$res.='<input class="spip_bouton" type="submit" onclick="javascript:confirmer();" value="'.ANN_ENVOYER.'" />'; |
} |
$res.="</td>\n</tr>\n</table>\n</div></form>\n"; |
$res.="</td>\n</tr>\n</table>\n</form>\n"; |
return $res ; |
} |
|