home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 October / Gamestar_77_2005-10_dvd.iso / Programy / nsb-install-8-0.exe / chrome / aim.jar / content / aim / pref-IM_away.xul < prev    next >
Encoding:
Extensible Markup Language  |  2005-07-29  |  2.9 KB  |  66 lines

  1. <?xml version="1.0"?> 
  2.  
  3. <?xml-stylesheet href="chrome://aim/skin/prefPanels.css" type="text/css"?>
  4. <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
  5.  
  6. <!DOCTYPE window SYSTEM "chrome://communicator/locale/pref/pref-IM_away.dtd">
  7.  
  8. <page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  9.   onload="aimPreferenceOnload(); PrefIMAwayOnLoad(); parent.initPanel('chrome://aim/content/pref-IM_away.xul');"
  10.   headertitle="&window.title;">
  11.  
  12.   <script language="JavaScript">
  13.   <![CDATA[
  14.     _elementIDs = ["aim.away.autoreply", "aim.away.disablesound"];
  15.   ]]>
  16.   </script>
  17.  
  18.   <script language="JavaScript" src="chrome://aim/content/AimSession.js" />
  19.   <script language="JavaScript" src="chrome://aim/content/aimHelpers.js" />
  20.   <script language="javascript" src="prefIM.js"/>
  21.  
  22.   <broadcaster id="args" label="about:blank"/>
  23.  
  24.   <description id="AwayOffline" />
  25.   <groupbox id="AwayGroup">
  26.     <caption label="&header2.label;"/>
  27.     <checkbox id="aim.away.autoreply" class="pIMaway010" prefstring="aim.away.autoreply"   label="&radioAutoRespond.label;"/>
  28.     <checkbox id="aim.away.disablesound" class="pIMaway009" prefstring="aim.away.disablesound" label="&checkBoxDisableSnds.label;"/>
  29.   </groupbox>
  30.         
  31.   <groupbox id="AwayMsgs" flex="1">
  32.     <caption label="&header3.label;"/>
  33.       <!-- for now, we'll only use a local file as a datasource, which we'll
  34.            set up in the onload handler. Eventually, we may also want to 
  35.            aggregate information from the feedback in the AIM service -->
  36.   
  37.     <hbox flex="1">
  38.       <tree id="AwayMessages" datasources="rdf:null" flex="1"
  39.             onselect="UpdateAwayButtons();" hidecolumnpicker="true" seltype="single"
  40.             style="height: 0px;" ref="NC:AIM/AwayMessageBag">
  41.         <treecols>
  42.           <treecol id="col1" flex="30%" hideheader="true"/>
  43.           <treecol id="col2" flex="70%" hideheader="true"/>
  44.         </treecols>
  45.         <template>
  46.           <treechildren id="AwayChildren" class="gridlines">
  47.             <treeitem uri="..." MsgName="rdf:http://home.netscape.com/NC-rdf#MsgName"
  48.                       MsgText="rdf:http://home.netscape.com/NC-rdf#MsgText" >
  49.               <treerow>
  50.                 <treecell label="rdf:http://home.netscape.com/NC-rdf#MsgName"/>
  51.                 <treecell label="rdf:http://home.netscape.com/NC-rdf#MsgText"/>
  52.               </treerow>
  53.             </treeitem>
  54.           </treechildren>
  55.         </template>
  56.       </tree>
  57.     </hbox>
  58.     <hbox>  
  59.       <button id="buttonAddMess" label="&buttonAddMess.label;"    oncommand="AddAwayMessage();"/> 
  60.       <button id="buttonEditMess" label="&buttonEditMess.label;"   oncommand="EditAwayMessage();DisableButtons();" disabled="true"/>  
  61.       <button id="buttonRemoveMess" label="&buttonRemoveMess.label;" oncommand="RemoveAwayMessage();DisableButtons();" disabled="true"/>
  62.     </hbox> 
  63.   </groupbox>
  64.  
  65. </page>
  66.