📄 psm_ui.properties.in
字号:
; -*- Mode: Text -*- ; ; The contents of this file are subject to the Mozilla 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/MPL/; ; 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 the Netscape security libraries.; ; The Initial Developer of the Original Code is Netscape; Communications Corporation. Portions created by Netscape are ; Copyright (C) 1994-2000 Netscape Communications Corporation. All; Rights Reserved.; ; Contributor(s):; ; Alternatively, the contents of this file may be used under the; terms of the GNU General Public License Version 2 or later (the; "GPL"), in which case the provisions of the GPL are applicable ; instead of those above. If you wish to allow use of your ; version of this file only under the terms of the GPL and not to; allow others to use your version of this file under the MPL,; indicate your decision by deleting the provisions above and; replace them with the notice and other provisions required by; the GPL. If you do not delete the provisions above, a recipient; may use your version of this file under either the MPL or the; GPL.; ; Stylesheets;secadvmodalstyle_type=text/csssecadvmodalstyle_content:BODY.TOP {background-color: #9999CC;}BODY.CONTENT{background-color: white;}BODY.FOOT{background-color:#CCCCCC}all.BUTTONSPACE { padding-left: 6px; padding-right: 6px; }all.BUTTONSPACEHELP { padding-left: 24px; padding-right: 0px; }H1 { padding-top:6px; line-height: 100%; font-family: {psm_font_verdana}; font-size:16pt; font-weight:normal; color:white; }A { font-family: {psm_font_verdana}; font-size:10pt; color: black; }BLOCKQUOTE{ padding-left:0px; line-height: 100%%; font-family: {psm_font_verdana}; font-size:10pt; font-weight:normal; color:black; }all.plain{ padding-left:0px; padding-top:0px; font-family: {psm_font_verdana}; font-size:10pt; font-weight:normal; color:black; }P { font-family: {psm_font_verdana}; font-size:10pt; font-weight:normal; color:black; }P.bold { font-weight: bold; }P.alert { font-weight: bold; }P.hialert{ font-weight: 900; background-color:#FF9900; padding-left:20px; }all.Explanationbox { padding-top:6px; padding-bottom:12px; margin-bottom:6px; margin-left:6px; margin-right: 5%; border-width: 1px; border-color: #999999; border-style: solid; }all.PROGRESS { background-color:#CCCCCC; margin-top:5%; margin-left:15%; margin-right:25%; border-width: 2px; border-color: #CCCCCC; border-style: solid; }all.PLAINBOX { margin-left:12px; border-width: 1px; border-color: #999999; border-style: solid; }DIV { background-color:white; font-family: {psm_content_font}; font-size:10pt; color: black; }:secadvmodalstyle_contentsecadvtopstyle_type=text/csssecadvtopstyle_content:all.standard {background-color:#CCCCCC; font-family: {psm_font}; font-size:12pt; color: white;}.TITLE { padding-left: 6px; font-family:{psm_font_verdana}; font-size:16pt; font-weight:bold; color:white;}.TAB { font-family: {psm_content_font}; font-size:10pt; }A:alink {color: white; text-decoration: none;}A:link {color: white; text-decoration: none;}A:vlink {color: white; text-decoration: none;}:secadvtopstyle_contentsecadvleftstyle_type=text/csssecadvleftstyle_content:A { padding-left:6px; line-height: 150%; text-decoration: none; font-family: {psm_leftpane_font}; font-size:9pt; font-weight:bold; color: white; }P { padding-left:6px; line-height: 150%; font-family: {psm_leftpane_font}; font-size:9pt; font-weight:bold; color:black; }:secadvleftstyle_contentsecadvfootstyle_type=text/csssecadvfootstyle_content:DIV { font-family: {psm_leftpane_font}; font-size:10pt; color:black; }:secadvfootstyle_content; Style sheet used for security advisor content.secadvcontentstyle_type=text/csssecadvcontentstyle_content:BODY { background-color:white; }DIV { background-color:white; font-family: {psm_content_font}; font-size:10pt; color: black; }H1 { padding-left:6px; line-height: 150%; font-family: {psm_content_font}; font-size:10pt; font-weight:bold; color:black; }A { font-family: {psm_content_font}; font-size:10pt; color: black; }BLOCKQUOTE{ padding-left:0px; line-height: 100%; font-family: {psm_content_font}; font-size:10pt; font-weight:normal; color:black; }B { padding-left:6px; font-family: {psm_content_font}; font-size:10pt; font-weight:bold; color:black; }BU { padding-left:6px; font-family: {psm_content_font}; font-size:10pt; font-weight:bold; color:black; }P { padding-left:6px; font-family: {psm_content_font}; font-size:10pt; font-weight:normal; color:black; }P.SMALL { font-size:9pt; }P.TOPBORDER{ border-top-width: 3px; border-color: #999999; border-style: solid; }all.Explanationbox { padding-top:6px; padding-bottom:12px; margin-bottom:6px; margin-left:6px; margin-right: 5%; border-width: 1px; border-color: #999999; border-style: solid; }UL { font-family: {psm_content_font}; font-size:10pt; color:black; }UL.SPACED { line-height: 110%; }all.INDENT { padding-left:12px; }:secadvcontentstyle_contenttitlestyle_type=text/csstitlestyle_content:all.standard {background-color:#9999CC; font-family: {psm_font}; color: white;} .spacer { padding-left: 6px; font-family:{psm_font_verdana}; font-size:12pt; font-weight:bold; color:white;}.TITLE { padding-left: 6px; font-family:{psm_font_verdana}; font-size:16pt; font-weight:bold; color:white;}A:alink {color: white; text-decoration: none;}A:link {color: white; text-decoration: none;}A:vlink {color: white; text-decoration: none;}:titlestyle_contentstandalonefoot_type=text/cssstandalonefoot_content:BODY { background-color:#CCCCCC; }.BUTTONSPACE { padding-left: 6px; padding-right: 6px; font-family: {psm_font_verdana}; font-size:10pt; }.BUTTONSPACEHELP { padding-left: 24px; padding-right: 0px; font-family: {psm_font_verdana}; font-size:10pt; }:standalonefoot_contentstandalone_type=text/cssstandalone_content:BODY.TOP {background-color: #9999CC;}BODY.CONTENT{background-color: white;}BODY.FOOT{background-color:#CCCCCC}all.BUTTONSPACE { font-family: {psm_font_verdana}; font-size:10pt; padding-left: 6px; padding-right: 6px; }all.BUTTONSPACEHELP { padding-left: 24px; padding-right: 0px; font-family: {psm_font_verdana}; font-size:10pt; }DIV { background-color:white; font-family: {psm_content_font}; font-size:10pt; color: black; }H1 { padding-top:6px; line-height: 100%; font-family: {psm_font_verdana}; font-size:16pt; font-weight:normal; color:white; }A { font-family: {psm_font_verdana}; font-size:10pt; color: black; }BLOCKQUOTE{ padding-left:0px; line-height: 100%; font-family: {psm_font_verdana}; font-size:10pt; font-weight:normal; color:black; }all.plain{ padding-left:0px; padding-top:0px; font-family: {psm_font_verdana}; font-size:10pt; font-weight:normal; color:black; }P { padding-left:12px; padding-top:6px; font-family: {psm_font_verdana}; font-size:10pt; font-weight:normal; color:black; }P.alert { font-weight: bold; }P.hialert{ font-weight: 900; background-color:#FF9900; padding-left:20px; }all.Explanationbox { padding-top:6px; padding-bottom:12px; margin-bottom:6px; margin-left:6px; margin-right: 5%; border-width: 1px; border-color: #999999; border-style: solid; }all.PROGRESS { background-color:#CCCCCC; margin-top:5%; margin-left:15%; margin-right:25%; border-width: 2px; border-color: #CCCCCC; border-style: solid; }all.PLAINBOX { margin-left:12px; border-width: 1px; border-color: #999999; border-style: solid; }:standalone_content; Basic templates for use in generating HTML.http_error_content:<HTML><HEAD><TITLE>HTTP error %1$d - %2$s</TITLE></HEAD><BODY><H1>%2$s</H1>%4$s<br><hr><!---unused %3$s ----></BODY></HTML>:http_error_content; In the normal header: 0=additional headers, 1=content typehttp_header_template="HTTP/1.0 200 OK\r\n%1$sContent-Type: %2$s\r\nConnection: close\r\n\r\n"; Standard preamble for most HTML pageshtml_start=<html><head></head><body bgcolor=#{$1}>html_end=</body></html>;; HTTP error templates;; In the error templates: 0=error number, 1=error name (or OK), ; 2=additional header content for type, 3=descriptionhttp_error_header_template:HTTP/1.0 %1$d %2$s\r\n%3$sConnection: close\r\n\r\n:http_error_header_template; still needed?http_error_content_type="text/html"; error-specific texthttp_error_200_hdrs="Content-type: text/html\r\n"http_error_204_hdrs="Content-type: No Content\r\n"http_error_400_hdrs="Content-type: text/html\r\n"http_error_401_hdrs="WWW-Authenticate: Basic realm=\"PSM\"\r\nContent-type: text/html\r\n"http_error_403_hdrs="Content-type: text/html\r\n"http_error_404_hdrs="Content-type: text/html\r\n"http_error_405_hdrs="Content-type: text/html\r\n"http_error_501_hdrs="Content-type: text/html\r\n";#ifdef DEBUG;; NLS/Unicode Hello World example text (for developers only);; hello_type is the content type to be used when sending the canned; HTTP headers.;hello_type="text/html";; hello_content is the HTML template for the Hello World page (the; same page that we sent manually from the simple Hello World; example). Note that it contains references to two more content; strings in the same file, "hello_title" and "hello_greeting".; Those strings, in turn, appear directly underneath hello_content.;; In addition, the keyword {hello} appears below. You wouldn't have any; real way of knowing that this is attached to a keyword handler, but; in fact the Hello World keyword handler is attached to it. The way the; code currently works, references such as {hello}, {hello_title}, etc.; are looked up in the keyword handler table first. If a keyword handler; doesn't exist, then the keyword is used to look for a string resource; in the properties file.;; Hello World is no longer used, so we'll comment it instead of removing ; it for now, but leave it in so that if we ever need to revive it, ; we can do so easily.;hello_content="<HTML><HEAD><TITLE>{hello_title}</TITLE></HEAD><BODY><h1>{hello_greeting}</h1><p>If keyword handlers are working correctly, you should see 'Hello, World' on the next line just above the horizontal rule.</p><br>{hello}<hr> </BODY></HTML>";hello_title="Hello World (command handler demo)";hello_greeting="Hello, World!";; End Hello World example text;;; Strings used to test nls stuff (mwelch);;testnls="Outer string for testnls. %2$s {testwrap one,two,three} Does 0 == %1$d? {testnls1} {testnls{testnls3}}";testnls1="This sentence, if it appears, means that the 'testnls1' keyword was discovered and properly expanded.";testnls2="This sentence, if it appears, means that the 'testnls2' keyword (actually a nested recursion of 'testnls' followed by 'testnls3') was discovered and properly expanded.";testnls3=2;; Utility code to submit a from using framesetes;formsubmit:<script language=javascript>function submitif(){ if (top.dosubmit) { {$1}.submit(); return; }}function submitForm() {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -