home *** CD-ROM | disk | FTP | other *** search
/ Chip 2011 November / CHIP_2011_11.iso / Programy / Narzedzia / AIMP2 / aimp_2.61.583.exe / $TEMP / YandexPackSetup.msi / fil99E4BE79EFF0D1DC4012FEF34CC6C8A6 < prev    next >
Extensible Markup Language  |  2010-07-12  |  8KB  |  185 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://yasearch/skin/dialogs/dialog.css"?>
  3. <?xml-stylesheet href="chrome://yasearch/skin/dialogs/welcome.css"?>
  4. <!DOCTYPE dialog SYSTEM "chrome://yasearch/locale/dialogs/welcome.dtd">
  5.  
  6. <dialog id="yasearch-login-dialog"
  7.         windowtype="Yasearch:WelcomeDialog"
  8.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  9.         xmlns:html="http://www.w3.org/1999/xhtml"
  10.         xmlns:ya="http://bar.yandex.ru/firefox"
  11.         title="&yasearch.welcome.dialog.title;"
  12.         onload="YaWelcome.onDialogLoad()"
  13.         onunload="YaWelcome.onDialogUnload()"
  14.         ondialogaccept="return YaWelcome.onDialogAccept()"
  15.         onclick="return YaWelcome.handleWindowClick(event)"
  16.         hidechrome="true"
  17.         yatransparent="true">
  18.  
  19.   <script type="application/x-javascript" src="chrome://yasearch/content/utils.js"/>
  20.   <script type="application/x-javascript" src="chrome://yasearch/content/dialogs/dragwindow.js"/>
  21.   <script type="application/x-javascript" src="chrome://yasearch/content/dialogs/welcome.js"/>
  22.   
  23.   <stringbundle id="yasearch-string-bundle-welcome" src="chrome://yasearch/locale/dialogs/welcome.properties"/>
  24.   
  25.   <vbox flex="1">
  26.   <ya:dialogcontent id="dialogcontent" selectedIndex="0">
  27.     <ya:tabbox id="tabbox-welcome" title="&yasearch.welcome.enter.label;">
  28.       <ya:tabs>
  29.         <ya:tab label="&yasearch.welcome.enter.label;"/>
  30.       </ya:tabs>
  31.       
  32.       <ya:tabpanels>
  33.         <ya:tabpanel id="login-tabpanel" collapsed="false">
  34.           <grid id="login-grid" flex="1">
  35.             <rows><row/><row/><row/></rows>
  36.             <columns>
  37.               <column align="end">
  38.                 <hbox align="center">
  39.                   <label control="yasearch-username" class="not-mfd-display"
  40.                          value="&yasearch.welcome.login.label;:"/>
  41.                   <label control="yasearch-username" class="mfd-display"
  42.                          value="E-mail:"/>
  43.                 </hbox>
  44.                 <hbox align="center">
  45.                   <label control="yasearch-password"
  46.                          value="&yasearch.welcome.password.label;:"/>
  47.                 </hbox>
  48.                 <hbox>
  49.                   <label value="&yasearch.welcome.registration.label;"
  50.                          style="visibility:hidden; max-height:1px"/>
  51.                 </hbox>
  52.               </column>
  53.               <column>
  54.                 <hbox align="center">
  55.                   <textbox id="yasearch-username" flex="1"
  56.                            onchange="YaWelcome.checkAcceptButton()"
  57.                            onkeyup="YaWelcome.checkAcceptButton()"
  58.                            ontextentered="YaWelcome.handleLoginEntered()"
  59.                            showcommentcolumn="true"
  60.                            type="autocomplete"
  61.                            autocompletepopup="yasearch-popup-login-autocomplete"
  62.                            autocompletesearch="YasearchPassComplete"
  63.                            autocompletesearchparam="yasearch-login"
  64.                            completeselectedindex="true"
  65.                            clickSelectsAll="true"
  66.                            newlines="replacewithspaces"
  67.                            enablehistory="true"
  68.                            maxlength="200"/>
  69.                 </hbox>
  70.                 <hbox align="center">
  71.                   <textbox id="yasearch-password" flex="1"
  72.                            type="password"
  73.                            oninput="YaWelcome.checkAcceptButton()"
  74.                            onkeyup="YaWelcome.checkAcceptButton()"
  75.                            onchange="YaWelcome.checkAcceptButton()"/>
  76.                 </hbox>
  77.                 <hbox>
  78.                   <checkbox id="yasearch-store-password"
  79.                             label="&yasearch.welcome.store-password.label;"/>
  80.                   <spacer flex="1"/>
  81.                   <button id="login-button"
  82.                           label="&yasearch.welcome.login.button.label;"
  83.                           oncommand="document.documentElement.acceptDialog()"/>
  84.                 </hbox>
  85.               </column>
  86.               <column align="start" class="mfd-hidden">
  87.                 <vbox pack="center">
  88.                   <label value="&yasearch.welcome.registration.label;"
  89.                          tooltiptext="http://passport.yandex.ru/passport?mode=register"
  90.                          onclick="YaWelcome.onNewLoginClick(event)"/>
  91.                 </vbox>
  92.                 <vbox pack="center">
  93.                   <label value="&yasearch.welcome.remember-password.1.label;"
  94.                          tooltiptext="http://passport.yandex.ru/passport?mode=remember"
  95.                          yahref="http://passport.yandex.ru/passport?mode=remember"
  96.                          yaLinkAction="3120"/>
  97.                   <label value="&yasearch.welcome.remember-password.2.label;?"
  98.                          tooltiptext="http://passport.yandex.ru/passport?mode=remember"
  99.                          yahref="http://passport.yandex.ru/passport?mode=remember"
  100.                          yaLinkAction="3120"/>
  101.                 </vbox>
  102.                 <hbox/>
  103.               </column>
  104.             </columns>
  105.           </grid>
  106.           
  107.           <deck id="yasearch-connection-status" selectedIndex="0">
  108.             <hbox/>
  109.             <hbox><label class="request-status-label" value="&yasearch.welcome.status.request.label;…"/></hbox>
  110.             <hbox><label class="attention-label" value="&yasearch.welcome.status.error.label;"/></hbox>
  111.             <hbox><label class="attention-label" value="&yasearch.welcome.status.neterror.label;"/></hbox>
  112.             <hbox>
  113.               <label class="attention-label" value="&yasearch.welcome.maxErrors1.label;"/>
  114.               <label class="attention-label" value="&yasearch.welcome.maxErrors2.label;"
  115.                      tooltiptext="http://passport.yandex.ru/"
  116.                      yahref="http://passport.yandex.ru/"
  117.                      yaLinkAction="3110"/>
  118.             </hbox>
  119.           </deck>
  120.           
  121.           <hbox class="toggle-holder" pack="end" align="center">
  122.             <hbox yaShowOnCollapsed="true" onclick="YaWelcome.toggleCollapsedView()">
  123.               <label value="&yasearch.welcome.show.label;"/>
  124.             </hbox>
  125.             <hbox yaShowOnCollapsed="false" onclick="YaWelcome.toggleCollapsedView()">
  126.               <label value="&yasearch.welcome.hide.label;"/>
  127.             </hbox>
  128.           </hbox>
  129.           
  130.           <vbox yaShowOnCollapsed="false" flex="1" id="about-service-holder"/>
  131.         </ya:tabpanel>
  132.       </ya:tabpanels>
  133.       
  134.     </ya:tabbox>
  135.     
  136.     <ya:tabbox id="tabbox-services" title="&yasearch.welcome.mybar.label;">
  137.       <ya:tabs>
  138.         <ya:tab label="&yasearch.welcome.mybar.label;"/>
  139.       </ya:tabs>
  140.       
  141.       <ya:tabpanels>
  142.         <ya:tabpanel id="user-info-tabpanel">
  143.             <grid id="user-info">
  144.               <rows><row/></rows>
  145.               <columns>
  146.                 <column pack="start">
  147.                   <vbox flex="1" pack="start">
  148.                     <hbox id="user-info-avatar"/>
  149.                   </vbox>
  150.                 </column>
  151.                 <column id="user-info-yaru-column" flex="1" pack="start">
  152.                   <vbox flex="1" pack="start">
  153.                     <hbox id="user-info-name" class="yaoverfl"/>
  154.                     <box id="user-info-status" class="not-mfd-display"/>
  155.                   </vbox>
  156.                 </column>
  157.               </columns>
  158.             </grid>
  159.             
  160.             <vbox id="user-info-services">
  161.               <label class="dark-label" value="&yasearch.services.iuse.label;:"/>
  162.               <vbox id="user-info-services-list"/>
  163.             </vbox>
  164.             
  165.             <hbox id="user-switch-or-exit">
  166.               <vbox>
  167.                 <label value="&yasearch.welcome.user.switch.label;"
  168.                        onclick="YaWelcome.switchUser();"/>
  169.               </vbox>
  170.               <vbox>
  171.                 <label value="&yasearch.welcome.user.exit.label;"
  172.                        onclick="YaWelcome.logout(true);"/>
  173.               </vbox>
  174.             </hbox>
  175.           
  176.         </ya:tabpanel>
  177.         
  178.       </ya:tabpanels>
  179.       
  180.     </ya:tabbox>
  181.     
  182.   </ya:dialogcontent>
  183.   </vbox>
  184. </dialog>
  185.