summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 98a77c3)
raw | patch | inline | side by side (parent: 98a77c3)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 11 Mar 2008 07:29:26 +0000 (07:29 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 11 Mar 2008 07:29:26 +0000 (07:29 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9648 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/mail/admin/groups/mail/class_groupMail.inc | patch | blob | history |
diff --git a/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc b/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc
index 2b95184f68644ee85bbce67576d55dc324d87de2..95264b36013c75df6658c8b0d5c81d85952a4ae7 100644 (file)
/* Do we represent a valid account? */
if (!$this->is_account && $this->parent === NULL){
- $display.= "<img alt=\"\" src=\"images/stop.png\" align=middle> <b>".
- _("This 'dn' has no valid mail extensions.")."</b>";
+ $display.= "<img alt=\"\" src=\"images/stop.png\" align=middle> <b>".msgPool::noValidExtension(_("mail"))."</b>";
return ($display);
}
if ($this->parent !== NULL){
if ($this->is_account){
$display.= $this->show_disable_header(_("Remove mail account"),
- _("This account has mail features enabled. You can disable them by clicking below."));
+ msgPool::featuresEnabled(_("mail"));
} else {
$display.= $this->show_enable_header(_("Create mail account"),
- _("This account has mail features disabled. You can enable them by clicking below."));
+ msgPool::featuresDisabled(_("mail"));
/* Show checkbox that allows us to remove imap entry too*/
if($this->initially_was_account){
$address= $_POST['forward_address'];
if (!tests::is_email($address)){
- print_red (_("You're trying to add an invalid email address ".
- "to the list of forwarders."));
+ print_red (msgPool::invalid(_("forward address")));
} elseif ($address == $this->mail
|| in_array($address, $this->gosaMailAlternateAddress)) {
if ($_POST['alternate_address'] != "" && $this->acl_is_writeable("gosaMailAlternateAddress")){
if (!tests::is_email($_POST['alternate_address'])){
- print_red (_("You're trying to add an invalid email address to the list of alternate addresses."));
+ print_red (msgPool::invalid(_("alternate address")));
} elseif (($user= $this->addAlternate ($_POST['alternate_address'])) != ""){
$ui= get_userinfo();
if ($user != $ui->username){
- print_red (_("The address you're trying to add is already used by user")." '$user'.");
+ print_red (msgPool::duplicated(_("mail address")));
}
}
}