summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 48ee565)
raw | patch | inline | side by side (parent: 48ee565)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 2 Oct 2009 09:33:07 +0000 (09:33 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 2 Oct 2009 09:33:07 +0000 (09:33 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14470 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/opsi/admin/opsiLicenses/class_licenseGeneric.inc | patch | blob | history |
diff --git a/gosa-plugins/opsi/admin/opsiLicenses/class_licenseGeneric.inc b/gosa-plugins/opsi/admin/opsiLicenses/class_licenseGeneric.inc
index 5b8d122625433e476d2735314ee30cc820518e66..21f5a3f8d08e43ad04323d3db5d16de44588c8b1 100644 (file)
// Very simple date input checks
if(!empty($this->expirationDate) &&
!preg_match("/^[0-9]{2}\.[0-9]{2}\.[0-9]{4}$/",$this->expirationDate)){
- $message[] = msgPool::invalid(_("Expiration date"),$this->expirationDate,"","2009-02-23");
+ $message[] = msgPool::invalid(_("Expiration date"),$this->expirationDate,"","23.02.2009");
}
if(!empty($this->conclusionDate) &&
!preg_match("/^[0-9]{2}\.[0-9]{2}\.[0-9]{4}$/",$this->conclusionDate)){
- $message[] = msgPool::invalid(_("Expiration date"),$this->conclusionDate,"","2009-02-23");
+ $message[] = msgPool::invalid(_("Expiration date"),$this->conclusionDate,"","23.02.2009");
}
if(!empty($this->notificationDate) &&
!preg_match("/^[0-9]{2}\.[0-9]{2}\.[0-9]{4}$/",$this->notificationDate)){
- $message[] = msgPool::invalid(_("Expiration date"),$this->notificationDate,"","2009-02-23");
+ $message[] = msgPool::invalid(_("Expiration date"),$this->notificationDate,"","23.02.2009");
}
if(empty($this->cn)){