captcha.xul (1094B)
1 <?xml version="1.0"?> 2 3 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 4 <?xml-stylesheet href="chrome://zotero/skin/zotero.css" type="text/css"?> 5 6 <!DOCTYPE window SYSTEM "chrome://zotero/locale/zotero.dtd"> 7 8 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 9 onload="Zotero_Captcha.onLoad();" 10 id="zotero-captcha" 11 onkeypress="if(event.keyCode === KeyEvent.DOM_VK_ESCAPE) Zotero_Captcha.cancel();"> 12 13 <script src="include.js"/> 14 <script src="captcha.js"/> 15 16 <vbox style="padding:10px" align="center" flex="1"> 17 <description id="zotero-captcha-description"></description> 18 <image id="zotero-captcha-image" onload="Zotero_Captcha.imageOnLoad();" /> 19 <description id="zotero-captcha-error"></description> 20 <textbox id="zotero-captcha-input" 21 onkeypress="if(event.keyCode === KeyEvent.DOM_VK_RETURN) Zotero_Captcha.resolve();" /> 22 <hbox> 23 <button label="&zotero.general.ok;" default="true" oncommand="Zotero_Captcha.resolve();" /> 24 <button label="&zotero.general.cancel;" oncommand="Zotero_Captcha.cancel();" /> 25 </hbox> 26 </vbox> 27 </window>