summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2575026)
raw | patch | inline | side by side (parent: 2575026)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 20 Sep 2007 12:12:04 +0000 (12:12 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 20 Sep 2007 12:12:04 +0000 (12:12 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7353 594d385d-05f5-0310-b6e9-bd551577e9d8
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 efd8521eb9b20ed5f4c2bd5fc6c96af07fd70722..4f7fc078dbba839b96f5328f9fc5435ff7b74d3f 100644 (file)
$this->kioskProfileList = array_reverse($list);
unset($this->dialog);
- $this->dialog=NULL;
$this->is_dialog = false;
}
* This entry will be, a combination of mountPoint and sharedefinitions
*/
if(isset($_POST['gotoShareAdd']) && $this->acl_is_writeable("gotoShare")){
+
/* 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']))){
+ if(!isset($_POST['gotoShareSelection']) || get_post('gotoShareSelection') == ""){
+ print_red(_("You must select a valid share."));
+ }elseif((!isset($_POST['gotoShareMountPoint']))||(empty($_POST['gotoShareMountPoint']))||(preg_match("/[\|]/i",$_POST['gotoShareMountPoint']))){
print_red(_("You must specify a valid mount point."));
}elseif(preg_match('/ /', $_POST['gotoShareMountPoint'])){
print_red(_("Spaces are not allowed in the mount path!"));