www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

preferences_export.xul (5046B)


      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 window [
     27   <!ENTITY % prefWindow SYSTEM "chrome://zotero/locale/preferences.dtd">
     28   %prefWindow;
     29   <!ENTITY % common SYSTEM "chrome://zotero/locale/zotero.dtd">
     30   %common;
     31 ]>
     32 
     33 <overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
     34 	<prefpane id="zotero-prefpane-export"
     35 			onpaneload="Zotero_Preferences.Export.init()"
     36 			helpTopic="export">
     37 		
     38 		<preferences>
     39 			<preference id="pref-quickCopy-setting" name="extensions.zotero.export.quickCopy.setting" type="string"/>
     40 			<preference id="pref-quickCopy-dragLimit" name="extensions.zotero.export.quickCopy.dragLimit" type="int"/>
     41 			<preference id="pref-quickCopy-locale" name="extensions.zotero.export.quickCopy.locale" type="string"/>
     42 			<preference id="pref-import-charset" name="extensions.zotero.import.charset" type="string"/>
     43 		</preferences>
     44 		
     45 		<groupbox id="zotero-prefpane-export-groupbox">
     46 			<caption label="&zotero.preferences.quickCopy.caption;"/>
     47 			
     48 			<label id="quickCopy-instructions"/>
     49 			<separator class="thin"/>
     50 			<label id="quickCopy-citationInstructions"/>
     51 			
     52 			<separator/>
     53 			
     54 			<label value="&zotero.preferences.quickCopy.defaultFormat;" control="quickCopy-menu"/>
     55 			<menulist id="zotero-quickCopy-menu" label="&zotero.general.loading;"/>
     56 			
     57 			<hbox align="center">
     58 				<label id="zotero-quickCopy-locale-menu-label" value="&zotero.bibliography.locale.label;" control="zotero-quickCopy-locale-menu"/>
     59 				<menulist id="zotero-quickCopy-locale-menu" oncommand="Zotero_Preferences.Export._lastSelectedLocale = this.value"/>
     60 				
     61 				<separator orient="vertical" width="15px"/>
     62 				
     63 				<checkbox id="zotero-quickCopy-copyAsHTML" label="&zotero.preferences.quickCopy.copyAsHTML;"
     64 					oncommand="Zotero_Preferences.Export.onCopyAsHTMLChange(this.checked)"/>
     65 			</hbox>
     66 			
     67 			<separator/>
     68 			
     69 			<label value="&zotero.preferences.quickCopy.siteEditor.setings;" control="quickCopy-siteSettings"/>
     70 			<tree flex="1" id="quickCopy-siteSettings" hidecolumnpicker="true" rows="6" seltype="single"
     71 					ondblclick="Zotero_Preferences.Export.showQuickCopySiteEditor(this.currentIndex)"
     72 					onselect="Zotero_Preferences.Export.enableQuickCopySiteButtons()"
     73 					onkeypress="if (event.keyCode == event.DOM_VK_DELETE) { Zotero_Preferences.Export.deleteSelectedQuickCopySite(); }">
     74 				<treecols>
     75 					<treecol id="quickCopy-urlColumn" label="&zotero.preferences.quickCopy.siteEditor.domainPath;" flex="1"/>
     76 					<treecol id="quickCopy-formatColumn" label="&zotero.preferences.quickCopy.siteEditor.format;" flex="2"/>
     77 					<treecol id="quickCopy-localeColumn" label="&zotero.preferences.quickCopy.siteEditor.locale;"/>
     78 					<treecol id="quickCopy-copyAsHTML" label="HTML"/>
     79 				</treecols>
     80 				<treechildren id="quickCopy-siteSettings-rows"/>
     81 			</tree>
     82 			<separator class="thin"/>
     83 			<hbox>
     84 				<button disabled="true" id="quickCopy-edit" label="&zotero.general.edit;"
     85 					onclick="Zotero_Preferences.Export.showQuickCopySiteEditor(document.getElementById('quickCopy-siteSettings').currentIndex)"/>
     86 				<spacer flex="1"/>
     87 				<button disabled="true" id="quickCopy-delete" label="-" onclick="Zotero_Preferences.Export.deleteSelectedQuickCopySite()"/>
     88 				<button label="+"
     89 					onclick="Zotero_Preferences.Export.showQuickCopySiteEditor()"/>
     90 			</hbox>
     91 			
     92 			<hbox align="center">
     93 				<label value="&zotero.preferences.quickCopy.dragLimit;"/>
     94 				<textbox preference="pref-quickCopy-dragLimit" size="3"/>
     95 				<label value="&zotero.preferences.items;" flex="1"/>
     96 			</hbox>
     97 		</groupbox>
     98 		
     99 		<groupbox>
    100 			<caption label="&zotero.preferences.charset;"/>
    101 			
    102 			<hbox align="center">
    103 				<label value="&zotero.preferences.charset.importCharset;:" control="zotero-import-charsetMenu"/>
    104 				<menulist id="zotero-import-charsetMenu" preference="pref-import-charset"/>
    105 			</hbox>
    106 		</groupbox>
    107 		
    108 		<!-- Unclear why this is necessary to prevent the menulist from getting cut off -->
    109 		<separator/>
    110 		<separator/>
    111 		<separator/>
    112 		<separator/>
    113 		
    114 		<script src="preferences_export.js" type="application/javascript;version=1.8"/>
    115 	</prefpane>
    116 </overlay>