bug 65241, add 'download more' button to Content Pack pref panel.

uncomment-out button and add string to dtd file for button
r=matt, sr=blake
This commit is contained in:
ben%netscape.com 2006-04-08 00:57:23 +00:00
parent e3dce78032
commit 575e883d28
2 changed files with 11 additions and 10 deletions

View File

@ -113,10 +113,9 @@
}
}
function DownloadRegionPacks()
{
window.openDialog("chrome://navigator/content/navigator.xul", "_blank", "chrome,all,dialog=no", xlateURL("urn:clienturl:viewmenu:intlwebcontent"));
openTopWin(xlateURL("urn:clienturl:viewmenu:intlwebcontent"));
}
]]>
</script>
@ -153,12 +152,13 @@
<separator class="thin"/>
<box orient="horizontal">
<!--separator flex="1"/ -->
<!-- see blocker bug 84232 -->
<!--button id="downloadContentPacks" label="&downloadContentPacks.label;" accesskey="&downloadContentPacks.accesskey;" oncommand="DownloadRegionPacks()"/-->
</box>
<hbox>
<spring flex="1"/>
<button id="downloadContentPacks"
label="&downloadContentPacks.label;"
accesskey="&downloadContentPacks.accesskey;"
oncommand="DownloadRegionPacks()"/>
</hbox>
<separator flex="1"/>
</window>
</window>

View File

@ -2,4 +2,5 @@
<!ENTITY lHeader "Content Packs">
<!ENTITY contentIntro.label "Selecting a new content pack changes items in My Sidebar and the Search menu, and changes the home page, certain bookmarks, and other items. You will not lose bookmarks and other items that you have customized when you switch content packs. You must restart for a new content pack to take effect.">
<!ENTITY installedContentPacks.label "Installed content packs:">
<!ENTITY downloadContentPacks.accesskey "d">
<!ENTITY downloadContentPacks.label "Download More...">