summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: da11c2b)
raw | patch | inline | side by side (parent: da11c2b)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 19 Mar 2008 08:29:16 +0000 (08:29 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 19 Mar 2008 08:29:16 +0000 (08:29 +0000) |
-Updated msgPool invalid mailAddress example.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9937 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9937 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/gosa-core/plugins/personal/generic/class_user.inc b/gosa-core/plugins/personal/generic/class_user.inc
index b252f3b29bcec437e42fe25e73cf8bab302940e6..5da067458e0f538b7621361ca8283e7b91ed85e0 100644 (file)
}
}
if (!tests::is_url($this->labeledURI)){
- $message[]= msgPool::invalid(_("Homepage"), "", "", "http://www.example.com/yourname");
+ $message[]= msgPool::invalid(_("Homepage"), "", "", "http://www.your-domain.com/yourname");
}
/* Check phone numbers */
diff --git a/gosa-plugins/addressbook/addons/addressbook/class_addressbook.inc b/gosa-plugins/addressbook/addons/addressbook/class_addressbook.inc
index be2e7125b3535054c98314004fbe8908f18bf70e..4ae4aefd10349bcea93adb8a7617a6f5a1b634ab 100644 (file)
/* Check mail */
if (!tests::is_email($this->mail)){
- $message[] = msgPool::invalid(_("Email"),"","","example@your-domain.com");
+ $message[] = msgPool::invalid(_("Email"),"","","your-domain@your-domain.com");
}
/* Assemble cn/dn */
diff --git a/gosa-plugins/kolab/personal/connectivity/kolab/class_kolabAccount.inc b/gosa-plugins/kolab/personal/connectivity/kolab/class_kolabAccount.inc
index d4b40b2956b3c291bea1c4db91211d36d785fe70..2b103d2f162d0b72bdf87194051e49b820986377 100644 (file)
$valid= FALSE;
if (!tests::is_email($address)){
if (!tests::is_email($address, TRUE)){
- msg_dialog::display(_("Error"), msgPool::invalid(_("Mail address"), "","", "example@your-domain.com"));
+ msg_dialog::display(_("Error"), msgPool::invalid(_("Mail address"), "","", "your-domain@your-domain.com"));
}
} else {
diff --git a/gosa-plugins/mail/personal/mail/class_mailAccount.inc b/gosa-plugins/mail/personal/mail/class_mailAccount.inc
index 63cf3260eb5bb7a35c274737c552de1e7cd93c0e..6a5c47c2fa2162269269f3521d4f256e791076f9 100644 (file)
$valid= TRUE;
} else {
msg_dialog::display(_("Error"),
- msgPool::invalid(_("Mail address"),"","","example@your-domain.com"),
+ msgPool::invalid(_("Mail address"),"","","your-domain@your-domain.com"),
ERROR_DIALOG);
}
}
if ($this->is_template){
if (!(tests::is_email($_POST['alternate_address'], TRUE))){
msg_dialog::display(_("Error"),
- msgPool::invalid(_("Mail address"),"","","example@your-domain.com"),
+ msgPool::invalid(_("Mail address"),"","","your-domain@your-domain.com"),
ERROR_DIALOG);
} else {
}
} else {
msg_dialog::display(_("Error"),
- msgPool::invalid(_("Mail address"),"","","example@your-domain.com"),
+ msgPool::invalid(_("Mail address"),"","","your-domain@your-domain.com"),
ERROR_DIALOG);
}
}
} else {
if (!tests::is_email($this->mail)){
- $message[]= msgPool::invalid(_("Mail address"),"","","example@your-domain.com");
+ $message[]= msgPool::invalid(_("Mail address"),"","","your-domain@your-domain.com");
}
}
$ldap->cd($this->config->current['BASE']);
diff --git a/gosa-plugins/nagios/personal/nagios/class_nagiosAccount.inc b/gosa-plugins/nagios/personal/nagios/class_nagiosAccount.inc
index 9a10451b25a0b8af05ddd8d8d014d217bf69834a..0129427c9cd2e89d859f75d2e4eb830830f6016b 100644 (file)
}
} else {
if (!tests::is_email($this->NagiosMail)){
- $message[]= msgPool::invalid(_("Mail"),"","","example@your-domain.com");
+ $message[]= msgPool::invalid(_("Mail"),"","","your-domain@your-domain.com");
}
}
return($message);