home *** CD-ROM | disk | FTP | other *** search
/ PC World 2006 December / PCWorld_2006-12_cd.bin / komunikace / netscape / nsb-install-8-1-2.exe / chrome / aim.jar / content / aim / SPSetupOrgOverlay.xul < prev    next >
Extensible Markup Language  |  2006-01-06  |  7KB  |  170 lines

  1. <?xml version="1.0"?> 
  2.  
  3. <!DOCTYPE window SYSTEM "chrome://aim/locale/SPBuddyOrgOverlay.dtd">
  4.  
  5. <overlay id="SidebarPanelSetupOrgOverlay" xmlns:html="http://www.w3.org/1999/xhtml"
  6.      xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:nc="http://home.netscape.com/NC-rdf"
  7.      xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  8.  
  9.   <vbox id="SetupOrg">
  10.  
  11.     <hbox id="SetupOrgButtons">
  12.       <button id="btnsetuporgbuddy" class="aim-button" oncommand="cmdAddBuddy();" tooltip="aTooltip"  tooltiptext="&tabbtnbuddy.tooltip;" 
  13.           imtooltip="&tabbtnbuddy.tooltip;" icqtooltip="&tabbtnbuddy_ICQ.tooltip;">
  14.       <observes element="sessionWatcher"  attribute="sessionMode" />
  15.       </button>
  16.       <button id="btnsetuporggroup" class="aim-button" oncommand="cmdAddGroup();" tooltip="aTooltip"  tooltiptext="&tabbtngroup.tooltip;">
  17.       <observes element="sessionWatcher"  attribute="sessionMode" />
  18.       </button>
  19.         <spacer flex="1"/>
  20.       <button id="btnsetuporgdelete" class="aim-button" oncommand="cmdDelete();" tooltip="aTooltip"  tooltiptext="&tabbtndelete.tooltip;" 
  21.           imtooltip="&tabbtndelete.tooltip;" icqtooltip="&tabbtndelete_ICQ.tooltip;">
  22.       <observes element="sessionWatcher"  attribute="sessionMode" />
  23.       </button>
  24.         <spacer flex="1"/>
  25.     </hbox>
  26.     
  27.  
  28.     <tree datasources="rdf:AIM" ref="NC:AIM/BuddyList" id="ListSetup" flex="1" onselect="onSelectionChange()" hidecolumnpicker="true"
  29.           onfocus="cmdFocus(event);" onblur="cmdBlur(event);" class="inset tabpanel" context="context"
  30.           onclick="if (event.detail == 2) cmdDoubleClick(event);" sortStaticsLast="true" flags="dont-test-empty">
  31.  
  32.       <template>
  33.         <rule>
  34.           <conditions>
  35.             <content uri="?uri" />
  36.             <member container="?uri" child="?child" />
  37.             <triple subject="?child" predicate="http://home.netscape.com/NC-rdf#AimType" object="BuddyGroup" />
  38.           </conditions>
  39.  
  40.           <bindings>
  41.             <binding subject="?child"
  42.                      predicate="http://home.netscape.com/NC-rdf#Name"
  43.                      object="?Name" />
  44.           </bindings>
  45.  
  46.           <action>
  47.             <treechildren>
  48.               <treeitem uri="?child" persist="open">
  49.                 <treerow>
  50.                   <treecell ref="ListSetupCol" properties="buddy-group-treeitem panel-setup buddy-group-name" label="?Name"/>
  51.                 </treerow>
  52.               </treeitem>
  53.             </treechildren>
  54.           </action>
  55.         </rule>
  56.  
  57.             
  58.         <rule>
  59.           <conditions>
  60.             <content uri="?uri" />
  61.             <member container="?uri" child="?child" />
  62.           </conditions>
  63.  
  64.           <bindings>
  65.             <binding subject="?child"
  66.                      predicate="http://home.netscape.com/NC-rdf#Name"
  67.                      object="?Name" />
  68.             <binding subject="?child"
  69.                      predicate="http://home.netscape.com/NC-rdf#ScreenName"
  70.                      object="?ScreenName" />
  71.             <binding subject="?child"
  72.                      predicate="http://home.netscape.com/NC-rdf#BuddyAlertStateString"
  73.                      object="?BuddyAlertStateString" />
  74.             <binding subject="?child"
  75.                      predicate="http://home.netscape.com/NC-rdf#IsAwaitingAuth"
  76.                      object="?IsAwaitingAuth" />
  77.             <binding subject="?child"
  78.                      predicate="http://home.netscape.com/NC-rdf#AuthAcceptStatus"
  79.                      object="?AuthAcceptStatus" />
  80.             <binding subject="?child"
  81.                      predicate="http://home.netscape.com/NC-rdf#EmailState"
  82.                      object="?EmailState" />
  83.             <binding subject="?child"
  84.                      predicate="http://home.netscape.com/NC-rdf#EmailID"
  85.                      object="?EmailID" />
  86.             <binding subject="?child"
  87.                      predicate="http://home.netscape.com/NC-rdf#DisplayName"
  88.                      object="?DisplayName" />
  89.             <binding subject="?child"
  90.                      predicate="http://home.netscape.com/NC-rdf#NameWithStatus"
  91.                      object="?NameWithStatus" />
  92.           </bindings>
  93.  
  94.           <action>
  95.             <treechildren>
  96.               <treeitem uri="?child">
  97.                 <treerow>
  98.                   <treecell ref="ListSetupCol" properties="treecell-indent buddy-name
  99.                                 ScreenName-?ScreenName BuddyAlertStateString-?BuddyAlertStateString
  100.                                 Name-?Name EmailID-?EmailID DisplayName-?DisplayName NameWithStatus-?NameWithStatus
  101.                                 IsAwaitingAuth-?IsAwaitingAuth AuthAcceptStatus-?AuthAcceptStatus
  102.                                 EmailState-?EmailState"
  103.                                 label="?NameWithStatus"/>
  104.  
  105.                 </treerow>
  106.               </treeitem>
  107.             </treechildren>
  108.           </action>
  109.         </rule>
  110.       </template>
  111.  
  112.       <treechildren id="AA1" observes="sessionWatcher" >
  113.         <treeitem id="AuthAwait1" datasources="rdf:AIM" ref="NC:AIM/AuthList" open="true" container="true" persist="open">
  114.           <treerow>
  115.             <treecell ref="ListSetupCol" properties="panel-setup treecell-indent authgroup-item buddy-group-name" label="&authawait.label;" disabled="true"/>
  116.           </treerow>
  117.  
  118.           <template>
  119.             <rule>
  120.               <conditions>
  121.                 <content uri="?uri" />
  122.                 <member container="?uri" child="?child" />
  123.                 <!-- <triple subject="?child" predicate="http://home.netscape.com/NC-rdf#Online" object="false" /> -->
  124.               </conditions>
  125.  
  126.               <bindings>
  127.                 <binding subject="?child"
  128.                          predicate="http://home.netscape.com/NC-rdf#ScreenName"
  129.                          object="?ScreenName" />
  130.                 <binding subject="?child"
  131.                          predicate="http://home.netscape.com/NC-rdf#Name"
  132.                          object="?Name" />
  133.                 <binding subject="?child"
  134.                      predicate="http://home.netscape.com/NC-rdf#AuthAcceptStatus"
  135.                      object="?AuthAcceptStatus" />
  136.               </bindings>
  137.  
  138.               <action>
  139.                 <treechildren>
  140.                   <treeitem uri="?child">
  141.                     <treerow>
  142.                       <treecell ref="ListSetupCol" properties="treecell-indent buddy-name authgroup-item 
  143.                                      ScreenName-?ScreenName Name-?Name AuthAcceptStatus-?AuthAcceptStatus"
  144.                                     label="?Name" disabled="true"/>
  145.  
  146.                     </treerow>
  147.                   </treeitem>
  148.                 </treechildren>
  149.               </action>
  150.             </rule>
  151.           </template>
  152.  
  153.         </treeitem>
  154.       </treechildren>
  155.  
  156.       <treecols>
  157.         <treecol id="ListSetupCol"
  158.                  label=""
  159.                  crop="center"
  160.                  persist="width"
  161.                  ignoreincolumnpicker="true"
  162.                  flex="5"
  163.                  primary="true" />
  164.                  
  165.  
  166.       </treecols>
  167.     </tree>
  168.   </vbox>
  169. </overlay>
  170.