Commit b14a724ef92386b59c76e74e2fabc83069ec74fe

Authored by nadim
1 parent 5c6d394f

added full url for help button link


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1083 c91229c3-7414-0410-bfa2-8a42b809f60b
lib/visualpatterns/PatternMainPage.inc
@@ -181,9 +181,9 @@ class PatternMainPage { @@ -181,9 +181,9 @@ class PatternMainPage {
181 function getHelpJavaScript() { 181 function getHelpJavaScript() {
182 global $default; 182 global $default;
183 return "\n\n<SCRIPT LANGUAGE=\"javascript\">\n " . 183 return "\n\n<SCRIPT LANGUAGE=\"javascript\">\n " .
184 - "<!--\n" . 184 + "<!--\n" .
185 "function helpWindow() {\n" . 185 "function helpWindow() {\n" .
186 - "window.open ('$default->uiUrl/help.php?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=600,width=800, toolbar=no, menubar=no, scrollbars=no, resizable=true,location=no, directories=no, status=no');\n" . 186 + "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=600,width=800, toolbar=no, menubar=no, scrollbars=no, resizable=true,location=no, directories=no, status=no');\n" .
187 "return false;\n" . 187 "return false;\n" .
188 "}\n" . 188 "}\n" .
189 "-->\n" . 189 "-->\n" .