From 34ff70ab02341a3958673c9757272a77d4d2a14f Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 17 Mar 2006 07:18:00 +0000 Subject: [PATCH] Some changes for gotoShares .. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2854 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/environment/class_environment.inc | 3 ++- plugins/personal/environment/environment.tpl | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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} - - + + -- 2.30.2