home *** CD-ROM | disk | FTP | other *** search
/ ftp.swcp.com / ftp.swcp.com.zip / ftp.swcp.com / mac / mozilla-macos9-1.3.1.sea.bin / Mozilla1.3.1 / Chrome / comm.jar / content / communicator / bookmarks / bm-props.xul < prev    next >
Extensible Markup Language  |  2003-06-08  |  11KB  |  244 lines

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