hardConfirmationDialog.xul (2308B)
1 <?xml version="1.0"?> 2 <!-- 3 ***** BEGIN LICENSE BLOCK ***** 4 5 Copyright © 2016 Center for History and New Media 6 George Mason University, Fairfax, Virginia, USA 7 http://zotero.org 8 9 This file is part of Zotero. 10 11 Zotero is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as published by 13 the Free Software Foundation, either version 3 of the License, or 14 (at your option) any later version. 15 16 Zotero is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public License 22 along with Zotero. If not, see <http://www.gnu.org/licenses/>. 23 24 ***** END LICENSE BLOCK ***** 25 --> 26 27 28 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 29 <?xml-stylesheet href="chrome://global/content/commonDialog.css" type="text/css"?> 30 <?xml-stylesheet href="chrome://global/skin/commonDialog.css" type="text/css"?> 31 32 <!DOCTYPE overlay [ <!ENTITY % zoteroDTD SYSTEM "chrome://zotero/locale/zotero.dtd"> %zoteroDTD; ]> 33 34 <dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 35 title="" buttons="cancel,accept" 36 id="zotero-hardConfirmationDialog" 37 onload="Zotero.HardConfirmationDialog.init(); sizeToContent();" 38 ondialogaccept="Zotero.HardConfirmationDialog.onAccept();" 39 ondialogextra1="Zotero.HardConfirmationDialog.onExtra1();"> 40 41 <script src="chrome://zotero/content/include.js"/> 42 <script src="hardConfirmationDialog.js"/> 43 44 <grid> 45 <columns> 46 <column/> 47 <column flex="1"/> 48 </columns> 49 <rows> 50 <row> 51 <hbox id="iconContainer" align="start"><image id="info.icon" class="spaced alert-icon"/></hbox> 52 <vbox id="infoContainer"> 53 <separator class="thin"/> 54 55 <checkbox id="zotero-hardConfirmationDialog-checkbox" hidden="true" oncommand="Zotero.HardConfirmationDialog.onCheckbox(event)"/> 56 <textbox id="zotero-hardConfirmationDialog-textbox" hidden="true" onkeyup="Zotero.HardConfirmationDialog.onKeyUp(event)"/> 57 </vbox> 58 </row> 59 </rows> 60 </grid> 61 62 </dialog>