~click2dial-extension-devteam/click2dial-firefox-extension/2.0

« back to all changes in this revision

Viewing changes to chrome/content/overlayTBAddressBook.xul

  • Committer: Jonathan SEMCZYK
  • Date: 2011-01-26 13:48:27 UTC
  • Revision ID: jsemczyk@acipia.fr-20110126134827-hhm3ei7ivbn4zgh1
added Thunderbird 3.1 compatibility :
 - status bar like firefox addon
 - select then right click in a mail to dial
 - click on addressbook phone numbers to dial

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<?xml-stylesheet href="chrome://asterisk-ext/skin/asterisk-ext.css" type="text/css"?>
 
3
 
 
4
<!DOCTYPE prefwindow [ 
 
5
<!ENTITY % asteriskextDTD SYSTEM "chrome://asterisk-ext/locale/asterisk-ext.dtd"> 
 
6
%asteriskextDTD; 
 
7
]>
 
8
 
 
9
<overlay id="asteriskExt-Overlay"
 
10
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" >
 
11
 
 
12
        <script type="application/x-javascript" src="chrome://asterisk-ext/content/overlayTBAddressBook.js" />
 
13
 
 
14
        <stringbundleset id="stringbundleset"> 
 
15
                <stringbundle id="asterisk-ext-strings" src="chrome://asterisk-ext/locale/asterisk-ext.properties" />
 
16
        </stringbundleset>
 
17
 
 
18
        <description id="cvPhWork" class="CardViewText asterisk-ext-number"
 
19
                onclick="AsteriskExtChrome.BrowserOverlay.editConfirmDial(AsteriskExt.cleanPhoneNumber(document.getElementById('cvPhWork').textContent));" />
 
20
        <description id="cvPhHome" class="CardViewText asterisk-ext-number"
 
21
                onclick="AsteriskExtChrome.BrowserOverlay.editConfirmDial(AsteriskExt.cleanPhoneNumber(document.getElementById('cvPhHome').textContent));" />
 
22
        <description id="cvPhFax" class="CardViewText asterisk-ext-number"
 
23
                onclick="AsteriskExtChrome.BrowserOverlay.editConfirmDial(AsteriskExt.cleanPhoneNumber(document.getElementById('cvPhFax').textContent));" />
 
24
        <description id="cvPhCellular" class="CardViewText asterisk-ext-number"
 
25
                onclick="AsteriskExtChrome.BrowserOverlay.editConfirmDial(AsteriskExt.cleanPhoneNumber(document.getElementById('cvPhCellular').textContent));" />
 
26
        <description id="cvPhPager" class="CardViewText asterisk-ext-number"
 
27
                onclick="AsteriskExtChrome.BrowserOverlay.editConfirmDial(AsteriskExt.cleanPhoneNumber(document.getElementById('cvPhPager').textContent));" />
 
28
 
 
29
</overlay>