www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

proxyEditor.xul (3294B)


      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 
     27 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
     28 <?xml-stylesheet href="chrome://zotero/skin/preferences.css"?>
     29 
     30 <!DOCTYPE window SYSTEM "chrome://zotero/locale/preferences.dtd">
     31 <dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     32 	title="" buttons="cancel,accept"
     33 	id="zotero-proxyEditor"
     34 	onload="Zotero_ProxyEditor.load();"
     35 	ondialogaccept="return Zotero_ProxyEditor.accept();">
     36 	
     37 	<script src="chrome://zotero/content/include.js"/>
     38 	<script src="proxyEditor.js"/>
     39 
     40 	<checkbox id="zotero-proxies-multiSite" label="&zotero.preferences.proxies.multiSite;"
     41 		oncommand="Zotero_ProxyEditor.multiSiteChanged()"/>
     42 	<separator class="thin"/>
     43 	<vbox id="zotero-proxies-hostname-multiSite" hidden="true">
     44 		<checkbox id="zotero-proxies-autoAssociate" label="&zotero.preferences.proxies.autoAssociate;"/>
     45 		<tree flex="1" id="zotero-proxies-hostname-multiSite-tree" hidecolumnpicker="true" editable="true" rows="6"
     46 				onkeypress="if (event.keyCode == event.DOM_VK_DELETE) { Zotero_ProxyEditor.remove(); }"
     47 				onselect="Zotero_ProxyEditor.select();">
     48 			<treecols>
     49 				<treecol label="&zotero.preferences.proxies.hostname;" id="zotero-proxies-hostname-multiSite-tree-col" flex="1"/>
     50 			</treecols>
     51 			<treechildren id="zotero-proxies-hostname-multiSite-tree-children"/>
     52 		</tree>
     53 		<hbox pack="end">
     54 			<button id="zotero-proxies-delete" label="-" onclick="Zotero_ProxyEditor.deleteHost()" disabled="true"/>
     55 			<button id="zotero-proxies-add" label="+" onclick="Zotero_ProxyEditor.addHost()"/>
     56 		</hbox>
     57 	</vbox>
     58 	<vbox id="zotero-proxies-hostname">
     59 		<label value="&zotero.preferences.proxies.hostname;:" control="zotero-proxies-hostname-text"/>
     60 		<textbox id="zotero-proxies-hostname-text"/>
     61 	</vbox>
     62 	<separator class="thin"/>
     63 	<label value="&zotero.preferences.proxies.scheme;:" control="zotero-proxies-scheme"/>
     64 	<textbox id="zotero-proxies-scheme"/>
     65 	<label value="&zotero.preferences.proxies.variables;"/>
     66 	<label value="&zotero.preferences.proxies.h_variable;" id="zotero-proxies-hostname-multiSite-description" hidden="true"/>
     67 	<label value="&zotero.preferences.proxies.p_variable;"/>
     68 	<label value="&zotero.preferences.proxies.d_variable;"/>
     69 	<label value="&zotero.preferences.proxies.f_variable;"/>
     70 	<label value="&zotero.preferences.proxies.a_variable;"/>
     71 </dialog>