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
/
SidebarPanel.xul
< prev
next >
Wrap
Extensible Markup Language
|
2006-01-06
|
9KB
|
190 lines
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://aim/skin/sidebar.css" type="text/css"?>
<!-- <?xml-stylesheet href="chrome://global/skin/scrollbars-mini.css" type="text/css"?> -->
<!DOCTYPE window SYSTEM "chrome://aim/locale/SPBuddyOrgOverlay.dtd">
<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
<?xul-overlay href="chrome://aim/content/SPBuddyOrgOverlay.xul"?>
<?xul-overlay href="chrome://aim/content/SPConnectingOrgOverlay.xul"?>
<?xul-overlay href="chrome://aim/content/SPAwayOrgOverlay.xul"?>
<?xul-overlay href="chrome://aim/content/SPSignOnOrgOverlay.xul"?>
<?xul-overlay href="chrome://aim/content/SPRegisterOrgOverlay.xul"?>
<?xul-overlay href="chrome://aim/content/SPSetupOrgOverlay.xul"?>
<?xul-overlay href="chrome://aim/content/contextMenu.xul"?>
<?xul-overlay href="chrome://aim/content/icqcontextMenu.xul"?>
<window id="AimSidebarPanel" xmlns:html="http://www.w3.org/1999/xhtml" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" orient="vertical" class="color-dialog"
onload="AimSidebarPanelOnWndLoad()"
onunload="AimSidebarPanelOnWndUnload()">
<stringbundleset id="stringbundleset"/>
<script language="JavaScript" src="chrome://aim/content/aimHelpers.js"/>
<script language="JavaScript" src="chrome://aim/content/AimMainObserver.js"/>
<script language="JavaScript" src="chrome://aim/content/TabSetup.js"/>
<script language="JavaScript" src="chrome://aim/content/SidebarPanel.js"/>
<script language="JavaScript" src="chrome://aim/content/Aim.js"/>
<script language="JavaScript" src="chrome://aim/content/AimIM.js"/>
<script language="JavaScript" src="chrome://aim/content/AimBuddy.js"/>
<script language="JavaScript" src="chrome://aim/content/contextMenu.js"/>
<script language="JavaScript" src="chrome://aim/content/icqcontextMenu.js"/>
<script language="JavaScript" src="chrome://aim/content/AimAppCommands.js"/>
<script language="JavaScript" src="chrome://aim/content/invitelist.js" />
<script language="JavaScript" src="chrome://communicator/content/tasksOverlay.js"/>
<script language="JavaScript" src="chrome://global/content/globalOverlay.js"/>
<!-- script language="javascript" src="chrome://aim/content/AimMailBridge.js" / -->
<!-- script language="javascript" src="chrome://messenger/content/addressbook/abCommon.js"/ -->
<script language="javascript">
// Global variable that holds the nsContextMenu instance.
var gContextMenu = null;
var gIcqContextMenu = null;
</script>
<broadcaster id="sessionWatcher" sessionMode="Aim"/>
<keyset id="buddyOrgOverlayKeys" />
<popupset id="imContextMenuSet"/>
<popupset id="icqContextMenuSet"/>
<popupset id="infoTooltipSet">
<tooltip id="infoTooltip" noautohide="true" onpopupshowing="return fillInfoTooltip(event, event.target);">
<vbox id="hideload">
<label id="infoTooltipName"/>
<grid id="infoTooltipGrid">
<columns>
<column style="width: 80px"/>
<column flex="1"/>
</columns>
<rows>
<row id="infoTooltipStatusRow">
<label id="infoTooltipStatus"/>
<label id="infoTooltipStatusTime"/>
</row>
<row id="infoTooltipOnlineRow">
<label id="infoTooltipOnlineTimeId"/>
<label id="infoTooltipOnlineTime"/>
</row>
<row id="infoTooltipWarningsRow">
<label id="infoTooltipWarningsId"/>
<label id="infoTooltipWarnings"/>
</row>
<row id="infoTooltipFlagRow">
<label id="infoTooltipFlag"/>
<label id="infoTooltipFlagValue"/>
</row>
<row id="capabilitiesRow">
<label id="capabilities"/>
<label id="capabilitiesValue"/>
</row>
<row id="displayNameRow">
<label id="displayName"/>
<label id="displayNameValue"/>
</row>
<row id="emailRow">
<label id="email"/>
<label id="emailValue"/>
</row>
</rows>
</grid>
</vbox>
</tooltip>
</popupset>
<popupset id="aTooltipSet"/>
<!-- Disable Context menus in blank areas -->
<deck id="PanelDeck" flex="1" context="">
<!-- Sign On Panel (Displayed when Offline) -->
<vbox id="SignOnOrg" name="SignOnOrg" flex="1" Registered="true">
<hbox id="sessionPickerLabel">
<spring flex="1"/>
<label flex="1" value="&sessionType.label;"/>
</hbox>
<hbox id="sessionPicker">
<spring flex="1"/>
<menulist flex="1" id="sessionTypeListmenu" label="&sessionTypeDefault.label;">
<observes element="sessionWatcher" attribute="sessionMode" />
<menupopup id="sessionTypeList" oncommand="UpdateSessionImages(event.target.getAttribute('value'));">
<menuitem id="sessionTypeAim" class="AimMenuIcon" value="0" label="&sessionTypeAim.label;" />
<menuitem id="sessionTypeIcq" class="IcqMenuIcon" value="2" label="&sessionTypeIcq.label;" />
</menupopup>
</menulist>
<spring flex="1"/>
</hbox>
</vbox>
<!-- Connecting Panel (Displayed when Connecting) -->
<vbox id="ConnectingOrg" name="ConnectingOrg" flex="1"/>
<!-- Away Panel (Displayed when Away) -->
<vbox id="AwayOrg" name="AwayOrg" flex="1"/>
<!-- Buddy Panel (Displayed when Online) -->
<vbox id="OnlineOrg" name="OnlineOrg" flex="1" Registered="true">
<hbox id="CurUser" autostretch="never" class="warned-box">
<label class="not-warned" value="" id="warnname"/>
<label class="warned" value="" id="warnamount"/>
</hbox>
<seperator/>
<tabbox id="OnlineOrgTabControl" orient="vertical" flex="1">
<tabs orient="horizontal">
<tab id="tabOnline" label="&online.label;" icqlabel="&online_ICQ.label;" imlabel="&online.label;"/>
<tab id="tabSetup" label="&listSetup.label;" icqlabel="&listSetup_ICQ.label;" imlabel="&listSetup.label;" />
</tabs>
<tabpanels id="OnlineOrgTabPanel" flex="1" >
<vbox id="BuddyOrg" name="BuddyOrg" flex="1"/>
<vbox id="SetupOrg" name="SetupOrg" flex="1"/>
</tabpanels>
</tabbox>
<box id="BuddyOrgButtons" autostretch="never">
<spacer flex="1"/>
<button id="btnbuddyorgtoday" class="aim-button Hide-in-Icq" label="&btnbuddyorgtoday.label;" oncommand="aimToday()"
tooltip="aTooltip" tooltiptext="&btnbuddyorgtoday.tooltip;">
<observes element="sessionWatcher" attribute="sessionMode" />
</button>
<button id="btnbuddyorghelp" class="aim-button Hide-in-Aim" label="&btnbuddyorghelp.label;" oncommand="aimGlobalCmdHelp();"
tooltip="aTooltip" tooltiptext="&btnbuddyorghelp_ICQ.tooltip;" >
<observes element="sessionWatcher" attribute="sessionMode" />
</button>
<spacer flex="4"/>
<button type="menu" id="btnaway" class="aim-button" label="&btnbuddyorgaway.label;" crop="right"
datasources="rdf:null" ref="NC:AIM/AwayMessageBag" tooltip="aTooltip"
tooltiptext="&btnbuddyorgaway.tooltip;">
<template>
<menupopup>
<menuitem label="&newawaymsg.label;" id="sidebarnewaway" oncommand="cmdNewAway();" >
<observes element="sessionWatcher" attribute="sessionMode" />
</menuitem>
<menuseparator id="newawayseparator" />
<menuitem oncommand="GoAwayWait(event.target,300);" uri="rdf:*" label="rdf:http://home.netscape.com/NC-rdf#MsgName" MsgText="rdf:http://home.netscape.com/NC-rdf#MsgText"/>
</menupopup>
</template>
<menupopup/>
</button>
<spacer flex="4"/>
<button id="btnbuddyorgsignoff" class="aim-button" label="&btnbuddyorgsignoff.label;" oncommand="cmdSignOff()"
tooltip="aTooltip" tooltiptext="&btnbuddyorgsignoff.tooltip;"
icqtooltip="&btnbuddyorgsignoff_ICQ.tooltip;" imtooltip="&btnbuddyorgsignoff.tooltip;"
icqlabel="&btnbuddyorgsignoff_ICQ.label;" imlabel="&btnbuddyorgsignoff.label;">
<observes element="sessionWatcher" attribute="sessionMode" />
</button>
<spacer flex="1"/>
</box>
</vbox>
<!-- Register Panel (Displayed when screenname has not been set) -->
<vbox id="RegisterOrg" name="RegisterOrg" flex="1" Registered="true"/>
</deck>
</window>