5a0cd78f06
"Zotero" is now the first and default option in the "Open PDFs using" drop-down in the General pane of the preferences.
149 lines
No EOL
6.1 KiB
XML
149 lines
No EOL
6.1 KiB
XML
<?xml version="1.0"?>
|
|
<!--
|
|
***** BEGIN LICENSE BLOCK *****
|
|
|
|
Copyright © 2009 Center for History and New Media
|
|
George Mason University, Fairfax, Virginia, USA
|
|
http://zotero.org
|
|
|
|
This file is part of Zotero.
|
|
|
|
Zotero is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU Affero General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
Zotero is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU Affero General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Affero General Public License
|
|
along with Zotero. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
***** END LICENSE BLOCK *****
|
|
-->
|
|
<?xml-stylesheet href="chrome://zotero/skin/itemPane.css" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://zotero-platform/content/itemPane.css" type="text/css"?>
|
|
|
|
<!DOCTYPE window SYSTEM "chrome://zotero/locale/zotero.dtd">
|
|
|
|
<overlay
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
xmlns:html="http://www.w3.org/1999/xhtml">
|
|
<script src="include.js"/>
|
|
<script src="itemPane.js"></script>
|
|
|
|
<vbox id="zotero-item-pane" zotero-persist="width height">
|
|
<!-- My Publications -->
|
|
<hbox id="zotero-item-pane-top-buttons-my-publications" class="zotero-item-pane-top-buttons" hidden="true">
|
|
<button id="zotero-item-collection-show-hide"/>
|
|
</hbox>
|
|
|
|
<!-- Trash -->
|
|
<hbox id="zotero-item-pane-top-buttons-trash" class="zotero-item-pane-top-buttons" hidden="true">
|
|
<button id="zotero-item-restore-button" label="&zotero.items.menu.restoreToLibrary;"
|
|
oncommand="ZoteroPane_Local.restoreSelectedItems()"/>
|
|
<button id="zotero-item-delete-button" label="&zotero.item.deletePermanently;"
|
|
oncommand="ZoteroPane_Local.deleteSelectedItems()"/>
|
|
</hbox>
|
|
|
|
<!-- Feed -->
|
|
<hbox id="zotero-item-pane-top-buttons-feed" class="zotero-item-pane-top-buttons" hidden="true">
|
|
<button id="zotero-feed-item-toggleRead-button"
|
|
oncommand="ZoteroPane_Local.toggleSelectedItemsRead();"/>
|
|
<button id="zotero-feed-item-addTo-button" type="menu-button"
|
|
oncommand="ZoteroItemPane.translateSelectedItems()">
|
|
<menupopup id="zotero-item-addTo-menu" onpopupshowing="ZoteroItemPane.buildTranslateSelectContextMenu(event);"/>
|
|
</button>
|
|
</hbox>
|
|
|
|
<!-- Commons -->
|
|
<button id="zotero-item-show-original" label="Show Original"
|
|
oncommand="ZoteroPane_Local.showOriginalItem()" hidden="true"/>
|
|
|
|
<deck id="zotero-item-pane-content" class="zotero-item-pane-content" selectedIndex="0" flex="1">
|
|
<!-- Center label (for zero or multiple item selection) -->
|
|
<groupbox id="zotero-item-pane-groupbox" pack="center" align="center">
|
|
<vbox id="zotero-item-pane-message-box"/>
|
|
</groupbox>
|
|
|
|
<!-- Regular item -->
|
|
<!--
|
|
Keep in sync with contextPane.js (_addItemContext function) which
|
|
dynamically creates this itemPane part for each tab
|
|
-->
|
|
<tabbox id="zotero-view-tabbox" class="zotero-view-tabbox" flex="1" onselect="if (!ZoteroPane_Local.getCollectionTreeRow() || event.originalTarget.localName != 'tabpanels') { return; }; ZoteroItemPane.viewItem(ZoteroPane_Local.getSelectedItems()[0], ZoteroPane_Local.collectionsView.editable ? 'edit' : 'view', this.selectedIndex)">
|
|
<tabs id="zotero-editpane-tabs" class="zotero-editpane-tabs">
|
|
<tab id="zotero-editpane-info-tab" label="&zotero.tabs.info.label;"/>
|
|
<tab id="zotero-editpane-notes-tab" label="&zotero.tabs.notes.label;"/>
|
|
<tab id="zotero-editpane-tags-tab" label="&zotero.tabs.tags.label;"/>
|
|
<tab id="zotero-editpane-related-tab" label="&zotero.tabs.related.label;"/>
|
|
</tabs>
|
|
<tabpanels id="zotero-view-item" class="zotero-view-item" flex="1">
|
|
<tabpanel flex="1">
|
|
<zoteroitembox id="zotero-editpane-item-box" class="zotero-editpane-item-box" flex="1"/>
|
|
</tabpanel>
|
|
|
|
<tabpanel flex="1" orient="vertical">
|
|
<vbox flex="1" id="zotero-editpane-notes" class="zotero-box">
|
|
<hbox align="center">
|
|
<label id="zotero-editpane-notes-label"/>
|
|
<button id="zotero-editpane-notes-add" label="&zotero.item.add;" oncommand="ZoteroItemPane.addNote(event.shiftKey);"/>
|
|
</hbox>
|
|
<grid flex="1">
|
|
<columns>
|
|
<column flex="1"/>
|
|
<column/>
|
|
</columns>
|
|
<rows id="zotero-editpane-dynamic-notes" flex="1"/>
|
|
</grid>
|
|
</vbox>
|
|
</tabpanel>
|
|
|
|
<tabpanel id="tags-pane" class="tags-pane" orient="vertical" context="tags-context-menu">
|
|
<html:div id="tags-box-container" class="tags-box-container"></html:div>
|
|
</tabpanel>
|
|
|
|
<tabpanel>
|
|
<relatedbox id="zotero-editpane-related" class="zotero-editpane-related" flex="1"/>
|
|
</tabpanel>
|
|
</tabpanels>
|
|
</tabbox>
|
|
|
|
<!-- Note item -->
|
|
<groupbox id="zotero-view-note" flex="1">
|
|
<!--
|
|
'onerror' handler crashes the app on a save error to prevent typing in notes
|
|
while they're not being saved
|
|
-->
|
|
<zoteronoteeditor id="zotero-note-editor" flex="1" notitle="1"
|
|
previousfocus="zotero-items-tree"/>
|
|
</groupbox>
|
|
|
|
<!-- Attachment item -->
|
|
<groupbox>
|
|
<zoteroattachmentbox id="zotero-attachment-box" flex="1"/>
|
|
</groupbox>
|
|
|
|
<!-- Duplicate merging -->
|
|
<vbox id="zotero-duplicates-merge-pane" flex="1">
|
|
<groupbox>
|
|
<button id="zotero-duplicates-merge-button" oncommand="Zotero_Duplicates_Pane.merge()"/>
|
|
</groupbox>
|
|
|
|
<groupbox id="zotero-duplicates-merge-version-select">
|
|
<description>&zotero.duplicatesMerge.versionSelect;</description>
|
|
<hbox>
|
|
<listbox id="zotero-duplicates-merge-original-date" onselect="Zotero_Duplicates_Pane.setMaster(this.selectedIndex)" rows="0"/>
|
|
</hbox>
|
|
</groupbox>
|
|
|
|
<groupbox flex="1">
|
|
<description id="zotero-duplicates-merge-field-select">&zotero.duplicatesMerge.fieldSelect;</description>
|
|
<zoteroitembox id="zotero-duplicates-merge-item-box" flex="1"/>
|
|
</groupbox>
|
|
</vbox>
|
|
</deck>
|
|
</vbox>
|
|
</overlay> |