www

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

preferences_general.xul (7096B)


      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 <overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
     29 	<prefpane id="zotero-prefpane-general"
     30 			onpaneload="Zotero_Preferences.General.init()"
     31 			helpTopic="general">
     32 		
     33 		<preferences id="zotero-prefpane-general-preferences">
     34 			<preference id="pref-fontSize" name="extensions.zotero.fontSize" type="string"/>
     35 			<preference id="pref-layout" name="extensions.zotero.layout" type="string"/>
     36 			
     37 			<preference id="pref-automaticSnapshots" name="extensions.zotero.automaticSnapshots" type="bool"/>
     38 			<preference id="pref-downloadAssociatedFiles" name="extensions.zotero.downloadAssociatedFiles" type="bool"/>
     39 			<preference id="pref-autoRecognizeFiles" name="extensions.zotero.autoRecognizeFiles" type="bool"/>
     40 			<preference id="pref-autoRenameFiles" name="extensions.zotero.autoRenameFiles" type="bool"/>
     41 			
     42 			<preference id="pref-automaticTags" name="extensions.zotero.automaticTags" type="bool"/>
     43 			<preference id="pref-trashAutoEmptyDays" name="extensions.zotero.trashAutoEmptyDays" type="int"/>
     44 			
     45 			<preference id="pref-groups-copyChildNotes" name="extensions.zotero.groups.copyChildNotes" type="bool"/>
     46 			<preference id="pref-groups-copyChildFileAttachments" name="extensions.zotero.groups.copyChildFileAttachments" type="bool"/>
     47 			<preference id="pref-groups-copyChildLinks" name="extensions.zotero.groups.copyChildLinks" type="bool"/>
     48 			<preference id="pref-groups-copyTags" name="extensions.zotero.groups.copyTags" type="bool"/>
     49 			
     50 		</preferences>
     51 		
     52 		<groupbox id="zotero-prefpane-general-groupbox">
     53 			<caption label="&zotero.preferences.userInterface;"/>
     54 			
     55 			<grid id="zotero-prefpane-general-grid">
     56 				<columns>
     57 					<column/>
     58 					<column flex="1"/>
     59 				</columns>
     60 			
     61 				<rows id="zotero-prefpane-general-rows">
     62 					<row>
     63 						<hbox align="center">
     64 							<label value="&zotero.preferences.layout;" control="layout"/>
     65 						</hbox>
     66 						<radiogroup id="layout" orient="horizontal" align="center" preference="pref-layout">
     67 							<radio id="horizontal" label="&zotero.preferences.layout.standard;" value="standard"/>
     68 							<radio id="vertical" label="&zotero.preferences.layout.stacked;" value="stacked"/>
     69 						</radiogroup>
     70 					</row>
     71 
     72 					<row>
     73 						<hbox align="center">
     74 							<label value="&zotero.preferences.fontSize;" control="fontSize"/>
     75 						</hbox>
     76 						<radiogroup id="fontSize" orient="horizontal" align="center" preference="pref-fontSize">
     77 							<radio id="fontSize1" label="&zotero.preferences.fontSize.small;" value="1.0"/>
     78 							<radio id="fontSize2" label="&zotero.preferences.fontSize.medium;" value="1.15"/>
     79 							<radio id="fontSize3" label="&zotero.preferences.fontSize.large;" value="1.3"/>
     80 							<radio id="fontSize4" label="&zotero.preferences.fontSize.xlarge;" value="1.5"/>
     81 						</radiogroup>
     82 					</row>
     83 					
     84 					<row>
     85 						<hbox align="center">
     86 							<label value="&zotero.preferences.fontSize.notes;" control="noteFontSize"/>
     87 						</hbox>
     88 						<hbox>
     89 							<menulist id="noteFontSize" editable="true"
     90 									onblur="Zotero.Prefs.set('note.fontSize', this.value); this.value = Zotero.Prefs.get('note.fontSize');">
     91 								<menupopup>
     92 									<menuitem label="11"/>
     93 									<menuitem label="12"/>
     94 									<menuitem label="13"/>
     95 									<menuitem label="14"/>
     96 									<menuitem label="18"/>
     97 									<menuitem label="24"/>
     98 									<menuitem label="36"/>
     99 									<menuitem label="48"/>
    100 									<menuitem label="64"/>
    101 									<menuitem label="72"/>
    102 									<menuitem label="96"/>
    103 								</menupopup>
    104 							</menulist>
    105 							
    106 							<label class="statusLine" value="&zotero.preferences.keys.changesTakeEffect;"/>
    107 						</hbox>
    108 					</row>
    109 				</rows>
    110 			</grid>
    111 		</groupbox>
    112 		
    113 		<groupbox id="zotero-prefpane-file-handling-groupbox">
    114 			<caption label="&zotero.preferences.fileHandling;"/>
    115 			
    116 			<checkbox id="automaticSnapshots-checkbox"
    117 				label="&zotero.preferences.automaticSnapshots;"
    118 				preference="pref-automaticSnapshots"/>
    119 			<checkbox label="&zotero.preferences.downloadAssociatedFiles;" preference="pref-downloadAssociatedFiles"/>
    120 			<checkbox label="&zotero.preferences.autoRecognizeFiles;" preference="pref-autoRecognizeFiles"/>
    121 			<checkbox label="&zotero.preferences.autoRenameFiles;" preference="pref-autoRenameFiles"/>
    122 			
    123 			<hbox align="center">
    124 				<label value="&zotero.preferences.fileHandler.openPDFsUsing;" control="file-handler-pdf"/>
    125 				<menulist id="fileHandler-pdf" class="fileHandler-menu">
    126 					<menupopup>
    127 						<menuitem id="fileHandler-custom"/>
    128 						<menuitem label="&zotero.preferences.fileHandler.systemDefault;"
    129 								oncommand="Zotero_Preferences.General.setFileHandler('pdf', false)"/>
    130 						<menuitem label="&zotero.preferences.custom;"
    131 								oncommand="Zotero_Preferences.General.chooseFileHandler('pdf')"/>
    132 					</menupopup>
    133 				</menulist>
    134 			</hbox>
    135 		</groupbox>
    136 		
    137 		<groupbox id="zotero-prefpane-miscellaneous-groupbox">
    138 			<caption label="&zotero.preferences.miscellaneous;"/>
    139 			
    140 			<checkbox label="&zotero.preferences.automaticTags;" preference="pref-automaticTags"/>
    141 			<hbox align="center">
    142 				<label value="&zotero.preferences.trashAutoEmptyDaysPre;"/>
    143 				<textbox size="2" preference="pref-trashAutoEmptyDays"/>
    144 				<label value="&zotero.preferences.trashAutoEmptyDaysPost;"/>
    145 			</hbox>
    146 		</groupbox>
    147 		
    148 		<groupbox>
    149 			<caption label="&zotero.preferences.groups;"/>
    150 			
    151 			<label value="&zotero.preferences.groups.whenCopyingInclude;"/>
    152 			<vbox style="margin-left: 2em">
    153 				<checkbox label="&zotero.preferences.groups.childNotes;" preference="pref-groups-copyChildNotes"/>
    154 				<checkbox label="&zotero.preferences.groups.childFiles;" preference="pref-groups-copyChildFileAttachments"/>
    155 				<checkbox label="&zotero.preferences.groups.childLinks;" preference="pref-groups-copyChildLinks"/>
    156 				<checkbox label="&zotero.preferences.groups.tags;" preference="pref-groups-copyTags"/>
    157 			</vbox>
    158 		</groupbox>
    159 		
    160 		<separator/>
    161 		<separator/>
    162 	</prefpane>
    163 	
    164 	<script src="preferences_general.js" type="application/javascript;version=1.8"/>
    165 </overlay>