home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2005 July & August
/
PCWorld_2005-07-08_cd.bin
/
komunikace
/
netscape
/
nsb-install-8-0.exe
/
chrome
/
aim.jar
/
content
/
aim
/
SPBuddyOrgOverlay.xul
< prev
next >
Wrap
Extensible Markup Language
|
2005-02-26
|
12KB
|
287 lines
<?xml version="1.0"?>
<!DOCTYPE window SYSTEM "chrome://aim/locale/SPBuddyOrgOverlay.dtd">
<overlay id="SidebarPanelBuddyOrgOverlay" xmlns:html="http://www.w3.org/1999/xhtml" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:nc="http://home.netscape.com/NC-rdf" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- Overlay the key bindings -->
<keyset id="buddyOrgOverlayKeys">
<key id="key_addbuddy" key="&spbuddy_addbuddy.key;" oncommand="cmdAddBuddy()" disabled="false" alt="false" modifiers="accel,shift"/>
<key id="key_addgroup" key="&spbuddy_addgroup.key;" oncommand="cmdAddGroup()" disabled="false" alt="false" modifiers="accel,shift"/>
<key id="key_chat" key="&spbuddy_chat.key;" oncommand="cmdNewChat('',null,'',false,'outgoingchat')" disabled="false" alt="false" modifiers="accel,shift"/>
<key id="key_fab" key="&spbuddy_fab.key;" oncommand="window.openDialog('chrome:aim/content/findAFriendWizard.xul','CPW','chrome,titlebar,resizable=yes')"
disabled="false" alt="false" modifiers="accel,shift"/>
<key id="key_buddyalert" key="&spbuddy_buddyalert.key;" oncommand="cmdBuddyAlert();" disabled="false" alt="false" modifiers="accel,shift"/>
<key id="key_import" key="&spbuddy_import.key;" oncommand="cmdImportBuddyList()" disabled="false" alt="false" modifiers="accel,shift"/>
<key id="key_export" key="&spbuddy_export.key;" oncommand="cmdExportBuddyList()" disabled="false" alt="false" modifiers="accel,shift"/>
<key id="key_soaf" key="&spbuddy_soaf.key;" oncommand="window.openDialog('chrome:aim/content/InviteAFriendWizard.xul','CPW','chrome,titlebar,resizable=yes', null)"
disabled="false" alt="false" modifiers="accel,shift"/>
</keyset>
<!-- Overlay the Buddy Panel (Displayed when Online) -->
<vbox id="BuddyOrg">
<hbox id="BuddyOrgButtons">
<button id="btnbuddyorgsendim" class="aim-button" oncommand="cmdNewIM()" tooltip="aTooltip" tooltiptext="&tabbtnsendim.tooltip;"
icqtooltip="&tabbtnsendim_ICQ.tooltip;" imtooltip="&tabbtnsendim.tooltip;">
<observes element="sessionWatcher" attribute="sessionMode" />
</button>
<button id="btnbuddyorgchat" class="aim-button Hide-in-Icq" oncommand="cmdNewChatSidebar('',null,'',false,'outgoingchat')" tooltip="aTooltip"
tooltiptext="&tabbtnchat.tooltip;" >
<observes element="sessionWatcher" attribute="sessionMode"/>
</button>
<button id="mailcompose" class="aim-button Hide-in-Icq" tooltiptext="&newMsgButton.tooltip;" oncommand="ComposeNewMessage()">
<observes element="sessionWatcher" attribute="sessionMode" />
</button>
<!--button label="&tabbtninfo.label;" id="btnbuddyorginfo" class="aim-button"/-->
</hbox>
<tree id="OnlineBuddies" flex="1"
sortStaticsLast="true"
context="context"
seltype="multiple"
onselect="onSelectionChange()"
onclick="if (event.detail == 2) cmdDoubleClick(event);"
datasources="rdf:AIM" ref="NC:AIM/BuddyList"
flags="dont-test-empty">
<treecols>
<treecol id="BuddiesCol"
flex="5"
treecolid="buddies"
label=""
crop="center"
persist="width"
ignoreincolumnpicker="true"
primary="true" />
<!-- class="inset tabpanel" /> -->
<splitter class="tree-splitter"/>
<treecol id="NewMailCol"
flex="1"
display="&newMailColumn.label;"
align="center"
persist="hidden"
class="treecol-image NewMailColumnHeader" />
</treecols>
<template>
<rule>
<conditions>
<content uri="?uri" />
<member container="?uri" child="?child" />
<triple subject="?child" predicate="http://home.netscape.com/NC-rdf#AimType" object="BuddyGroup" />
</conditions>
<bindings>
<binding subject="?child"
predicate="http://home.netscape.com/NC-rdf#NameWithStatus"
object="?NameWithStatus" />
<binding subject="?child"
predicate="http://home.netscape.com/NC-rdf#Name"
object="?Name" />
<binding subject="?child"
predicate="http://home.netscape.com/NC-rdf#IcqUser"
object="?IcqUser" />
</bindings>
<action>
<treechildren>
<treeitem uri="?child" persist="open">
<treerow>
<treecell properties="buddygroupname buddy-treeitem panel-online treecell-indent buddy-name
Name-?Name IcqUser-?IcqUser" label="?NameWithStatus" />
<treecell label="" align="center" />
</treerow>
</treeitem>
</treechildren>
</action>
</rule>
<rule>
<conditions>
<content uri="?uri" />
<member container="?uri" child="?child" />
<triple subject="?child" predicate="http://home.netscape.com/NC-rdf#Online" object="true" />
</conditions>
<bindings>
<binding subject="?child"
predicate="http://home.netscape.com/NC-rdf#NameWithStatus"
object="?NameWithStatus" />
<binding subject="?child"
predicate="http://home.netscape.com/NC-rdf#BuddyStateString"
object="?BuddyStateString" />
<binding subject="?child"
predicate="http://home.netscape.com/NC-rdf#ScreenName"
object="?ScreenName" />
<binding subject="?child"
predicate="http://home.netscape.com/NC-rdf#Name"
object="?Name" />
<binding subject="?child"
predicate="http://home.netscape.com/NC-rdf#EmailState"
object="?EmailState" />
<binding subject="?child"
predicate="http://home.netscape.com/NC-rdf#EmailID"
object="?EmailID" />
<binding subject="?child"
predicate="http://home.netscape.com/NC-rdf#DisplayName"
object="?DisplayName" />
<binding subject="?child"
predicate="http://home.netscape.com/NC-rdf#IcqUser"
object="?IcqUser" />
</bindings>
<action>
<treechildren observes="sessionWatcher">
<treeitem uri="?child">
<treerow>
<treecell id="OnlineBuddiesCol" properties="BuddyStateString-?BuddyStateString
ScreenName-?ScreenName Name-?Name DisplayName-?DisplayName
EmailID-?EmailID IcqUser-?IcqUser" label="?NameWithStatus" >
</treecell>
<treecell properties="EmailState-?EmailState"
label="" />
</treerow>
</treeitem>
</treechildren>
</action>
</rule>
</template>
<treechildren id="AA2" observes="sessionWatcher" tooltip="infoTooltip">
<!-- <treeitem id="offlineitem" datasources="rdf:AIM" ref="NC:AIM/BuddyList" container="true" persist="open">
<treerow>
<treecell ref="BuddiesCol" properties="treecell-indent OfflineItalic" label="&offline.label;" disabled="true"/>
</treerow>
<template>
<rule>
<conditions>
<content uri="?uri" />
<member container="?uri" child="?child" />
<triple subject="?child" predicate="http://home.netscape.com/NC-rdf#AimType" object="BuddyGroup" />
</conditions>
<bindings>
<binding subject="?child"
predicate="http://home.netscape.com/NC-rdf#Name"
object="?Name" />
</bindings>
<action>
<treechildren>
<treeitem uri="?child" persist="open">
<treerow>
<treecell ref="BuddiesCol" properties="buddy-treeitem panel-online treecell-indent OfflineItalic" label="?Name"/>
</treerow>
</treeitem>
</treechildren>
</action>
</rule>
<rule>
<conditions>
<content uri="?uri" />
<member container="?uri" child="?child" />
<triple subject="?child" predicate="http://home.netscape.com/NC-rdf#Online" object="false" />
</conditions>
<bindings>
<binding subject="?child"
predicate="http://home.netscape.com/NC-rdf#Name"
object="?Name" />
<binding subject="?child"
predicate="http://home.netscape.com/NC-rdf#ScreenName"
object="?ScreenName" />
<binding subject="?child"
predicate="http://home.netscape.com/NC-rdf#BuddyAlertStateString"
object="?BuddyAlertStateString" />
</bindings>
<action>
<treechildren>
<treeitem uri="?child">
<treerow>
<treecell ref="BuddiesCol" properties="buddy-treeitem panel-online treecell-indent buddy-name OfflineItalic
ScreenName-?ScreenName BuddyAlertStateString-?BuddyAlertStateString Name-?Name"
label="?Name"/>
</treerow>
</treeitem>
</treechildren>
</action>
</rule>
</template>
</treeitem>
<treechildren observes="sessionWatcher"> -->
<treeitem id="AuthAwait2" datasources="rdf:AIM" ref="NC:AIM/AuthList" hidden="true" properties="Hide-in-Aim" open="true" container="true" persist="open">
<treerow>
<treecell ref="BuddiesCol" properties="Hide-in-Aim treecell-indent authgroup-item buddygroupname" label="&authawait.label;" disabled="true" />
</treerow>
<template>
<rule>
<conditions>
<content uri="?uri" />
<member container="?uri" child="?child" />
</conditions>
<bindings>
<binding subject="?child"
predicate="http://home.netscape.com/NC-rdf#ScreenName"
object="?ScreenName" />
<binding subject="?child"
predicate="http://home.netscape.com/NC-rdf#Name"
object="?Name" />
<binding subject="?child"
predicate="http://home.netscape.com/NC-rdf#AuthAcceptStatus"
object="?AuthAcceptStatus" />
</bindings>
<action>
<treechildren>
<treeitem uri="?child">
<treerow>
<treecell properties="buddy-treeitem panel-online treecell-indent buddy-name authgroup-item
Name-?Name ScreenName-?ScreenName AuthAcceptStatus-?AuthAcceptStatus"
label="?Name" disabled="true">
</treecell>
</treerow>
</treeitem>
</treechildren>
</action>
</rule>
</template>
</treeitem>
</treechildren>
</tree>
</vbox>
</overlay>