Commit 7f4e3873dbdc2db54a98982213b027a1b90ae79c

Authored by Michael Joseph
1 parent 8a1aa4eb

urlencoded help parameters


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1487 c91229c3-7414-0410-bfa2-8a42b809f60b
lib/visualpatterns/PatternMainPage.inc
... ... @@ -211,7 +211,7 @@ class PatternMainPage {
211 211 return "\n\n<SCRIPT LANGUAGE=\"javascript\">\n " .
212 212 "<!--\n" .
213 213 "function helpWindow() {\n" .
214   - "window.open ('" . generateControllerUrl("help", "fAction=" . $default->siteMap->getActionFromPage((substr($_SERVER["PHP_SELF"], strlen($default->rootUrl), strlen($_SERVER["PHP_SELF"])))) . "&fSection=" . $default->siteMap->getSectionName(substr($_SERVER["PHP_SELF"], strlen($default->rootUrl), strlen($_SERVER["PHP_SELF"])))) . "', 'newwindow', config='height=400,width=600,left=400,top=300, toolbar=no, menubar=no, scrollbars=yes, resizable=no,location=no, directories=no, status=no');\n" .
  214 + "window.open ('" . generateControllerUrl("help", "fAction=" . urlencode($default->siteMap->getActionFromPage((substr($_SERVER["PHP_SELF"], strlen($default->rootUrl), strlen($_SERVER["PHP_SELF"]))))) . "&fSection=" . urlencode($default->siteMap->getSectionName(substr($_SERVER["PHP_SELF"], strlen($default->rootUrl), strlen($_SERVER["PHP_SELF"]))))) . "', 'newwindow', config='height=400,width=600,left=400,top=300, toolbar=no, menubar=no, scrollbars=yes, resizable=no,location=no, directories=no, status=no');\n" .
215 215 "return false;\n" .
216 216 "}\n" .
217 217 "-->\n" .
... ...