print_r(Env::v('emails_rewrite'));
if (Env::v('emailop') == "ajouter" && Env::has('email')) {
$new_email = Env::v('email');
- if ($new_email == "new@new.new") {
+ if ($new_email == "new@example.org") {
$new_email = Env::v('email_new');
}
$retour = $redirect->add_email($new_email);
$success = true;
if (!is_null($value)) {
$email_stripped = strtolower(trim($value));
- if ((!isvalid_email($email_stripped)) && ($email_stripped) && ($p->values['email_directory'] == "new@new.new")) {
+ if ((!isvalid_email($email_stripped)) && ($email_stripped) && ($p->values['email_directory'] == "new@example.org")) {
$page->assign('email_error', '1');
$page->assign('email_directory_error', $email_stripped);
$page->trigError('Adresse Email invalide');
$this->values['synchro_ax'], S::v('uid'));
}
if ($this->changed['email_directory']) {
- $new_email = ($this->values['email_directory'] == "new@new.new") ?
+ $new_email = ($this->values['email_directory'] == "new@example.org") ?
$this->values['email_directory_new'] : $this->values['email_directory'];
if ($new_email == "") {
$new_email = NULL;
$chk =& $this->$obj;
foreach ($fields as $field) {
if ($field == "email_new") {
- if ($job['email'] == "new@new.new") {
+ if ($job['email'] == "new@example.org") {
$job['email'] = $job[$field];
}
continue;
S::i('uid'));
$i = 0;
foreach ($value as $jobid=>&$job) {
- if ($job['email'] == "new@new.new") {
+ if ($job['email'] == "new@example.org") {
$job['email'] = $job['email_new'];
}
XDB::execute("INSERT INTO entreprises (uid, entrid, entreprise, secteur, ss_secteur,
</optgroup>
{/if}
<optgroup label="Autres choix">
- <option value="new@new.new" {if $error}selected="selected"{/if}>Utiliser une autre adresse email</option>
+ <option value="new@example.org" {if $error}selected="selected"{/if}>Utiliser une autre adresse email</option>
<option value="" {if (($val eq '') && (!$error))}selected="selected"{/if}>{if
$name neq "email"}Ne pas mettre d'adresse email{else} {/if}</option>
</optgroup>
$(function() {
$("select#combobox").change(function() {
$(".new").hide();
- if ($("select#combobox").val() == "new@new.new") {
+ if ($("select#combobox").val() == "new@example.org") {
$(".new").show();
}
}).change();