<?xml version="1.0"?> <!-- -*- Mode: SGML; indent-tabs-mode: nil; -*- -->
<!--

  The contents of this file are subject to the Netscape Public
  License Version 1.1 (the "License"); you may not use this file
  except in compliance with the License. You may obtain a copy of
  the License at http://www.mozilla.org/NPL/
 
  Software distributed under the License is distributed on an "AS
  IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  implied. See the License for the specific language governing
  rights and limitations under the License.
 
  The Original Code is mozilla.org code.
 
  The Initial Developer of the Original Code is Netscape
  Communications Corporation.  Portions created by Netscape are
  Copyright (C) 1998 Netscape Communications Corporation. All
  Rights Reserved.
 
  Contributor(s): 

-->

<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://communicator/skin/bookmarks/bookmarks.css" type="text/css"?>

<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>

<!DOCTYPE window [
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
%brandDTD;
<!ENTITY % bmpropsDTD SYSTEM "chrome://communicator/locale/bookmarks/bm-props.dtd">
%bmpropsDTD;
]>

<window id="bmPropsWindow" xmlns:html="http://www.w3.org/1999/xhtml"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        title="&bookmarks.windowtitle.label;"
        onload="Init()" style="width: 30em;"
        class="dialog" orient="vertical">
 
  <stringbundle id="bundle_bookmark" src="chrome://communicator/locale/bookmarks/bookmark.properties"/>
  <script type="application/x-javascript" src="chrome://global/content/globalOverlay.js"/>
  <script type="application/x-javascript" src="chrome://communicator/content/bookmarks/bm-props.js"/>

  <keyset id="dialogKeys"/>  
  
  <keyset id="keyset"/>  
    
  <tabbox orient="vertical">
    <tabs>
      <tab label="&generalInfo.label;" accesskey="&generalInfo.accesskey;"/>
      <tab id="ScheduleTab" label="&schedule.label;" accesskey="&schedule.accesskey;"/>
      <tab id="NotifyTab" label="&notification.label;" accesskey="&notification.accesskey;"/>
    </tabs>
    <tabpanels>
      <vbox>
        <separator class="thin"/>
        <hbox align="start">
          <image class="message-icon"/>
          <separator class="thin" orient="vertical"/>
          <html flex="1">&generaldesc.label;</html>
        </hbox>
   
        <separator class="thin"/>
        
        <vbox class="box-padded">    
          <grid>
            <columns>
              <column />
              <column flex="1"/>
            </columns>
            <rows>
              <row>
                <text class="label" value="&bookmarks.name.label;" for="name"/>
                <textbox id="name"/>
              </row>
              <row id="locationrow">
                <text class="label" value="&bookmarks.location.label;" for="url"/>
          			<textbox id="url" />
              </row>
              <row id="shortcutrow">
                <text class="label" value="&bookmarks.shortcut.label;" for="shortcut"/>
    		      	<textbox id="shortcut" />
              </row>
              <row>
                <text class="label" value="&bookmarks.description.label;" for="description"/>
          			<textbox multiline="true" wrap="virtual" id="description" flex="1"/>
              </row>
            </rows>
          </grid>
          <separator/>
        </vbox>
      </vbox>
      
      <vbox>
        <separator class="thin"/>
        <hbox align="center">
          <image id="schedule-icon"/>
          <separator class="thin" orient="vertical"/>
          <html flex="1">&schedule.description;</html>
        </hbox>
        <separator class="thin"/>
        <hbox class="box-padded">
          <spring flex="1"/>
          <groupbox orient="vertical">
            <label class="label" value="&checkforupdates.legend.label;"/>
            <grid flex="1">
              <columns>
                <column/>
                <column flex="1"/>
              </columns>
              <rows>
                <row align="center">
                  <text class="label" value="&when.label;" for="dayRange"/>
                  <hbox>
                    <menulist id="dayRange" oncommand="dayRangeChange(this);">
                      <menupopup>
                        <menuitem value="" label="&checknever.label;"/>
                        <menuseparator />
                        <menuitem value="0123456" label="&checkeveryday.label;"/>
                        <menuitem value="12345" label="&checkweekdays.label;"/>
                        <menuitem value="06" label="&checkweekends.label;"/>
                        <menuitem value="1" label="&checkmondays.label;"/>
                        <menuitem value="2" label="&checktuesdays.label;"/>
                        <menuitem value="3" label="&checkwednesdays.label;"/>
                        <menuitem value="4" label="&checkthursdays.label;"/>
                        <menuitem value="5" label="&checkfridays.label;"/>
                        <menuitem value="6" label="&checksaturdays.label;"/>
                        <menuitem value="0" label="&checksundays.label;"/>
                      </menupopup>
                    </menulist>
                  </hbox>
                </row>
                <row align="center">
                  <text id="startHourRangeLabel" class="label" 
                        value="&from.label;" for="startHourRange"/>
                  <hbox align="center">
                    <menulist id="startHourRange" oncommand="setEndHourRange()">
                      <menupopup>
                        <menuitem value="0" label="&midnight.label;"/>
                        <menuitem value="1" label="&AMone.label;"/>
                        <menuitem value="2" label="&AMtwo.label;"/>
                        <menuitem value="3" label="&AMthree.label;"/>
                        <menuitem value="4" label="&AMfour.label;"/>
                        <menuitem value="5" label="&AMfive.label;"/>
                        <menuitem value="6" label="&AMsix.label;"/>
                        <menuitem value="7" label="&AMseven.label;"/>
                        <menuitem value="8" label="&AMeight.label;"/>
                        <menuitem value="9" label="&AMnine.label;"/>
                        <menuitem value="10" label="&AMten.label;"/>
                        <menuitem value="11" label="&AMeleven.label;"/>
                        <menuitem value="12" label="&noon.label;"/>
                        <menuitem value="13" label="&PMone.label;"/>
                        <menuitem value="14" label="&PMtwo.label;"/>
                        <menuitem value="15" label="&PMthree.label;"/>
                        <menuitem value="16" label="&PMfour.label;"/>
                        <menuitem value="17" label="&PMfive.label;"/>
                        <menuitem value="18" label="&PMsix.label;"/>
                        <menuitem value="19" label="&PMseven.label;"/>
                        <menuitem value="20" label="&PMeight.label;"/>
                        <menuitem value="21" label="&PMnine.label;"/>
                        <menuitem value="22" label="&PMten.label;"/>
                        <menuitem value="23" label="&PMeleven.label;"/>
                      </menupopup>
                    </menulist>
                    <text id="endHourRangeLabel" class="label" 
                          value="&to.label;" for="endHourRange"/>
                    <menulist id="endHourRange">
                      <menupopup onpopupshowing="setEndHourRange()">
                        <menuitem value="1" label="&AMone.label;"/>
                        <menuitem value="2" label="&AMtwo.label;"/>
                        <menuitem value="3" label="&AMthree.label;"/>
                        <menuitem value="4" label="&AMfour.label;"/>
                        <menuitem value="5" label="&AMfive.label;"/>
                        <menuitem value="6" label="&AMsix.label;"/>
                        <menuitem value="7" label="&AMseven.label;"/>
                        <menuitem value="8" label="&AMeight.label;"/>
                        <menuitem value="9" label="&AMnine.label;"/>
                        <menuitem value="10" label="&AMten.label;"/>
                        <menuitem value="11" label="&AMeleven.label;"/>
                        <menuitem value="12" label="&noon.label;"/>
                        <menuitem value="13" label="&PMone.label;"/>
                        <menuitem value="14" label="&PMtwo.label;"/>
                        <menuitem value="15" label="&PMthree.label;"/>
                        <menuitem value="16" label="&PMfour.label;"/>
                        <menuitem value="17" label="&PMfive.label;"/>
                        <menuitem value="18" label="&PMsix.label;"/>
                        <menuitem value="19" label="&PMseven.label;"/>
                        <menuitem value="20" label="&PMeight.label;"/>
                        <menuitem value="21" label="&PMnine.label;"/>
                        <menuitem value="22" label="&PMten.label;"/>
                        <menuitem value="23" label="&PMeleven.label;"/>
                        <menuitem value="24" label="&midnight.label;"/>
                      </menupopup>
                    </menulist>
                  </hbox>
                </row>
                <row align="center">
                  <text id="durationLabel" class="label" 
                        value="&every.label;" for="duration"/>
                  <hbox align="center">
              	    <textbox id="duration" size="4" value="60" />
      	            <text id="durationSubLabel" class="label" value="&minutes.label;" />
                  </hbox>
                </row>
              </rows>
            </grid>
            <separator class="thin"/>
          </groupbox>
          <spring flex="1"/>
        </hbox>
      </vbox>
          
      <vbox>
        <separator class="thin"/>
        <hbox align="start">
          <image id="notification-icon"/>
          <separator class="thin" orient="vertical"/>
          <html flex="1">&notification.description;</html>
        </hbox>
        <separator class="thin"/>
        <hbox class="box-padded">
          <spring flex="1"/>
          <groupbox>
            <label value="&notifications.legend.label;" />
            <vbox align="start">
              <checkbox id="bookmarkIcon" label="&notification.icon.label;" />
              <checkbox id="showAlert" label="&notification.alert.label;" />
              <checkbox id="openWindow" label="&notification.window.label;" />
              <checkbox id="playSound" label="&notification.sound.label;" />
            </vbox>
          </groupbox>
          <spring flex="1"/>
        </hbox>
      </vbox>
    </tabpanels>
  </tabbox>
  
  <separator/>
    
  <hbox id="okCancelButtonsRight"/>

</window>
