www

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

advancedSearch.xul (2342B)


      1 <?xml version="1.0"?>
      2 <?xml-stylesheet href="chrome://global/skin/"?>
      3 <?xml-stylesheet href="chrome://zotero/skin/zotero.css" type="text/css"?>
      4 <?xml-stylesheet href="chrome://zotero/skin/overlay.css" type="text/css"?>
      5 <?xml-stylesheet href="chrome://zotero-platform/content/overlay.css"?>
      6 
      7 <!DOCTYPE window [
      8 	<!ENTITY % zoteroDTD SYSTEM "chrome://zotero/locale/zotero.dtd">
      9 	%zoteroDTD;
     10 	<!ENTITY % searchboxDTD SYSTEM "chrome://zotero/locale/searchbox.dtd">
     11 	%searchboxDTD;
     12 ]>
     13 
     14 <window
     15 	id="zotero-advanced-search-dialog"
     16 	title="&zotero.toolbar.advancedSearch;"
     17 	orient="vertical"
     18 	persist="screenX screenY width height"
     19 	onload="ZoteroAdvancedSearch.onLoad()"
     20 	onunload="ZoteroAdvancedSearch.onUnload()"
     21 	xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     22 	windowtype="zotero:search">
     23 	
     24 	<script src="include.js"/>
     25 	<script src="advancedSearch.js"/>
     26 	
     27 	<vbox id="zotero-search-box-container" flex="1">
     28 		<vbox id="zotero-search-box-controls">
     29 			<zoterosearch id="zotero-search-box" oncommand="if (this.active) { ZoteroAdvancedSearch.search(); }" flex="1"/>
     30 			
     31 			<hbox id="zotero-search-buttons">
     32 				<button label="&zotero.search.search;" default="true" oncommand="ZoteroAdvancedSearch.search()"/>
     33 				<button label="&zotero.search.clear;" oncommand="ZoteroAdvancedSearch.clear()"/>
     34 				<button id="zotero-search-save" label="&zotero.search.saveSearch;" oncommand="ZoteroAdvancedSearch.save()"/>
     35 			</hbox>
     36 		</vbox>
     37 		
     38 		<tree id="zotero-items-tree" flex="1" hidecolumnpicker="true" seltype="multiple"
     39 				ondblclick="ZoteroAdvancedSearch.onDblClick(event, this)"
     40 				ondragstart="if (event.target.localName == 'treechildren') { ZoteroAdvancedSearch.itemsView.onDragStart(event); }">
     41 			<treecols>
     42 				<treecol
     43 					id="zotero-items-column-title" primary="true"
     44 					label="&zotero.items.title_column;"
     45 					flex="4" persist="width ordinal hidden sortActive sortDirection"/>
     46 				<splitter class="tree-splitter"/>
     47 				<treecol
     48 					id="zotero-items-column-firstCreator"
     49 					label="&zotero.items.creator_column;"
     50 					flex="1" persist="width ordinal hidden sortActive sortDirection"/>
     51 				<splitter class="tree-splitter"/>
     52 			</treecols>
     53 			<treechildren alternatingbackground="true"/>
     54 		</tree>
     55 	</vbox>
     56 	
     57 	<keyset>
     58 		<key id="key_close" key="W" modifiers="accel" oncommand="window.close()"/>
     59 	</keyset>
     60 </window>