f7aafec402
Stripped GPL text and removed ECL license for now -- leaving in copyright notice where it exists
74 lines
No EOL
2.9 KiB
XML
74 lines
No EOL
2.9 KiB
XML
<?xml version="1.0"?>
|
|
<!--
|
|
Zotero
|
|
Copyright (C) 2006 Center for History and New Media, George Mason University, Fairfax, VA
|
|
http://chnm.gmu.edu/
|
|
-->
|
|
<!DOCTYPE window SYSTEM "chrome://scholar/locale/scholar.dtd">
|
|
|
|
<overlay
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
|
|
<script src="itemPane.js"/>
|
|
<deck id="scholar-view-item" flex="1" onselect="if (this.selectedIndex!==''){ ScholarItemPane.loadPane(this.selectedIndex) }">
|
|
<vbox id="scholar-info" flex="1">
|
|
<popupset>
|
|
<popup id="creatorTypeMenu" position="after_start"
|
|
oncommand="var otherFields = ScholarItemPane.getCreatorFields(document.popupNode.parentNode);
|
|
var typeID = event.explicitOriginalTarget.getAttribute('typeid');
|
|
document.popupNode.setAttribute('value',
|
|
Scholar.getString('creatorTypes.' + Scholar.CreatorTypes.getName(typeID)) + ':');
|
|
ScholarItemPane.modifyCreator(document.popupNode.getAttribute('fieldname').split('-')[1],
|
|
'typeID', typeID, otherFields)"/>
|
|
</popupset>
|
|
<hbox align="center">
|
|
<menulist id="editpane-type-menu" oncommand="ScholarItemPane.changeTypeTo(this.value)" flex="1">
|
|
<menupopup/>
|
|
</menulist>
|
|
<toolbarbutton id="tb-openurl" tooltiptext="&toolbar.openurl.label;" oncommand="ScholarItemPane.onOpenURLClick();"/>
|
|
</hbox>
|
|
<grid flex="1">
|
|
<columns>
|
|
<column/>
|
|
<column flex="1"/>
|
|
</columns>
|
|
<rows id="editpane-dynamic-fields" flex="1"/>
|
|
</grid>
|
|
</vbox>
|
|
<vbox flex="1">
|
|
<hbox align="center">
|
|
<label id="editpane-notes-label"/>
|
|
<button label="&item.add;" oncommand="ScholarItemPane.addNote();"/>
|
|
</hbox>
|
|
<grid flex="1">
|
|
<columns>
|
|
<column flex="1"/>
|
|
<column/>
|
|
</columns>
|
|
<rows id="editpane-dynamic-notes" flex="1"/>
|
|
</grid>
|
|
</vbox>
|
|
<vbox flex="1">
|
|
<hbox align="center">
|
|
<label id="editpane-attachments-label"/>
|
|
<button id="tb-item-attachments-add" type="menu" label="&item.add;">
|
|
<menupopup>
|
|
<menuitem class="menuitem-iconic" id="tb-item-attachments-link" label="&toolbar.attachment.linked;" oncommand="ScholarItemPane.addAttachmentFromDialog(true);"/>
|
|
<menuitem class="menuitem-iconic" id="tb-item-attachments-file" label="&toolbar.attachment.add;" oncommand="ScholarItemPane.addAttachmentFromDialog();"/>
|
|
<menuitem class="menuitem-iconic" id="tb-item-attachments-web-link" label="&toolbar.attachment.weblink;" oncommand="ScholarItemPane.addAttachmentFromPage(true);"/>
|
|
<menuitem class="menuitem-iconic" id="tb-item-attachments-snapshot" label="&toolbar.attachment.snapshot;" oncommand="ScholarItemPane.addAttachmentFromPage();"/>
|
|
</menupopup>
|
|
</button>
|
|
</hbox>
|
|
<grid flex="1">
|
|
<columns>
|
|
<column flex="1"/>
|
|
<column/>
|
|
</columns>
|
|
<rows id="editpane-dynamic-attachments" flex="1"/>
|
|
</grid>
|
|
</vbox>
|
|
<tagsbox id="editpane-tags" flex="1"/>
|
|
<seealsobox id="editpane-related" flex="1"/>
|
|
</deck>
|
|
</overlay> |