home *** CD-ROM | disk | FTP | other *** search
/ PC World 2003 May / PCWorld_2003-05_cd.bin / Komunik / phoenix / chrome / browser.jar / content / browser / pref / pref-themes.xul < prev    next >
Extensible Markup Language  |  2002-12-06  |  5KB  |  127 lines

  1. <?xml version="1.0"?> 
  2.  
  3. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  4. <?xml-stylesheet href="chrome://communicator/skin/prefpanels.css" type="text/css"?>
  5.  
  6. <!DOCTYPE window [
  7. <!ENTITY % themesDTD SYSTEM "chrome://browser/locale/pref/pref-themes.dtd" >
  8. %themesDTD;
  9. <!ENTITY % regionDTD SYSTEM "chrome://global-region/locale/region.dtd" >
  10. %regionDTD;
  11. ]>
  12.  
  13. <page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  14.       xmlns:html="http://www.w3.org/1999/xhtml"
  15.       onload="parent.initPanel('chrome://browser/content/pref/pref-themes.xul'); Startup()"
  16.       headertitle="&lHeader;">
  17.  
  18.   <stringbundle id="bundle_prefutilities"
  19.                 src="chrome://browser/locale/pref/prefutilities.properties"/>
  20.   <stringbundle id="bundle_brand"
  21.                 src="chrome://global/locale/brand.properties"/>
  22.   <stringbundle id="bundle_navigator"
  23.                 src="chrome://navigator/locale/navigator.properties"/>
  24.  
  25.   <script type="application/x-javascript" src="chrome://browser/content/pref/pref-themes.js"/>
  26.  
  27.   <tabbox flex="1">
  28.   <tabs>
  29.     <tab label="&themesTab.label;"/>
  30.     <tab label="&extensionsTab.label;"/>
  31.   </tabs>
  32.   <tabpanels flex="1">
  33.   <vbox flex="1">
  34.     <description>&skinIntro.label;</description>
  35.   
  36.     <description>&installedThemes.label;</description>
  37.   
  38.     <listbox id="skinsList" datasources="rdf:chrome" 
  39.           onselect="themeSelect();" flex="1"
  40.           ref="urn:mozilla:skin:root" rows="3">
  41.       <template>
  42.         <rule>
  43.           <listitem uri="..." skin="true"
  44.                     label="rdf:http://www.mozilla.org/rdf/chrome#displayName"
  45.                     author="rdf:http://www.mozilla.org/rdf/chrome#author"
  46.                     displayName="rdf:http://www.mozilla.org/rdf/chrome#displayName"
  47.                     name="rdf:http://www.mozilla.org/rdf/chrome#name"
  48.                     description="rdf:http://www.mozilla.org/rdf/chrome#description"
  49.                     image="rdf:http://www.mozilla.org/rdf/chrome#image"
  50.                     loctype="rdf:http://www.mozilla.org/rdf/chrome#locType"/>
  51.         </rule>
  52.       </template>
  53.     </listbox>
  54.  
  55.     <separator class="thin"/>
  56.   
  57.     <hbox id="previewImageContainer" class="inset" align="center" pack="center">
  58.       <image id="previewImage"/>
  59.     </hbox>
  60.  
  61.     <separator class="thin"/>
  62.     <hbox>
  63.       <vbox flex="1">
  64.         <label class="header" id="displayName" value=""/>
  65.         <hbox align="center">
  66.           <label value="&author.label;"/>
  67.           <label id="author"/>
  68.         </hbox>
  69.         <label id="description" flex="1"/>
  70.       </vbox>
  71.       <vbox>
  72.         <button id="uninstallSkin" label="&uninstallSkin.label;" oncommand="uninstallSkin();"/>
  73.         <vbox flex="1">
  74.           <spacer flex="1"/>
  75.           <hbox align="start">
  76.           <html:a class="themesLink" id="themesLink" href="http://texturizer.net/phoenix/themes.html"
  77.               style="padding-left:4px; display: block;" target="_new">&getNewThemes.label;</html:a>
  78.           </hbox>
  79.         </vbox>
  80.       </vbox>
  81.     </hbox>
  82.     <separator/>
  83.   </vbox>
  84.  
  85.   <vbox flex="1">
  86.     
  87.     <listbox id="extList" datasources="rdf:chrome" 
  88.           onselect="extensionSelect();" flex="1"
  89.           ref="urn:mozilla:package:root" rows="10">
  90.       <template xmlns:chrome="http://www.mozilla.org/rdf/chrome">
  91.         <rule chrome:extension="true">
  92.           <listitem uri="..."
  93.                     label="rdf:http://www.mozilla.org/rdf/chrome#displayName"
  94.                     author="rdf:http://www.mozilla.org/rdf/chrome#author"
  95.                     displayName="rdf:http://www.mozilla.org/rdf/chrome#displayName"
  96.                     name="rdf:http://www.mozilla.org/rdf/chrome#name"
  97.                     description="rdf:http://www.mozilla.org/rdf/chrome#description"
  98.                     disabledState="rdf:http://www.mozilla.org/rdf/chrome#disabled"/>
  99.         </rule>
  100.       </template>
  101.     </listbox>
  102.  
  103.     <separator class="thin"/>
  104.     <hbox>
  105.       <vbox flex="1">
  106.         <label class="header" id="extDisplayName"/>
  107.         <hbox align="center">
  108.           <label id="extAuthor"/>
  109.         </hbox>
  110.         <label id="extDescription" flex="1"/>
  111.       </vbox>
  112.       <vbox>
  113.         <button disabled="true" id="disableExtension" label="&disableExtension.label;" oncommand="toggleExtension();"/>
  114.         <button disabled="true" label="&uninstallExtension.label;" oncommand="uninstallExtension();"/>
  115.       </vbox>
  116.     </hbox>
  117.     <separator/>
  118.     <hbox align="start">
  119.           <html:a class="themesLink" href="http://texturizer.net/phoenix/extensions.html"
  120.               style="padding-left:4px; display: block;" target="_new">Get New Extensions</html:a> <!-- XXXBlake localize this url -->
  121.     </hbox>
  122.   </vbox>
  123.  
  124.   </tabpanels>
  125. </tabbox>
  126. </page>
  127.