diff --git a/plugins/personal/environment/class_logonManagementDialog.inc b/plugins/personal/environment/class_logonManagementDialog.inc
index b2bdea79c99055ff37688bf3dda2201e3f084af7..c5ac543c8ae32493ecc89a678f3523654b476521 100644 (file)
function execute()
{
+ /* Call parent execute */
+ plugin::execute();
+
$smarty= get_smarty();
$display= "";
}else{
$smarty->assign("LogonNameACL","");
}
+
$display.= $smarty->fetch(get_template_path('logonManagement.tpl', TRUE,dirname(__FILE__)));
return($display);
}
}
+ function check()
+ {
+ $message = array();
+
+ if(preg_match("/[^a-z]/",$this->LogonName)){
+ $message[] = _("Specified name is invalid.");
+ }
+
+ if(preg_match("/[^a-z0-9,\.-;:_\(\)!\? ]/i",$this->LogonDescription)){
+ $message[] = _("Specified description contains invalid characters.");
+ }
+
+ return $message;
+ }
+
+
function save()
{
$a_return= array();