home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 October / Gamestar_77_2005-10_dvd.iso / Programy / nsb-install-8-0.exe / chrome / browser.jar / content / browser / pref / pref-themes.xul < prev    next >
Encoding:
Extensible Markup Language  |  2005-07-29  |  2.7 KB  |  71 lines

  1. <?xml version="1.0"?> 
  2.  
  3. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  4. <?xml-stylesheet href="chrome://mozapps/skin/pref/pref.css" type="text/css"?>
  5. <?xml-stylesheet href="chrome://browser/skin/pref/pref.css" type="text/css"?>
  6.  
  7. <!DOCTYPE window [
  8. <!ENTITY % themesDTD SYSTEM "chrome://browser/locale/pref/pref-themes.dtd" >
  9. %themesDTD;
  10. <!ENTITY % regionDTD SYSTEM "chrome://global-region/locale/region.dtd" >
  11. %regionDTD;
  12. ]>
  13.  
  14. <page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  15.       xmlns:html="http://www.w3.org/1999/xhtml"
  16.       onload="parent.initPanel('chrome://browser/content/pref/pref-themes.xul');"
  17.       headertitle="&lHeader;">
  18.  
  19.   <stringbundle id="bundle_prefutilities"
  20.                 src="chrome://browser/locale/pref/prefutilities.properties"/>
  21.  
  22.   <script type="application/x-javascript" src="chrome://browser/content/pref/pref-themes.js"/>
  23.  
  24.   <vbox flex="1">
  25.     <description>&skinIntro.label;</description>
  26.   
  27.     <description>&installedThemes.label;</description>
  28.   
  29.     <listbox id="skinsList" datasources="rdf:chrome" 
  30.           onselect="themeSelect();" flex="1"
  31.           ref="urn:mozilla:skin:root" rows="3">
  32.       <template>
  33.         <rule>
  34.           <listitem uri="..." skin="true"
  35.                     label="rdf:http://www.mozilla.org/rdf/chrome#displayName"
  36.                     author="rdf:http://www.mozilla.org/rdf/chrome#author"
  37.                     authorURL="rdf:http://www.mozilla.org/rdf/chrome#authorURL"
  38.                     displayName="rdf:http://www.mozilla.org/rdf/chrome#displayName"
  39.                     name="rdf:http://www.mozilla.org/rdf/chrome#name"
  40.                     description="rdf:http://www.mozilla.org/rdf/chrome#description"
  41.                     image="rdf:http://www.mozilla.org/rdf/chrome#image"
  42.                     loctype="rdf:http://www.mozilla.org/rdf/chrome#locType"/>
  43.         </rule>
  44.       </template>
  45.     </listbox>
  46.  
  47.     <separator class="thin"/>
  48.  
  49.     <vbox class="extensionInfoArea listBox" style="overflow: auto;">
  50.       <label class="header" id="displayName" value=""/>
  51.       <hbox pack="start">
  52.         <label id="author" onclick="parent.visitLink(event);" tooltip="&author.tooltip;"/>
  53.       </hbox>
  54.  
  55.       <description>
  56.         <image id="previewImage"/>
  57.       </description>
  58.  
  59.       <description id="description" flex="1"/>
  60.     </vbox>
  61.     
  62.     <hbox align="center">
  63.       <html:a class="themesLink" id="themesLink" link="&getnew.url;" onclick="parent.visitLink(event);"
  64.           style="padding-left:4px; display: block;" tooltip="&getnew.tooltip;">&getNewThemes.label;</html:a>
  65.       <spacer flex="1"/>    
  66.       <button id="uninstallSkin" label="&uninstallSkin.label;" oncommand="uninstallSkin();"/>
  67.     </hbox>
  68.   </vbox>
  69.  
  70. </page>
  71.