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 / SPBuddyOrgOverlay.xul < prev    next >
Extensible Markup Language  |  2006-01-06  |  12KB  |  287 lines

  1. <?xml version="1.0"?> 
  2.  
  3. <!DOCTYPE window SYSTEM "chrome://aim/locale/SPBuddyOrgOverlay.dtd">
  4.  
  5. <overlay id="SidebarPanelBuddyOrgOverlay" xmlns:html="http://www.w3.org/1999/xhtml"  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  6.      xmlns:nc="http://home.netscape.com/NC-rdf" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  7.  
  8. <!-- Overlay the key bindings -->
  9. <keyset id="buddyOrgOverlayKeys">
  10.   <key id="key_addbuddy" key="&spbuddy_addbuddy.key;" oncommand="cmdAddBuddy()" disabled="false"   alt="false" modifiers="accel,shift"/>
  11.   <key id="key_addgroup" key="&spbuddy_addgroup.key;" oncommand="cmdAddGroup()" disabled="false"   alt="false" modifiers="accel,shift"/>
  12.   <key id="key_chat" key="&spbuddy_chat.key;" oncommand="cmdNewChat('',null,'',false,'outgoingchat')" disabled="false"   alt="false" modifiers="accel,shift"/>
  13.   <key id="key_fab" key="&spbuddy_fab.key;"  oncommand="window.openDialog('chrome:aim/content/findAFriendWizard.xul','CPW','chrome,titlebar,resizable=yes')"
  14.        disabled="false"   alt="false" modifiers="accel,shift"/>
  15.   <key id="key_buddyalert" key="&spbuddy_buddyalert.key;" oncommand="cmdBuddyAlert();" disabled="false"   alt="false" modifiers="accel,shift"/>
  16.   <key id="key_import" key="&spbuddy_import.key;"  oncommand="cmdImportBuddyList()" disabled="false"   alt="false" modifiers="accel,shift"/>
  17.   <key id="key_export" key="&spbuddy_export.key;"  oncommand="cmdExportBuddyList()" disabled="false"   alt="false" modifiers="accel,shift"/>
  18.   <key id="key_soaf" key="&spbuddy_soaf.key;" oncommand="window.openDialog('chrome:aim/content/InviteAFriendWizard.xul','CPW','chrome,titlebar,resizable=yes', null)" 
  19.         disabled="false"   alt="false" modifiers="accel,shift"/>
  20. </keyset>
  21.  
  22.  
  23.   <!-- Overlay the Buddy Panel (Displayed when Online) -->
  24.   <vbox id="BuddyOrg">
  25.     <hbox id="BuddyOrgButtons">
  26.       <button id="btnbuddyorgsendim" class="aim-button" oncommand="cmdNewIM()" tooltip="aTooltip"  tooltiptext="&tabbtnsendim.tooltip;" 
  27.               icqtooltip="&tabbtnsendim_ICQ.tooltip;" imtooltip="&tabbtnsendim.tooltip;">
  28.       <observes element="sessionWatcher"  attribute="sessionMode" />
  29.       </button>
  30.       <button id="btnbuddyorgchat" class="aim-button Hide-in-Icq" oncommand="cmdNewChatSidebar('',null,'',false,'outgoingchat')" tooltip="aTooltip"
  31.               tooltiptext="&tabbtnchat.tooltip;" >
  32.       <observes element="sessionWatcher"  attribute="sessionMode"/>
  33.       </button>
  34.       <button id="mailcompose" class="aim-button Hide-in-Icq" tooltiptext="&newMsgButton.tooltip;" oncommand="ComposeNewMessage()">
  35.         <observes element="sessionWatcher"  attribute="sessionMode" />
  36.       </button>
  37.       <!--button label="&tabbtninfo.label;" id="btnbuddyorginfo" class="aim-button"/-->
  38.     </hbox>
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.     <tree id="OnlineBuddies" flex="1"
  46.               sortStaticsLast="true"
  47.               context="context"
  48.               seltype="multiple"
  49.               onselect="onSelectionChange()"
  50.               onclick="if (event.detail == 2) cmdDoubleClick(event);"
  51.               datasources="rdf:AIM" ref="NC:AIM/BuddyList"
  52.               flags="dont-test-empty">
  53.  
  54.       <treecols>
  55.         <treecol id="BuddiesCol"
  56.                      flex="5"
  57.                      treecolid="buddies"
  58.                      label=""
  59.                      crop="center"
  60.                      persist="width"
  61.                      ignoreincolumnpicker="true"
  62.                      primary="true" />
  63.                      <!-- class="inset tabpanel" /> -->
  64.         <splitter class="tree-splitter"/>
  65.         <treecol id="NewMailCol"
  66.                      flex="1"
  67.                      display="&newMailColumn.label;"
  68.                      align="center"
  69.                      persist="hidden"
  70.                      class="treecol-image NewMailColumnHeader" />
  71.       </treecols>
  72.       <template>
  73.         <rule>
  74.           <conditions>
  75.             <content uri="?uri" />
  76.             <member container="?uri" child="?child" />
  77.             <triple subject="?child" predicate="http://home.netscape.com/NC-rdf#AimType" object="BuddyGroup" />
  78.           </conditions>
  79.  
  80.           <bindings>
  81.             <binding subject="?child"
  82.                      predicate="http://home.netscape.com/NC-rdf#NameWithStatus"
  83.                      object="?NameWithStatus" />
  84.             <binding subject="?child"
  85.                      predicate="http://home.netscape.com/NC-rdf#Name"
  86.                      object="?Name" />
  87.             <binding subject="?child"
  88.                       predicate="http://home.netscape.com/NC-rdf#IcqUser"
  89.                       object="?IcqUser" />
  90.  
  91.           </bindings>
  92.  
  93.           <action>
  94.             <treechildren>
  95.               <treeitem uri="?child" persist="open">
  96.                 <treerow>
  97.                   <treecell properties="buddygroupname buddy-treeitem panel-online treecell-indent buddy-name
  98.                                 Name-?Name IcqUser-?IcqUser" label="?NameWithStatus" />
  99.                   <treecell label="" align="center" />
  100.                 </treerow>
  101.               </treeitem>
  102.             </treechildren>
  103.           </action>
  104.         </rule>
  105.         <rule>
  106.           <conditions>
  107.             <content uri="?uri" />
  108.             <member container="?uri" child="?child" />
  109.             <triple subject="?child" predicate="http://home.netscape.com/NC-rdf#Online" object="true" />
  110.           </conditions>
  111.  
  112.           <bindings>
  113.             <binding subject="?child"
  114.                      predicate="http://home.netscape.com/NC-rdf#NameWithStatus"
  115.                      object="?NameWithStatus" />
  116.  
  117.             <binding subject="?child"
  118.                      predicate="http://home.netscape.com/NC-rdf#BuddyStateString"
  119.                      object="?BuddyStateString" />
  120.  
  121.             <binding subject="?child"
  122.                      predicate="http://home.netscape.com/NC-rdf#ScreenName"
  123.                      object="?ScreenName" />
  124.  
  125.             <binding subject="?child"
  126.                      predicate="http://home.netscape.com/NC-rdf#Name"
  127.                      object="?Name" />
  128.  
  129.             <binding subject="?child"
  130.                      predicate="http://home.netscape.com/NC-rdf#EmailState"
  131.                      object="?EmailState" />
  132.  
  133.             <binding subject="?child"
  134.                      predicate="http://home.netscape.com/NC-rdf#EmailID"
  135.                      object="?EmailID" />
  136.  
  137.             <binding subject="?child"
  138.                      predicate="http://home.netscape.com/NC-rdf#DisplayName"
  139.                      object="?DisplayName" />
  140.  
  141.             <binding subject="?child"
  142.                       predicate="http://home.netscape.com/NC-rdf#IcqUser"
  143.                       object="?IcqUser" />
  144.  
  145.             
  146.  
  147.           </bindings>
  148.  
  149.           <action>
  150.             <treechildren observes="sessionWatcher">
  151.               <treeitem uri="?child">
  152.                 <treerow>
  153.                   <treecell id="OnlineBuddiesCol" properties="BuddyStateString-?BuddyStateString
  154.                                 ScreenName-?ScreenName Name-?Name DisplayName-?DisplayName
  155.                                 EmailID-?EmailID IcqUser-?IcqUser" label="?NameWithStatus" >
  156.                   </treecell>
  157.  
  158.                   <treecell properties="EmailState-?EmailState"
  159.                             label="" />
  160.                 </treerow>
  161.               </treeitem>
  162.             </treechildren>
  163.           </action>
  164.         </rule>
  165.       </template>
  166.  
  167.      <treechildren  id="AA2" observes="sessionWatcher" tooltip="infoTooltip">
  168.      <!--   <treeitem id="offlineitem" datasources="rdf:AIM" ref="NC:AIM/BuddyList" container="true" persist="open">
  169.           <treerow>
  170.             <treecell ref="BuddiesCol" properties="treecell-indent OfflineItalic" label="&offline.label;" disabled="true"/>
  171.           </treerow>
  172.  
  173.           <template>
  174.             <rule>
  175.               <conditions>
  176.                 <content uri="?uri" />
  177.                 <member container="?uri" child="?child" />
  178.                 <triple subject="?child" predicate="http://home.netscape.com/NC-rdf#AimType" object="BuddyGroup" />
  179.               </conditions>
  180.  
  181.               <bindings>
  182.                 <binding subject="?child"
  183.                          predicate="http://home.netscape.com/NC-rdf#Name"
  184.                          object="?Name" />
  185.               </bindings>
  186.  
  187.               <action>
  188.                 <treechildren>
  189.                   <treeitem uri="?child" persist="open">
  190.                     <treerow>
  191.                       <treecell ref="BuddiesCol" properties="buddy-treeitem panel-online treecell-indent OfflineItalic" label="?Name"/>
  192.                     </treerow>
  193.                   </treeitem>
  194.                 </treechildren>
  195.               </action>
  196.             </rule>
  197.  
  198.             
  199.             <rule>
  200.               <conditions>
  201.                 <content uri="?uri" />
  202.                 <member container="?uri" child="?child" />
  203.                 <triple subject="?child" predicate="http://home.netscape.com/NC-rdf#Online" object="false" />
  204.               </conditions>
  205.  
  206.               <bindings>
  207.                 <binding subject="?child"
  208.                         predicate="http://home.netscape.com/NC-rdf#Name"
  209.                         object="?Name" />
  210.                 <binding subject="?child"
  211.                          predicate="http://home.netscape.com/NC-rdf#ScreenName"
  212.                          object="?ScreenName" />
  213.                 <binding subject="?child"
  214.                          predicate="http://home.netscape.com/NC-rdf#BuddyAlertStateString"
  215.                          object="?BuddyAlertStateString" />
  216.               </bindings>
  217.  
  218.               <action>
  219.                 <treechildren>
  220.                   <treeitem uri="?child">
  221.                     <treerow>
  222.                       <treecell ref="BuddiesCol" properties="buddy-treeitem panel-online treecell-indent buddy-name OfflineItalic
  223.                                     ScreenName-?ScreenName BuddyAlertStateString-?BuddyAlertStateString Name-?Name"
  224.                                     label="?Name"/>
  225.  
  226.                     </treerow>
  227.                   </treeitem>
  228.                 </treechildren>
  229.               </action>
  230.             </rule>
  231.           </template>
  232.  
  233.         </treeitem> 
  234.  
  235.  
  236.      <treechildren observes="sessionWatcher"> -->
  237.         <treeitem id="AuthAwait2" datasources="rdf:AIM" ref="NC:AIM/AuthList" hidden="true" properties="Hide-in-Aim" open="true" container="true" persist="open">
  238.           <treerow>
  239.             <treecell ref="BuddiesCol" properties="Hide-in-Aim treecell-indent authgroup-item buddygroupname" label="&authawait.label;" disabled="true" />
  240.           </treerow>
  241.  
  242.           <template>
  243.             <rule>
  244.               <conditions>
  245.                 <content uri="?uri" />
  246.                 <member container="?uri" child="?child" />
  247.               </conditions>
  248.  
  249.               <bindings>
  250.                 <binding subject="?child"
  251.                          predicate="http://home.netscape.com/NC-rdf#ScreenName"
  252.                          object="?ScreenName" />
  253.                 <binding subject="?child"
  254.                          predicate="http://home.netscape.com/NC-rdf#Name"
  255.                          object="?Name" />
  256.                 <binding subject="?child"
  257.                          predicate="http://home.netscape.com/NC-rdf#AuthAcceptStatus"
  258.                          object="?AuthAcceptStatus" />
  259.               </bindings>
  260.  
  261.               <action>
  262.                 <treechildren>
  263.                   <treeitem uri="?child">
  264.                     <treerow>
  265.                       <treecell properties="buddy-treeitem panel-online treecell-indent buddy-name authgroup-item
  266.                                                     Name-?Name ScreenName-?ScreenName AuthAcceptStatus-?AuthAcceptStatus"
  267.                                     label="?Name" disabled="true">
  268.                       </treecell>
  269.  
  270.                     </treerow>
  271.                   </treeitem>
  272.                 </treechildren>
  273.               </action>
  274.             </rule>
  275.           </template>
  276.           
  277.  
  278.         </treeitem>
  279.       </treechildren>
  280.  
  281.     </tree>
  282.  
  283.         
  284.  
  285.   </vbox>
  286. </overlay>
  287.