85 lines
3.5 KiB
HTML
85 lines
3.5 KiB
HTML
<?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://global/skin/global.css"?>
|
|
<?xml-stylesheet href="chrome://zotero-platform/content/zotero.css"?>
|
|
|
|
<!DOCTYPE window [
|
|
<!ENTITY % csleditDTD SYSTEM "chrome://zotero/locale/csledit.dtd"> %csleditDTD;
|
|
<!ENTITY % zoteroDTD SYSTEM "chrome://zotero/locale/zotero.dtd"> %zoteroDTD;
|
|
]>
|
|
|
|
<window
|
|
id="csl-edit"
|
|
class="zotero-window"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
xmlns:html="http://www.w3.org/1999/xhtml"
|
|
onload="Zotero_CSL_Editor.init();"
|
|
onunload="Zotero_CSL_Editor.onUnload()"
|
|
title="&styles.editor;">
|
|
|
|
<script src="chrome://zotero/content/include.js"/>
|
|
<script src="csledit.js"/>
|
|
|
|
<vbox class="zotero-window" flex="1">
|
|
<vbox class="csl-edit-toolbars">
|
|
<hbox class="csl-edit-toolbar">
|
|
<button id="preview-refresh-button" label="&zotero.general.refresh;" oncommand="Zotero_CSL_Editor.refresh()"/>
|
|
<button id="zotero-csl-save" label="&zotero.general.saveAs;" oncommand="Zotero_CSL_Editor.save()"/>
|
|
<html:div class="divider" />
|
|
<menulist id="zotero-csl-page-type" oncommand="Zotero_CSL_Editor.refresh()" native="true" />
|
|
<label value=":" />
|
|
<html:input size="5" id="preview-pages" oninput="Zotero_CSL_Editor.refreshDebounced()"/>
|
|
<html:div class="divider" />
|
|
<checkbox oncommand="Zotero_CSL_Editor.refresh()" id="preview-suppress-author" label="&zotero.citation.suppressAuthor.label;" native="true" />
|
|
<html:div class="divider" />
|
|
<label value="&styles.editor.citePosition;" />
|
|
<menulist id="zotero-ref-position" oncommand="Zotero_CSL_Editor.refresh()" native="true">
|
|
<menupopup>
|
|
<menuitem label="first" value="0"/>
|
|
<menuitem label="subsequent" value="1"/>
|
|
<menuitem label="ibid" value="2"/>
|
|
<menuitem label="ibid-with-locator" value="3"/>
|
|
<menuitem label="near-note" value="4"/>
|
|
</menupopup>
|
|
</menulist>
|
|
</hbox>
|
|
<hbox class="csl-edit-toolbar">
|
|
<menulist id="zotero-csl-list" oncommand="Zotero_CSL_Editor.onStyleSelected(this.value)" native="true"/>
|
|
<menulist id="locale-menu" oncommand="Zotero.Prefs.set('export.lastLocale', this.value); Zotero_CSL_Editor.refresh()" native="true" />
|
|
</hbox>
|
|
</vbox>
|
|
<iframe id="zotero-csl-editor-iframe" src="chrome://scaffold/content/monaco/monaco.html" flex="1"
|
|
onmousedown="this.focus()"/>
|
|
<splitter id="csledit-splitter" collapse="before" persist="state" orient="vertical">
|
|
<grippy/>
|
|
</splitter>
|
|
<iframe id="zotero-csl-preview-box" flex="1" overflow="auto" type="content"/>
|
|
</vbox>
|
|
|
|
<keyset>
|
|
<key id="key_close" key="W" modifiers="accel" oncommand="window.close()"/>
|
|
</keyset>
|
|
</window>
|