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 / SPSignOnOrgOverlay.xul < prev    next >
Extensible Markup Language  |  2006-01-06  |  5KB  |  98 lines

  1. <?xml version="1.0"?> 
  2.  
  3. <?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  4.  
  5. <!DOCTYPE window SYSTEM "chrome://aim/locale/SPSignOnOrgOverlay.dtd">
  6.  
  7. <overlay id="SidebarPanelSignOnOverlay" xmlns:html="http://www.w3.org/1999/xhtml"
  8.      xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  9.  
  10.   <stringbundleset id="stringbundleset">
  11.     <stringbundle id="bundle_aim" src="chrome://aim/locale/aim.properties"/>
  12.     <stringbundle id="bundle_aim_region" src="chrome://aim-region/locale/region.properties"/>
  13.   </stringbundleset>
  14.  
  15.   <script language="JavaScript" src="chrome://aim/content/aimHelpers.js"/>
  16.   <script language="JavaScript" src="chrome://aim/content/AimSession.js"/>
  17.  
  18.   <!-- Overlay the Sign On Panel (Displayed when Offline) -->
  19.   <vbox id="SignOnOrg" flex="1">
  20.  
  21.     <separator/>
  22.   
  23.     <grid>
  24.       <columns>
  25.         <column/>
  26.         <column flex="1"/>
  27.       </columns>
  28.       
  29.       <rows>
  30.         <row>
  31.           <label id="snid" class="smaller-text" value="&screenName.label;" imlabel="&screenName.label;" icqlabel="&icqnumber_ICQ.label;"/>
  32.           <menulist editable="true" class="smaller-text" type="text" flex="1" datasources="rdf:null" ref="NC:AIM/LoginNameBag" onkeypress="cmdScreenName(event);" id="fldScreenName" value="fldScreenName" name="fldScreenName">
  33.            <template>
  34.             <menupopup oncommand="cmdScreenName(event);">
  35.                 <menuitem uri="rdf:*" label="rdf:http://home.netscape.com/NC-rdf#LoginName" value="rdf:http://home.netscape.com/NC-rdf#LoginName"/>
  36.             </menupopup>
  37.            </template>
  38.           </menulist>
  39.         </row>
  40.         <row>
  41.           <label id="pwdid" class="smaller-text" value="&password.label;"/>
  42.           <textbox id="fldPassword" class="smaller-text" type="password" name="fldPassword" flex="1" 
  43.                    onkeypress="cmdPasswordKeyup(event);" /> 
  44.         </row>
  45.       </rows>
  46.     </grid>
  47.  
  48.     <vbox>
  49.       <checkbox label="&savePassword.label;" id="chkSavePassword" name="chkSavePassword" 
  50.                 oncommand="cmdClickSavePassword();" class="smaller-text"/>
  51.       <checkbox label="&autoLogin.label;" id="chkAutoLogin" name="chkAutoLogin"  
  52.                 oncommand="cmdClickAutoLogin();" class="smaller-text"
  53.                 imlabel="&autoLogin.label;"  icqlabel="&autoLogin_ICQ.label;" />
  54.  
  55.     </vbox>
  56.                     
  57.     <separator/>
  58.     
  59.     <separator class="groove"/>
  60.    
  61.     <hbox>
  62.       <spacer flex="1" />
  63.       <button label="&helpButton.label;" id="spsignonHelp2" class="aim-button" tooltip="aTooltip"  tooltiptext="&helpButton.tooltip;" 
  64.               oncommand="aimGlobalCmdHelp()" imtooltip="&helpButton.tooltip;" icqtooltip="&helpButton_ICQ.tooltip;"
  65.               onkeypress="if ((event.keyCode == 9)) {setFocusSignOnButton(event);}">
  66.       <observes element="sessionWatcher"  attribute="sessionMode" />
  67.       </button>
  68.       <spacer flex="7" />
  69.       <button id="spsignonSignOn2" label="&signonButton.label;" oncommand="cmdPanelSignOn()" class="aim-button" default="true" tooltip="aTooltip" 
  70.               tooltiptext="&signonButton.tooltip;" imlabel="&signonButton.label;" icqlabel="&signonButton_ICQ.label;"  imtooltip="&signonButton.tooltip;" icqtooltip="&signonButton_ICQ.tooltip;"
  71.               onkeypress=" if ((event.keyCode == 9)) setFocusPassLink(event);" >
  72.       <observes element="sessionWatcher"  attribute="sessionMode" />
  73.       </button>
  74.       <spacer flex="1" />
  75.     </hbox>
  76.     <vbox>
  77.        <hbox align="center">
  78.          <spacer flex="1"/>
  79.          <label id="spsignonpasslink" class="spsignon-link" value="&forgotPassword.label;" 
  80.                  tooltip="aTooltip"  tooltiptext="&PassLink.tooltip;" onclick="openPassLink()"  
  81.                  onkeypress=" if ((event.keyCode == 13)){ openPassLink()};
  82.                               if ((event.keyCode == 9)){ unsetFocusPassLink(event)}; setFocusRegisterLink(event);"/>
  83.           <spacer flex="1"/>                    
  84.        </hbox>
  85.        <hbox align="center">
  86.           <spacer flex="1"/>
  87.           <label id="spregisterpasslink" class="spsignon-link" value="®isterNewUser.label;" 
  88.                  imlabel="®isterNewUser.label;" icqlabel="®isterNewUser_ICQ.label;" 
  89.                  imtooltip="®isterNewUser.tooltip;"  icqtooltip="®isterNewUser_ICQ.tooltip;" 
  90.                  tooltip="aTooltip"  tooltiptext="®isterNewUser.tooltip;" onclick="openRegisterLink('sessionWatcher')"  
  91.                  onkeypress=" if ((event.keyCode == 13)){ openRegisterLink('sessionWatcher')};
  92.                               if ((event.keyCode == 9)){ unsetFocusRegisterLink(event)};"/>
  93.           <spacer flex="1"/> 
  94.        </hbox>
  95.     </vbox>
  96.   </vbox>
  97. </overlay>
  98.