Subversion Repositories Sites.tela-botanica.org

Rev

Rev 4 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4 Rev 181
Line 147... Line 147...
147
}
147
}
Line 148... Line 148...
148
 
148
 
149
 
149
 
150
function carto_formulaire ($titre_mail="", $corps = "") {
150
function carto_formulaire ($titre_mail="", $corps = "") {
-
 
151
    global $HTTP_USER_AGENT ;
-
 
152
    $res = "<h2 class=\"chapo\">".ANN_ENVOYER_MAIL."</h2>\n";
151
    global $HTTP_USER_AGENT ;
153
    $res .= '<p class="attention surveillance">'.ANN_SURVEILLANCE.'</p>' ;
152
    $res .= "<div class=\"chapo\">".ANN_ENVOYER_MAIL."</div>\n";
154
    $res .= '<p class="information message_a_tous">'.sprintf(ANN_MESSAGE_A_TOUS, '<a href="'.ANN_URL_ACTUALITE.'">'.ANN_ACTUALITE.'</a>').'</p>' ;
153
    $res .= "<div>\n<table border=\"0\">\n"
155
    $res .= '<table>'."\n"
154
            .'<tr><td class="texte">'.ANN_SUJET.' :</td>'."\n"
156
            .'<tr><td class="texte">'.ANN_SUJET.' :</td>'."\n"
155
            .'<td><input class="forml" type="text" name="titre_mail" size="60" value="'.$GLOBALS['titre_mail'].'"></td>'."\n"
157
            .'<td><input class="forml" type="text" name="titre_mail" size="60" value="'.$GLOBALS['titre_mail'].'"></td>'."\n"
156
            .'</tr><tr><td class="texte" valign="top">'.ANN_MESSAGE.'&nbsp;:&nbsp;</td>'."\n"
158
            .'</tr><tr><td class="texte" valign="top">'.ANN_MESSAGE.'&nbsp;:&nbsp;</td>'."\n"
157
            .'<td><textarea class="forml" name="corps" rows="5" cols="60">'.$GLOBALS['corps'].'</textarea></td>'."\n"
159
            .'<td><textarea class="forml" name="corps" rows="5" cols="60">'.$GLOBALS['corps'].'</textarea></td>'."\n"
158
            .'</tr><tr><td></td><td align="center">';
160
            .'</tr><tr><td></td><td align="center">';
159
    if (ereg ("Gecko",$HTTP_USER_AGENT)) {
161
    if (ereg ("Gecko",$HTTP_USER_AGENT)) {
160
        $res.='<input class="spip_bouton" type="submit" value="'.ANN_ENVOYER.'">';
162
        $res.='<input class="spip_bouton" type="submit" value="'.ANN_ENVOYER.'" />';
161
    } else {
163
    } else {
162
        $res.='<input class="spip_bouton" type="submit" onclick="javascript:confirmer();" value="'.ANN_ENVOYER.'">';
164
        $res.='<input class="spip_bouton" type="submit" onclick="javascript:confirmer();" value="'.ANN_ENVOYER.'" />';
163
    }
165
    }
164
    $res.="</td>\n</tr>\n</table>\n</div></form>\n";
166
    $res.="</td>\n</tr>\n</table>\n</form>\n";
Line 165... Line 167...
165
    return $res ;
167
    return $res ;