home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 December / PCWDEC07.iso / Software / Freeware / FlashGot 0.6.4 / chrome / flashgot.jar / content / flashgot / flashgotOverlay.xul < prev    next >
Encoding:
Extensible Markup Language  |  2007-08-29  |  8.8 KB  |  226 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://flashgot/skin/browser.css" type="text/css"?>
  3. <!-- ***** BEGIN LICENSE BLOCK *****
  4.  
  5.     FlashGot - a Firefox extension for external download managers integration
  6.     Copyright (C) 2004-2006 Giorgio Maone - g.maone@informaction.com
  7.  
  8. ***** END LICENSE BLOCK ***** -->
  9.  
  10. <!DOCTYPE overlay [
  11. <!ENTITY % flashgot SYSTEM "chrome://flashgot/locale/flashgot.dtd" >
  12. %flashgot;
  13. <!ENTITY % flashgotFB  SYSTEM "chrome://flashgot/content/en-US/flashgot.dtd" >
  14. %flashgotFB;
  15. ]>
  16.  
  17. <overlay id="flashgotOverlay" 
  18.   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  19.  
  20. <script type="application/x-javascript" src="flashgotCommon.js"/>
  21. <script type="application/x-javascript" src="flashgotOverlay.js"/>
  22.  
  23.   <menu id="flashgot-menu" label="FlashGot" 
  24.     class="menu-iconic flashgot-icon-lnk"
  25.    >
  26.   <menupopup id="flashgot-menu-popup" 
  27.     onpopupshowing="gFlashGot.prepareToolsMenu(event)">
  28.         <menuitem id="flashgot-main-menuitem-sel"
  29.         label="&flashgotSel;"  
  30.         accesskey="&flashgotSel.accesskey;"
  31.         oncommand="gFlashGot.delayCmd('Sel')"
  32.         key="flashgot-sel-key"
  33.         class="menuitem-iconic flashgot-icon-sel"
  34.         disabled="true"
  35.     />
  36.     <menuitem id="flashgot-main-menuitem-all"
  37.         label="&flashgotAll;" 
  38.         accesskey="&flashgotAll.accesskey;"
  39.         oncommand="gFlashGot.delayCmd('All')"
  40.         key="flashgot-all-key"
  41.         class="menuitem-iconic flashgot-icon-all"
  42.         disabled="true"
  43.         />
  44.     <menuitem id="flashgot-main-menuitem-tabs"
  45.         label="&flashgotTabs;" 
  46.         accesskey="&flashgotTabs.accesskey;"
  47.         oncommand="gFlashGot.delayCmd('Tabs')"
  48.         key="flashgot-tabs-key"
  49.         class="menuitem-iconic flashgot-icon-tabs"
  50.         disabled="true"
  51.         />
  52.     <menuitem id="flashgot-main-menuitem-buildGallery"
  53.       label="&flashgotBuildGallery;"
  54.       class="menuitem-iconic flashgot-icon-buildGallery" 
  55.       oncommand="gFlashGot.buildGallery()"
  56.       disabled="true"
  57.     />
  58.     <menuseparator id="flashgot-main-sep-buildGallery"  />
  59.        <menuitem id="flashgot-main-menuitem-opt-autoStart"
  60.         label="&flashgotAutostart;"
  61.         type="checkbox"
  62.         oncommand="gFlashGot.switchOption('autoStart')"
  63.       />
  64.       <menuitem id="flashgot-main-menuitem-opt-includeImages"
  65.         label="&includeImages.label;"
  66.         type="checkbox"
  67.         oncommand="gFlashGot.switchOption('includeImages')"
  68.       />
  69.       <menuitem id="flashgot-main-menuitem-opts"
  70.         label="&flashgotMoreOpts;"
  71.         oncommand="gFlashGot.openOptionsDialog()"
  72.         class="menuitem-iconic flashgot-icon-opts"  
  73.       />
  74.       <menuseparator id="flashgot-main-sep-about" />
  75.       <menuitem id="flashgot-main-about" 
  76.         label="&flashgotAbout;"
  77.         oncommand="gFlashGot.openAboutDialog()"
  78.       />
  79.   </menupopup>
  80.   </menu>
  81.  
  82.  
  83.   <toolbarpalette id="BrowserToolbarPalette">
  84.     <toolbarbutton id="flashgot-tbb-all" 
  85.       oncommand="event.target != this || window.setTimeout(function() { gFlashGot.downloadSel() || gFlashGot.downloadAll(); },0);"
  86.       tooltiptext="&flashgotSel; | &flashgotAll;" 
  87.       class="toolbarbutton-1"
  88.       label="FlashGot"
  89.       type="menu-button"
  90.    >
  91.     <menupopup id="flashgot-tbb-menupopup-options" onpopupshowing="gFlashGot.prepareOptsMenu(event.target)">
  92.         <menuitem id="flashgot-tbb-menuitem-nodms" hidden="true"
  93.           label="&flashgotNoDMS;"
  94.           oncommand="gFlashGotService.showDMSReference()"
  95.           />
  96.         <menuseparator />
  97.          <menuitem id="flashgot-tbb-menuitem-opt-autoStart"
  98.           label="&flashgotAutostart;"
  99.           type="checkbox"
  100.           oncommand="gFlashGot.switchOption('autoStart')"
  101.           />
  102.         <menuitem id="flashgot-tbb-menuitem-opt-includeImages"
  103.           label="&includeImages.label;"
  104.           type="checkbox"
  105.           oncommand="gFlashGot.switchOption('includeImages')"
  106.           />
  107.         <menuitem id="flashgot-tbb-menuitem-opts" 
  108.           label="&flashgotMoreOpts;"
  109.           oncommand="gFlashGot.openOptionsDialog()"
  110.           class="menuitem-iconic flashgot-icon-opts"  
  111.         />
  112.         <menuitem id="flashgot-tbb-menuitem-rsPremium" hidden="true" label="RapidShare Premium" oncommand="gFlashGot.rsPremiumHack()" />
  113.         <menuseparator />
  114.         <menuitem  id="flashgot-tbb-about"
  115.           label="&flashgotAbout;"
  116.           oncommand="gFlashGot.openAboutDialog()"
  117.         />
  118.         <menuitem id="flashgot-tbb-homepage"
  119.               label="&flashgotVisitHomepage;"
  120.               oncommand="gFlashGot.browseHomePage()"
  121.             />
  122.       </menupopup>
  123.    </toolbarbutton>
  124.   </toolbarpalette>
  125.  
  126.  
  127.   <popup id="contentAreaContextMenu">
  128.     <menu id="flashgot-submenu" hidden="true" persist="hidden"
  129.       label="FlashGot" class="menu-iconic flashgot-icon-lnk"
  130.       accesskey="&flashgotLink.accesskey;"
  131.       insertbefore="context-sep-selectall,context-sep-stop,context-sep-copylink"
  132.       >
  133.       <menupopup>
  134.         <menuseparator id="flashgot-submenu-anchor" hidden="true" />
  135.          <menuitem id="flashgot-menuitem-it"
  136.           label="&flashgotLink;" 
  137.           accesskey="&flashgotLink.accesskey;"
  138.           oncommand="gFlashGot.downloadPopupLink()"
  139.           key="flashgot-link-key"
  140.           class="menuitem-iconic flashgot-icon-lnk"
  141.         />
  142.         <menuitem id="flashgot-menuitem-sel"
  143.           label="&flashgotSel;"  
  144.           accesskey="&flashgotSel.accesskey;"
  145.           oncommand="gFlashGot.delayCmd('Sel')"
  146.           key="flashgot-sel-key"
  147.           class="menuitem-iconic flashgot-icon-sel"
  148.         />
  149.         <menuitem id="flashgot-menuitem-all" 
  150.             label="&flashgotAll;" 
  151.             accesskey="&flashgotAll.accesskey;"
  152.             oncommand="gFlashGot.delayCmd('All')"
  153.             key="flashgot-all-key"
  154.             class="menuitem-iconic flashgot-icon-all"
  155.           />
  156.         <menuitem id="flashgot-menuitem-tabs"
  157.             label="&flashgotTabs;" 
  158.             accesskey="&flashgotTabs.accesskey;"
  159.             oncommand="gFlashGot.delayCmd('Tabs')"
  160.             key="flashgot-tabs-key"
  161.             class="menuitem-iconic flashgot-icon-tabs"
  162.           />     
  163.         <menuitem id="flashgot-menuitem-autotest" 
  164.           label="Autotest" hidden="true"
  165.           oncommand="gFlashGot.autotest()"
  166.         />  
  167.         <menuitem id="flashgot-menuitem-buildGallery"
  168.           label="&flashgotBuildGallery;"
  169.           class="menuitem-iconic flashgot-icon-buildGallery"  
  170.           oncommand="gFlashGot.buildGallery()"
  171.         />
  172.         <menu id="flashgot-menu-options"
  173.           class="menu-iconic flashgot-icon-opts"  
  174.           label="&flashgotOptions;" >
  175.           <menupopup id="flashgot-menupopup-options" onpopupshowing="gFlashGot.prepareOptsMenu(event.target)">
  176.             <menuitem id="flashgot-ctx-menuitem-nodms" hidden="true"
  177.               label="&flashgotNoDMS;"
  178.               oncommand="gFlashGotService.showDMSReference()"
  179.               />
  180.             <menuseparator id="flashgot-ctx-sep-nodms" />
  181.              <menuitem id="flashgot-ctx-menuitem-opt-autoStart"
  182.               label="&flashgotAutostart;"
  183.               type="checkbox"
  184.               oncommand="gFlashGot.switchOption('autoStart')"
  185.               />
  186.             <menuitem id="flashgot-ctx-menuitem-opt-includeImages"
  187.               label="&includeImages.label;"
  188.               type="checkbox"
  189.               oncommand="gFlashGot.switchOption('includeImages')"
  190.               />
  191.             <menuitem id="flashgot-ctx-menuitem-opts"
  192.               label="&flashgotMoreOpts;"
  193.               oncommand="gFlashGot.openOptionsDialog()"
  194.             />
  195.             <menuseparator id="flashgot-ctx-sep-about" />
  196.             <menuitem id="flashgot-ctx-menuitem-about"
  197.               label="&flashgotAbout;"
  198.               oncommand="gFlashGot.openAboutDialog()"
  199.             />
  200.             <menuitem id="flashgot-ctx-homepage"
  201.               label="&flashgotVisitHomepage;"
  202.               oncommand="gFlashGot.browseHomePage()"
  203.             />
  204.           </menupopup>
  205.         </menu>
  206.       </menupopup>
  207.     </menu>  
  208.     
  209.     <menuseparator id="flashgot-context-separator" hidden="true"
  210.       insertbefore="context-sep-selectall,context-sep-stop,context-sep-copylink" /> 
  211.     <menuseparator id="flashgot-context-separator2" hidden="true" 
  212.       insertbefore="context-sep-selectall,context-sep-stop,context-sep-copylink" />   
  213.   
  214.   </popup>
  215.   
  216.   <statusbar id="status-bar">
  217.     <statusbarpanel id="flashgot-progresspanel" insertafter="flashgot-statusbarpanel,statusbar-progresspanel,statusbar-display" 
  218.       class="statusbarpanel-progress" collapsed="true">
  219.       <label plain="true" value="FlashGot" />
  220.       <progressmeter id="flashgot-progressmeter" class="progressmeter-status" mode="normal" value="0" />
  221.     </statusbarpanel>
  222.      
  223.   </statusbar>
  224.   
  225. </overlay>
  226.