preferences.xul (3677B)
1 <?xml version="1.0"?> 2 <!-- 3 ***** BEGIN LICENSE BLOCK ***** 4 5 Copyright © 2006–2013 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 <!DOCTYPE prefwindow SYSTEM "chrome://zotero/locale/preferences.dtd"> 27 28 <?xml-stylesheet href="chrome://global/skin/global.css"?> 29 <?xml-stylesheet href="chrome://browser/skin/preferences/preferences.css"?> 30 <?xml-stylesheet href="chrome://zotero/skin/preferences.css"?> 31 <?xml-stylesheet href="chrome://zotero/skin/zotero.css"?> 32 <?xml-stylesheet href="chrome://zotero-platform/content/overlay.css"?> 33 34 <!-- 35 To add an observer for a preference change, add an appropriate case in 36 the switch statement in Zotero.Prefs.observe(). 37 --> 38 <prefwindow id="zotero-prefs" 39 title="&zotero.preferences.title;" 40 onload="Zotero_Preferences.init()" 41 onunload="Zotero_Preferences.onUnload()" 42 ondialoghelp="Zotero_Preferences.openHelpLink()" 43 windowtype="zotero:pref" 44 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 45 46 <prefpane id="zotero-prefpane-general" 47 label="&zotero.preferences.prefpane.general;" 48 image="chrome://zotero/skin/prefs-general.png" 49 src="chrome://zotero/content/preferences/preferences_general.xul"/> 50 51 <prefpane id="zotero-prefpane-sync" 52 label="&zotero.preferences.prefpane.sync;" 53 image="chrome://zotero/skin/prefs-sync.png" 54 src="chrome://zotero/content/preferences/preferences_sync.xul"/> 55 56 <prefpane id="zotero-prefpane-search" 57 label="&zotero.preferences.prefpane.search;" 58 image="chrome://zotero/skin/prefs-search.png" 59 src="chrome://zotero/content/preferences/preferences_search.xul"/> 60 61 <prefpane id="zotero-prefpane-export" 62 label="&zotero.preferences.prefpane.export;" 63 image="chrome://zotero/skin/prefs-export.png" 64 src="chrome://zotero/content/preferences/preferences_export.xul"/> 65 66 <prefpane id="zotero-prefpane-cite" 67 label="&zotero.preferences.prefpane.cite;" 68 image="chrome://zotero/skin/prefs-styles.png" 69 src="chrome://zotero/content/preferences/preferences_cite.xul"/> 70 71 <prefpane id="zotero-prefpane-advanced" 72 label="&zotero.preferences.prefpane.advanced;" 73 image="chrome://zotero/skin/prefs-advanced.png" 74 src="chrome://zotero/content/preferences/preferences_advanced.xul"/> 75 76 <!-- These mess up the prefwindow (more) if they come before the prefpanes 77 https://bugzilla.mozilla.org/show_bug.cgi?id=296418 --> 78 <script src="chrome://zotero/content/include.js"></script> 79 <script src="chrome://zotero/content/charsetMenu.js"></script> 80 <script type="application/javascript"> 81 <![CDATA[ 82 var observerService = Components.classes["@mozilla.org/observer-service;1"].getService(Components.interfaces.nsIObserverService); 83 observerService.notifyObservers(null, "charsetmenu-selected", "other"); 84 ]]> 85 </script> 86 <script src="preferences.js" type="application/javascript;version=1.8"/> 87 </prefwindow>