ispman/ispman-web/cgi-bin/tmpl/users edit.tmpl, 1.20, 1.21

Joerg Delker <[email protected]> Tue, 31 Jul 2007 10:10:56 +0000
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/users
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv27357/ispman-web/cgi-bin/tmpl/users

Modified Files:
	edit.tmpl 
Log Message:
fixed bug [ 1693935 ] ispmanUrlPrefix is not honored

Index: edit.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/users/edit.tmpl,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- edit.tmpl	2 Dec 2006 16:41:40 -0000	1.20
+++ edit.tmpl	31 Jul 2007 10:10:54 -0000	1.21
@@ -1,7 +1,7 @@
 <script>
 	function Delete(){
     	if (confirm("Are you sure you want to permanently delete this user?\nThis action will also delete this users email folders.")) 
-            self.location="<perl>$r->url</perl>?mode=deleteUser&uid=<perl>$r->param('uid')</perl>&ispmanDomain=<perl>$r->param('ispmanDomain')</perl>";
+            self.location="<perl>$ENV{'SCRIPT_NAME'}</perl>?mode=deleteUser&uid=<perl>$r->param('uid')</perl>&ispmanDomain=<perl>$r->param('ispmanDomain')</perl>";
     }
 </script>
 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/