www

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

selectItemsDialog.xul (10457B)


      1 <?xml version="1.0"?>
      2 <!--
      3     ***** BEGIN LICENSE BLOCK *****
      4     
      5     Copyright © 2009 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 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
     27 <?xml-stylesheet href="chrome://zotero/skin/zotero.css" type="text/css"?>
     28 <?xml-stylesheet href="chrome://zotero/skin/overlay.css" type="text/css"?>
     29 <?xml-stylesheet href="chrome://zotero-platform/content/overlay.css" type="text/css"?>
     30 <!DOCTYPE window SYSTEM "chrome://zotero/locale/zotero.dtd">
     31 
     32 <dialog
     33 	id="zotero-select-items-dialog"
     34 	windowtype="zotero:item-selector"
     35 	title="&zotero.selectitems.title;"
     36 	orient="vertical"
     37 	width="600" height="450"
     38 	buttons="cancel,accept"
     39 	ondialogaccept="doAccept();"
     40 	onload="doLoad();"
     41 	onunload="doUnload();"
     42 	xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     43 	style="padding:2em"
     44 	persist="screenX screenY width height">
     45 	
     46 	<script src="include.js"/>
     47 	<script src="selectItemsDialog.js"/>
     48 	
     49 	<vbox id="zotero-select-items-container" flex="1">
     50 	
     51 	<hbox align="center" pack="end">
     52 		<textbox id="zotero-tb-search" type="search" timeout="250" oncommand="onSearch()" dir="reverse"
     53 				onkeypress="if(event.keyCode == event.DOM_VK_ESCAPE) { if (this.value == '') { cancelDialog(); return false; } this.value = ''; this.doCommand('cmd_zotero_search'); return false; } return true;"/>
     54 	</hbox>
     55 	
     56 	<hbox flex="1">
     57 		<tree id="zotero-collections-tree"
     58 			style="width: 200px;" hidecolumnpicker="true" seltype="cell"
     59 			onselect="onCollectionSelected();">
     60 			<treecols>
     61 				<treecol
     62 					id="zotero-collections-name-column"
     63 					flex="1"
     64 					primary="true"
     65 					hideheader="true"/>
     66 			</treecols>
     67 			<treechildren/>
     68 		</tree>
     69 		
     70 		<deck id="zotero-items-pane-content" selectedIndex="0" flex="1">
     71 			<tree id="zotero-items-tree"
     72 				enableColumnDrag="true" flex="1" seltype="multiple"
     73 				onselect="onItemSelected();">
     74 				<treecols id="zotero-items-columns-header">
     75 					<treecol
     76 						id="zotero-items-column-title" primary="true"
     77 						label="&zotero.items.title_column;"
     78 						flex="4" persist="width ordinal hidden sortActive sortDirection"/>
     79 					<splitter class="tree-splitter"/>
     80 					<treecol
     81 						id="zotero-items-column-firstCreator"
     82 						label="&zotero.items.creator_column;"
     83 						flex="1" persist="width ordinal hidden sortActive sortDirection"/>
     84 					<splitter class="tree-splitter"/>
     85 					<treecol
     86 						id="zotero-items-column-itemType" hidden="true"
     87 						label="&zotero.items.type_column;"
     88 						width="40" persist="width ordinal hidden sortActive sortDirection"/>
     89 					<splitter class="tree-splitter"/>
     90 					<treecol
     91 						id="zotero-items-column-date" hidden="true"
     92 						label="&zotero.items.date_column;"
     93 						flex="1" persist="width ordinal hidden sortActive sortDirection"/>
     94 					<splitter class="tree-splitter"/>
     95 					<treecol
     96 						id="zotero-items-column-year" hidden="true"
     97 						label="&zotero.items.year_column;"
     98 						flex="1" persist="width ordinal hidden sortActive sortDirection"/>
     99 					<splitter class="tree-splitter"/>
    100 					<treecol
    101 						id="zotero-items-column-publisher" hidden="true"
    102 						label="&zotero.items.publisher_column;"
    103 						flex="1" persist="width ordinal hidden sortActive sortDirection"/>
    104 					<splitter class="tree-splitter"/>
    105 					<treecol
    106 						id="zotero-items-column-publicationTitle" hidden="true"
    107 						label="&zotero.items.publication_column;"
    108 						flex="1" persist="width ordinal hidden sortActive sortDirection"/>
    109 					<splitter class="tree-splitter"/>
    110 					<treecol
    111 						id="zotero-items-column-journalAbbreviation" hidden="true"
    112 						label="&zotero.items.journalAbbr_column;"
    113 						flex="1" persist="width ordinal hidden sortActive sortDirection"/>
    114 					<splitter class="tree-splitter"/>
    115 					<treecol
    116 						id="zotero-items-column-language" hidden="true"
    117 						label="&zotero.items.language_column;"
    118 						flex="1" persist="width ordinal hidden sortActive sortDirection"/>
    119 					<splitter class="tree-splitter"/>
    120 					<treecol
    121 						id="zotero-items-column-accessDate" hidden="true"
    122 						label="&zotero.items.accessDate_column;"
    123 						flex="1" persist="width ordinal hidden sortActive sortDirection"/>
    124 					<splitter class="tree-splitter"/>
    125 					<treecol
    126 						id="zotero-items-column-libraryCatalog" hidden="true"
    127 						label="&zotero.items.libraryCatalog_column;"
    128 						flex="1" persist="width ordinal hidden sortActive sortDirection"/>
    129 					<splitter class="tree-splitter"/>
    130 					<treecol
    131 						id="zotero-items-column-callNumber" hidden="true"
    132 						submenu="true"
    133 						label="&zotero.items.callNumber_column;"
    134 						flex="1" persist="width ordinal hidden sortActive sortDirection"/>
    135 					<splitter class="tree-splitter"/>
    136 					<treecol
    137 						id="zotero-items-column-rights" hidden="true"
    138 						submenu="true"
    139 						label="&zotero.items.rights_column;"
    140 						flex="1" persist="width ordinal hidden sortActive sortDirection"/>
    141 					<splitter class="tree-splitter"/>
    142 					<treecol
    143 						id="zotero-items-column-dateAdded" hidden="true"
    144 						label="&zotero.items.dateAdded_column;"
    145 						flex="1" persist="width ordinal hidden sortActive sortDirection"/>
    146 					<splitter class="tree-splitter"/>
    147 					<treecol
    148 						id="zotero-items-column-dateModified" hidden="true"
    149 						label="&zotero.items.dateModified_column;"
    150 						flex="1" persist="width ordinal hidden sortActive sortDirection"/>
    151 					<splitter class="tree-splitter"/>
    152 					<treecol
    153 						id="zotero-items-column-archive" hidden="true"
    154 						submenu="true"
    155 						label="&zotero.items.archive_column;"
    156 						flex="1" zotero-persist="width ordinal hidden sortActive sortDirection"/>
    157 					<splitter class="tree-splitter"/>								
    158 					<treecol
    159 						id="zotero-items-column-archiveLocation" hidden="true"
    160 						submenu="true"
    161 						label="&zotero.items.archiveLocation_column;"
    162 						flex="1" zotero-persist="width ordinal hidden sortActive sortDirection"/>
    163 					<splitter class="tree-splitter"/>
    164 					<treecol
    165 						id="zotero-items-column-place" hidden="true"
    166 						submenu="true"
    167 						label="&zotero.items.place_column;"
    168 						flex="1" zotero-persist="width ordinal hidden sortActive sortDirection"/>
    169 					<splitter class="tree-splitter"/>
    170 					<treecol
    171 						id="zotero-items-column-volume" hidden="true"
    172 						submenu="true"
    173 						label="&zotero.items.volume_column;"
    174 						flex="1" zotero-persist="width ordinal hidden sortActive sortDirection"/>
    175 					<splitter class="tree-splitter"/>
    176 					<treecol
    177 						id="zotero-items-column-edition" hidden="true"
    178 						submenu="true"
    179 						label="&zotero.items.edition_column;"
    180 						flex="1" zotero-persist="width ordinal hidden sortActive sortDirection"/>
    181 					<splitter class="tree-splitter"/>
    182 					<treecol
    183 						id="zotero-items-column-pages" hidden="true"
    184 						submenu="true"
    185 						label="&zotero.items.pages_column;"
    186 						flex="1" zotero-persist="width ordinal hidden sortActive sortDirection"/>
    187 					<splitter class="tree-splitter"/>
    188 					<treecol
    189 						id="zotero-items-column-issue" hidden="true"
    190 						submenu="true"
    191 						label="&zotero.items.issue_column;"
    192 						flex="1" zotero-persist="width ordinal hidden sortActive sortDirection"/>
    193 					<splitter class="tree-splitter"/>
    194 					<treecol
    195 						id="zotero-items-column-series" hidden="true"
    196 						submenu="true"
    197 						label="&zotero.items.series_column;"
    198 						flex="1" zotero-persist="width ordinal hidden sortActive sortDirection"/>
    199 					<splitter class="tree-splitter"/>
    200 					<treecol
    201 						id="zotero-items-column-seriesTitle" hidden="true"
    202 						submenu="true"
    203 						label="&zotero.items.seriesTitle_column;"
    204 						flex="1" zotero-persist="width ordinal hidden sortActive sortDirection"/>
    205 					<splitter class="tree-splitter"/>
    206 					<treecol
    207 						id="zotero-items-column-court" hidden="true"
    208 						submenu="true"
    209 						label="&zotero.items.court_column;"
    210 						flex="1" zotero-persist="width ordinal hidden sortActive sortDirection"/>
    211 					<splitter class="tree-splitter"/>
    212 					<treecol
    213 						id="zotero-items-column-medium" hidden="true"
    214 						submenu="true"
    215 						label="&zotero.items.medium_column;"
    216 						flex="1" zotero-persist="width ordinal hidden sortActive sortDirection"/>
    217 					<splitter class="tree-splitter"/>
    218 					<treecol
    219 						id="zotero-items-column-genre" hidden="true"
    220 						submenu="true"
    221 						label="&zotero.items.genre_column;"
    222 						flex="1" zotero-persist="width ordinal hidden sortActive sortDirection"/>
    223 					<splitter class="tree-splitter"/>
    224 					<treecol
    225 						id="zotero-items-column-system" hidden="true"
    226 						submenu="true"
    227 						label="&zotero.items.system_column;"
    228 						flex="1" zotero-persist="width ordinal hidden sortActive sortDirection"/>
    229 					<splitter class="tree-splitter"/>
    230 					<treecol
    231 						id="zotero-items-column-extra" hidden="true"
    232 						label="&zotero.items.extra_column;"
    233 						flex="1" zotero-persist="width ordinal hidden sortActive sortDirection"/>
    234 					<splitter class="tree-splitter"/>
    235 					<treecol
    236 						id="zotero-items-column-hasAttachment" hidden="true"
    237 						class="treecol-image"
    238 						label="&zotero.tabs.attachments.label;"
    239 						zotero-persist="width ordinal hidden sortActive sortDirection"/>
    240 					<splitter class="tree-splitter"/>
    241 					<treecol
    242 						id="zotero-items-column-numNotes" hidden="true"
    243 						class="treecol-image"
    244 						label="&zotero.tabs.notes.label;"
    245 						zotero-persist="width ordinal hidden sortActive sortDirection"/>
    246 				</treecols>
    247 				<treechildren/>
    248 			</tree>
    249 			
    250 			<!-- Label for displaying messages when items pane is hidden
    251 			 (e.g. "Advanced search mode — press Enter to search.")-->
    252 			<vbox id="zotero-items-pane-message-box" pack="center" align="center"/>
    253 		</deck>
    254 	</hbox>
    255 	
    256 	</vbox>
    257 </dialog>