editBibliographyDialog.xul (5443B)
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 <?xml-stylesheet href="chrome://zotero/skin/integration.css" type="text/css"?> 31 <!DOCTYPE window SYSTEM "chrome://zotero/locale/zotero.dtd"> 32 33 <dialog 34 id="zotero-edit-bibliography-dialog" 35 orient="vertical" 36 title="&zotero.integration.editBibliography.title;" 37 width="750" height="450" 38 onload="Zotero_Bibliography_Dialog.load();" 39 ondialogaccept="Zotero_Bibliography_Dialog.accept();" 40 ondialogcancel="Zotero_Bibliography_Dialog.close();" 41 onclose="Zotero_Bibliography_Dialog.close();" 42 onunload="doUnload();" 43 buttons="extra1,extra2,accept,cancel" buttonpack="end" 44 xmlns:html="http://www.w3.org/1999/xhtml" 45 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 46 persist="screenX screenY width height" 47 resizable="true" 48 ondialogextra1="Zotero_Bibliography_Dialog.revert()" 49 ondialogextra2="Zotero_Bibliography_Dialog.revertAll()"> 50 51 <script src="../include.js"/> 52 <script src="../selectItemsDialog.js"/> 53 <script src="editBibliographyDialog.js"/> 54 55 <vbox id="zotero-select-items-container" flex="1"> 56 <vbox flex="1"> 57 <hbox flex="1"> 58 <vbox align="stretch" flex="1"> 59 <hbox align="center" pack="end"> 60 <textbox id="zotero-tb-search" type="search" timeout="250" oncommand="onSearch()" dir="reverse" onkeypress="if(event.keyCode == event.DOM_VK_ESCAPE) { this.value = ''; this.doCommand('cmd_zotero_search'); return false; } return true;"/> 61 </hbox> 62 <hbox flex="1" style="margin-top: 5px"> 63 <tree id="zotero-collections-tree" 64 style="width: 150px;" hidecolumnpicker="true" seltype="single" 65 onselect="onCollectionSelected();"> 66 <treecols> 67 <treecol 68 id="zotero-collections-name-column" 69 flex="1" 70 primary="true" 71 hideheader="true"/> 72 </treecols> 73 <treechildren/> 74 </tree> 75 76 <deck id="zotero-items-pane-content" selectedIndex="0" flex="1"> 77 <tree id="zotero-items-tree" 78 flex="1" hidecolumnpicker="true" seltype="multiple" 79 onselect="Zotero_Bibliography_Dialog.treeItemSelected();"> 80 <treecols> 81 <treecol 82 id="zotero-items-column-title" primary="true" 83 label="&zotero.items.title_column;" 84 flex="4" persist="width ordinal hidden sortActive sortDirection"/> 85 <splitter class="tree-splitter"/> 86 <treecol 87 id="zotero-items-column-firstCreator" 88 label="&zotero.items.creator_column;" 89 flex="1" persist="width ordinal hidden sortActive sortDirection"/> 90 <splitter class="tree-splitter"/> 91 <treecol 92 id="zotero-items-column-dateAdded" hidden="true" 93 label="&zotero.items.dateAdded_column;" 94 flex="1" persist="width ordinal hidden sortActive sortDirection"/> 95 <splitter class="tree-splitter"/> 96 <treecol 97 id="zotero-items-column-dateModified" hidden="true" 98 label="&zotero.items.dateModified_column;" 99 flex="1" persist="width ordinal hidden sortActive sortDirection"/> 100 </treecols> 101 <treechildren/> 102 </tree> 103 104 <!-- Label for displaying messages when items pane is hidden 105 (e.g. "Advanced search mode — press Enter to search.")--> 106 <vbox id="zotero-items-pane-message-box" pack="center" align="center"/> 107 </deck> 108 </hbox> 109 </vbox> 110 111 <hbox id="source-list"> 112 <vbox align="center" pack="center" id="citation-buttons"> 113 <toolbarbutton id="add" oncommand="Zotero_Bibliography_Dialog.add()" disabled="true"/> 114 <toolbarbutton id="remove" oncommand="Zotero_Bibliography_Dialog.remove()" disabled="true"/> 115 </vbox> 116 <vbox> 117 <label value="&zotero.integration.references.label;"/> 118 <listbox id="item-list" flex="1" align="stretch" seltype="multiple" 119 style="width: 250px;" onselect="Zotero_Bibliography_Dialog.listItemSelected();" 120 onchanged="Zotero_Bibliography_Dialog.textChanged()"/> 121 </vbox> 122 </hbox> 123 </hbox> 124 </vbox> 125 126 <textbox id="editor" type="styled" mode="integration" flex="1"/> 127 <description id="zotero-editor-warning" style="margin: 9px 1px 0">&zotero.citation.editorWarning.label;</description> 128 </vbox> 129 </dialog>