From: hickert Date: Fri, 17 Mar 2006 07:18:00 +0000 (+0000) Subject: Some changes for gotoShares .. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=34ff70ab02341a3958673c9757272a77d4d2a14f;p=gosa.git Some changes for gotoShares .. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2854 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/environment/class_environment.inc b/plugins/personal/environment/class_environment.inc index 60c127a49..3b6bea7e8 100644 --- a/plugins/personal/environment/class_environment.inc +++ b/plugins/personal/environment/class_environment.inc @@ -512,7 +512,8 @@ class environment extends plugin preg_match("/^\$HOME/",$_POST['gotoShareMountPoint']) || preg_match("/^.HOME/",$_POST['gotoShareMountPoint']) || preg_match("/^\$USER/",$_POST['gotoShareMountPoint']) || - preg_match("/^.USER/",$_POST['gotoShareMountPoint']) + preg_match("/^.USER/",$_POST['gotoShareMountPoint']) || + preg_match("/^%/",$_POST['gotoShareMountPoint']) ) ){ print_red(_("You must specify a valid mount point.")); diff --git a/plugins/personal/environment/environment.tpl b/plugins/personal/environment/environment.tpl index b79fd8313..5b2018ffc 100644 --- a/plugins/personal/environment/environment.tpl +++ b/plugins/personal/environment/environment.tpl @@ -115,8 +115,8 @@ {html_options values=$gotoShareSelectionKeys output=$gotoShareSelections} - - + +