home *** CD-ROM | disk | FTP | other *** search
/ PC World 2008 April / PCWorld_2008-04_cd.bin / v cisle / ozo / zotero-1.0.3.xpi / chrome / zotero.jar / content / zotero / selectItemsDialog.xul < prev    next >
Encoding:
Extensible Markup Language  |  2007-08-22  |  3.4 KB  |  96 lines

  1. <?xml version="1.0"?>
  2. <!--
  3.     ***** BEGIN LICENSE BLOCK *****
  4.     
  5.     Copyright (c) 2006  Center for History and New Media
  6.                         George Mason University, Fairfax, Virginia, USA
  7.                         http://chnm.gmu.edu
  8.     
  9.     Licensed under the Educational Community License, Version 1.0 (the "License");
  10.     you may not use this file except in compliance with the License.
  11.     You may obtain a copy of the License at
  12.     
  13.     http://www.opensource.org/licenses/ecl1.php
  14.     
  15.     Unless required by applicable law or agreed to in writing, software
  16.     distributed under the License is distributed on an "AS IS" BASIS,
  17.     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  18.     See the License for the specific language governing permissions and
  19.     limitations under the License.
  20.     
  21.     ***** END LICENSE BLOCK *****
  22. -->
  23. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  24. <?xml-stylesheet href="chrome://zotero/skin/zotero.css" type="text/css"?>
  25. <?xml-stylesheet href="chrome://zotero/skin/overlay.css" type="text/css"?>
  26. <!DOCTYPE window SYSTEM "chrome://zotero/locale/zotero.dtd">
  27.  
  28. <dialog
  29.     id="zotero-select-items-dialog"
  30.     title="&zotero.selectitems.title;"
  31.     orient="vertical"
  32.     width="600" height="450"
  33.     buttons="cancel,accept"
  34.     ondialogaccept="doAccept();"
  35.     onload="doLoad();"
  36.     onunload="doUnload();"
  37.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  38.     style="padding:2em">
  39.     
  40.     <script src="include.js"/>
  41.     <script src="selectItemsDialog.js"/>
  42.     
  43.     <vbox id="zotero-select-items-container" flex="1">
  44.     
  45.     <hbox align="center" pack="end">
  46.         <label value="&zotero.toolbar.search.label;" control="zotero-tb-search"/>
  47.         <textbox id="zotero-tb-search" type="timed" timeout="250" oncommand="onSearch()" dir="reverse" onkeypress="if(event.keyCode == event.DOM_VK_ESCAPE) { this.value = ''; this.doCommand('cmd_zotero_search'); return false; }">
  48.             <toolbarbutton id="zotero-tb-search-cancel" oncommand="this.parentNode.value='';" hidden="true"/>
  49.         </textbox>
  50.     </hbox>
  51.     
  52.     <hbox flex="1">
  53.         <tree id="zotero-collections-tree"
  54.             style="width: 200px;" hidecolumnpicker="true" seltype="single"
  55.             onselect="onCollectionSelected();">
  56.             <treecols>
  57.                 <treecol
  58.                     id="zotero-collections-name-column"
  59.                     label="&zotero.collections.name_column;"
  60.                     flex="1"
  61.                     primary="true"/>
  62.             </treecols>
  63.             <treechildren/>
  64.         </tree>
  65.     
  66.         <tree id="zotero-items-tree"
  67.             flex="1" hidecolumnpicker="true" seltype="multiple"
  68.             onselect="onItemSelected();">
  69.             <treecols>
  70.                 <treecol
  71.                     id="zotero-items-column-title" primary="true"
  72.                     label="&zotero.items.title_column;"
  73.                     flex="4" persist="width ordinal hidden sortActive sortDirection"/>
  74.                 <splitter class="tree-splitter"/>
  75.                 <treecol
  76.                     id="zotero-items-column-firstCreator"
  77.                     label="&zotero.items.creator_column;"
  78.                     flex="1" persist="width ordinal hidden sortActive sortDirection"/>
  79.                 <splitter class="tree-splitter"/>
  80.                 <treecol
  81.                     id="zotero-items-column-dateAdded" hidden="true"
  82.                     label="&zotero.items.dateAdded_column;"
  83.                     flex="1" persist="width ordinal hidden sortActive sortDirection"/>
  84.                 <splitter class="tree-splitter"/>
  85.                 <treecol
  86.                     id="zotero-items-column-dateModified" hidden="true"
  87.                     label="&zotero.items.dateModified_column;"
  88.                     flex="1" persist="width ordinal hidden sortActive sortDirection"/>
  89.             </treecols>                
  90.             <treechildren/>
  91.         </tree>
  92.     </hbox>
  93.     
  94.     </vbox>
  95. </dialog>
  96.