index bc8936b37e213b6fcf39e5f22e767be0ec88f527..ba01e0cf3aaa0bbe50a4a26b2d617e99b4afca3a 100644 (file)
/* Is given name in lower case characters ? */
if($name != strtolower($name)){
$err =true;
/* Is given name in lower case characters ? */
if($name != strtolower($name)){
$err =true;
- print_red(_("Only lower case names are allowed here."));
+ print_red(_("Only lower case names are allowed."));
}
/* Only chars are allowed here */
if(preg_match("/[^a-z]/i",$name)){
$err =true;
}
/* Only chars are allowed here */
if(preg_match("/[^a-z]/i",$name)){
$err =true;
- print_red(_("Only a-z are allowed in script names."));
+ print_red(_("Only alphabetical characters are allowed in script names."));
}
$tmp = $this->get_used_script_names();
}
$tmp = $this->get_used_script_names();
$file = $_FILES['Script_To_Import'];
if($file['size'] == 0){
$file = $_FILES['Script_To_Import'];
if($file['size'] == 0){
- print_red(_("Specified file seams to empty."));
+ print_red(_("Specified file seems to be empty."));
}elseif(!file_exists($file['tmp_name'])){
print_red(_("Upload failed, somehow nothing was uploaded or the temporary file can't be accessed."));
}elseif(!is_readable ($file['tmp_name'])){
}elseif(!file_exists($file['tmp_name'])){
print_red(_("Upload failed, somehow nothing was uploaded or the temporary file can't be accessed."));
}elseif(!is_readable ($file['tmp_name'])){
if(!$else_found && (!(get_class($obj) == "sieve_if" && $elsif_found))){
$element_types['sieve_else'] = _("Else");
}
if(!$else_found && (!(get_class($obj) == "sieve_if" && $elsif_found))){
$element_types['sieve_else'] = _("Else");
}
- $element_types['sieve_elsif'] = _("Else if");
+ $element_types['sieve_elsif'] = _("Else If");
}
}
}
}
}
}
"attach" => "style='border-right:0px; width:70px;'");
$List->AddEntry(array($field1,$field2,$field3,$field4,$field6));
}
"attach" => "style='border-right:0px; width:70px;'");
$List->AddEntry(array($field1,$field2,$field3,$field4,$field6));
}
+
+ $List->SetHeight(400);
/* If the uattrib is empty (Attribute to use for authentification with sieve)
* Display a message that the connection can't be established.
/* If the uattrib is empty (Attribute to use for authentification with sieve)
* Display a message that the connection can't be established.
if(!$else_found && (!(get_class($obj) == "sieve_if" && $elsif_found))){
$element_types['sieve_else'] = _("Else");
}
if(!$else_found && (!(get_class($obj) == "sieve_if" && $elsif_found))){
$element_types['sieve_else'] = _("Else");
}
- $element_types['sieve_elsif'] = _("Else if");
+ $element_types['sieve_elsif'] = _("Else If");
}else{
/* Allow adding elsif above elsif */
if(in_array(get_class($obj),array("sieve_elsif"))){
}else{
/* Allow adding elsif above elsif */
if(in_array(get_class($obj),array("sieve_elsif"))){
- $element_types['sieve_elsif'] = _("Else if");
+ $element_types['sieve_elsif'] = _("Else If");
}
}
}
}
}
}