home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 October / Gamestar_77_2005-10_dvd.iso / Programy / nsb-install-8-0.exe / chrome / toolkit.jar / content / mozapps / xpinstall / xpinstallItem.xml < prev   
Extensible Markup Language  |  2005-07-29  |  2KB  |  47 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!DOCTYPE bindings SYSTEM "chrome://mozapps/locale/xpinstall/xpinstallConfirm.dtd">
  4.  
  5. <bindings id="xpinstallItemBindings"
  6.           xmlns="http://www.mozilla.org/xbl"
  7.           xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  8.           xmlns:xbl="http://www.mozilla.org/xbl">
  9.  
  10.   <binding id="installitem">
  11.     <resources>
  12.       <stylesheet src="chrome://mozapps/skin/xpinstall/xpinstallConfirm.css"/>
  13.     </resources>
  14.     <content>
  15.       <xul:hbox flex="1">
  16.         <xul:vbox align="center" pack="center">
  17.           <xul:image class="xpinstallItemIcon" xbl:inherits="src=icon"/>
  18.         </xul:vbox>
  19.         <xul:vbox flex="1">
  20.           <xul:hbox class="xpinstallItemNameRow" align="center">
  21.             <xul:label class="xpinstallItemName" xbl:inherits="value=name" flex="1" crop="right"/>
  22.             <xul:label class="xpinstallItemSigned" xbl:inherits="value=cert,signed"/>
  23.           </xul:hbox>
  24.           <xul:hbox class="xpinstallItemDetailsRow" align="center">
  25.             <xul:label class="xpinstallItemFromLabel">&from.label;</xul:label>
  26.             <xul:textbox class="xpinstallItemURL" xbl:inherits="value=url" flex="1" readonly="true" crop="right"/>
  27.           </xul:hbox>
  28.         </xul:vbox> 
  29.       </xul:hbox>
  30.     </content>
  31.     <implementation>
  32.       <property name="name"   onset="this.setAttribute('name', val); return val;"
  33.                               onget="return this.getAttribute('name');"/>
  34.       <property name="cert"   onset="this.setAttribute('cert', val); return val;"
  35.                               onget="return this.getAttribute('cert');"/>
  36.       <property name="signed" onset="this.setAttribute('signed', val); return val;"
  37.                               onget="return this.getAttribute('signed');"/>
  38.       <property name="url"    onset="this.setAttribute('url', val); return val;"
  39.                               onget="return this.getAttribute('url');"/>
  40.       <property name="icon"   onset="this.setAttribute('icon', val); return val;"
  41.                               onget="return this.getAttribute('icon');"/>
  42.     </implementation>
  43.   </binding>
  44.          
  45. </bindings>
  46.  
  47.