librariesToSync.xul (2527B)
1 <?xml version="1.0"?> 2 <!-- 3 ***** BEGIN LICENSE BLOCK ***** 4 5 Copyright © 2007 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 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 28 <?xml-stylesheet href="chrome://zotero/skin/preferences.css"?> 29 30 31 <!DOCTYPE window [ 32 <!ENTITY % prefWindow SYSTEM "chrome://zotero/locale/preferences.dtd"> 33 %prefWindow; 34 <!ENTITY % common SYSTEM "chrome://zotero/locale/zotero.dtd"> 35 %common; 36 ]> 37 38 <dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 39 title="" buttons="accept" 40 id="zotero-librariesToSync" 41 onload="Zotero_Preferences.Sync.initLibrariesToSync(); sizeToContent()" > 42 43 <script src="chrome://zotero/content/include.js"/> 44 <script src="preferences.js"/> 45 <script src="preferences_sync.js"/> 46 47 <groupbox> 48 <caption label="&zotero.preferences.sync.librariesToSync;"/> 49 50 <tree id="libraries-to-sync-tree" flex="1" width="415" hidecolumnpicker="true" rows="10" seltype="single" editable="true" 51 ondblclick="Zotero_Preferences.Sync.dblClickLibraryToSync(event);" 52 onclick="Zotero_Preferences.Sync.clickLibraryToSync(event)" 53 onkeyup="if (event.keyCode == event.DOM_VK_SPACE) { Zotero_Preferences.Sync.toggleLibraryToSync(this.currentIndex); }"> 54 <treecols> 55 <treecol editable="true" type="checkbox" id="libraries-to-sync-checked" label="&zotero.preferences.sync.librariesToSync.sync;"/> 56 <treecol editable="false" id="libraries-to-sync-name" flex="1" label="&zotero.preferences.sync.librariesToSync.library;"/> 57 </treecols> 58 <treechildren id="libraries-to-sync-rows"/> 59 </tree> 60 </groupbox> 61 62 <script> 63 <![CDATA[ 64 var io = window.arguments[0]; 65 ]]> 66 </script> 67 </dialog>