about.xul (4328B)
1 <?xml version="1.0"?> 2 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 3 <?xml-stylesheet href="chrome://zotero/skin/zotero.css" type="text/css"?> 4 <?xml-stylesheet href="chrome://zotero/skin/about.css" type="text/css"?> 5 <!DOCTYPE window SYSTEM "chrome://zotero/locale/about.dtd"> 6 7 <dialog 8 id="zotero-about" 9 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 10 orient="vertical" 11 buttons="accept" 12 buttonlabelaccept="&zotero.about.close;" 13 onload="moveToAlertPosition(); sizeToContent(); document.documentElement.getButton('accept').focus();" 14 ondialogaccept="return true;"> 15 16 <script src="include.js"/> 17 18 <vbox id="aboutcontent"> 19 <label id="name" value="Zotero"/> 20 <hbox> 21 <label id="version"/> 22 <label id="changelog" class="zotero-text-link" href="https://www.zotero.org/support/changelog" value="&zotero.whatsNew;"/> 23 </hbox> 24 <script> 25 document.getElementById('version').textContent = Zotero.version; 26 </script> 27 <hbox> 28 <vbox id="column1"> 29 <div id="about-text" xmlns="http://www.w3.org/1999/xhtml"> 30 <p id="created-by"></p> 31 <p id="get-involved"></p> 32 <script><![CDATA[ 33 // Replace [links] in localized strings with spans with onclick handlers 34 // 35 // TODO: Use helper function in common with intro text in itemTreeView.js 36 document.getElementById('created-by').innerHTML = 37 Zotero.Utilities.htmlSpecialChars(Zotero.getString('about.createdBy')) 38 .replace( 39 /\[([^\]]+)](.+)\[([^\]]+)]/, 40 `<span data-href="https://rrchnm.org/">$1</span>` 41 + '$2' 42 + `<span data-href="https://www.zotero.org/support/credits_and_acknowledgments">$3</span>` 43 ); 44 45 document.getElementById('get-involved').innerHTML = 46 Zotero.Utilities.htmlSpecialChars(Zotero.getString('about.getInvolved')) 47 .replace( 48 /\[([^\]]+)]/, 49 `<span data-href="https://www.zotero.org/getinvolved/">$1</span>` 50 ); 51 52 // Activate text links 53 for (let span of document.getElementById('about-text').getElementsByTagName('span')) { 54 span.className = 'text-link'; 55 span.onclick = function () { 56 Zotero.launchURL(this.getAttribute('data-href')); 57 }; 58 } 59 ]]></script> 60 </div> 61 <label class="subhead" value="&zotero.thanks;"/> 62 <vbox class="subcontent"> 63 <label class="zotero-text-link" href="http://www.mellon.org/" value="Andrew W. Mellon Foundation"/> 64 <label class="zotero-text-link" href="http://www.imls.gov/" value="Institute of Museum and Library Services"/> 65 <label class="zotero-text-link" href="http://www.sloan.org/" value="Alfred P. Sloan Foundation"/> 66 </vbox> 67 </vbox> 68 <vbox id="column2"> 69 <label class="subhead" value="&zotero.citationProcessing;"/> 70 <vbox class="subcontent"> 71 <label class="zotero-text-link" href="http://citationstyles.org/" value="Citation Style Language"/> 72 <label class="zotero-text-link" href="https://github.com/Juris-M/citeproc-js" value="citeproc-js (Frank Bennett)"/> 73 </vbox> 74 <label class="subhead" value="&zotero.about.additionalSoftware;"/> 75 <vbox class="subcontent"> 76 <label class="zotero-text-link" href="http://bluebirdjs.com/" value="Bluebird"/> 77 <label class="zotero-text-link" href="http://p.yusukekamiyamane.com/" value="Fugue icons (by Yusuke Kamiyamane)"/> 78 <label class="zotero-text-link" href="http://www.davidashen.net/rnv.html" value="RNV (CSL validation)"/> 79 <label class="zotero-text-link" href="https://codefisher.org/pastel-svg/" value="Pastel SVG icons (by Michael Buckley)"/> 80 <label class="zotero-text-link" href="http://www.famfamfam.com/lab/icons/silk/" value="Silk icons (by Mark James)"/> 81 <label class="zotero-text-link" href="http://simile.mit.edu/timeline/" value="SIMILE Project (Timeline)"/> 82 <label class="zotero-text-link" href="http://www.w3.org/2005/ajar/tab" value="Tabulator (RDF parser)"/> 83 <label class="zotero-text-link" href="http://tango.freedesktop.org/Tango_Desktop_Project" value="Tango Desktop Project (pref icons)"/> 84 <label class="zotero-text-link" href="https://www.tinymce.com/" value="TinyMCE (rich-text editing)"/> 85 <label class="zotero-text-link" href="http://www.foolabs.com/xpdf/" value="Xpdf (pdftotext)"/> 86 </vbox> 87 </vbox> 88 </hbox> 89 </vbox> 90 </dialog>