From: hickert Date: Tue, 21 Jun 2005 09:32:03 +0000 (+0000) Subject: updated X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5aff284dd45a35e1485717806a3d385c63da9444;p=gosa.git updated git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@777 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/gofon/macro/class_gofonMacro.inc b/plugins/gofon/macro/class_gofonMacro.inc index 01024676f..30bfc156d 100755 --- a/plugins/gofon/macro/class_gofonMacro.inc +++ b/plugins/gofon/macro/class_gofonMacro.inc @@ -127,6 +127,11 @@ class macro extends plugin if(($this->cn != strtolower($this->cn))||(empty($this->cn))){ $message[] = "The attribute 'cn' must be lowercase and a least one char."; } + + if(count(split("\n",$this->goFonMacroContent))>100){ + $message[] = _("Makro length must be lower than 100 lines"); + } + return $message; }