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 2001-07-06 05:53:08 +00:00
Родитель fc657b30c5
Коммит 50a78a9d51
2 изменённых файлов: 11 добавлений и 10 удалений

Просмотреть файл

@ -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>

Просмотреть файл

@ -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...">