mirror of
https://github.com/fergalmoran/chrometophone.git
synced 2025-12-22 09:41:51 +00:00
89 lines
4.3 KiB
XML
89 lines
4.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<?xml-stylesheet href="chrome://sendtophone/skin/overlay.css" type="text/css"?>
|
|
<!DOCTYPE overlay SYSTEM "chrome://sendtophone/locale/overlay.dtd">
|
|
<overlay id="sendtophone-overlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
<script src="overlay.js"/>
|
|
<script src="ff-overlay.js"/>
|
|
|
|
<stringbundleset id="stringbundleset">
|
|
<stringbundle id="sendtophone-strings" src="chrome://sendtophone/locale/overlay.properties"/>
|
|
</stringbundleset>
|
|
|
|
<popupset id="mainPopupSet">
|
|
<menupopup id="sendtophoneContextMenu" onpopupshowing="sendtophone.initPopup();">
|
|
<menuitem label="&sendtophoneContextSendClipboard.label;"
|
|
accesskey="&sendtophoneContextSendClipboard.accesskey;"
|
|
oncommand="sendtophone.sendClipboard()" id="sendtophoneContextMenuSendClipboard"/>
|
|
<menuitem label="&sendtophoneContextSendFile.label;"
|
|
accesskey="&sendtophoneContextSendFile.accesskey;"
|
|
oncommand="sendtophone.pickFile(false)" id="sendtophoneContextMenuSendFiles"/>
|
|
<menuitem label="&sendtophoneContextSendFolder.label;"
|
|
accesskey="&sendtophoneContextSendFolder.accesskey;"
|
|
oncommand="sendtophone.pickFile(true)" id="sendtophoneContextMenuSendFolder"/>
|
|
<menu label="&sendtophoneProtocols.label;">
|
|
<menupopup id="menu_Protocols" onpopupshowing="sendtophone.onOptionsShowing(this)">
|
|
<menuitem type="checkbox" id="marketcheck" label="market:" oncommand="sendtophone.onToggleOption(this)" option="market"/>
|
|
<menuitem type="checkbox" id="smscheck" label="sms:" oncommand="sendtophone.onToggleOption(this)" option="sms"/>
|
|
<menuitem type="checkbox" id="telcheck" label="tel:" oncommand="sendtophone.onToggleOption(this)" option="tel"/>
|
|
</menupopup>
|
|
</menu>
|
|
<menuitem label="&sendtophoneContextLogout.label;"
|
|
accesskey="&sendtophoneContextLogout.accesskey;"
|
|
oncommand="sendtophone.logout()" id="sendtophoneContextMenuLogout"/>
|
|
</menupopup>
|
|
|
|
</popupset>
|
|
|
|
<menupopup id="contentAreaContextMenu">
|
|
<menuitem id="context-sendtophone-link" label="&sendtophoneContext.label;"
|
|
class="menuitem-iconic"
|
|
accesskey="&sendtophoneContext.accesskey;"
|
|
insertafter="context-sendlink"
|
|
oncommand="sendtophone.onMenuItemCommand(event, 'link')"/>
|
|
<menuitem id="context-sendtophone-image" label="&sendtophoneContextImage.label;"
|
|
class="menuitem-iconic"
|
|
accesskey="&sendtophoneContextImage.accesskey;"
|
|
insertafter="context-sendimage"
|
|
oncommand="sendtophone.onMenuItemCommand(event, 'image')"/>
|
|
<menuitem id="context-sendtophone-qrimage" label="&sendtophoneContextQrImage.label;"
|
|
class="menuitem-iconic"
|
|
accesskey="&sendtophoneContextQrImage.accesskey;"
|
|
insertafter="context-sendimage"
|
|
oncommand="sendtophone.onMenuItemCommand(event, 'qr')"/>
|
|
<menuitem id="context-sendtophone-video" label="&sendtophoneContextVideo.label;"
|
|
class="menuitem-iconic"
|
|
accesskey="&sendtophoneContextVideo.accesskey;"
|
|
insertafter="context-sendvideo"
|
|
oncommand="sendtophone.onMenuItemCommand(event, 'video')"/>
|
|
|
|
<menuitem id="context-sendtophone-text" label="&sendtophoneContextText.label;"
|
|
class="menuitem-iconic"
|
|
accesskey="&sendtophoneContextText.accesskey;"
|
|
insertafter="context-searchselect"
|
|
oncommand="sendtophone.onMenuItemCommand(event, 'text')"/>
|
|
<menuitem id="context-sendtophone-email" label="&sendtophoneContextEmail.label;"
|
|
class="menuitem-iconic"
|
|
accesskey="&sendtophoneContextEmail.accesskey;"
|
|
insertafter="context-searchselect"
|
|
oncommand="sendtophone.onMenuItemCommand(event, 'email')"/>
|
|
<menuitem id="context-sendtophone-page" label="&sendtophoneContextPage.label;"
|
|
class="menuitem-iconic"
|
|
accesskey="&sendtophoneContextPage.accesskey;"
|
|
insertafter="context-sendpage"
|
|
oncommand="sendtophone.onMenuItemCommand(event, 'page')"/>
|
|
</menupopup>
|
|
|
|
<toolbarpalette id="BrowserToolbarPalette">
|
|
<toolbarbutton id="sendtophone-toolbar-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
|
|
label="&sendtophoneToolbarButton.label;" tooltiptext="&sendtophoneToolbarButton.tooltip;"
|
|
context="sendtophoneContextMenu"
|
|
|
|
ondragenter="sendtophone.checkDrag(event)"
|
|
ondragover="sendtophone.checkDrag(event)"
|
|
ondrop="sendtophone.doDrop(event)"
|
|
|
|
oncommand="sendtophone.onToolbarButtonCommand()"/>
|
|
</toolbarpalette>
|
|
|
|
</overlay>
|