зеркало из https://github.com/mozilla/pjs.git
Adding label to all radio buttons
This commit is contained in:
Родитель
9ec3f044e2
Коммит
c31f02cd2a
|
@ -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>
|
||||
|
||||
|
|
|
@ -1,42 +0,0 @@
|
|||
<html>
|
||||
|
||||
<head>
|
||||
<title>Sample Prefs Panel</title>
|
||||
</head>
|
||||
|
||||
<style type="text/css">
|
||||
@import url(pref.css);
|
||||
|
||||
</style>
|
||||
|
||||
<script language="JavaScript" src="PrefsWindow.js">
|
||||
</script>
|
||||
|
||||
<body ID=here onload="return StartUp('Appearance');">
|
||||
<DIV ID=top>
|
||||
<SPAN ID=lefttext>Appearance</SPAN>
|
||||
</DIV>
|
||||
|
||||
On startup, launch
|
||||
|
||||
<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>
|
||||
</table>
|
||||
</FORM>
|
||||
|
||||
Show toolbars as
|
||||
|
||||
<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>
|
||||
</table>
|
||||
</FORM>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1,53 +0,0 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Sample Prefs Panel</title>
|
||||
</head>
|
||||
|
||||
<script language="JavaScript" src="PrefsWindow.js">
|
||||
</script>
|
||||
<style TYPE="text/css">
|
||||
@import url(pref.css);
|
||||
</style>
|
||||
|
||||
<body ID=here onload="return StartUp('Cache')">
|
||||
|
||||
<DIV ID=top>
|
||||
<SPAN ID=lefttext>Cache</SPAN>
|
||||
</DIV>
|
||||
|
||||
|
||||
<table>
|
||||
<tr><td>The cache is used to keep local copies of frequently accessed documents
|
||||
and thus reduce time connected to the network. The Reload button will always
|
||||
compare the cache document to the network and show the most recent one.
|
||||
</tr></td>
|
||||
<FORM>
|
||||
<tr><td>Memory Cache:<input name="disk" type="text" size="3" id="pref:string:composer.source">Kbytes<input name="clearm" type="button" value="Clear Memory Cache"><td></tr>
|
||||
<tr><td>Disk Cache:<input name="memory" type="text" size="3" id="pref:string:composer.source">Kbytes<input name="cleard" type="button" value="Clear Disk Cache"><td></tr>
|
||||
|
||||
</FORM>
|
||||
</table>
|
||||
External Editors
|
||||
<table>
|
||||
<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>
|
||||
<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>
|
||||
|
||||
</FORM>
|
||||
</table>
|
||||
<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>
|
||||
</FORM>
|
||||
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1,60 +0,0 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Sample Prefs Panel</title>
|
||||
</head>
|
||||
|
||||
<script language="JavaScript" src="PrefsWindow.js">
|
||||
</script>
|
||||
<style TYPE="text/css">
|
||||
@import url(pref.css);
|
||||
</style>
|
||||
|
||||
<body ID=here onload="return StartUp('Fonts')">
|
||||
|
||||
<DIV ID=top>
|
||||
<SPAN ID=lefttext>Colors</SPAN>
|
||||
</DIV>
|
||||
|
||||
|
||||
<table>
|
||||
<FORM>
|
||||
|
||||
|
||||
<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>
|
||||
|
||||
</FORM>
|
||||
|
||||
|
||||
|
||||
</table>
|
||||
|
||||
<table>
|
||||
Links
|
||||
<FORM>
|
||||
|
||||
|
||||
<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>
|
||||
|
||||
</FORM>
|
||||
|
||||
|
||||
|
||||
</table>
|
||||
<br>
|
||||
|
||||
<table>
|
||||
<tr><td>Sometimes a document will provide its own colors and background.</tr></td>
|
||||
<FORM>
|
||||
|
||||
|
||||
<tr><td><input type="checkbox" id="pref:0:bool:browser.use_document_">Always use my colors, overriding documents.</td></tr>
|
||||
</table>
|
||||
</FORM>
|
||||
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
|
@ -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>
|
||||
|
|
|
@ -1,52 +0,0 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Sample Prefs Panel</title>
|
||||
</head>
|
||||
|
||||
<script language="JavaScript" src="PrefsWindow.js">
|
||||
</script>
|
||||
<style TYPE="text/css">
|
||||
@import url(pref.css);
|
||||
</style>
|
||||
|
||||
<body ID=here onload="return StartUp('Download')">
|
||||
|
||||
<DIV ID=top>
|
||||
<SPAN ID=lefttext>Download</SPAN>
|
||||
</DIV>
|
||||
|
||||
Newsgroup Messages
|
||||
<table>
|
||||
<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>
|
||||
<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>
|
||||
|
||||
<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>
|
||||
|
||||
</FORM>
|
||||
</table>
|
||||
All Messages
|
||||
<table>
|
||||
<tr><td>In order to read mail and newsgroup messages offline, you must
|
||||
first select them for downloading. Use the Select ... button to
|
||||
select items for dowloading.</tr></td>
|
||||
<FORM>
|
||||
|
||||
|
||||
<tr><td><input type="button" value="Select..." id="pref:2:offline"></td></tr>
|
||||
</table>
|
||||
</FORM>
|
||||
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -1,36 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="pref.css" type="text/css"?>
|
||||
|
||||
<!DOCTYPE window>
|
||||
|
||||
<xul:window xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload = "return StartUp('Languages')">
|
||||
|
||||
|
||||
<html:script language="JavaScript" src="PrefsWindow.js">
|
||||
</html:script>
|
||||
|
||||
|
||||
<html:DIV ID=top>
|
||||
<html:SPAN ID=lefttext>Languages</html:SPAN>
|
||||
</DIV>
|
||||
|
||||
|
||||
<html:table>
|
||||
<html:FORM>
|
||||
|
||||
<html:tr><html:td>Choose in order of preference the language(s)
|
||||
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:FORM>
|
||||
|
||||
|
||||
</window>
|
|
@ -1,72 +0,0 @@
|
|||
<style type="text/css">
|
||||
|
||||
@import url(pref.css);
|
||||
|
||||
</style>
|
||||
|
||||
<head>
|
||||
<script language="JavaScript" src="PrefsWindow.js">
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body ID=here onload="return StartUp('Navigator')">
|
||||
<DIV ID=top>
|
||||
<SPAN ID=lefttext>Navigator</SPAN>
|
||||
</DIV>
|
||||
|
||||
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>
|
||||
<tr><td><input name=starts type="radio"
|
||||
id="pref:1:int:browser.startup.page" checked>Home Page</td>
|
||||
</tr>
|
||||
<tr><td><input name=starts type="radio"
|
||||
id="pref:2:int:browser.startup.page">Last Page visited</td>
|
||||
</tr>
|
||||
</FORM>
|
||||
</table>
|
||||
|
||||
Homepage
|
||||
<table ID="tableb">
|
||||
<tr><td>Clicking the Home button will take you to this page.</td></tr>
|
||||
<FORM>
|
||||
<tr><td>Location: <input
|
||||
name="homepage"
|
||||
type="text"
|
||||
value="http://my.netscape.com"
|
||||
id="pref:string:browser.startup.homepage"
|
||||
size="30">
|
||||
</td></tr>
|
||||
<tr><td><input name=starts type="button" value="Use Current Page">
|
||||
<input name="browse" type="button" value="browsefile">
|
||||
</td></tr>
|
||||
</FORM>
|
||||
</table>
|
||||
|
||||
History
|
||||
<table ID="tableb">
|
||||
<tr>
|
||||
<FORM>
|
||||
<tr><td>History is a list of the pages you have previously visited.</tr></td>
|
||||
<td>Pages in history expire after:<input type="text" value="9" size=3>days
|
||||
</td>
|
||||
<td><input name="Clearit" type="button" value="Clear History">
|
||||
</td>
|
||||
</FORM>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
Homepage
|
||||
<table ID="tableb">
|
||||
<FORM>
|
||||
<tr><td>Clear the list of sites on the location bar:
|
||||
<input name=starts type="button" value="Clear Location Bar">
|
||||
</td></tr>
|
||||
</FORM>
|
||||
</table>
|
||||
|
||||
</body>
|
|
@ -1,50 +0,0 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Sample Prefs Panel</title>
|
||||
</head>
|
||||
|
||||
<script language="JavaScript" src="PrefsWindow.js">
|
||||
</script>
|
||||
<style TYPE="text/css">
|
||||
@import url(pref.css);
|
||||
</style>
|
||||
|
||||
<body ID=here onload="return StartUp('Offline')">
|
||||
|
||||
<DIV ID=top>
|
||||
<SPAN ID=lefttext>Offline</SPAN>
|
||||
</DIV>
|
||||
|
||||
Startup State
|
||||
<table>
|
||||
<form>
|
||||
<tr><td>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
|
||||
<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
|
||||
<br>Communicator will ask you each time you start the program.
|
||||
</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>
|
||||
</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>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -1,64 +0,0 @@
|
|||
window {
|
||||
display: block;
|
||||
width: 100%;
|
||||
border: thin black solid bottom;
|
||||
}
|
||||
|
||||
|
||||
tree {
|
||||
display: table;
|
||||
background-color: white;
|
||||
border: none;
|
||||
border-spacing: 0px;
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
treeitem {
|
||||
display: table-row;
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
treehead {
|
||||
display: table-header-group;
|
||||
}
|
||||
|
||||
treebody {
|
||||
display: table-row-group;
|
||||
}
|
||||
|
||||
treehead > treeitem {
|
||||
visibility: visible;
|
||||
}
|
||||
treeitem[open] > treechildren > treeitem {
|
||||
visibility: visible;
|
||||
}
|
||||
treebody > treeitem {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
|
||||
treecell {
|
||||
display: table-cell;
|
||||
color: black;
|
||||
font-family: Arial;
|
||||
font-size: 8pt;
|
||||
}
|
||||
|
||||
treehead treeitem treecell {
|
||||
background-color: white;
|
||||
border: thin black solid;
|
||||
color: black;
|
||||
}
|
||||
|
||||
treeicon {
|
||||
display: list-item;
|
||||
list-style-image: url("http://rava/~hyatt/ClosedRead.gif");
|
||||
list-style-position: inside;
|
||||
}
|
||||
|
||||
treecell[selectedcell] {
|
||||
background-color: yellow;
|
||||
}
|
||||
|
||||
|
Загрузка…
Ссылка в новой задаче