www

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

longTagFixer.xul (2532B)


      1 <?xml version="1.0"?>
      2 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
      3 <?xml-stylesheet href="chrome://zotero/skin/longTagFixer.css" type="text/css"?>
      4 <!DOCTYPE window SYSTEM "chrome://zotero/locale/zotero.dtd">
      5 
      6 <dialog id="zotero-long-tag-fixer" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
      7 		buttons="accept,cancel"
      8 		onload="Zotero_Long_Tag_Fixer.init()"
      9 		ondialogcancel="Zotero_Long_Tag_Fixer.cancel()"
     10 		ondialogaccept="Zotero_Long_Tag_Fixer.save()"
     11 		title="&zotero.sync.error;">
     12 	
     13 	<script src="include.js"/>
     14 	<script src="longTagFixer.js"/>
     15 	
     16 	<label value="&zotero.sync.longTagFixer.followingTagTooLong;"/>
     17 	<groupbox>
     18 		<textbox id="zotero-old-tag" multiline="true" rows="4" readonly="true" class="plain"/>
     19 	</groupbox>
     20 	<label>&zotero.sync.longTagFixer.syncedTagSizeLimit;</label>
     21 	
     22 	<separator class="thin"/>
     23 	
     24 	<label value="&zotero.sync.longTagFixer.splitEditDelete;"/>
     25 	
     26 	<separator/>
     27 	
     28 	<tabbox id="zotero-new-tag-actions">
     29 		<tabs oncommand="Zotero_Long_Tag_Fixer.switchMode(this.selectedIndex)">
     30 			<tab label="&zotero.sync.longTagFixer.split;"/>
     31 			<tab label="&zotero.general.edit;"/>
     32 			<tab label="&zotero.general.delete;"/>
     33 		</tabs>
     34 		<tabpanels>
     35 			<!-- Split -->
     36 			<vbox>
     37 				<hbox align="center">
     38 					<label>&zotero.sync.longTagFixer.splitAtThe;</label>
     39 					<textbox id="zotero-old-tag-delimiter" size="1"
     40 						oninput="this.nextSibling.value = Zotero.getString('general.character.' + (this.value.length > 1  ? 'plural' : 'singular')); Zotero_Long_Tag_Fixer.updateTagList();"/>
     41 					<label/>
     42 				</hbox>
     43 				
     44 				<separator class="thin"/>
     45 				
     46 				<listbox id="zotero-new-tag-list" rows="8"/>
     47 				
     48 				<separator class="thin"/>
     49 				
     50 				<label value="&zotero.sync.longTagFixer.uncheckedTagsNotSaved;"/>
     51 				
     52 				<hbox>
     53 					<button label="&zotero.general.deselectAll;" oncommand="Zotero_Long_Tag_Fixer.deselectAll()"/>
     54 					<button label="&zotero.general.selectAll;" oncommand="Zotero_Long_Tag_Fixer.selectAll()"/>
     55 				</hbox>
     56 			</vbox>
     57 			
     58 			<!-- Edit -->
     59 			<vbox>
     60 				<textbox id="zotero-new-tag-editor" multiline="true" flex="1"
     61 					oninput="Zotero_Long_Tag_Fixer.updateEditLength(this.value.length)"/>
     62 				<hbox id="zotero-new-tag-characters">
     63 					<label id="zotero-new-tag-character-count"/>
     64 					<label value="&zotero.sync.longTagFixer.characters;"/>
     65 				</hbox>
     66 			</vbox>
     67 			
     68 			<!-- Delete -->
     69 			<vbox align="center" pack="center">
     70 				<label value="&zotero.sync.longTagFixer.tagWillBeDeleted;"/>
     71 			</vbox>
     72 		</tabpanels>
     73 	</tabbox>
     74 </dialog>