From: Joerg D. <jd...@us...> - 2007-07-31 13:42:14
|
Update of /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/vhosts In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv12087/ispman-web/cgi-bin/tmpl/vhosts Modified Files: edit.tmpl edit_header.tmpl Log Message: additional fixes for bug [ 1693935 ] Index: edit.tmpl =================================================================== RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/vhosts/edit.tmpl,v retrieving revision 1.26 retrieving revision 1.27 diff -u -d -r1.26 -r1.27 --- edit.tmpl 9 Jun 2007 15:44:51 -0000 1.26 +++ edit.tmpl 31 Jul 2007 13:42:12 -0000 1.27 @@ -50,7 +50,7 @@ <table> -<form action="<perl>$r->url</perl>/admin/index.cgi" method="POST" onSubmit="return checkVhost(this);"> +<form action="<perl>$ENV{'SCRIPT_NAME'}</perl>" method="POST" onSubmit="return checkVhost(this);"> <tr> <td>IP address </td> Index: edit_header.tmpl =================================================================== RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/vhosts/edit_header.tmpl,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- edit_header.tmpl 9 Jul 2004 22:19:13 -0000 1.9 +++ edit_header.tmpl 31 Jul 2007 13:42:12 -0000 1.10 @@ -3,7 +3,7 @@ var ispmanDomain="<perl>$r->param("ispmanDomain")</perl>" var ispmanVhostName="<perl>$r->param("ispmanVhostName")</perl>" - var cgiurl="<perl>$r->url</perl>" + var cgiurl=window.location.pathname var cgidata="ispmanDomain="+ispmanDomain+"&ispmanVhostName="+ispmanVhostName function gotoSubSection(section){ |