home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / phoenx05.zip / phoenix / chrome / browser.jar / content / browser / bookmarks / bookmarksProperties.xul < prev    next >
Extensible Markup Language  |  2002-10-10  |  10KB  |  217 lines

  1. <?xml version="1.0"?> <!-- -*- Mode: SGML; indent-tabs-mode: nil; -*- -->
  2.  
  3. <?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
  4.  
  5. <!DOCTYPE dialog [
  6. <!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
  7. %brandDTD;
  8. <!ENTITY % bmpropsDTD SYSTEM "chrome://browser/locale/bookmarks/bookmarksProperties.dtd">
  9. %bmpropsDTD;
  10. ]>
  11.  
  12. <dialog id="bmPropsWindow" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  13.         title="&bookmarks.windowtitle.label;"
  14.         onload="Init()" style="width: 30em;"
  15.         ondialogaccept="return Commit();">
  16.  
  17.   <script type="application/x-javascript" src="chrome://global/content/globalOverlay.js"/>
  18.   <script type="application/x-javascript" src="chrome://browser/content/bookmarks/bookmarks.js"/>
  19.   <script type="application/x-javascript" src="chrome://browser/content/bookmarks/bookmarksProperties.js"/>
  20.  
  21.   <keyset id="keyset"/>  
  22.     
  23.   <tabbox>
  24.     <tabs>
  25.       <tab label="&generalInfo.label;" accesskey="&generalInfo.accesskey;"/>
  26.       <tab id="ScheduleTab" label="&schedule.label;" accesskey="&schedule.accesskey;"/>
  27.       <tab id="NotifyTab" label="¬ification.label;" accesskey="¬ification.accesskey;"/>
  28.     </tabs>
  29.     <tabpanels>
  30.       <vbox>
  31.         <separator class="thin"/>
  32.         <hbox align="start">
  33.           <image class="message-icon"/>
  34.           <separator class="thin" orient="vertical"/>
  35.           <description id="bookmarkDescription" flex="1"/>
  36.         </hbox>
  37.    
  38.         <separator class="thin"/>
  39.         
  40.         <vbox class="box-padded">    
  41.           <grid>
  42.             <columns>
  43.               <column />
  44.               <column flex="1"/>
  45.             </columns>
  46.             <rows>
  47.               <row align="center">
  48.                 <label value="&bookmarks.name.label;" control="name"/>
  49.                 <textbox id="name"/>
  50.               </row>
  51.               <row id="locationrow" align="center">
  52.                 <label value="&bookmarks.location.label;" control="url"/>
  53.                       <textbox id="url" />
  54.               </row>
  55.               <row id="shortcutrow" align="center">
  56.                 <label value="&bookmarks.shortcut.label;" control="shortcut"/>
  57.                       <textbox id="shortcut" />
  58.               </row>
  59.               <row>
  60.                 <label value="&bookmarks.description.label;" control="description"/>
  61.                 <textbox multiline="true" wrap="virtual" id="description" flex="1"/>
  62.               </row>
  63.             </rows>
  64.           </grid>
  65.           <separator/>
  66.         </vbox>
  67.       </vbox>
  68.       
  69.       <vbox>
  70.         <separator class="thin"/>
  71.         <hbox align="center">
  72.           <image id="schedule-icon"/>
  73.           <separator class="thin" orient="vertical"/>
  74.           <description flex="1">&schedule.description;</description>
  75.         </hbox>
  76.         <separator class="thin"/>
  77.         <hbox class="box-padded">
  78.           <spacer flex="1"/>
  79.           <groupbox>
  80.             <caption label="&checkforupdates.legend.label;"/>
  81.             <grid flex="1">
  82.               <columns>
  83.                 <column/>
  84.                 <column flex="1"/>
  85.               </columns>
  86.               <rows>
  87.                 <row align="center">
  88.                   <label value="&when.label;" control="dayRange"/>
  89.                   <hbox>
  90.                     <menulist id="dayRange" oncommand="dayRangeChange(this);">
  91.                       <menupopup>
  92.                         <menuitem value="" label="&checknever.label;"/>
  93.                         <menuseparator />
  94.                         <menuitem value="0123456" label="&checkeveryday.label;"/>
  95.                         <menuitem value="12345" label="&checkweekdays.label;"/>
  96.                         <menuitem value="06" label="&checkweekends.label;"/>
  97.                         <menuitem value="1" label="&checkmondays.label;"/>
  98.                         <menuitem value="2" label="&checktuesdays.label;"/>
  99.                         <menuitem value="3" label="&checkwednesdays.label;"/>
  100.                         <menuitem value="4" label="&checkthursdays.label;"/>
  101.                         <menuitem value="5" label="&checkfridays.label;"/>
  102.                         <menuitem value="6" label="&checksaturdays.label;"/>
  103.                         <menuitem value="0" label="&checksundays.label;"/>
  104.                       </menupopup>
  105.                     </menulist>
  106.                   </hbox>
  107.                 </row>
  108.                 <row align="center">
  109.                   <label id="startHourRangeLabel" 
  110.                         value="&from.label;" control="startHourRange"/>
  111.                   <hbox align="center">
  112.                     <menulist id="startHourRange" oncommand="setEndHourRange()">
  113.                       <menupopup>
  114.                         <menuitem value="0" label="&midnight.label;"/>
  115.                         <menuitem value="1" label="&AMone.label;"/>
  116.                         <menuitem value="2" label="&AMtwo.label;"/>
  117.                         <menuitem value="3" label="&AMthree.label;"/>
  118.                         <menuitem value="4" label="&AMfour.label;"/>
  119.                         <menuitem value="5" label="&AMfive.label;"/>
  120.                         <menuitem value="6" label="&AMsix.label;"/>
  121.                         <menuitem value="7" label="&AMseven.label;"/>
  122.                         <menuitem value="8" label="&AMeight.label;"/>
  123.                         <menuitem value="9" label="&AMnine.label;"/>
  124.                         <menuitem value="10" label="&AMten.label;"/>
  125.                         <menuitem value="11" label="&AMeleven.label;"/>
  126.                         <menuitem value="12" label="&noon.label;"/>
  127.                         <menuitem value="13" label="&PMone.label;"/>
  128.                         <menuitem value="14" label="&PMtwo.label;"/>
  129.                         <menuitem value="15" label="&PMthree.label;"/>
  130.                         <menuitem value="16" label="&PMfour.label;"/>
  131.                         <menuitem value="17" label="&PMfive.label;"/>
  132.                         <menuitem value="18" label="&PMsix.label;"/>
  133.                         <menuitem value="19" label="&PMseven.label;"/>
  134.                         <menuitem value="20" label="&PMeight.label;"/>
  135.                         <menuitem value="21" label="&PMnine.label;"/>
  136.                         <menuitem value="22" label="&PMten.label;"/>
  137.                         <menuitem value="23" label="&PMeleven.label;"/>
  138.                       </menupopup>
  139.                     </menulist>
  140.                     <label id="endHourRangeLabel" 
  141.                           value="&to.label;" control="endHourRange"/>
  142.                     <menulist id="endHourRange">
  143.                       <menupopup onpopupshowing="setEndHourRange()">
  144.                         <menuitem value="1" label="&AMone.label;"/>
  145.                         <menuitem value="2" label="&AMtwo.label;"/>
  146.                         <menuitem value="3" label="&AMthree.label;"/>
  147.                         <menuitem value="4" label="&AMfour.label;"/>
  148.                         <menuitem value="5" label="&AMfive.label;"/>
  149.                         <menuitem value="6" label="&AMsix.label;"/>
  150.                         <menuitem value="7" label="&AMseven.label;"/>
  151.                         <menuitem value="8" label="&AMeight.label;"/>
  152.                         <menuitem value="9" label="&AMnine.label;"/>
  153.                         <menuitem value="10" label="&AMten.label;"/>
  154.                         <menuitem value="11" label="&AMeleven.label;"/>
  155.                         <menuitem value="12" label="&noon.label;"/>
  156.                         <menuitem value="13" label="&PMone.label;"/>
  157.                         <menuitem value="14" label="&PMtwo.label;"/>
  158.                         <menuitem value="15" label="&PMthree.label;"/>
  159.                         <menuitem value="16" label="&PMfour.label;"/>
  160.                         <menuitem value="17" label="&PMfive.label;"/>
  161.                         <menuitem value="18" label="&PMsix.label;"/>
  162.                         <menuitem value="19" label="&PMseven.label;"/>
  163.                         <menuitem value="20" label="&PMeight.label;"/>
  164.                         <menuitem value="21" label="&PMnine.label;"/>
  165.                         <menuitem value="22" label="&PMten.label;"/>
  166.                         <menuitem value="23" label="&PMeleven.label;"/>
  167.                         <menuitem value="24" label="&midnight.label;"/>
  168.                       </menupopup>
  169.                     </menulist>
  170.                   </hbox>
  171.                 </row>
  172.                 <row align="center">
  173.                   <label id="durationLabel" 
  174.                         value="&every.label;" control="duration"/>
  175.                   <hbox align="center">
  176.                       <textbox id="duration" size="4" value="60" />
  177.                     <label id="durationSubLabel" value="&minutes.label;" />
  178.                   </hbox>
  179.                 </row>
  180.               </rows>
  181.             </grid>
  182.             <separator class="thin"/>
  183.           </groupbox>
  184.           <spacer flex="1"/>
  185.         </hbox>
  186.       </vbox>
  187.           
  188.       <vbox>
  189.         <separator class="thin"/>
  190.         <hbox align="start">
  191.           <image id="notification-icon"/>
  192.           <separator class="thin" orient="vertical"/>
  193.           <description flex="1">¬ification.description;</description>
  194.         </hbox>
  195.         <separator class="thin"/>
  196.         <hbox class="box-padded">
  197.           <spacer flex="1"/>
  198.           <groupbox>
  199.             <caption label="¬ifications.legend.label;" />
  200.             <vbox align="start">
  201.               <checkbox id="bookmarkIcon" label="¬ification.icon.label;" />
  202.               <checkbox id="showAlert" label="¬ification.alert.label;" />
  203.               <checkbox id="openWindow" label="¬ification.window.label;" />
  204.               <checkbox id="playSound" label="¬ification.sound.label;" />
  205.             </vbox>
  206.           </groupbox>
  207.           <spacer flex="1"/>
  208.         </hbox>
  209.       </vbox>
  210.     </tabpanels>
  211.   </tabbox> 
  212.   <!-- By calling this inline, we guarantee the description text node 
  213.        will have its bindings before Init() is called, and the
  214.        dialog will be intrinsically sized correctly. -->
  215.   <script type="application/x-javascript">showDescription();</script>
  216. </dialog>
  217.