* Emails :
- #229: Possibility to show our melix address. -Car
+ * Events :
+ - #238: Links and Mailto are now active. -Car
+
* Marketing :
- #256: Mail are now correctly sent. -MC
$page->assign('action', strtolower($action));
if ($action=="Confirmer") {
+ $texte = preg_replace( "/((http|ftp)+(s)?:\/\/[^<>\s]+)/i", "<a href=\"\\0\">\\0</a>", $texte );
+ $texte = preg_replace( "/([^,\s]+@[^,\s]+)/i", "<a href=\"mailto:\\0\">\\0</a>", $texte );
require_once("validations.inc.php");
$evtreq = new evtreq($titre, $texte, $promo_min, $promo_max,
$peremption, $validation_message, Session::getInt('uid'));