diff --git a/cck/ib/Helpmenu.cpp b/cck/ib/Helpmenu.cpp index e60a4ad76c2..5debc034a30 100644 --- a/cck/ib/Helpmenu.cpp +++ b/cck/ib/Helpmenu.cpp @@ -26,7 +26,7 @@ void CreateHelpMenu (void) ifstream help1(file1); ifstream help2(file2); _mkdir (HelpPath); - CString HelpMenuFile = HelpPath +"helpmenu.xul"; + CString HelpMenuFile = HelpPath +"helpMenu.rdf"; ofstream Hlp(HelpMenuFile); CString HelpMenuName = GetGlobal("HelpMenuCommandName"); @@ -46,10 +46,11 @@ void CreateHelpMenu (void) Hlp < \n\t"; - Hlp <<" \n"; + Hlp <<" \n"; + +// Hlp <<" \n\t"; +// Hlp <<" \n"; if(!help2) { cout << "cannot open the file \n"; @@ -59,5 +60,14 @@ void CreateHelpMenu (void) help2.getline(jsprefname,200); Hlp <\n"; + Hlp <<" 1 \n"; + Hlp <<" "< \n"; + Hlp <<" openTopWin('"<\n"; + Hlp <<"\n"; + Hlp <<"\n"; + + Hlp.close(); } diff --git a/cck/ib/help1.txt b/cck/ib/help1.txt index eb009c20559..f1391a29af2 100644 --- a/cck/ib/help1.txt +++ b/cck/ib/help1.txt @@ -1,16 +1,42 @@ + + - + + + + + - + + + + + + + + +] +> - - - - - - - + + + + + + + + + + + + + + + + + diff --git a/cck/ib/help2.txt b/cck/ib/help2.txt index 8ce05aac7da..dcb8085e34b 100644 --- a/cck/ib/help2.txt +++ b/cck/ib/help2.txt @@ -1,4 +1,58 @@ + + - + + + + + y + + + + y + + + + 1 + &helpContentCmd.label; + toOpenWindowByType('help:main', 'chrome://communicator/content/help/help_main.xul') + + + + + + 1 + &whatNewCmd.label; + openTopWin('urn:clienturl:help:whatsnew') + + + + 1 + &newNetCmd.label; + openTopWin('urn:clienturl:help:newnethelp') + + + + 1 + &supportChannelCmd.label; + openTopWin('urn:clienturl:help:supporthelp') + + + + 1 + &secCmd.label; + openTopWin('urn:clienturl:help:security') + + + + 1 + &interUsersCmd.label; + openTopWin('urn:clienturl:help:intlusers') + + + + 1 + &feedBackCmd.label; + openTopWin('urn:clienturl:help:feedback') + - diff --git a/cck/ib/ib.cpp b/cck/ib/ib.cpp index b5d76e0b3d5..bdb1f6faa62 100644 --- a/cck/ib/ib.cpp +++ b/cck/ib/ib.cpp @@ -872,8 +872,8 @@ int StartIB(CString parms, WIDGET *curWidget) SetGlobal("HelpMenuCommandURL",httpvalue); } // Create the HelpMenu.xul in the beginning so that it can be called from the script.ib - CString setHlpXul = tempPath +"\\HelpMenu.xul"; - SetGlobal("HlpXul",setHlpXul); + CString setHlpRDF = tempPath +"\\helpMenu.rdf"; + SetGlobal("HlpRDF",setHlpRDF); CreateHelpMenu(); diff --git a/cck/ib/script.ib b/cck/ib/script.ib index 7c86cd5ae32..eeb398dc855 100644 --- a/cck/ib/script.ib +++ b/cck/ib/script.ib @@ -13,6 +13,7 @@ replaceXPI(browser.xpi,bin/chrome/modern.jar,skin/modern/global/animthrob.gif,%L replaceXPI(browser.xpi,bin/chrome/modern.jar,skin/modern/global/animthrob_single.gif,%LargeStillPath%) replaceXPI(deflenus.xpi,no.jar,bin/defaults/profile/bookmarks.html,%CustomBookmarkFile%) replaceXPI(deflenus.xpi,no.jar,bin/defaults/profile/panels.rdf,%SidebarPath%) +replaceXPI(langenus.xpi,bin/chrome/en-US.jar,locale/en-US/communicator/helpMenu.rdf,%HlpRDF%) modifyDTD(langenus.xpi,bin/chrome/en-US.jar,locale/en-US/navigator/navigator.dtd,mainWindow.titlemodifier,%CompanyName%) modifyProperties(langenus.xpi,bin/chrome/en-US.jar,locale/en-US/navigator/navigator.properties,browser.startup.homepage,%HomePageURL%) modifyProperties(langenus.xpi,bin/chrome/en-US.jar,locale/en-US/navigator/navigator.properties,browser.throbber.url,%AnimatedLogoURL%)