зеркало из https://github.com/mozilla/gecko-dev.git
Adding label to all radio buttons
This commit is contained in:
Родитель
e1003d55c1
Коммит
ebc727289f
|
@ -18,25 +18,25 @@
|
|||
</DIV>
|
||||
|
||||
<FORM>
|
||||
<table>
|
||||
<tr><td><input type="checkbox" id="pref:0:bool:advanced.always_load_images">Automatically load images</td></tr>
|
||||
<tr><td><input type="checkbox" id="pref:0:bool:advanced.java.allow">Enable Java</td></tr>
|
||||
<tr><td><input type="checkbox" id="pref:0:bool:javascript.allow">Enable Javascript</td></tr>
|
||||
<tr><td><input type="checkbox" id="pref:0:bool:javascript.allow.mailnews">Enable javascript for Mail and News</td></tr>
|
||||
<tr><td><input type="checkbox" id="pref:0:bool:css.allow">Enable style sheets</td></tr>
|
||||
<tr><td><input type="checkbox" id="pref:0:bool:advanced.mailftp">Send email address as anonymous FTP password</td></tr>
|
||||
<tr><td><input type="checkbox" id="pref:0:bool:signon.rememberSignons">Automatically prefill usernames and passwords</td></tr>
|
||||
<tr><td><input type="checkbox" id="pref:0:bool:wallet.captureForms" checked>Enable prefilling of forms</td></tr>
|
||||
<table id="tableb">
|
||||
<tr><td><label><input type="checkbox" id="pref:0:bool:advanced.always_load_images">Automatically load images</label></td></tr>
|
||||
<tr><td><label><input type="checkbox" id="pref:0:bool:advanced.java.allow">Enable Java</label></td></tr>
|
||||
<tr><td><label><input type="checkbox" id="pref:0:bool:javascript.allow">Enable Javascript</label></td></tr>
|
||||
<tr><td><label><input type="checkbox" id="pref:0:bool:javascript.allow.mailnews">Enable javascript for Mail and News</label></td></tr>
|
||||
<tr><td><label><input type="checkbox" id="pref:0:bool:css.allow">Enable style sheets</label></td></tr>
|
||||
<tr><td><label><input type="checkbox" id="pref:0:bool:advanced.mailftp">Send email address as anonymous FTP password</label></td></tr>
|
||||
<tr><td><label><input type="checkbox" id="pref:0:bool:signon.rememberSignons">Automatically prefill usernames and passwords</label></td></tr>
|
||||
<tr><td><label><input type="checkbox" id="pref:0:bool:wallet.captureForms" checked>Enable prefilling of forms</label></td></tr>
|
||||
</table>
|
||||
</FORM>
|
||||
Cookies
|
||||
|
||||
<FORM>
|
||||
<table>
|
||||
<tr><td><input name="cookies" type="radio" id="pref:0:int:network.cookie.cookieBehavior" checked>Accept all cookies</td></tr>
|
||||
<tr><td><input name="cookies" type="radio" id="pref:1:int:network.cookie.cookieBehavior">Accept only cookies that get sent back to the originating server</td></tr>
|
||||
<tr><td><input name="cookies" type="radio" id="pref:2:int:network.cookie.cookieBehavior">Disable cookies</td></tr>
|
||||
<tr><td><input type="checkbox" id="pref:0:bool:network.cookie.warnAboutCookies">Warn me before accepting a cookie</td></tr>
|
||||
<tr><td><label><input name="cookies" type="radio" id="pref:0:int:network.cookie.cookieBehavior" checked>Accept all cookies</label></td></tr>
|
||||
<tr><td><label><input name="cookies" type="radio" id="pref:1:int:network.cookie.cookieBehavior">Accept only cookies that get sent back to the originating server</label></td></tr>
|
||||
<tr><td><label><input name="cookies" type="radio" id="pref:2:int:network.cookie.cookieBehavior">Disable cookies</label></td></tr>
|
||||
<tr><td><label><input type="checkbox" id="pref:0:bool:network.cookie.warnAboutCookies">Warn me before accepting a cookie</label></td></tr>
|
||||
</table>
|
||||
</FORM>
|
||||
|
||||
|
|
|
@ -21,10 +21,10 @@
|
|||
|
||||
<FORM>
|
||||
<table>
|
||||
<tr><td><input type="checkbox" id="pref:0:bool:general.startup.browser">Navigator</td></tr>
|
||||
<tr><td><input type="checkbox" id="pref:0:bool:general.startup.mail">Messenger</td></tr>
|
||||
<tr><td><input type="checkbox" id="pref:0:bool:general.startup.editor">Composer</td></tr>
|
||||
<tr><td><input type="checkbox" id="pref:0:bool:general.startup.calendar">Calendar</td></tr>
|
||||
<tr><td><label><input type="checkbox" id="pref:0:bool:general.startup.browser">Navigator</label></td></tr>
|
||||
<tr><td><label><input type="checkbox" id="pref:0:bool:general.startup.mail">Messenger</label></td></tr>
|
||||
<tr><td><label><input type="checkbox" id="pref:0:bool:general.startup.editor">Composer</label></td></tr>
|
||||
<tr><td><label><input type="checkbox" id="pref:0:bool:general.startup.calendar">Calendar</label></td></tr>
|
||||
</table>
|
||||
</FORM>
|
||||
|
||||
|
@ -32,9 +32,9 @@
|
|||
|
||||
<FORM>
|
||||
<table>
|
||||
<tr><td><input name="showtoolbar" type="radio" id="pref:2:int:browser.chrome.toolbar_style">Pictures and Text</td></tr>
|
||||
<tr><td><input name="showtoolbar" type="radio" id="pref:0:int:browser.chrome.toolbar_style">Pictures Only</td></tr>
|
||||
<tr><td><input name="showtoolbar" type="radio" id="pref:1:int:browser.chrome.toolbar_style">Text Only</td></tr>
|
||||
<tr><td><label><input name="showtoolbar" type="radio" id="pref:2:int:browser.chrome.toolbar_style">Pictures and Text</label></td></tr>
|
||||
<tr><td><label><input name="showtoolbar" type="radio" id="pref:0:int:browser.chrome.toolbar_style">Pictures Only</label></td></tr>
|
||||
<tr><td><label><input name="showtoolbar" type="radio" id="pref:1:int:browser.chrome.toolbar_style">Text Only</label></td></tr>
|
||||
</table>
|
||||
</FORM>
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ External Editors
|
|||
<FORM>
|
||||
<tr><td>Html Source</td></tr>
|
||||
<tr><td><input name="Choose" type="text" id="pref:string:composer.source"></td>
|
||||
<td><input value=Choose..."" type="button"></td></tr>
|
||||
<td><input value="Choose..." type="button"></td></tr>
|
||||
<tr><td>Images:</td></tr>
|
||||
<tr><td><input name="Choose" type="text" id="pref:string:composer.images"></td>
|
||||
<td><input value="Choose..." type="button"></td></tr>
|
||||
|
@ -42,9 +42,9 @@ External Editors
|
|||
<table>
|
||||
<FORM>
|
||||
Document in cache is compared to document on network:
|
||||
<tr><td><input name="cache" type="radio" id="pref:0:int:composer.font.size">Once per session</td></tr>
|
||||
<tr><td><input name="cache" type="radio" id="pref:1:int:composer.font.size">Every time</td></tr>
|
||||
<tr><td><input name="cache" type="radio" id="pref:2:int:composer.font.size">Never</td></tr>
|
||||
<tr><td><label><label><input name="cache" type="radio" id="pref:0:int:composer.font.size">Once per session</label></label></td></tr>
|
||||
<tr><td><label><label><input name="cache" type="radio" id="pref:1:int:composer.font.size">Every time</label></label></td></tr>
|
||||
<tr><td><label><label><input name="cache" type="radio" id="pref:2:int:composer.font.size">Never</label></label></td></tr>
|
||||
</FORM>
|
||||
|
||||
</table>
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
<tr><td>Text:</td><td>Color Picker</td</tr>
|
||||
<tr><td>Background:</td><td>Color Picker</td></tr>
|
||||
<tr><td><input type="checkbox" id="pref:0:bool:browser.wfe.use_windows_colors" checked>Use Windows colors</td></tr>
|
||||
<tr><td><label><input type="checkbox" id="pref:0:bool:browser.wfe.use_windows_colors" checked>Use Windows colors</label></td></tr>
|
||||
|
||||
</FORM>
|
||||
|
||||
|
@ -37,7 +37,7 @@ Links
|
|||
|
||||
<tr><td>Unvisited Links:</td><td>Color Picker</td</tr>
|
||||
<tr><td>Visited Links:</td><td>Color Picker</td></tr>
|
||||
<tr><td><input type="checkbox" id="pref:0:bool:browser.underline_anchors" checked>Underline links</td></tr>
|
||||
<tr><td><label><input type="checkbox" id="pref:0:bool:browser.underline_anchors" checked>Underline links</label></td></tr>
|
||||
|
||||
</FORM>
|
||||
|
||||
|
@ -51,7 +51,7 @@ Links
|
|||
<FORM>
|
||||
|
||||
|
||||
<tr><td><input type="checkbox" id="pref:0:bool:browser.use_document_">Always use my colors, overriding documents.</td></tr>
|
||||
<tr><td><label><input type="checkbox" id="pref:0:bool:browser.use_document_">Always use my colors, overriding documents.</label></td></tr>
|
||||
</table>
|
||||
</FORM>
|
||||
|
||||
|
|
|
@ -1,15 +1,22 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Sample Prefs Panel</title>
|
||||
</head>
|
||||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="xul.css" type="text/css"?>
|
||||
<?xml-stylesheet href="dialog.css" type="text/css"?>
|
||||
<?xml-stylesheet href="pref.css" type="text/css"?>
|
||||
|
||||
<!DOCTYPE window
|
||||
[
|
||||
]
|
||||
|
||||
>
|
||||
<script language="JavaScript" src="PrefsWindow.js">
|
||||
</script>
|
||||
<style TYPE="text/css">
|
||||
@import url(pref.css);
|
||||
</style>
|
||||
|
||||
<body ID=here onload="return StartUp('Composer')">
|
||||
|
||||
|
||||
<window xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="return StartUp('Composer');" title="Sample Prefs Panel">
|
||||
|
||||
|
||||
<DIV ID=top>
|
||||
<SPAN ID=lefttext>Composer</SPAN>
|
||||
|
@ -36,9 +43,9 @@ External Editors
|
|||
</table>
|
||||
<table>
|
||||
Font Size
|
||||
<tr><td><input name="font" type="radio" id="pref:0:int:fontsize_mode" checked>Show relavitive size as points based on your Navigator font sizes</td></tr>
|
||||
<tr><td><input name="font" type="radio" id="pref:1:int:fontsize_mode">Show relative HTML font scale: -2, -1, 0, +1, +2, +3, +4</td></tr>
|
||||
<tr><td><input name="font" type="radio" id="pref:2:int:fontsize_mode">Show relative HTML scale and absolute "point-size" attributes</td></tr>
|
||||
<tr><td><label><input name="font" type="radio" id="pref:0:int:fontsize_mode" checked>Show relavitive size as points based on your Navigator font sizes</label></td></tr>
|
||||
<tr><td><label><input name="font" type="radio" id="pref:1:int:fontsize_mode">Show relative HTML font scale: -2, -1, 0, +1, +2, +3, +4</label></td></tr>
|
||||
<tr><td><label><input name="font" type="radio" id="pref:2:int:fontsize_mode">Show relative HTML scale and absolute "point-size" attributes</label></td></tr>
|
||||
|
||||
|
||||
</table>
|
||||
|
|
|
@ -20,18 +20,18 @@ Newsgroup Messages
|
|||
<FORM>
|
||||
|
||||
|
||||
<tr><td><input type="checkbox" id="pref:0:bool:offline.news.download.unread_only">Download only unread messages</td</tr>
|
||||
<tr><td><input type="checkbox" id="pref:0:bool:offline.news.download.by_date">Download by date</td</tr>
|
||||
<tr><td>
|
||||
<tr><td><label><input type="checkbox" id="pref:0:bool:offline.news.download.unread_only">Download only unread messages</td</tr>
|
||||
<tr><td><label><input type="checkbox" id="pref:0:bool:offline.news.download.by_date">Download by date</td</tr>
|
||||
<tr><td><label>
|
||||
<input type="radio" name="offline" id="pref:0:int:offline.news.download.use_days" checked>since
|
||||
<select id="pref:0:"><OPTION>1 week ago
|
||||
<OPTION>2 weeks ago
|
||||
<OPTION>1 month ago
|
||||
<OPTION>6 months ago
|
||||
<OPTION>1 year ago
|
||||
</select></td></tr>
|
||||
</select></label></td></tr>
|
||||
|
||||
<tr><td><input type="radio" name="offline" id="pref:1:int:offline.news.download.use_days">since<input type="text" size="5" id="pref:2:browser.use_document_fonts">days ago</td</tr>
|
||||
<tr><td><label><input type="radio" name="offline" id="pref:1:int:offline.news.download.use_days">since<input type="text" size="5" id="pref:2:browser.use_document_fonts">days ago</td</tr>
|
||||
|
||||
</FORM>
|
||||
</table>
|
||||
|
|
|
@ -35,9 +35,9 @@
|
|||
<FORM>
|
||||
|
||||
|
||||
<tr><td><input name="fonts" type="radio" id="pref:0:int:browser.use_document_fonts" checked>Use my default fonts, overriding document-specified fonts</td></tr>
|
||||
<tr><td><input name="fonts" type="radio" id="pref:1:int:browser.use_document_fonts">Use document-specified fonts. but disable Dynamic Fonts</td></tr>
|
||||
<tr><td><input name="fonts" type="radio" id="pref:2:int:browser.use_document_fonts">use docuent-specified fonts, but disable Dynamic Fonts</td></tr>
|
||||
<tr><td><label><input name="fonts" type="radio" id="pref:0:int:browser.use_document_fonts" checked>Use my default fonts, overriding document-specified fonts</label></td></tr>
|
||||
<tr><td><label><input name="fonts" type="radio" id="pref:1:int:browser.use_document_fonts">Use document-specified fonts. but disable Dynamic Fonts</label></td></tr>
|
||||
<tr><td><label><input name="fonts" type="radio" id="pref:2:int:browser.use_document_fonts">use docuent-specified fonts, but disable Dynamic Fonts</label></td></tr>
|
||||
</table>
|
||||
</FORM>
|
||||
|
||||
|
|
|
@ -24,11 +24,18 @@
|
|||
in which you prefer to view web pages. Web pages are sometimes
|
||||
available in several languages. Naveigator presents pages in
|
||||
the available language you most prefer.
|
||||
<html:tr><html:td><html:select name="textstyle" size=5>
|
||||
<html:option value="0" id="pref:string:intl.accept_languages">English
|
||||
</html:select></html:td><html:td></html:tr>
|
||||
<html:tr><html:td><html:input name=choose type="button" value="Add..."><html:td>
|
||||
<html:td><html:input name=choose type="button" value="Delete..."></html:td></html:tr>
|
||||
<html:tr>
|
||||
<html:td>
|
||||
<html:select name="textstyle" size=5>
|
||||
<html:option value="0" id="pref:string:intl.accept_languages">English
|
||||
</html:select>
|
||||
</html:td>
|
||||
</html:tr>
|
||||
<html:tr>
|
||||
<html:td><html:input name=choose type="button" value="Add..."><html:td>
|
||||
<html:td>
|
||||
<html:input name=choose type="button" value="Delete...">
|
||||
</html:td></html:tr>
|
||||
|
||||
</html:FORM>
|
||||
|
||||
|
|
|
@ -17,14 +17,14 @@
|
|||
Navigator starts with
|
||||
<table ID="tableb">
|
||||
<FORM>
|
||||
<tr><td><input name=starts type="radio"
|
||||
id="pref:0:int:browser.startup.page">Blank Page</td>
|
||||
<tr><td><label><input name=starts type="radio"
|
||||
id="pref:0:int:browser.startup.page">Blank Page</label></td>
|
||||
</tr>
|
||||
<tr><td><input name=starts type="radio"
|
||||
id="pref:1:int:browser.startup.page" checked>Home Page</td>
|
||||
<tr><td><label><input name=starts type="radio"
|
||||
id="pref:1:int:browser.startup.page" checked>Home Page</label></td>
|
||||
</tr>
|
||||
<tr><td><input name=starts type="radio"
|
||||
id="pref:2:int:browser.startup.page">Last Page visited</td>
|
||||
<tr><td><label><input name=starts type="radio"
|
||||
id="pref:2:int:browser.startup.page">Last Page visited</label></td>
|
||||
</tr>
|
||||
</FORM>
|
||||
</table>
|
||||
|
|
|
@ -18,30 +18,30 @@
|
|||
Startup State
|
||||
<table>
|
||||
<form>
|
||||
<tr><td>Communicator can start in either online or offline modes. When
|
||||
<tr><td><label>Communicator can start in either online or offline modes. When
|
||||
you have full access to your network. When offline you can only read
|
||||
messages that you have previously downloaded.
|
||||
<tr><td><input name="state" type="radio" id="pref:0:int:offline.startup_state">Remember Previous State
|
||||
<tr><td><label><input name="state" type="radio" id="pref:0:int:offline.startup_state">Remember Previous State
|
||||
<br>Communticator will remember the state it was in last and start in that mode.
|
||||
</td></tr>
|
||||
<tr><td><input name="state" type="radio" id="pref:1:int:offline.startup_state">Ask me
|
||||
</label></td></tr>
|
||||
<tr><td><label><input name="state" type="radio" id="pref:1:int:offline.startup_state">Ask me
|
||||
<br>Communicator will ask you each time you start the program.
|
||||
</td></tr>
|
||||
</label></td></tr>
|
||||
</form>
|
||||
</table>
|
||||
When going Online
|
||||
<table>
|
||||
<form>
|
||||
|
||||
<tr><td><input name="offmail" type="radio" id="pref:0:int:offline.send.unsent_messages">Ask me if I want to send my unsent messages</td></tr>
|
||||
<tr><td><input name="offmail" type="radio" id="pref:1:int:offline.send.unsent_messages">Automatically send my unsent messages</td></tr>
|
||||
<tr><td><input name="offmail" type="radio" id="pref:2:int:offline.send.unsent_messages">Do not send my unsent messages</td></tr>
|
||||
<tr><td><label><input name="offmail" type="radio" id="pref:0:int:offline.send.unsent_messages">Ask me if I want to send my unsent messages</label></td></tr>
|
||||
<tr><td><label><input name="offmail" type="radio" id="pref:1:int:offline.send.unsent_messages">Automatically send my unsent messages</label></td></tr>
|
||||
<tr><td><label><input name="offmail" type="radio" id="pref:2:int:offline.send.unsent_messages">Do not send my unsent messages</label></td></tr>
|
||||
</form>
|
||||
</table>
|
||||
When Exiting Communticator
|
||||
<table>
|
||||
|
||||
<tr><td><input type="checkbox" id="pref:0:bool:offline.prompt_synch_on_exit">Prompt me to synchronize my messages</td></tr>
|
||||
<tr><td><label><input type="checkbox" id="pref:0:bool:offline.prompt_synch_on_exit">Prompt me to synchronize my messages</label></td></tr>
|
||||
|
||||
</table>
|
||||
|
||||
|
|
|
@ -23,11 +23,17 @@ background-color: grey
|
|||
|
||||
table {
|
||||
display:block;
|
||||
width: 100%;
|
||||
border: groove white 2px;
|
||||
min-height: 16px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
label {
|
||||
display: block;
|
||||
background-color:#cccccc;
|
||||
}
|
||||
|
||||
td {
|
||||
font-size: 8pt;
|
||||
}
|
||||
|
|
|
@ -5,6 +5,7 @@ window {
|
|||
}
|
||||
|
||||
|
||||
|
||||
tree {
|
||||
display: table;
|
||||
background-color: white;
|
||||
|
|
Загрузка…
Ссылка в новой задаче