Code

Updated Personal/* Addressbook
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 19 Mar 2008 08:29:16 +0000 (08:29 +0000)
committercajus <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

gosa-core/plugins/personal/generic/class_user.inc
gosa-plugins/addressbook/addons/addressbook/class_addressbook.inc
gosa-plugins/kolab/personal/connectivity/kolab/class_kolabAccount.inc
gosa-plugins/mail/personal/mail/class_mailAccount.inc
gosa-plugins/nagios/personal/nagios/class_nagiosAccount.inc

index b252f3b29bcec437e42fe25e73cf8bab302940e6..5da067458e0f538b7621361ca8283e7b91ed85e0 100644 (file)
@@ -1167,7 +1167,7 @@ class user extends plugin
       }
     }
     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 */
index be2e7125b3535054c98314004fbe8908f18bf70e..4ae4aefd10349bcea93adb8a7617a6f5a1b634ab 100644 (file)
@@ -707,7 +707,7 @@ class addressbook extends plugin
 
   /* 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 */
index d4b40b2956b3c291bea1c4db91211d36d785fe70..2b103d2f162d0b72bdf87194051e49b820986377 100644 (file)
@@ -162,7 +162,7 @@ class kolabAccount extends plugin
         $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 {
 
index 63cf3260eb5bb7a35c274737c552de1e7cd93c0e..6a5c47c2fa2162269269f3521d4f256e791076f9 100644 (file)
@@ -357,7 +357,7 @@ class mailAccount extends plugin
               $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);
             }
           }
@@ -393,7 +393,7 @@ class mailAccount extends plugin
         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 {
@@ -401,7 +401,7 @@ class mailAccount extends plugin
           }
         } else {
           msg_dialog::display(_("Error"), 
-              msgPool::invalid(_("Mail address"),"","","example@your-domain.com"),
+              msgPool::invalid(_("Mail address"),"","","your-domain@your-domain.com"),
               ERROR_DIALOG);
         }
 
@@ -932,7 +932,7 @@ class mailAccount extends plugin
       }
     } 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']);
index 9a10451b25a0b8af05ddd8d8d014d217bf69834a..0129427c9cd2e89d859f75d2e4eb830830f6016b 100644 (file)
@@ -202,7 +202,7 @@ class nagiosAccount extends plugin
       }
     } 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);