www

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

preferences_cite.xul (4968B)


      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 % zoteroDTD SYSTEM "chrome://zotero/locale/zotero.dtd">
     28 	%zoteroDTD;
     29 	<!ENTITY % preferencesDTD SYSTEM "chrome://zotero/locale/preferences.dtd">
     30 	%preferencesDTD;
     31 ]>
     32 
     33 <overlay id="zotero-prefpane-cite-overlay"
     34 		xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
     35 	
     36 	<prefpane id="zotero-prefpane-cite"
     37 			onpaneload="Zotero_Preferences.Cite.init()"
     38 			helpTopic="cite">
     39 		
     40 		<preferences id="zotero-preferences-cite">
     41 			<preference id="pref-cite-useClassicAddCitationDialog" name="extensions.zotero.integration.useClassicAddCitationDialog" type="bool"/>
     42 			<preference id="pref-cite-citePaperJournalArticleURL" name="extensions.zotero.export.citePaperJournalArticleURL" type="bool"/>
     43 		</preferences>
     44 		
     45 		<tabbox>
     46 			<tabs>
     47 				<tab id="styles-tab" label="&zotero.preferences.cite.styles;"/>
     48 				<tab id="wordProcessors-tab" label="&zotero.preferences.cite.wordProcessors;"/>
     49 			</tabs>
     50 			<tabpanels>
     51 				<tabpanel orient="vertical" id="styles">
     52 					<groupbox flex="1">
     53 						<caption label="&zotero.preferences.cite.styles.styleManager;"/>
     54 						
     55 						<tree flex="1" id="styleManager" hidecolumnpicker="true" rows="6"
     56 								onselect="document.getElementById('styleManager-delete').disabled = undefined"
     57 								onkeypress="if (event.keyCode == event.DOM_VK_DELETE) { Zotero_Preferences.Cite.deleteSelectedStyle(); }">
     58 							<treecols>
     59 								<treecol id="styleManager-title" label="&zotero.preferences.cite.styles.styleManager.title;" flex="1"/>
     60 								<treecol id="styleManager-updated" label="&zotero.preferences.cite.styles.styleManager.updated;"/>
     61 							</treecols>
     62 							<treechildren id="styleManager-rows"/>
     63 						</tree>
     64 						<separator class="thin"/>
     65 						<hbox align="center" flex="1" height="40">
     66 							<label class="zotero-text-link"
     67 									value="&zotero.preferences.export.getAdditionalStyles;" flex="1"
     68 									onclick="Zotero_Preferences.Cite.openStylesPage(); event.preventDefault()"/>
     69 							<button disabled="true" id="styleManager-delete" label="-"
     70 								oncommand="Zotero_Preferences.Cite.deleteStyle()"/>
     71 							<button label="+" oncommand="Zotero_Preferences.Cite.addStyle()"/>
     72 						</hbox>
     73 					</groupbox>
     74 					
     75 					<groupbox>
     76 						<caption label="&zotero.preferences.citationOptions.caption;"/>
     77 						
     78 						<checkbox label="&zotero.preferences.export.citePaperJournalArticleURL;" preference="pref-cite-citePaperJournalArticleURL"/>
     79 						<!-- This doesn't wrap without an explicit width, for some reason -->
     80 						<label id="export-citePaperJournalArticleURL" width="45em">
     81 							&zotero.preferences.export.citePaperJournalArticleURL.description;
     82 						</label>
     83 					</groupbox>
     84 					
     85 					<groupbox>
     86 						<caption label="&zotero.general.tools;"/>
     87 						
     88 						<hbox>
     89 							<button id="openCSLEdit"
     90 								label="&zotero.preferences.styleEditor;"
     91 								oncommand="Zotero_Preferences.openInViewer('chrome://zotero/content/tools/csledit.xul', true)"/>
     92 							<button id="openCSLPreview"
     93 								label="&zotero.preferences.stylePreview;"
     94 								oncommand="Zotero_Preferences.openInViewer('chrome://zotero/content/tools/cslpreview.xul', true)"/>
     95 						</hbox>
     96 					</groupbox>
     97 				</tabpanel>
     98 				<tabpanel orient="vertical" id="wordProcessors">
     99 					<vbox id="wordProcessors-somePluginsDisabled" hidden="true">
    100 						<label style="font-weight: bold; margin-top: 1em; text-align: center">Some word processor plugins are disabled.</label>
    101 						<hbox pack="center" style="margin-bottom: 2em">
    102 							<button id="wordProcessors-enablePlugins"
    103 								label="Enable Plugins and Restart Zotero"
    104 								oncommand="Zotero_Preferences.Cite.enableWordPlugins()"/>
    105 						</hbox>
    106 					</vbox>
    107 					<checkbox label="&zotero.preferences.cite.wordProcessors.useClassicAddCitationDialog;" preference="pref-cite-useClassicAddCitationDialog"/>
    108 				</tabpanel>
    109 			</tabpanels>
    110 		</tabbox>
    111 	</prefpane>
    112 	
    113 	<script src="preferences_cite.js" type="application/javascript;version=1.8"/>
    114 </overlay>