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 >
Extensible Markup Language  |  2006-01-06  |  9KB  |  190 lines

  1. <?xml version="1.0"?>
  2.  
  3. <?xml-stylesheet href="chrome://aim/skin/sidebar.css" type="text/css"?>
  4. <!-- <?xml-stylesheet href="chrome://global/skin/scrollbars-mini.css" type="text/css"?> -->
  5.  
  6. <!DOCTYPE window SYSTEM "chrome://aim/locale/SPBuddyOrgOverlay.dtd">
  7.  
  8. <?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
  9. <?xul-overlay href="chrome://aim/content/SPBuddyOrgOverlay.xul"?>
  10. <?xul-overlay href="chrome://aim/content/SPConnectingOrgOverlay.xul"?>
  11. <?xul-overlay href="chrome://aim/content/SPAwayOrgOverlay.xul"?>
  12. <?xul-overlay href="chrome://aim/content/SPSignOnOrgOverlay.xul"?>
  13. <?xul-overlay href="chrome://aim/content/SPRegisterOrgOverlay.xul"?>
  14. <?xul-overlay href="chrome://aim/content/SPSetupOrgOverlay.xul"?>
  15. <?xul-overlay href="chrome://aim/content/contextMenu.xul"?>
  16. <?xul-overlay href="chrome://aim/content/icqcontextMenu.xul"?>
  17.  
  18. <window id="AimSidebarPanel" xmlns:html="http://www.w3.org/1999/xhtml" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  19.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" orient="vertical" class="color-dialog"
  20.         onload="AimSidebarPanelOnWndLoad()" 
  21.         onunload="AimSidebarPanelOnWndUnload()">
  22.  
  23.   <stringbundleset id="stringbundleset"/>
  24.  
  25.   <script language="JavaScript" src="chrome://aim/content/aimHelpers.js"/>  
  26.   <script language="JavaScript" src="chrome://aim/content/AimMainObserver.js"/>
  27.   <script language="JavaScript" src="chrome://aim/content/TabSetup.js"/>
  28.   <script language="JavaScript" src="chrome://aim/content/SidebarPanel.js"/>
  29.   <script language="JavaScript" src="chrome://aim/content/Aim.js"/>
  30.   <script language="JavaScript" src="chrome://aim/content/AimIM.js"/>
  31.   <script language="JavaScript" src="chrome://aim/content/AimBuddy.js"/>
  32.   <script language="JavaScript" src="chrome://aim/content/contextMenu.js"/>
  33.   <script language="JavaScript" src="chrome://aim/content/icqcontextMenu.js"/>
  34.   <script language="JavaScript" src="chrome://aim/content/AimAppCommands.js"/>
  35.   <script language="JavaScript" src="chrome://aim/content/invitelist.js" />
  36.   <script language="JavaScript" src="chrome://communicator/content/tasksOverlay.js"/>
  37.   <script language="JavaScript" src="chrome://global/content/globalOverlay.js"/>
  38.   <!-- script language="javascript" src="chrome://aim/content/AimMailBridge.js" / -->
  39.   <!-- script language="javascript" src="chrome://messenger/content/addressbook/abCommon.js"/ -->
  40.  
  41.   <script language="javascript">
  42.     // Global variable that holds the nsContextMenu instance.
  43.     var gContextMenu = null;
  44.     var gIcqContextMenu = null;
  45.   </script>
  46.  
  47.   <broadcaster id="sessionWatcher" sessionMode="Aim"/>
  48.  
  49. <keyset id="buddyOrgOverlayKeys" />
  50.   <popupset id="imContextMenuSet"/>
  51.   <popupset id="icqContextMenuSet"/>
  52.    
  53.   <popupset id="infoTooltipSet">
  54.     <tooltip id="infoTooltip" noautohide="true" onpopupshowing="return fillInfoTooltip(event, event.target);">
  55.       <vbox id="hideload">
  56.      <label id="infoTooltipName"/>
  57.       <grid id="infoTooltipGrid">
  58.         <columns>
  59.           <column style="width: 80px"/>
  60.           <column flex="1"/>
  61.         </columns>
  62.         <rows>
  63.           <row id="infoTooltipStatusRow">
  64.             <label id="infoTooltipStatus"/>
  65.             <label id="infoTooltipStatusTime"/>
  66.           </row>
  67.           <row id="infoTooltipOnlineRow">
  68.             <label id="infoTooltipOnlineTimeId"/>
  69.             <label id="infoTooltipOnlineTime"/>
  70.           </row>
  71.           <row id="infoTooltipWarningsRow">
  72.             <label id="infoTooltipWarningsId"/>
  73.             <label id="infoTooltipWarnings"/>
  74.           </row>
  75.           <row id="infoTooltipFlagRow">
  76.             <label id="infoTooltipFlag"/>
  77.             <label id="infoTooltipFlagValue"/>
  78.           </row>
  79.           <row id="capabilitiesRow">
  80.             <label id="capabilities"/>
  81.             <label id="capabilitiesValue"/>
  82.           </row>
  83.           <row id="displayNameRow">
  84.             <label id="displayName"/>
  85.             <label id="displayNameValue"/>
  86.           </row>
  87.           <row id="emailRow">
  88.             <label id="email"/>
  89.             <label id="emailValue"/>
  90.           </row>
  91.         </rows>
  92.       </grid>
  93.     </vbox>
  94.     </tooltip>
  95.   </popupset>
  96.   <popupset id="aTooltipSet"/>
  97.  
  98.   <!-- Disable Context menus in blank areas -->
  99.   <deck id="PanelDeck" flex="1" context="">
  100.    
  101.     <!--  Sign On Panel (Displayed when Offline) -->
  102.     <vbox id="SignOnOrg" name="SignOnOrg" flex="1" Registered="true">
  103.       <hbox id="sessionPickerLabel">
  104.         <spring flex="1"/> 
  105.         <label flex="1" value="&sessionType.label;"/>
  106.       </hbox>
  107.       <hbox id="sessionPicker">
  108.        <spring flex="1"/> 
  109.        <menulist flex="1"  id="sessionTypeListmenu" label="&sessionTypeDefault.label;">
  110.         <observes element="sessionWatcher"  attribute="sessionMode" />
  111.         <menupopup id="sessionTypeList"  oncommand="UpdateSessionImages(event.target.getAttribute('value'));">
  112.           <menuitem id="sessionTypeAim" class="AimMenuIcon" value="0" label="&sessionTypeAim.label;" />
  113.           <menuitem id="sessionTypeIcq" class="IcqMenuIcon" value="2" label="&sessionTypeIcq.label;" />                        
  114.         </menupopup>
  115.        </menulist>
  116.        <spring flex="1"/>
  117.       </hbox>  
  118.     </vbox>
  119.  
  120.     <!--  Connecting Panel (Displayed when Connecting) -->
  121.     <vbox id="ConnectingOrg" name="ConnectingOrg" flex="1"/>
  122.  
  123.     <!--  Away Panel (Displayed when Away) -->
  124.     <vbox id="AwayOrg" name="AwayOrg" flex="1"/>
  125.  
  126.     <!--  Buddy Panel (Displayed when Online) -->
  127.     <vbox id="OnlineOrg" name="OnlineOrg" flex="1" Registered="true">
  128.       <hbox id="CurUser" autostretch="never" class="warned-box">
  129.         <label class="not-warned" value="" id="warnname"/>
  130.         <label class="warned"     value="" id="warnamount"/>
  131.       </hbox>
  132.        
  133.       <seperator/>
  134.       
  135.       <tabbox id="OnlineOrgTabControl" orient="vertical" flex="1">
  136.         <tabs orient="horizontal">
  137.           <tab id="tabOnline" label="&online.label;" icqlabel="&online_ICQ.label;"  imlabel="&online.label;"/>
  138.           <tab id="tabSetup" label="&listSetup.label;" icqlabel="&listSetup_ICQ.label;" imlabel="&listSetup.label;" />
  139.         </tabs>
  140.         <tabpanels id="OnlineOrgTabPanel" flex="1" >
  141.           <vbox id="BuddyOrg" name="BuddyOrg" flex="1"/>
  142.           <vbox id="SetupOrg" name="SetupOrg" flex="1"/>
  143.         </tabpanels>
  144.       </tabbox>
  145.        
  146.        <box id="BuddyOrgButtons" autostretch="never">
  147.          <spacer flex="1"/>
  148.          <button id="btnbuddyorgtoday" class="aim-button Hide-in-Icq" label="&btnbuddyorgtoday.label;" oncommand="aimToday()"
  149.                  tooltip="aTooltip" tooltiptext="&btnbuddyorgtoday.tooltip;">
  150.           <observes element="sessionWatcher"  attribute="sessionMode" />
  151.          </button>
  152.          <button  id="btnbuddyorghelp" class="aim-button Hide-in-Aim" label="&btnbuddyorghelp.label;" oncommand="aimGlobalCmdHelp();"
  153.               tooltip="aTooltip"  tooltiptext="&btnbuddyorghelp_ICQ.tooltip;" >
  154.         <observes element="sessionWatcher"  attribute="sessionMode" />
  155.         </button>
  156.  
  157.  
  158.          <spacer flex="4"/>
  159.          <button type="menu" id="btnaway" class="aim-button" label="&btnbuddyorgaway.label;" crop="right"
  160.                  datasources="rdf:null" ref="NC:AIM/AwayMessageBag" tooltip="aTooltip"
  161.                  tooltiptext="&btnbuddyorgaway.tooltip;">
  162.            <template>
  163.              <menupopup>
  164.                <menuitem label="&newawaymsg.label;" id="sidebarnewaway" oncommand="cmdNewAway();" >
  165.                  <observes element="sessionWatcher"  attribute="sessionMode" />
  166.                </menuitem>
  167.                <menuseparator id="newawayseparator" />
  168.                <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"/>
  169.              </menupopup>        
  170.            </template>
  171.            <menupopup/>
  172.          </button>
  173.          <spacer flex="4"/>
  174.          <button id="btnbuddyorgsignoff" class="aim-button" label="&btnbuddyorgsignoff.label;" oncommand="cmdSignOff()"
  175.                      tooltip="aTooltip" tooltiptext="&btnbuddyorgsignoff.tooltip;" 
  176.                      icqtooltip="&btnbuddyorgsignoff_ICQ.tooltip;" imtooltip="&btnbuddyorgsignoff.tooltip;"      
  177.                      icqlabel="&btnbuddyorgsignoff_ICQ.label;" imlabel="&btnbuddyorgsignoff.label;">
  178.          <observes element="sessionWatcher"  attribute="sessionMode" />
  179.         </button>
  180.          <spacer flex="1"/>
  181.        </box>
  182.      </vbox>
  183.    
  184.     <!--  Register Panel (Displayed when screenname has not been set) -->
  185.     <vbox id="RegisterOrg" name="RegisterOrg" flex="1" Registered="true"/>
  186.  
  187.   </deck>
  188.  
  189. </window>
  190.