summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2e20640)
raw | patch | inline | side by side (parent: 2e20640)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 2 Sep 2005 13:23:22 +0000 (13:23 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 2 Sep 2005 13:23:22 +0000 (13:23 +0000) |
plugins/personal/environment/class_environment.inc | patch | blob | history |
diff --git a/plugins/personal/environment/class_environment.inc b/plugins/personal/environment/class_environment.inc
index 4177481b96ac6c0756666db3c74e6565be8c884e..d353665d05179c280473d161745b9f5402b2bb2f 100644 (file)
if(isset($_POST['gotoShareAdd'])){
/* We assign a share to this user, if we don't know where to mount the share */
if((!isset($_POST['gotoShareMountPoint']))||(empty($_POST['gotoShareMountPoint']))||(preg_match("/[\|]/i",$_POST['gotoShareMountPoint']))){
- print_red("You must specify a valid mount point.");
+ print_red(_("You must specify a valid mount point."));
}else{
$a_share = $this->gotoAvailableShares[$_POST['gotoShareSelection']];
$s_mount = $_POST['gotoShareMountPoint'];
$contents = $file['contents'];
$fp = @fopen($path."/".$file['name'],"w");
if(!$fp){
- print_red("Can't save new kiosk profiles, possibly permission denied for folder :",$path);
+ print_red(_("Can't save new kiosk profiles, possibly permission denied for folder")." : ",$path);
}else{
fwrite($fp,$contents,strlen($contents));
}
unset($attr['dn']);
$ldap->modify($attr);
if($ldap->get_error()!="Success"){
- print_red("Printer saving ".$ldap->get_error());
+ print_red(_("Error while writing printer")." : ".$ldap->get_error());
}
}
}
unset($attrs['dn']);
$ldap->modify($attrs);
if($ldap->get_error()!="Success"){
- print_red("Printer saving ".$ldap->get_error());
+ print_red(_("Error while writing printer settings")." : ".$ldap->get_error());
}
}