home *** CD-ROM | disk | FTP | other *** search
/ Minami 80 / MINAMI80.iso / Extra / DivXInstaller.exe / $PLUGINSDIR / GoogleToolbarFirefox.msi / xpi / chrome / google-toolbar.jar / content / options.xul < prev    next >
Extensible Markup Language  |  2006-05-15  |  23KB  |  472 lines

  1. <?xml version="1.0"?>
  2. <!DOCTYPE overlay [
  3.   <!ENTITY % tcDtd SYSTEM "chrome://google-toolbar/locale/google-toolbar.dtd"> %tcDtd;
  4.   <!ENTITY % customizeToolbarDTD SYSTEM "chrome://global/locale/customizeToolbar.dtd"> %customizeToolbarDTD;
  5. ]>
  6.  
  7. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 
  8. <?xml-stylesheet href="chrome://google-toolbar/skin/google-toolbar.css"?>
  9.  
  10. <dialog id="gtbGoogleToobar"
  11.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  12.         xmlns:html="http://www.w3.org/1999/xhtml"
  13.     onload="GTB_OptionsDialog.onLoad(event);"
  14.         ondialoghelp="GTB_OptionsDialog.onDialogHelp(event);"
  15.         ondialogaccept="GTB_OptionsDialog.onDialogAccept(event);"
  16.     title=">bOptionsTitle;"
  17.     buttons="accept,cancel,help">
  18.  
  19.   <stringbundle id="gtb-localized_prefs"
  20.                 src="chrome://google-toolbar/locale/prefs.properties"/>
  21.  
  22.   <script type="application/x-javascript"
  23.           src="chrome://google-toolbar/content/gtb.js"/>
  24.   <script type="application/x-javascript"
  25.           src="chrome://global/content/customizeToolbar.js"/>
  26.   <script type="application/x-javascript"
  27.           src="chrome://google-toolbar/content/amulet-compatibility.js"/>
  28.  
  29.   <script>
  30.     var GTB_OptionsDialog = GTB_Option_createMainOptionsDialog();
  31.  
  32.     // Here we show the SafeBrowsing option if this Firefox is compatible
  33.     window.addEventListener("load", PROTTB_maybeHideSafeBrowsingOption, false);
  34.  
  35.     function PROTTB_maybeHideSafeBrowsingOption() {
  36.       // We would like to use positive logic here (show the option if it
  37.       // is compatible), but unfortunately the grid lays out incorrectly
  38.       // if we do.
  39.       if (!PROTTB_thisFirefoxIsSafeBrowsingCompatible()) 
  40.         document.getElementById("gtbOptionsBrowsingSafeBrowsingContainer")
  41.           .style.display = "none";
  42.     }
  43.   </script>
  44.  
  45.   <tabbox>
  46.     <tabs>
  47.       <tab label=">bOptionsBrowsingTabLabel;"
  48.            accesskey=">bOptionsBrowsingAccessKey;" />
  49.       <tab label=">bOptionsSearchTabLabel;"
  50.            accesskey=">bOptionsSearchAccessKey;" />
  51.       <tab label=">bOptionsMoreTabLabel;"
  52.            accesskey=">bOptionsMoreAccessKey;" />
  53.     </tabs>
  54.  
  55.     <tabpanels>
  56.       <tabpanel>
  57.         <vbox flex="1">
  58.           <groupbox>
  59.             <caption label=">bOptionsBrowsingCaption;" />
  60.             <grid flex="1">
  61.               <columns>
  62.                 <column flex="1"/><column flex="2"/>
  63.               </columns>
  64.               <rows>
  65.                 <row>
  66.                   <vbox flex="1">
  67.                     <checkbox id="gtbOptionsBrowsingPageRankCheckbox"
  68.                               label=">bOptionsBrowsingPageRankCheck;"
  69.                               checked="true" />
  70.                   </vbox>
  71.                   <vbox flex="2">
  72.                     <description>
  73.                       >bOptionsBrowsingPageRankDescription;
  74.                     </description>
  75.                     <hbox align="start">
  76.                       <html:a class="gtbLink" 
  77.                              onclick="GTB_OptionsDialog.onPageRankMore(event);"
  78.                              target="gtbMore" 
  79.                              style="padding-left:8px; display: block;">
  80.                         >bOptionsMoreLink;
  81.                       </html:a>
  82.                     </hbox>
  83.                   </vbox>
  84.                 </row>
  85.  
  86.                 <!-- SafeBrowsing -->
  87.                 <row id="gtbOptionsBrowsingSafeBrowsingContainer">
  88.                   <vbox flex="1">
  89.                     <checkbox id="gtbOptionsBrowsingSafeBrowsingCheckbox"
  90.                               label="&amulet.options.label;"
  91.                               checked="true" />
  92.                     <button class="gtbOptionsButtonIndent" id="gtbOptionsBrowsingSafeBrowsingButton"
  93.                             label="&amulet.options.settings.label;"
  94.                    oncommand="GTB_OptionsDialog.onSafeBrowsingOptions(event);" 
  95.                     />
  96.                   </vbox>
  97.                   <vbox flex="2">
  98.                     <description>
  99.                       &amulet.options.description;
  100.                     </description>
  101.                     <hbox align="start">
  102.                       <html:a class="gtbLink" 
  103.                          onclick="GTB_OptionsDialog.onSafeBrowsingMore(event);"
  104.                          target="gtbMore" 
  105.                          style="padding-left:8px; display: block;">
  106.                         >bOptionsMoreLink;
  107.                       </html:a>
  108.                     </hbox>
  109.                   </vbox>
  110.                 </row>
  111.                 <!-- /SafeBrowsing -->
  112.  
  113.               </rows>
  114.             </grid>
  115.           </groupbox>
  116.           <groupbox>
  117.             <caption label=">bOptionsBrowsingProductivityCaption;" />
  118.             <grid flex="1">
  119.               <columns>
  120.                 <column flex="1"/><column flex="2"/>
  121.               </columns>
  122.               <rows>
  123.                 <row>
  124.                   <vbox>
  125.                     <checkbox id="gtbOptionsBrowsingSpellCheckbox"
  126.                               label=">bOptionsBrowsingSpellCheck;"
  127.                               checked="true" />
  128.                     <button class="gtbOptionsButtonIndent" id="gtbOptionsBrowsingSpellButton"
  129.                             label=">bOptionsBrowsingSpellButton;"
  130.                             oncommand="GTB_OptionsDialog.onSpellingOptions(event);" />
  131.                   </vbox>
  132.                   <vbox>
  133.                     <description>
  134.                       >bOptionsBrowsingSpellDescription;
  135.                     </description>
  136.                     <hbox align="start">
  137.                       <html:a class="gtbLink" onclick="GTB_OptionsDialog.onSpellCheckMore(event);"
  138.                               target="gtbMore" style="padding-left:8px; display: block;">
  139.                         >bOptionsMoreLink;
  140.                       </html:a>
  141.                     </hbox>
  142.                   </vbox>
  143.                 </row>
  144.                 <row id="gtbOptionsWordTranslatorContainer">
  145.                   <vbox>
  146.                     <checkbox id="gtbOptionsBrowsingWordTranslatorCheckbox"
  147.                               label=">bOptionsBrowsingWordTranslator;"
  148.                               checked="true" />
  149.                     <button class="gtbOptionsButtonIndent" id="gtbOptionsBrowsingWordTranslatorButton" 
  150.                             label=">bOptionsBrowsingWordTranslatorButton;" 
  151.                             oncommand="GTB_OptionsDialog.onTranslateOptions(event);"/>
  152.                   </vbox>
  153.                   <vbox>
  154.                     <description>
  155.                       >bOptionsBrowsingWordTranslatorDescription;
  156.                     </description>
  157.                     <hbox align="start">
  158.                       <html:a class="gtbLink" onclick="GTB_OptionsDialog.onWordTranslatorMore(event);"
  159.                               target="gtbMore" style="padding-left:8px; display: block;">
  160.                         >bOptionsMoreLink;
  161.                       </html:a>
  162.                     </hbox>
  163.                   </vbox>
  164.                </row>
  165.                 <row id="gtbOptionsAutoFillContainer">
  166.                   <vbox>
  167.                     <checkbox id="gtbOptionsBrowsingAutoFillCheckbox"
  168.                               label=">bOptionsBrowsingAutoFill;"
  169.                               checked="true" />
  170.                     <button class="gtbOptionsButtonIndent" id="gtbOptionsBrowsingAutoFillButton"
  171.                             label=">bOptionsBrowsingAutoFillButton;" 
  172.                             oncommand="GTB_OptionsDialog.onAutoFillOptions(event);" />
  173.                   </vbox>
  174.                   <vbox>
  175.                     <description>
  176.                       >bOptionsBrowsingAutoFillDescription;
  177.                     </description>
  178.                     <hbox align="start">
  179.                       <html:a class="gtbLink" onclick="GTB_OptionsDialog.onAutoFillMore(event);"
  180.                               target="gtbMore" style="padding-left:8px; display: block;">
  181.                         >bOptionsMoreLink;
  182.                       </html:a>
  183.                     </hbox>
  184.                   </vbox>
  185.                 </row>
  186.                 <row id="gtbOptionsAutoLinkContainer">
  187.                   <vbox>
  188.                     <checkbox id="gtbOptionsBrowsingAutoLinkCheckbox"
  189.                               label=">bOptionsBrowsingAutoLink;"
  190.                               checked="true" />
  191.                     <button class="gtbOptionsButtonIndent" id="gtbOptionsBrowsingAutoLinkButton"
  192.                             label=">bOptionsBrowsingAutoLinkButton;" 
  193.                             oncommand="GTB_OptionsDialog.onAutoLinkOptions(event);" />
  194.                   </vbox>
  195.                   <vbox>
  196.                     <description>
  197.                       >bOptionsBrowsingAutoLinkDescription;
  198.                     </description>
  199.                     <hbox align="start">
  200.                       <html:a class="gtbLink" onclick="GTB_OptionsDialog.onAutoLinkMore(event);"
  201.                               target="gtbMore" style="padding-left:8px; display: block;">
  202.                         >bOptionsMoreLink;
  203.                       </html:a>
  204.                     </hbox>
  205.                   </vbox>
  206.                 </row>
  207.                 
  208.         <row id="gtbOptionsFeedSubscribeContainer">
  209.                   <vbox>
  210.                     <checkbox id="gtbOptionsBrowsingFeedSubscribeCheckbox"
  211.                               label=">bOptionsBrowsingFeedSubscribe;"
  212.                               checked="true" />
  213.                     <button class="gtbOptionsButtonIndent" id="gtbOptionsBrowsingFeedSubscribeButton"
  214.                             label=">bOptionsBrowsingFeedSubscribeButton;" 
  215.                             oncommand="GTB_OptionsDialog.onFeedSubscribeOptions(event);" />
  216.                   </vbox>
  217.                   <vbox>
  218.                     <description>
  219.                       >bOptionsBrowsingFeedSubscribeDescription;
  220.                     </description>
  221.                     <hbox align="start">
  222.                       <html:a class="gtbLink" onclick="GTB_OptionsDialog.onFeedSubscribeMore(event);"
  223.                               target="gtbMore" style="padding-left:8px; display: block;">
  224.                         >bOptionsMoreLink;
  225.                       </html:a>
  226.                     </hbox>
  227.                   </vbox>
  228.                 </row>
  229.  
  230.                 <row>
  231.                   <vbox>
  232.                     <checkbox id="gtbOptionsMailCheckbox"
  233.                               label=">bOptionsMail;"
  234.                               checked="true" />
  235.                     <button class="gtbOptionsButtonIndent" id="gtbOptionsMailButton"
  236.                             label=">bOptionsMailButton;"
  237.                             oncommand="GTB_OptionsDialog.onMailOptions(event);" 
  238.                             hidden="true"/>
  239.                   </vbox>
  240.                   <vbox>
  241.                     <description>
  242.                       >bOptionsMailDescription;
  243.                     </description>
  244.                     <hbox align="start">
  245.                       <html:a class="gtbLink" onclick="GTB_OptionsDialog.onMailtoCheckMore(event);"
  246.                               target="gtbMore" style="padding-left:8px; display: block;">
  247.                         >bOptionsMoreLink;
  248.                       </html:a>
  249.                     </hbox>
  250.                   </vbox>
  251.                 </row>
  252.               </rows>
  253.             </grid>
  254.           </groupbox>
  255.           <hbox align="right">
  256.             <button label=">bOptionsRestoreDefaultsButton;"
  257.                     oncommand="GTB_OptionsDialog.onRestoreDefaults(event);" />
  258.           </hbox>
  259.         </vbox>
  260.       </tabpanel>
  261.  
  262.       <tabpanel>
  263.         <vbox flex="1">
  264.         <groupbox flex="1">
  265.             <caption label=">bOptionsSearchCaption;" />
  266.             <vbox id="gtbOptionsSearchContainer">
  267.               <label class="gtbOptionsBold" value=">bOptionsSearchSearchBoxLabel;" />
  268.               <vbox class="indent">
  269.                 <checkbox id="gtbOptionsSearchSaveHistoryCheckbox"
  270.                           label=">bOptionsSearchSaveHistory;" />
  271.                 <checkbox id="gtbOptionsSearchOnSelectCheckbox"
  272.                           label=">bOptionsSearchOnSelect;" />
  273.                 <checkbox id="gtbOptionsUseSuggestCheckbox"
  274.                           label=">bOptionsSearchUseSuggest;" />
  275.                 <checkbox id="gtbOptionsSearchRememberTypeCheckbox"
  276.                           label=">bOptionsSearchRememberType;" />
  277.                 <checkbox id="gtbOptionsSearchResultsToNewTabCheckbox"
  278.                           label=">bOptionsSearchResultsToNewTab;" />
  279.               </vbox>
  280.               <label id="gtbOptionsCustomSearchListLabel" class="gtbOptionsBold" value=">bOptionsSearchCustomSearchLabel;" />
  281.               <vbox id="gtbOptionsCustomSearchContainer" class="indent">
  282.               </vbox>
  283.               <label class="gtbOptionsBold" id="gtbOptionsSearchButtonsLabel"
  284.                      value=">bOptionsSearchButtonsLabel;" />
  285.               <vbox class="indent">
  286.                 <checkbox id="gtbOptionsSearchButtonsSiteCheckbox"
  287.                           label=">bOptionsSearchButtonsSite;" />
  288.                 <checkbox id="gtbOptionsSearchButtonsLuckyCheckbox"
  289.                           label=">bOptionsSearchButtonsLucky;" />
  290.                 <checkbox id="gtbOptionsSearchButtonsImagesCheckbox"
  291.                           label=">bOptionsSearchButtonsImages;" />
  292.                 <checkbox id="gtbOptionsSearchButtonsGroupsCheckbox"
  293.                           label=">bOptionsSearchButtonsGroups;" />
  294.                 <checkbox id="gtbOptionsSearchButtonsFroogleCheckbox"
  295.                           label=">bOptionsSearchButtonsFroogle;" />
  296.                 <checkbox id="gtbOptionsMoreNewsCheckbox"
  297.                           label=">bOptionsMoreNews;" />
  298.                 <checkbox id="gtbOptionsSearchButtonsLocalCheckbox"
  299.                           label=">bOptionsSearchLocal;" />
  300.               </vbox>
  301.               <hbox align="right">
  302.                 <label value=">bOptionsSearchWhichGoogle;" />
  303.                 <menulist id="gtbOptionsSearchWhichGoogleList"
  304.                           label="www.google.com">
  305.                   <menupopup>
  306.                     <menuitem label="www.google.com" />
  307.                     <menuitem label="www.google.ae" />
  308.                     <menuitem label="www.google.com.ar" />
  309.                     <menuitem label="www.google.as" />
  310.                     <menuitem label="www.google.at" />
  311.                     <menuitem label="www.google.com.au" />
  312.                     <menuitem label="www.google.az" />
  313.                     <menuitem label="www.google.be" />
  314.                     <menuitem label="www.google.bi" />
  315.                     <menuitem label="www.google.com.br" />
  316.                     <menuitem label="www.google.ca" />
  317.                     <menuitem label="www.google.cd" />
  318.                     <menuitem label="www.google.cg" />
  319.                     <menuitem label="www.google.ch" />
  320.                     <menuitem label="www.google.cl" />
  321.                     <menuitem label="www.google.com.co" />
  322.                     <menuitem label="www.google.co.cr" />
  323.                     <menuitem label="www.google.com.cu" />
  324.                     <menuitem label="www.google.de" />
  325.                     <menuitem label="www.google.dj" />
  326.                     <menuitem label="www.google.dk" />
  327.                     <menuitem label="www.google.com.do" />
  328.                     <menuitem label="www.google.es" />
  329.                     <menuitem label="www.google.fi" />
  330.                     <menuitem label="www.google.com.fj" />
  331.                     <menuitem label="www.google.fm" />
  332.                     <menuitem label="www.google.fr" />
  333.                     <menuitem label="www.google.gg" />
  334.                     <menuitem label="www.google.gl" />
  335.                     <menuitem label="www.google.gm" />
  336.                     <menuitem label="www.google.com.gr" />
  337.                     <menuitem label="www.google.com.hk" />
  338.                     <menuitem label="www.google.hn" />
  339.                     <menuitem label="www.google.co.hu" />
  340.                     <menuitem label="www.google.ie" />
  341.                     <menuitem label="www.google.co.il" />
  342.                     <menuitem label="www.google.co.in" />
  343.                     <menuitem label="www.google.it" />
  344.                     <menuitem label="www.google.co.je" />
  345.                     <menuitem label="www.google.co.jp" />
  346.                     <menuitem label="www.google.co.kr" />
  347.                     <menuitem label="www.google.kz" />
  348.                     <menuitem label="www.google.li" />
  349.                     <menuitem label="www.google.co.ls" />
  350.                     <menuitem label="www.google.lt" />
  351.                     <menuitem label="www.google.lu" />
  352.                     <menuitem label="www.google.lv" />
  353.                     <menuitem label="www.google.com.ly" />
  354.                     <menuitem label="www.google.ms" />
  355.                     <menuitem label="www.google.com.mt" />
  356.                     <menuitem label="www.google.mu" />
  357.                     <menuitem label="www.google.mw" />
  358.                     <menuitem label="www.google.com.mx" />
  359.                     <menuitem label="www.google.com.my" />
  360.                     <menuitem label="www.google.com.nf" />
  361.                     <menuitem label="www.google.com.ni" />
  362.                     <menuitem label="www.google.nl" />
  363.                     <menuitem label="www.google.no" />
  364.                     <menuitem label="www.google.com.np" />
  365.                     <menuitem label="www.google.co.nz" />
  366.                     <menuitem label="www.google.com.pa" />
  367.                     <menuitem label="www.google.com.pe" />
  368.                     <menuitem label="www.google.com.ph" />
  369.                     <menuitem label="www.google.com.pk" />
  370.                     <menuitem label="www.google.pl" />
  371.                     <menuitem label="www.google.pn" />
  372.                     <menuitem label="www.google.com.pr" />
  373.                     <menuitem label="www.google.pt" />
  374.                     <menuitem label="www.google.com.py" />
  375.                     <menuitem label="www.google.ro" />
  376.                     <menuitem label="www.google.ru" />
  377.                     <menuitem label="www.google.rw" />
  378.                     <menuitem label="www.google.se" />
  379.                     <menuitem label="www.google.com.sg" />
  380.                     <menuitem label="www.google.sh" />
  381.                     <menuitem label="www.google.sm" />
  382.                     <menuitem label="www.google.com.sv" />
  383.                     <menuitem label="www.google.co.th" />
  384.                     <menuitem label="www.google.com.tr" />
  385.                     <menuitem label="www.google.com.tw" />
  386.                     <menuitem label="www.google.com.ua" />
  387.                     <menuitem label="www.google.co.uk" />
  388.                     <menuitem label="www.google.com.uy" />
  389.                     <menuitem label="www.google.uz" />
  390.                     <menuitem label="www.google.com.vc" />
  391.                     <menuitem label="www.google.co.ve" />
  392.                     <menuitem label="www.google.vg" />
  393.                     <menuitem label="www.google.com.vn" />
  394.                     <menuitem label="www.google.co.za" />
  395.                   </menupopup>
  396.                 </menulist>
  397.               </hbox>
  398.             </vbox>
  399.       </groupbox>
  400.           <hbox align="right" flex="1">
  401.             <button label=">bOptionsRestoreDefaultsButton;"
  402.                     oncommand="GTB_OptionsDialog.onRestoreDefaults(event);" />
  403.           </hbox>
  404.         </vbox>
  405.       </tabpanel>
  406.  
  407.       <tabpanel>
  408.         <vbox flex="1">
  409.         <groupbox>
  410.             <caption label=">bOptionsMoreCaption;" />
  411.             <vbox border="1">
  412.               <label class="gtbOptionsBold" value=">bOptionsMoreFindOnPageLabel;" />
  413.               <vbox class="indent">
  414.                 <checkbox id="gtbOptionsMoreHighlightCheckbox"
  415.                           label=">bOptionsMoreHighlight;" />
  416.                 <checkbox id="gtbOptionsMoreWordFindCheckbox"
  417.                           label=">bOptionsMoreWordFind;" />
  418.               </vbox>
  419.               <label class="gtbOptionsBold" value=">bOptionsMoreButtonsLabel;" />
  420.               <vbox class="indent">
  421.                 <checkbox id="gtbOptionsMoreUpCheckbox"
  422.                           label=">bOptionsMoreUp;" />
  423.                 <checkbox id="gtbOptionsMoreNextPreviousCheckbox"
  424.                           label=">bOptionsMoreNextPrevious;" />
  425.                 <checkbox id="gtbOptionsMoreOptionsCheckbox"
  426.                           label=">bOptionsMoreOptions;" />
  427.                 <checkbox id="gtbOptionsMorePageInfoCheckbox"
  428.                           label=">bOptionsMorePageInfo;" />
  429.                 <checkbox id="gtbOptionsMoreBlogThisCheckbox"
  430.                           label=">bOptionsMoreBlogThis;" />
  431.               </vbox>
  432.               <label class="gtbOptionsBold" value=">bOptionsMoreButtons;" />
  433.               <vbox class="indent">
  434.                 <hbox align="start">
  435.                   <menulist id="gtbOptionsMoreButtonTextList">
  436.                     <menupopup>
  437.                       <menuitem label="&iconsAndText.label;" value="full" />
  438.                       <menuitem label=">bOptionsMoreButtonsSelectiveText;" value="gtb-selective-text"/>
  439.                       <menuitem label="&icons.label;" value="icons" />
  440.                       <menuitem label="&text.label;" value="text" />
  441.                     </menupopup>
  442.                   </menulist>
  443.                 </hbox>
  444.               </vbox>
  445.               <label class="gtbOptionsBold" value=">bOptionsMoreLayoutsLabel;" />
  446.               <vbox class="indent"> 
  447.                 <hbox align="start">
  448.                   <button id="gtbOptionsMoreLayoutsButton"
  449.                           label=">bOptionsMoreLayoutsButtonLabel;"
  450.                           oncommand="GTB_OptionsDialog.onLayoutOptions(event);" />
  451.                   <vbox>
  452.                     <spacer flex="1" />
  453.                     <html:a class="gtbLink" onclick="GTB_OptionsDialog.onButtonLayoutMore(event);"
  454.                             target="gtbMore" style="padding-left:4px; display: block;">
  455.                       >bOptionsMoreButtonLayoutLinkText;
  456.                     </html:a>
  457.                     <spacer flex="1" />
  458.                   </vbox>
  459.                 </hbox>
  460.               </vbox>
  461.             </vbox>
  462.           </groupbox>
  463.           <hbox align="right">
  464.             <button label=">bOptionsRestoreDefaultsButton;"
  465.                     oncommand="GTB_OptionsDialog.onRestoreDefaults(event);" />
  466.           </hbox>
  467.         </vbox>
  468.       </tabpanel>
  469.     </tabpanels>
  470.   </tabbox>    
  471. </dialog>
  472.