summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5e317f4)
raw | patch | inline | side by side (parent: 5e317f4)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 28 Nov 2008 09:09:19 +0000 (09:09 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 28 Nov 2008 09:09:19 +0000 (09:09 +0000) |
Updated goImap-Service trim spaces from connect uris
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13063 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13063 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/mail/admin/systems/services/imap/class_goImapServer.inc | patch | blob | history | |
gosa-plugins/samba/personal/samba/class_sambaAccount.inc | patch | blob | history |
diff --git a/gosa-plugins/mail/admin/systems/services/imap/class_goImapServer.inc b/gosa-plugins/mail/admin/systems/services/imap/class_goImapServer.inc
index e324d0c83c21e449833ef805977270ef5a758260..7652c26fb64912f179a58a032de0189247988652 100644 (file)
$message = plugin::check();
if(empty($this->goImapName)){
$message[] = msgPool::required(_("Server identifier"));
- }
+ }
+
if(empty($this->goImapConnect)){
$message[] = msgPool::required(_("Connect URL"));
- }elseif(!preg_match('/^\{[^:]+:[0-9]+.*\}$/', $this->goImapConnect)){
+ }elseif(!preg_match('/^\{[^:]+:[0-9]*\/.*\}$/', $this->goImapConnect)){
$message[]= msgPool::invalid(_("Connect URL"),"","","{server-name:port/options}");
}
}
}
}
+ $this->goImapConnect = trim($this->goImapConnect);
+ $this->goImapSieveServer = trim($this->goImapSieveServer);
}
}
diff --git a/gosa-plugins/samba/personal/samba/class_sambaAccount.inc b/gosa-plugins/samba/personal/samba/class_sambaAccount.inc
index e366f9848fc1296e43d19c208b229a815dfa677d..9b32cd88b63512682d0e123de80f841e3cae5637 100644 (file)
$smarty->assign($var."ACL",$this->getacl($var,$SkipWrite));
}
- if(!session::is_set('edit')){
+ if(!session::is_set('edit') && !isset($this->parent)){
$smarty->assign("sambaLogonHoursACL","");
}