Code

Updated mailAddress example in mailAccount
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 14 Jan 2011 14:48:28 +0000 (14:48 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 14 Jan 2011 14:48:28 +0000 (14:48 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20593 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/mail/personal/mail/class_mailAccount.inc

index 2711a2b660b4c588dafa2a485eadb2cac96cab1f..bbb0021dd347037113b74ca85a647b25a7bdd433 100644 (file)
@@ -1029,7 +1029,7 @@ class mailAccount extends plugin
       }
       if ($this->is_template){
         if (!tests::is_email($mail, TRUE)){
-          $message[]= msgPool::invalid(_("Mail address"),"","","%givenName.%sn@your-domain.com");
+          $message[]= msgPool::invalid(_("Mail address"),"","","{%givenName}.{%sn}@your-domain.com");
         }
       } else {
         if (!tests::is_email($mail)){