gecko-dev/suite/common/bookmarks/bm-props.xul

166 строки
6.5 KiB
XML

<?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://bookmarks/skin/" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://bookmarks/locale/bm-props.dtd" >
<xul:window
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns="http://www.w3.org/TR/REC-html40"
title="&bookmarks.title.label;"
onload="Init();"
align="vertical">
<script src="bm-props.js" />
<table style="width:100%; margin:1em;">
<tr>
<td colspan="2">
<b>&bookmarks.name.label;</b><br />
<input type="text" id="name" style="width:100%;"/>
</td>
</tr>
<tr>
<td colspan="2">
<b>&bookmarks.location.label;</b><br />
<input type="text" id="url" style="width:100%;"/>
</td>
</tr>
<tr>
<td colspan="2">
<b>&bookmarks.shortcut.label;</b><br />
<input type="text" id="shortcut" style="width:100%;"/>
</td>
</tr>
<tr>
<td colspan="2">
<b>&bookmarks.description.label;</b><br />
<textarea id="description" style="width:100%;" wrap="hard"></textarea>
</td>
</tr>
<tr id="scheduleSeparator">
<td colspan="2">
<hr/>
</td>
</tr>
<tr id="scheduleInfo">
<td valign="top" width="55%" >
<fieldset>
<legend><b>&checkforupdates.legend.label;</b></legend>
&check.label;
<select id="dayRange">
<option value="">&checknever.label;</option>
<option value="0123456">&checkeveryday.label;</option>
<option value="12345">&checkweekdays.label;</option>
<option value="06">&checkweekends.label;</option>
<option value="1">&checkmondays.label;</option>
<option value="2">&checktuesdays.label;</option>
<option value="3">&checkwednesdays.label;</option>
<option value="4">&checkthursdays.label;</option>
<option value="5">&checkfridays.label;</option>
<option value="6">&checksaturdays.label;</option>
<option value="0">&checksundays.label;</option>
</select>
<p/>
&from.label;
<select id="startHourRange">
<option value="0">&midnight.label;</option>
<option value="1">&one.label; &am.label;</option>
<option value="2">&two.label; &am.label;</option>
<option value="3">&three.label; &am.label;</option>
<option value="4">&four.label; &am.label;</option>
<option value="5">&five.label; &am.label;</option>
<option value="6">&six.label; &am.label;</option>
<option value="7">&seven.label; &am.label;</option>
<option value="8">&eight.label; &am.label;</option>
<option value="9">&nine.label; &am.label;</option>
<option value="10">&ten.label; &am.label;</option>
<option value="11">&eleven.label; &am.label;</option>
<option value="12">&noon.label;</option>
<option value="13">&one.label; &pm.label;</option>
<option value="14">&two.label; &pm.label;</option>
<option value="15">&three.label; &pm.label;</option>
<option value="16">&four.label; &pm.label;</option>
<option value="17">&five.label; &pm.label;</option>
<option value="18">&six.label; &pm.label;</option>
<option value="19">&seven.label; &pm.label;</option>
<option value="20">&eight.label; &pm.label;</option>
<option value="21">&nine.label; &pm.label;</option>
<option value="22">&ten.label; &pm.label;</option>
<option value="23">11 &pm.label;</option>
</select>
&to.label;
<select id="endHourRange">
<option value="1">&one.label; &am.label;</option>
<option value="2">&two.label; &am.label;</option>
<option value="3">&three.label; &am.label;</option>
<option value="4">&four.label; &am.label;</option>
<option value="5">&five.label; &am.label;</option>
<option value="6">&six.label; &am.label;</option>
<option value="7">&seven.label; &am.label;</option>
<option value="8">&eight.label; &am.label;</option>
<option value="9">&nine.label; &am.label;</option>
<option value="10">&ten.label; &am.label;</option>
<option value="11">&eleven.label; &am.label;</option>
<option value="12">&noon.label;</option>
<option value="13">&one.label; &pm.label;</option>
<option value="14">&two.label; &pm.label;</option>
<option value="15">&three.label; &pm.label;</option>
<option value="16">&four.label; &pm.label;</option>
<option value="17">&five.label; &pm.label;</option>
<option value="18">&six.label; &pm.label;</option>
<option value="19">&seven.label; &pm.label;</option>
<option value="20">&eight.label; &pm.label;</option>
<option value="21">&nine.label; &pm.label;</option>
<option value="22">&ten.label; &pm.label;</option>
<option value="23">&eleven.label; &pm.label;</option>
<option value="24">&midnight.label;</option>
</select>
<br/>
&every.label;<input id="duration" size="4" value="60" />&minutes.label;
</fieldset>
</td>
<td>
<fieldset>
<legend><b>&notifications.legend.label;</b></legend>
<label><input id="bookmarkIcon" type="checkbox" />&notification.icon.label;</label><br/>
<label><input id="playSound" type="checkbox" disabled="true" />&notification.sound.label;</label><br/>
<label><input id="showAlert" type="checkbox" />&notification.alert.label;</label><br/>
<label><input id="openWindow" type="checkbox" />&notification.window.label;</label><br/>
</fieldset>
</td>
</tr>
<tr>
<td colspan="2" align="right">
<button class="cancelbutton" onclick="Cancel();">&bookmarks.cancel.label;</button>
<button class="defaultbutton" onclick="Commit();">&bookmarks.ok.label;</button>
</td>
</tr>
</table>
</xul:window>