www

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

preferences_search.xul (3235B)


      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-search"
     30 			onpaneload="Zotero_Preferences.Search.init()"
     31 			helpTopic="search">
     32 		<preferences>
     33 			<preference id="pref-fulltext-textMaxLength" name="extensions.zotero.fulltext.textMaxLength" type="int"/>
     34 			<preference id="pref-fulltext-pdfmaxpages" name="extensions.zotero.fulltext.pdfMaxPages" type="int"/>
     35 		</preferences>
     36 		
     37 		<groupbox>
     38 			<caption label="&zotero.preferences.search.fulltextCache;"/>
     39 			
     40 			<hbox>
     41 				<button id="fulltext-rebuildIndex" flex="1" oncommand="Zotero_Preferences.Search.rebuildIndexPrompt()"/>
     42 				<button id="fulltext-clearIndex" flex="1" oncommand="Zotero_Preferences.Search.clearIndexPrompt()"/>
     43 			</hbox>
     44 			
     45 			<separator/>
     46 			
     47 			<hbox align="center">
     48 				<label value="&zotero.preferences.fulltext.textMaxLength;"/>
     49 				<textbox size="10" preference="pref-fulltext-textMaxLength"/>
     50 				<label value="(&zotero.preferences.default; 500000)"/>
     51 			</hbox>
     52 
     53 			<separator class="thin"/>
     54 
     55 			<hbox align="center">
     56 				<label value="&zotero.preferences.fulltext.pdfMaxPages;"/>
     57 				<textbox size="5" preference="pref-fulltext-pdfmaxpages"/>
     58 				<label value="(&zotero.preferences.default; 100)"/>
     59 			</hbox>
     60 		</groupbox>
     61 		
     62 		<groupbox id="fulltext-stats">
     63 			<caption label="&zotero.preferences.search.indexStats;"/>
     64 			
     65 			<grid>
     66 				<columns>
     67 					<column/>
     68 					<column/>
     69 				</columns>
     70 				
     71 				<rows>
     72 					<row id="fulltext-stats-indexed">
     73 						<label value="&zotero.preferences.search.indexStats.indexed;"/>
     74 						<label/>
     75 					</row>
     76 					<row id="fulltext-stats-partial">
     77 						<label value="&zotero.preferences.search.indexStats.partial;"/>
     78 						<label/>
     79 					</row>
     80 					<row id="fulltext-stats-unindexed">
     81 						<label value="&zotero.preferences.search.indexStats.unindexed;"/>
     82 						<label/>
     83 					</row>
     84 					<row id="fulltext-stats-words">
     85 						<label value="&zotero.preferences.search.indexStats.words;"/>
     86 						<label/>
     87 					</row>
     88 				</rows>
     89 			</grid>
     90 		</groupbox>
     91 		
     92 		<separator/>
     93 		<separator/>
     94 	</prefpane>
     95 	
     96 	<script src="preferences_search.js" type="application/javascript;version=1.8"/>
     97 </overlay>