This commit is contained in:
rjc%netscape.com 1999-08-05 23:09:42 +00:00
Родитель f31338134d
Коммит 91b2a47913
4 изменённых файлов: 26 добавлений и 16 удалений

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

@ -481,6 +481,11 @@
RefreshUrlbar(); RefreshUrlbar();
} }
function OpenSearch(tabName)
{
window.openDialog("resource:/res/samples/search.xul", "SearchWindow", "chrome", tabName);
}
function BrowserNewWindow() function BrowserNewWindow()
{ {
if (appCore != null) { if (appCore != null) {

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

@ -159,10 +159,10 @@ Contributor(s): ______________________________________. -->
<!ENTITY searchParentCmd.label "Search Parent Item..."> <!ENTITY searchParentCmd.label "Search Parent Item...">
<!ENTITY searchParenet2Cmd.label "Search Parent2 Item"> <!ENTITY searchParenet2Cmd.label "Search Parent2 Item">
<!ENTITY appSpecificCmd.label "App Specific"> <!ENTITY appSpecificCmd.label "App Specific">
<!ENTITY searchInternetCmd.label "Search the Internet..."> <!ENTITY searchBookmarksHistoryCmd.label "Search Bookmarks/History">
<!ENTITY searchAllMailCmd.label "Search All Mail...."> <!ENTITY searchInternetCmd.label "Search the Internet">
<!ENTITY searchBookmarksCmd.label "Search Bookmarks..."> <!ENTITY searchAllMailCmd.label "Search Mail/News">
<!ENTITY searchPeopleCmd.label "Search People..."> <!ENTITY searchAddressbookCmd.label "Search Addressbook">
<!ENTITY searchComputerCmd.label "Search on this Computer..."> <!ENTITY searchComputerCmd.label "Search on this Computer...">
<!ENTITY goMenu.label "Go"> <!ENTITY goMenu.label "Go">
<!ENTITY goBackCmd.label "Back"> <!ENTITY goBackCmd.label "Back">
@ -599,10 +599,10 @@ Contributor(s): ______________________________________. -->
<menuitem value="&appSpecificCmd.label;" onaction="BrowserReload();"/> <menuitem value="&appSpecificCmd.label;" onaction="BrowserReload();"/>
<menuitem value="&appSpecificCmd.label;" onaction="BrowserReload();"/> <menuitem value="&appSpecificCmd.label;" onaction="BrowserReload();"/>
<menuseparator /> <menuseparator />
<menuitem value="&searchInternetCmd.label;" onaction="BrowserReload();"/> <menuitem value="&searchBookmarksHistoryCmd.label;" onaction="OpenSearch('find');"/>
<menuitem value="&searchAllMailCmd.label;" onaction="BrowserReload();"/> <menuitem value="&searchInternetCmd.label;" onaction="OpenSearch('internet');"/>
<menuitem value="&searchBookmarksCmd.label;" onaction="BrowserReload();"/> <menuitem value="&searchAllMailCmd.label;" onaction="OpenSearch('mail');"/>
<menuitem value="&searchPeopleCmd.label;" onaction="BrowserReload();"/> <menuitem value="&searchAddressbookCmd.label;" onaction="OpenSearch('addressbook');"/>
<menuseparator /> <menuseparator />
<menuitem value="&searchComputerCmd.label;" onaction="BrowserReload();"/> <menuitem value="&searchComputerCmd.label;" onaction="BrowserReload();"/>
</menupopup> </menupopup>

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

@ -481,6 +481,11 @@
RefreshUrlbar(); RefreshUrlbar();
} }
function OpenSearch(tabName)
{
window.openDialog("resource:/res/samples/search.xul", "SearchWindow", "chrome", tabName);
}
function BrowserNewWindow() function BrowserNewWindow()
{ {
if (appCore != null) { if (appCore != null) {

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

@ -159,10 +159,10 @@ Contributor(s): ______________________________________. -->
<!ENTITY searchParentCmd.label "Search Parent Item..."> <!ENTITY searchParentCmd.label "Search Parent Item...">
<!ENTITY searchParenet2Cmd.label "Search Parent2 Item"> <!ENTITY searchParenet2Cmd.label "Search Parent2 Item">
<!ENTITY appSpecificCmd.label "App Specific"> <!ENTITY appSpecificCmd.label "App Specific">
<!ENTITY searchInternetCmd.label "Search the Internet..."> <!ENTITY searchBookmarksHistoryCmd.label "Search Bookmarks/History">
<!ENTITY searchAllMailCmd.label "Search All Mail...."> <!ENTITY searchInternetCmd.label "Search the Internet">
<!ENTITY searchBookmarksCmd.label "Search Bookmarks..."> <!ENTITY searchAllMailCmd.label "Search Mail/News">
<!ENTITY searchPeopleCmd.label "Search People..."> <!ENTITY searchAddressbookCmd.label "Search Addressbook">
<!ENTITY searchComputerCmd.label "Search on this Computer..."> <!ENTITY searchComputerCmd.label "Search on this Computer...">
<!ENTITY goMenu.label "Go"> <!ENTITY goMenu.label "Go">
<!ENTITY goBackCmd.label "Back"> <!ENTITY goBackCmd.label "Back">
@ -599,10 +599,10 @@ Contributor(s): ______________________________________. -->
<menuitem value="&appSpecificCmd.label;" onaction="BrowserReload();"/> <menuitem value="&appSpecificCmd.label;" onaction="BrowserReload();"/>
<menuitem value="&appSpecificCmd.label;" onaction="BrowserReload();"/> <menuitem value="&appSpecificCmd.label;" onaction="BrowserReload();"/>
<menuseparator /> <menuseparator />
<menuitem value="&searchInternetCmd.label;" onaction="BrowserReload();"/> <menuitem value="&searchBookmarksHistoryCmd.label;" onaction="OpenSearch('find');"/>
<menuitem value="&searchAllMailCmd.label;" onaction="BrowserReload();"/> <menuitem value="&searchInternetCmd.label;" onaction="OpenSearch('internet');"/>
<menuitem value="&searchBookmarksCmd.label;" onaction="BrowserReload();"/> <menuitem value="&searchAllMailCmd.label;" onaction="OpenSearch('mail');"/>
<menuitem value="&searchPeopleCmd.label;" onaction="BrowserReload();"/> <menuitem value="&searchAddressbookCmd.label;" onaction="OpenSearch('addressbook');"/>
<menuseparator /> <menuseparator />
<menuitem value="&searchComputerCmd.label;" onaction="BrowserReload();"/> <menuitem value="&searchComputerCmd.label;" onaction="BrowserReload();"/>
</menupopup> </menupopup>