зеркало из https://github.com/mozilla/gecko-dev.git
Prefs core is gone
This commit is contained in:
Родитель
56ab2720e8
Коммит
5f2ad4b014
|
@ -1,75 +0,0 @@
|
|||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public License
|
||||
* Version 1.0 (the "NPL"); you may not use this file except in
|
||||
* compliance with the NPL. You may obtain a copy of the NPL at
|
||||
* http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the NPL is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
||||
* for the specific language governing rights and limitations under the
|
||||
* NPL.
|
||||
*
|
||||
* The Initial Developer of this code under the NPL is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
||||
* Reserved.
|
||||
*/
|
||||
/* AUTO-GENERATED. DO NOT EDIT!!! */
|
||||
|
||||
#ifndef nsIDOMPrefsCore_h__
|
||||
#define nsIDOMPrefsCore_h__
|
||||
|
||||
#include "nsISupports.h"
|
||||
#include "nsString.h"
|
||||
#include "nsIScriptContext.h"
|
||||
#include "nsIDOMBaseAppCore.h"
|
||||
|
||||
class nsIDOMWindow;
|
||||
|
||||
#define NS_IDOMPREFSCORE_IID \
|
||||
{ 0x55af8384, 0xe11e, 0x11d2, \
|
||||
{0x91, 0x5f, 0xa0, 0x53, 0xf0, 0x5f, 0xf7, 0xbc}}
|
||||
|
||||
class nsIDOMPrefsCore : public nsIDOMBaseAppCore {
|
||||
public:
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMPREFSCORE_IID; return iid; }
|
||||
|
||||
NS_IMETHOD ShowWindow(nsIDOMWindow* aCurrentFrontWin)=0;
|
||||
|
||||
NS_IMETHOD ChangePanel(const nsString& aUrl)=0;
|
||||
|
||||
NS_IMETHOD PanelLoaded(nsIDOMWindow* aWin)=0;
|
||||
|
||||
NS_IMETHOD SavePrefs()=0;
|
||||
|
||||
NS_IMETHOD CancelPrefs()=0;
|
||||
|
||||
NS_IMETHOD SetSubstitutionVar(PRInt32 aStringnum, const nsString& aVal)=0;
|
||||
};
|
||||
|
||||
|
||||
#define NS_DECL_IDOMPREFSCORE \
|
||||
NS_IMETHOD ShowWindow(nsIDOMWindow* aCurrentFrontWin); \
|
||||
NS_IMETHOD ChangePanel(const nsString& aUrl); \
|
||||
NS_IMETHOD PanelLoaded(nsIDOMWindow* aWin); \
|
||||
NS_IMETHOD SavePrefs(); \
|
||||
NS_IMETHOD CancelPrefs(); \
|
||||
NS_IMETHOD SetSubstitutionVar(PRInt32 aStringnum, const nsString& aVal); \
|
||||
|
||||
|
||||
|
||||
#define NS_FORWARD_IDOMPREFSCORE(_to) \
|
||||
NS_IMETHOD ShowWindow(nsIDOMWindow* aCurrentFrontWin) { return _to##ShowWindow(aCurrentFrontWin); } \
|
||||
NS_IMETHOD ChangePanel(const nsString& aUrl) { return _to##ChangePanel(aUrl); } \
|
||||
NS_IMETHOD PanelLoaded(nsIDOMWindow* aWin) { return _to##PanelLoaded(aWin); } \
|
||||
NS_IMETHOD SavePrefs() { return _to##SavePrefs(); } \
|
||||
NS_IMETHOD CancelPrefs() { return _to##CancelPrefs(); } \
|
||||
NS_IMETHOD SetSubstitutionVar(PRInt32 aStringnum, const nsString& aVal) { return _to##SetSubstitutionVar(aStringnum, aVal); } \
|
||||
|
||||
|
||||
extern "C" NS_DOM nsresult NS_InitPrefsCoreClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptPrefsCore(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
#endif // nsIDOMPrefsCore_h__
|
|
@ -1,562 +0,0 @@
|
|||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public License
|
||||
* Version 1.0 (the "NPL"); you may not use this file except in
|
||||
* compliance with the NPL. You may obtain a copy of the NPL at
|
||||
* http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the NPL is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
||||
* for the specific language governing rights and limitations under the
|
||||
* NPL.
|
||||
*
|
||||
* The Initial Developer of this code under the NPL is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
||||
* Reserved.
|
||||
*/
|
||||
/* AUTO-GENERATED. DO NOT EDIT!!! */
|
||||
|
||||
#include "jsapi.h"
|
||||
#include "nsJSUtils.h"
|
||||
#include "nscore.h"
|
||||
#include "nsIScriptContext.h"
|
||||
#include "nsIJSScriptObject.h"
|
||||
#include "nsIScriptObjectOwner.h"
|
||||
#include "nsIScriptGlobalObject.h"
|
||||
#include "nsIPtr.h"
|
||||
#include "nsString.h"
|
||||
#include "nsIDOMPrefsCore.h"
|
||||
#include "nsIDOMWindow.h"
|
||||
#include "nsIScriptNameSpaceManager.h"
|
||||
#include "nsIComponentManager.h"
|
||||
#include "nsIJSNativeInitializer.h"
|
||||
#include "nsDOMCID.h"
|
||||
|
||||
|
||||
static NS_DEFINE_IID(kIScriptObjectOwnerIID, NS_ISCRIPTOBJECTOWNER_IID);
|
||||
static NS_DEFINE_IID(kIJSScriptObjectIID, NS_IJSSCRIPTOBJECT_IID);
|
||||
static NS_DEFINE_IID(kIScriptGlobalObjectIID, NS_ISCRIPTGLOBALOBJECT_IID);
|
||||
static NS_DEFINE_IID(kIPrefsCoreIID, NS_IDOMPREFSCORE_IID);
|
||||
static NS_DEFINE_IID(kIWindowIID, NS_IDOMWINDOW_IID);
|
||||
|
||||
NS_DEF_PTR(nsIDOMPrefsCore);
|
||||
NS_DEF_PTR(nsIDOMWindow);
|
||||
|
||||
|
||||
/***********************************************************************/
|
||||
//
|
||||
// PrefsCore Properties Getter
|
||||
//
|
||||
PR_STATIC_CALLBACK(JSBool)
|
||||
GetPrefsCoreProperty(JSContext *cx, JSObject *obj, jsval id, jsval *vp)
|
||||
{
|
||||
nsIDOMPrefsCore *a = (nsIDOMPrefsCore*)JS_GetPrivate(cx, obj);
|
||||
|
||||
// If there's no private data, this must be the prototype, so ignore
|
||||
if (nsnull == a) {
|
||||
return JS_TRUE;
|
||||
}
|
||||
|
||||
if (JSVAL_IS_INT(id)) {
|
||||
switch(JSVAL_TO_INT(id)) {
|
||||
case 0:
|
||||
default:
|
||||
return nsJSUtils::nsCallJSScriptObjectGetProperty(a, cx, id, vp);
|
||||
}
|
||||
}
|
||||
else {
|
||||
return nsJSUtils::nsCallJSScriptObjectGetProperty(a, cx, id, vp);
|
||||
}
|
||||
|
||||
return PR_TRUE;
|
||||
}
|
||||
|
||||
/***********************************************************************/
|
||||
//
|
||||
// PrefsCore Properties Setter
|
||||
//
|
||||
PR_STATIC_CALLBACK(JSBool)
|
||||
SetPrefsCoreProperty(JSContext *cx, JSObject *obj, jsval id, jsval *vp)
|
||||
{
|
||||
nsIDOMPrefsCore *a = (nsIDOMPrefsCore*)JS_GetPrivate(cx, obj);
|
||||
|
||||
// If there's no private data, this must be the prototype, so ignore
|
||||
if (nsnull == a) {
|
||||
return JS_TRUE;
|
||||
}
|
||||
|
||||
if (JSVAL_IS_INT(id)) {
|
||||
switch(JSVAL_TO_INT(id)) {
|
||||
case 0:
|
||||
default:
|
||||
return nsJSUtils::nsCallJSScriptObjectSetProperty(a, cx, id, vp);
|
||||
}
|
||||
}
|
||||
else {
|
||||
return nsJSUtils::nsCallJSScriptObjectSetProperty(a, cx, id, vp);
|
||||
}
|
||||
|
||||
return PR_TRUE;
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// PrefsCore finalizer
|
||||
//
|
||||
PR_STATIC_CALLBACK(void)
|
||||
FinalizePrefsCore(JSContext *cx, JSObject *obj)
|
||||
{
|
||||
nsJSUtils::nsGenericFinalize(cx, obj);
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// PrefsCore enumerate
|
||||
//
|
||||
PR_STATIC_CALLBACK(JSBool)
|
||||
EnumeratePrefsCore(JSContext *cx, JSObject *obj)
|
||||
{
|
||||
return nsJSUtils::nsGenericEnumerate(cx, obj);
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// PrefsCore resolve
|
||||
//
|
||||
PR_STATIC_CALLBACK(JSBool)
|
||||
ResolvePrefsCore(JSContext *cx, JSObject *obj, jsval id)
|
||||
{
|
||||
return nsJSUtils::nsGenericResolve(cx, obj, id);
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// Native method ShowWindow
|
||||
//
|
||||
PR_STATIC_CALLBACK(JSBool)
|
||||
PrefsCoreShowWindow(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
|
||||
{
|
||||
nsIDOMPrefsCore *nativeThis = (nsIDOMPrefsCore*)JS_GetPrivate(cx, obj);
|
||||
JSBool rBool = JS_FALSE;
|
||||
nsIDOMWindowPtr b0;
|
||||
|
||||
*rval = JSVAL_NULL;
|
||||
|
||||
// If there's no private data, this must be the prototype, so ignore
|
||||
if (nsnull == nativeThis) {
|
||||
return JS_TRUE;
|
||||
}
|
||||
|
||||
if (argc >= 1) {
|
||||
|
||||
if (JS_FALSE == nsJSUtils::nsConvertJSValToObject((nsISupports **)&b0,
|
||||
kIWindowIID,
|
||||
"Window",
|
||||
cx,
|
||||
argv[0])) {
|
||||
return JS_FALSE;
|
||||
}
|
||||
|
||||
if (NS_OK != nativeThis->ShowWindow(b0)) {
|
||||
return JS_FALSE;
|
||||
}
|
||||
|
||||
*rval = JSVAL_VOID;
|
||||
}
|
||||
else {
|
||||
JS_ReportError(cx, "Function ShowWindow requires 1 parameters");
|
||||
return JS_FALSE;
|
||||
}
|
||||
|
||||
return JS_TRUE;
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// Native method ChangePanel
|
||||
//
|
||||
PR_STATIC_CALLBACK(JSBool)
|
||||
PrefsCoreChangePanel(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
|
||||
{
|
||||
nsIDOMPrefsCore *nativeThis = (nsIDOMPrefsCore*)JS_GetPrivate(cx, obj);
|
||||
JSBool rBool = JS_FALSE;
|
||||
nsAutoString b0;
|
||||
|
||||
*rval = JSVAL_NULL;
|
||||
|
||||
// If there's no private data, this must be the prototype, so ignore
|
||||
if (nsnull == nativeThis) {
|
||||
return JS_TRUE;
|
||||
}
|
||||
|
||||
if (argc >= 1) {
|
||||
|
||||
nsJSUtils::nsConvertJSValToString(b0, cx, argv[0]);
|
||||
|
||||
if (NS_OK != nativeThis->ChangePanel(b0)) {
|
||||
return JS_FALSE;
|
||||
}
|
||||
|
||||
*rval = JSVAL_VOID;
|
||||
}
|
||||
else {
|
||||
JS_ReportError(cx, "Function ChangePanel requires 1 parameters");
|
||||
return JS_FALSE;
|
||||
}
|
||||
|
||||
return JS_TRUE;
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// Native method PanelLoaded
|
||||
//
|
||||
PR_STATIC_CALLBACK(JSBool)
|
||||
PrefsCorePanelLoaded(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
|
||||
{
|
||||
nsIDOMPrefsCore *nativeThis = (nsIDOMPrefsCore*)JS_GetPrivate(cx, obj);
|
||||
JSBool rBool = JS_FALSE;
|
||||
nsIDOMWindowPtr b0;
|
||||
|
||||
*rval = JSVAL_NULL;
|
||||
|
||||
// If there's no private data, this must be the prototype, so ignore
|
||||
if (nsnull == nativeThis) {
|
||||
return JS_TRUE;
|
||||
}
|
||||
|
||||
if (argc >= 1) {
|
||||
|
||||
if (JS_FALSE == nsJSUtils::nsConvertJSValToObject((nsISupports **)&b0,
|
||||
kIWindowIID,
|
||||
"Window",
|
||||
cx,
|
||||
argv[0])) {
|
||||
return JS_FALSE;
|
||||
}
|
||||
|
||||
if (NS_OK != nativeThis->PanelLoaded(b0)) {
|
||||
return JS_FALSE;
|
||||
}
|
||||
|
||||
*rval = JSVAL_VOID;
|
||||
}
|
||||
else {
|
||||
JS_ReportError(cx, "Function PanelLoaded requires 1 parameters");
|
||||
return JS_FALSE;
|
||||
}
|
||||
|
||||
return JS_TRUE;
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// Native method SavePrefs
|
||||
//
|
||||
PR_STATIC_CALLBACK(JSBool)
|
||||
PrefsCoreSavePrefs(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
|
||||
{
|
||||
nsIDOMPrefsCore *nativeThis = (nsIDOMPrefsCore*)JS_GetPrivate(cx, obj);
|
||||
JSBool rBool = JS_FALSE;
|
||||
|
||||
*rval = JSVAL_NULL;
|
||||
|
||||
// If there's no private data, this must be the prototype, so ignore
|
||||
if (nsnull == nativeThis) {
|
||||
return JS_TRUE;
|
||||
}
|
||||
|
||||
if (argc >= 0) {
|
||||
|
||||
if (NS_OK != nativeThis->SavePrefs()) {
|
||||
return JS_FALSE;
|
||||
}
|
||||
|
||||
*rval = JSVAL_VOID;
|
||||
}
|
||||
else {
|
||||
JS_ReportError(cx, "Function SavePrefs requires 0 parameters");
|
||||
return JS_FALSE;
|
||||
}
|
||||
|
||||
return JS_TRUE;
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// Native method CancelPrefs
|
||||
//
|
||||
PR_STATIC_CALLBACK(JSBool)
|
||||
PrefsCoreCancelPrefs(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
|
||||
{
|
||||
nsIDOMPrefsCore *nativeThis = (nsIDOMPrefsCore*)JS_GetPrivate(cx, obj);
|
||||
JSBool rBool = JS_FALSE;
|
||||
|
||||
*rval = JSVAL_NULL;
|
||||
|
||||
// If there's no private data, this must be the prototype, so ignore
|
||||
if (nsnull == nativeThis) {
|
||||
return JS_TRUE;
|
||||
}
|
||||
|
||||
if (argc >= 0) {
|
||||
|
||||
if (NS_OK != nativeThis->CancelPrefs()) {
|
||||
return JS_FALSE;
|
||||
}
|
||||
|
||||
*rval = JSVAL_VOID;
|
||||
}
|
||||
else {
|
||||
JS_ReportError(cx, "Function CancelPrefs requires 0 parameters");
|
||||
return JS_FALSE;
|
||||
}
|
||||
|
||||
return JS_TRUE;
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// Native method SetSubstitutionVar
|
||||
//
|
||||
PR_STATIC_CALLBACK(JSBool)
|
||||
PrefsCoreSetSubstitutionVar(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
|
||||
{
|
||||
nsIDOMPrefsCore *nativeThis = (nsIDOMPrefsCore*)JS_GetPrivate(cx, obj);
|
||||
JSBool rBool = JS_FALSE;
|
||||
PRInt32 b0;
|
||||
nsAutoString b1;
|
||||
|
||||
*rval = JSVAL_NULL;
|
||||
|
||||
// If there's no private data, this must be the prototype, so ignore
|
||||
if (nsnull == nativeThis) {
|
||||
return JS_TRUE;
|
||||
}
|
||||
|
||||
if (argc >= 2) {
|
||||
|
||||
if (!JS_ValueToInt32(cx, argv[0], (int32 *)&b0)) {
|
||||
JS_ReportError(cx, "Parameter must be a number");
|
||||
return JS_FALSE;
|
||||
}
|
||||
|
||||
nsJSUtils::nsConvertJSValToString(b1, cx, argv[1]);
|
||||
|
||||
if (NS_OK != nativeThis->SetSubstitutionVar(b0, b1)) {
|
||||
return JS_FALSE;
|
||||
}
|
||||
|
||||
*rval = JSVAL_VOID;
|
||||
}
|
||||
else {
|
||||
JS_ReportError(cx, "Function SetSubstitutionVar requires 2 parameters");
|
||||
return JS_FALSE;
|
||||
}
|
||||
|
||||
return JS_TRUE;
|
||||
}
|
||||
|
||||
|
||||
/***********************************************************************/
|
||||
//
|
||||
// class for PrefsCore
|
||||
//
|
||||
JSClass PrefsCoreClass = {
|
||||
"PrefsCore",
|
||||
JSCLASS_HAS_PRIVATE,
|
||||
JS_PropertyStub,
|
||||
JS_PropertyStub,
|
||||
GetPrefsCoreProperty,
|
||||
SetPrefsCoreProperty,
|
||||
EnumeratePrefsCore,
|
||||
ResolvePrefsCore,
|
||||
JS_ConvertStub,
|
||||
FinalizePrefsCore
|
||||
};
|
||||
|
||||
|
||||
//
|
||||
// PrefsCore class properties
|
||||
//
|
||||
static JSPropertySpec PrefsCoreProperties[] =
|
||||
{
|
||||
{0}
|
||||
};
|
||||
|
||||
|
||||
//
|
||||
// PrefsCore class methods
|
||||
//
|
||||
static JSFunctionSpec PrefsCoreMethods[] =
|
||||
{
|
||||
{"ShowWindow", PrefsCoreShowWindow, 1},
|
||||
{"ChangePanel", PrefsCoreChangePanel, 1},
|
||||
{"PanelLoaded", PrefsCorePanelLoaded, 1},
|
||||
{"SavePrefs", PrefsCoreSavePrefs, 0},
|
||||
{"CancelPrefs", PrefsCoreCancelPrefs, 0},
|
||||
{"SetSubstitutionVar", PrefsCoreSetSubstitutionVar, 2},
|
||||
{0}
|
||||
};
|
||||
|
||||
|
||||
//
|
||||
// PrefsCore constructor
|
||||
//
|
||||
PR_STATIC_CALLBACK(JSBool)
|
||||
PrefsCore(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
|
||||
{
|
||||
nsresult result;
|
||||
nsIID classID;
|
||||
nsIScriptContext* context = (nsIScriptContext*)JS_GetContextPrivate(cx);
|
||||
nsIScriptNameSpaceManager* manager;
|
||||
nsIDOMPrefsCore *nativeThis;
|
||||
nsIScriptObjectOwner *owner = nsnull;
|
||||
nsIJSNativeInitializer* initializer = nsnull;
|
||||
|
||||
static NS_DEFINE_IID(kIDOMPrefsCoreIID, NS_IDOMPREFSCORE_IID);
|
||||
static NS_DEFINE_IID(kIJSNativeInitializerIID, NS_IJSNATIVEINITIALIZER_IID);
|
||||
|
||||
result = context->GetNameSpaceManager(&manager);
|
||||
if (NS_OK != result) {
|
||||
return JS_FALSE;
|
||||
}
|
||||
|
||||
result = manager->LookupName("PrefsCore", PR_TRUE, classID);
|
||||
NS_RELEASE(manager);
|
||||
if (NS_OK != result) {
|
||||
return JS_FALSE;
|
||||
}
|
||||
|
||||
result = nsComponentManager::CreateInstance(classID,
|
||||
nsnull,
|
||||
kIDOMPrefsCoreIID,
|
||||
(void **)&nativeThis);
|
||||
if (NS_OK != result) {
|
||||
return JS_FALSE;
|
||||
}
|
||||
|
||||
result = nativeThis->QueryInterface(kIJSNativeInitializerIID, (void **)&initializer);
|
||||
if (NS_OK == result) {
|
||||
result = initializer->Initialize(cx, argc, argv);
|
||||
NS_RELEASE(initializer);
|
||||
|
||||
if (NS_OK != result) {
|
||||
NS_RELEASE(nativeThis);
|
||||
return JS_FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
result = nativeThis->QueryInterface(kIScriptObjectOwnerIID, (void **)&owner);
|
||||
if (NS_OK != result) {
|
||||
NS_RELEASE(nativeThis);
|
||||
return JS_FALSE;
|
||||
}
|
||||
|
||||
owner->SetScriptObject((void *)obj);
|
||||
JS_SetPrivate(cx, obj, nativeThis);
|
||||
|
||||
NS_RELEASE(owner);
|
||||
return JS_TRUE;
|
||||
}
|
||||
|
||||
//
|
||||
// PrefsCore class initialization
|
||||
//
|
||||
extern "C" NS_DOM nsresult NS_InitPrefsCoreClass(nsIScriptContext *aContext, void **aPrototype)
|
||||
{
|
||||
JSContext *jscontext = (JSContext *)aContext->GetNativeContext();
|
||||
JSObject *proto = nsnull;
|
||||
JSObject *constructor = nsnull;
|
||||
JSObject *parent_proto = nsnull;
|
||||
JSObject *global = JS_GetGlobalObject(jscontext);
|
||||
jsval vp;
|
||||
|
||||
if ((PR_TRUE != JS_LookupProperty(jscontext, global, "PrefsCore", &vp)) ||
|
||||
!JSVAL_IS_OBJECT(vp) ||
|
||||
((constructor = JSVAL_TO_OBJECT(vp)) == nsnull) ||
|
||||
(PR_TRUE != JS_LookupProperty(jscontext, JSVAL_TO_OBJECT(vp), "prototype", &vp)) ||
|
||||
!JSVAL_IS_OBJECT(vp)) {
|
||||
|
||||
if (NS_OK != NS_InitBaseAppCoreClass(aContext, (void **)&parent_proto)) {
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
proto = JS_InitClass(jscontext, // context
|
||||
global, // global object
|
||||
parent_proto, // parent proto
|
||||
&PrefsCoreClass, // JSClass
|
||||
PrefsCore, // JSNative ctor
|
||||
0, // ctor args
|
||||
PrefsCoreProperties, // proto props
|
||||
PrefsCoreMethods, // proto funcs
|
||||
nsnull, // ctor props (static)
|
||||
nsnull); // ctor funcs (static)
|
||||
if (nsnull == proto) {
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
}
|
||||
else if ((nsnull != constructor) && JSVAL_IS_OBJECT(vp)) {
|
||||
proto = JSVAL_TO_OBJECT(vp);
|
||||
}
|
||||
else {
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
if (aPrototype) {
|
||||
*aPrototype = proto;
|
||||
}
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// Method for creating a new PrefsCore JavaScript object
|
||||
//
|
||||
extern "C" NS_DOM nsresult NS_NewScriptPrefsCore(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn)
|
||||
{
|
||||
NS_PRECONDITION(nsnull != aContext && nsnull != aSupports && nsnull != aReturn, "null argument to NS_NewScriptPrefsCore");
|
||||
JSObject *proto;
|
||||
JSObject *parent;
|
||||
nsIScriptObjectOwner *owner;
|
||||
JSContext *jscontext = (JSContext *)aContext->GetNativeContext();
|
||||
nsresult result = NS_OK;
|
||||
nsIDOMPrefsCore *aPrefsCore;
|
||||
|
||||
if (nsnull == aParent) {
|
||||
parent = nsnull;
|
||||
}
|
||||
else if (NS_OK == aParent->QueryInterface(kIScriptObjectOwnerIID, (void**)&owner)) {
|
||||
if (NS_OK != owner->GetScriptObject(aContext, (void **)&parent)) {
|
||||
NS_RELEASE(owner);
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
NS_RELEASE(owner);
|
||||
}
|
||||
else {
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
if (NS_OK != NS_InitPrefsCoreClass(aContext, (void **)&proto)) {
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
result = aSupports->QueryInterface(kIPrefsCoreIID, (void **)&aPrefsCore);
|
||||
if (NS_OK != result) {
|
||||
return result;
|
||||
}
|
||||
|
||||
// create a js object for this class
|
||||
*aReturn = JS_NewObject(jscontext, &PrefsCoreClass, proto, parent);
|
||||
if (nsnull != *aReturn) {
|
||||
// connect the native object to the js object
|
||||
JS_SetPrivate(jscontext, (JSObject *)*aReturn, aPrefsCore);
|
||||
}
|
||||
else {
|
||||
NS_RELEASE(aPrefsCore);
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
return NS_OK;
|
||||
}
|
|
@ -1,59 +0,0 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>
|
||||
Preferences
|
||||
</title>
|
||||
</head>
|
||||
<body onload = "return StartUp('Top');">
|
||||
<STYLE>
|
||||
body {
|
||||
background-color:#CCCCCC
|
||||
}
|
||||
|
||||
#pref-appearance {
|
||||
border : 0}
|
||||
|
||||
#preftree {
|
||||
border : yes
|
||||
border-style : ridge}
|
||||
|
||||
</style>
|
||||
<script language="JavaScript" src="PrefsWindow.js">
|
||||
</script>
|
||||
</body>
|
||||
|
||||
Category:
|
||||
<br>
|
||||
<IFRAME NAME="preftree" id="preftree" SRC="preftree.xul" scrolling="auto" width="25%" height="326" resize="yes"></iframe>
|
||||
|
||||
<IFRAME NAME="pref-appearance" ID="pref-appearance" SRC="pref-appearance.html" width="72%" height="326" resize="yes" scrolling="no"></iframe>
|
||||
|
||||
|
||||
<table border=0 width="100%" cellpadding=0 cellspacing=0>
|
||||
<tr>
|
||||
<td valign="right" width="160">
|
||||
<center>
|
||||
<form>
|
||||
|
||||
<input type="button" align="bottom" value="Help">
|
||||
</input>
|
||||
|
||||
<input type="button" align="bottom" value="Cancel" onclick="DoCancel();">
|
||||
</input>
|
||||
|
||||
<input type="button" align="bottom" value="OK" onClick="DoSave();">
|
||||
</input>
|
||||
|
||||
</form>
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<html>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -1,40 +0,0 @@
|
|||
var prefsCore;
|
||||
|
||||
function StartUp(windowName)
|
||||
{
|
||||
dump("\nDoing " + windowName + " startup...\n");
|
||||
prefsCore = XPAppCoresManager.Find("PrefsCore");
|
||||
dump("Looking up PrefsCore...\n");
|
||||
if (prefsCore == null)
|
||||
{
|
||||
dump("Creating PrefsCore...\n");
|
||||
prefsCore = new PrefsCore();
|
||||
if (prefsCore != null)
|
||||
{
|
||||
dump("PrefsCore has been created.\n");
|
||||
prefsCore.Init("PrefsCore");
|
||||
}
|
||||
else
|
||||
{
|
||||
dump("PrefsCore was not created");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
dump("PrefsCore has already been created! Hurrah!\n");
|
||||
}
|
||||
if (prefsCore != null && windowName != "Top" && windowName != "Bottom")
|
||||
{
|
||||
prefsCore.PanelLoaded(window);
|
||||
}
|
||||
}
|
||||
|
||||
function DoSave()
|
||||
{
|
||||
prefsCore.SavePrefs();
|
||||
}
|
||||
|
||||
function DoCancel()
|
||||
{
|
||||
prefsCore.CancelPrefs();
|
||||
}
|
|
@ -1,54 +0,0 @@
|
|||
<?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
|
||||
[
|
||||
<!ENTITY categoryHeader "Category">
|
||||
<!ENTITY window.title "Preferences">
|
||||
<!ENTITY helpButton.label "Help">
|
||||
<!ENTITY cancelButton.label "Cancel">
|
||||
<!ENTITY okButton.label "OK">
|
||||
|
||||
]
|
||||
|
||||
>
|
||||
<window xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="return StartUp('Top');" title="window.title">
|
||||
|
||||
|
||||
<html:script language="JavaScript" src="PrefsWindow.js">
|
||||
</html:script>
|
||||
|
||||
|
||||
&categoryHeader;
|
||||
<html:br />
|
||||
<html:IFRAME NAME="preftree" id="preftree" SRC="preftree.xul" scrolling="auto" resize="yes" />
|
||||
|
||||
<html:IFRAME NAME="pref-appearance" ID="pref-appearance" SRC="pref-appearance.html" width="72%" height="326" resize="yes" scrolling="no" />
|
||||
|
||||
|
||||
<html:table border="0" width="100%" cellpadding="0" cellspacing="0">
|
||||
<html:tr>
|
||||
<html:td valign="right" width="160">
|
||||
<html:center>
|
||||
|
||||
<html:input type="button" align="bottom" value="&helpButton.label;" />
|
||||
<html:input type="button" align="bottom" value="&cancelButton.label;" onclick="DoCancel();" />
|
||||
<html:input type="button" align="bottom" value="&okButton.label;" onClick="DoSave();" />
|
||||
|
||||
</html:center>
|
||||
</html:td>
|
||||
</html:tr>
|
||||
</html:table>
|
||||
<window>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -1,44 +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('Advanced');">
|
||||
<DIV ID=top>
|
||||
<SPAN ID=lefttext>Advanced</SPAN>
|
||||
</DIV>
|
||||
|
||||
<FORM>
|
||||
<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:security.enable_java">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><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>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1,108 +0,0 @@
|
|||
<?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
|
||||
[
|
||||
<!ENTITY window.title "Advanced">
|
||||
<!ENTITY advHeader "Advanced">
|
||||
<!ENTITY autoLoadImgCheck.label "Automatically load images">
|
||||
<!ENTITY enbJavaCheck.label "Enable Java">
|
||||
<!ENTITY enbJsCheck.label "Enable JavaScript">
|
||||
<!ENTITY enbJsCheck.labelforMailNNews "Enable JavaScript for Mail and News">
|
||||
<!ENTITY enbCssCheck.label "Enable style sheets">
|
||||
<!ENTITY sendAddFtpCheck.label "Send email address as anonymous FTP password">
|
||||
<!ENTITY cookies "Cookies">
|
||||
<!ENTITY accAllCookiesRadio.label "Accept all cookies">
|
||||
<!ENTITY accpOrgCookiesRadio.label "Accept only cookies that get sent back to the originating server">
|
||||
<!ENTITY disCookRadio.label "Disable cookies">
|
||||
<!ENTITY warnCookCheck.label "Warn me before accepting a cookie">
|
||||
]
|
||||
|
||||
>
|
||||
|
||||
<window xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="return StartUp('Advanced');" title="&window.title;">
|
||||
|
||||
|
||||
<html:script language="JavaScript" src="PrefsWindow.js">
|
||||
</html:script>
|
||||
|
||||
<html:DIV ID="top"><html:SPAN ID="lefttext">
|
||||
&advHeader;
|
||||
</html:SPAN>
|
||||
</html:DIV>
|
||||
|
||||
|
||||
<html:table>
|
||||
<html:tr>
|
||||
<html:td>
|
||||
<html:input type="checkbox" id="pref:0:bool:advanced.always_load_images" />
|
||||
&autoLoadImgCheck.label;
|
||||
</html:td>
|
||||
</html:tr>
|
||||
<html:tr>
|
||||
<html:td>
|
||||
<html:input type="checkbox" id="pref:0:bool:advanced.java.allow" />
|
||||
&enbJavaCheck.label;
|
||||
</html:td>
|
||||
</html:tr>
|
||||
<html:tr>
|
||||
<html:td>
|
||||
<html:input type="checkbox" id="pref:0:bool:javascript.allow" />
|
||||
&enbJsCheck.label;
|
||||
</html:td>
|
||||
</html:tr>
|
||||
<html:tr>
|
||||
<html:td>
|
||||
<html:input type="checkbox" id="pref:0:bool:javascript.allow.mailnews" />
|
||||
&enbJsCheck.labelforMailNNews;
|
||||
</html:td>
|
||||
</html:tr>
|
||||
<html:tr>
|
||||
<html:td>
|
||||
<html:input type="checkbox" id="pref:0:bool:css.allow" />
|
||||
&enbCssCheck.label;
|
||||
</html:td>
|
||||
</html:tr>
|
||||
<html:tr>
|
||||
<html:td>
|
||||
<html:input type="checkbox" id="pref:0:bool:advanced.mailftp" />
|
||||
&sendAddFtpCheck.label;
|
||||
</html:td>
|
||||
</html:tr>
|
||||
|
||||
</html:table>
|
||||
|
||||
&cookies;
|
||||
<html:table>
|
||||
<html:tr>
|
||||
<html:td>
|
||||
<html:input name="cookies" type="radio" id="pref:2:int:network.cookie.cookieBehavior" sel="checked" />
|
||||
&accAllCookiesRadio.label;
|
||||
</html:td>
|
||||
</html:tr>
|
||||
<html:tr>
|
||||
<html:td>
|
||||
<html:input name="cookies" type="radio" id="pref:0:int:network.cookie.cookieBehavior" />
|
||||
&accpOrgCookiesRadio.label;
|
||||
</html:td>
|
||||
</html:tr>
|
||||
<html:tr>
|
||||
<html:td>
|
||||
<html:input name="cookies" type="radio" id="pref:1:int:network.cookie.cookieBehavior" />
|
||||
&disCookRadio.label;
|
||||
</html:td>
|
||||
</html:tr>
|
||||
<html:tr>
|
||||
<html:td>
|
||||
<html:input type="checkbox" id="pref:0:bool:network.cookie.warnAboutCookies" />
|
||||
&warnCookCheck.label;
|
||||
</html:td>
|
||||
</html:tr>
|
||||
</html:table>
|
||||
|
||||
|
||||
</window>
|
|
@ -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><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>
|
||||
|
||||
Show toolbars as
|
||||
|
||||
<FORM>
|
||||
<table>
|
||||
<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>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1,58 +0,0 @@
|
|||
<?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
|
||||
[
|
||||
|
||||
|
||||
<!ENTITY window.title "Appearance">
|
||||
<!ENTITY onStartLegend.label "On startup, launch">
|
||||
<!ENTITY appear "Appearance">
|
||||
<!ENTITY navCheck.label "Navigator">
|
||||
<!ENTITY mesCheck.label "Messenger">
|
||||
<!ENTITY compCheck.label "Composer">
|
||||
<!ENTITY calCheck.label "Calendar">
|
||||
<!ENTITY showToolsLegend.label "Show toolbars as">
|
||||
<!ENTITY picsNtextRadio.label "Pictures and Text">
|
||||
<!ENTITY picsOnlyRadio.label "Pictures Only">
|
||||
<!ENTITY textonlyRadio.label "Text Only">
|
||||
|
||||
|
||||
|
||||
]>
|
||||
|
||||
<window xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="return StartUp('Appearance');" title="&window.title;">
|
||||
|
||||
|
||||
|
||||
<html:script language="JavaScript" src="PrefsWindow.js">
|
||||
</html:script>
|
||||
|
||||
<html:DIV ID="top">
|
||||
<html:SPAN ID="lefttext">&appear;</html:SPAN>
|
||||
</html:DIV>
|
||||
|
||||
&onStartLegend.label;
|
||||
<html:form>
|
||||
<html:table>
|
||||
<html:tr><html:td><html:label><html:input type="checkbox" id="pref:0:bool:general.startup.browser" />&navCheck.label;</html:label></html:td></html:tr>
|
||||
<html:tr><html:td><html:label><html:input type="checkbox" id="pref:0:bool:general.startup.mail" />&mesCheck.label;</html:label></html:td></html:tr>
|
||||
<html:tr><html:td><html:label><html:input type="checkbox" id="pref:0:bool:general.startup.editor" />&compCheck.label;</html:label></html:td></html:tr>
|
||||
<html:tr><html:td><html:label><html:input type="checkbox" id="pref:0:bool:general.startup.calendar" />&calCheck.label;</html:label></html:td></html:tr>
|
||||
</html:table>
|
||||
</html:form>
|
||||
|
||||
&showToolsLegend.label;
|
||||
|
||||
<html:form>
|
||||
<html:table>
|
||||
<html:tr><html:td><html:label><html:input name="showtoolbar" type="radio" id="pref:2:int:browser.chrome.toolbar_style" />&picsNtextRadio.label;</html:label></html:td></html:tr>
|
||||
<html:tr><html:td><html:label><html:input name="showtoolbar" type="radio" id="pref:0:int:browser.chrome.toolbar_style" />&picsOnlyRadio.label;</html:label></html:td></html:tr>
|
||||
<html:tr><html:td><html:label><html:input name="showtoolbar" type="radio" id="pref:1:int:browser.chrome.toolbar_style" />&textonlyRadio.label;</html:label></html:td></html:tr>
|
||||
</html:table>
|
||||
</html:form>
|
||||
</window>
|
|
@ -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('Applications')">
|
||||
|
||||
<DIV ID=top>
|
||||
<SPAN ID=lefttext>Applications</SPAN>
|
||||
</DIV>
|
||||
|
||||
|
||||
<table>
|
||||
<FORM>
|
||||
<tr><td>Description</tr><td>
|
||||
<tr><td>
|
||||
<select name="textstyle" size=5>
|
||||
<option value="0">AOL Instant Messenger Launch
|
||||
</select>
|
||||
</td><td>
|
||||
<input name=choose type="button" value="New Type">
|
||||
<br><input name=choose type="button" value="Edit...">
|
||||
<br><input name=choose type="button" value="Remove">
|
||||
</td></tr>
|
||||
</FORM>
|
||||
|
||||
|
||||
|
||||
</table>
|
||||
<br>
|
||||
<table>
|
||||
<tr><td>File type details</tr></td>
|
||||
<FORM>
|
||||
|
||||
|
||||
<tr><td>Extention:</td></tr>
|
||||
<tr><td>Mime Type</td></tr>
|
||||
<tr><td>Handled By:</td></tr>
|
||||
</table>
|
||||
</FORM>
|
||||
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
|
@ -1,62 +0,0 @@
|
|||
<?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
|
||||
[
|
||||
<!ENTITY window.title "Advanced">
|
||||
<!ENTITY appsHeader "Applications">
|
||||
<!ENTITY descript "Description">
|
||||
<!ENTITY aimLaunchSelect.label "AOL Instant Messenger Launch">
|
||||
<!ENTITY newTypeButton.label "New Type">
|
||||
<!ENTITY editButton.label "Edit...">
|
||||
<!ENTITY removeButton.label "Remove">
|
||||
<!ENTITY file "File type details">
|
||||
<!ENTITY exten "Extention:">
|
||||
<!ENTITY mimeType "Mime Type">
|
||||
<!ENTITY handle "Handled By:">
|
||||
]>
|
||||
|
||||
|
||||
<window xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="return StartUp('Applications');" title="&window.title;">
|
||||
|
||||
<html:script language="JavaScript" src="PrefsWindow.js">
|
||||
</html:script>
|
||||
|
||||
|
||||
<html:DIV ID="top">
|
||||
<html:SPAN ID="lefttext">&appsHeader;</html:SPAN>
|
||||
</html:DIV>
|
||||
|
||||
<html:form>
|
||||
<html:table>
|
||||
<html:tr><html:td>&descript;</html:td></html:tr>
|
||||
<html:tr><html:td>
|
||||
<html:select name="textstyle" size="5" >
|
||||
<html:optgroup>
|
||||
<html:option value="0" />
|
||||
&aimLaunchSelect.label;
|
||||
</html:optgroup>
|
||||
</html:select>
|
||||
</html:td>
|
||||
<html:td>
|
||||
<html:input name="choose" type="button" value="&newTypeButton.label;" />
|
||||
<html:br /><html:input name="choose" type="button" value="&editButton.label;" />
|
||||
<html:br /><html:input name="choose" type="button" value="&removeButton.label;" />
|
||||
</html:td></html:tr>
|
||||
</html:table>
|
||||
</html:form>
|
||||
<html:br />
|
||||
<html:form>
|
||||
<html:table>
|
||||
<html:tr><html:td>&file;</html:td></html:tr>
|
||||
<html:tr><html:td>&exten;</html:td></html:tr>
|
||||
<html:tr><html:td>&mimeType;</html:td></html:tr>
|
||||
<html:tr><html:td>&handle;</html:td></html:tr>
|
||||
</html:table>
|
||||
</html:form>
|
||||
|
||||
</html:window>
|
|
@ -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><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>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1,49 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="xul.css" type="text/css"?>
|
||||
|
||||
<?xml-stylesheet href="pref.css" type="text/css"?>
|
||||
|
||||
<!DOCTYPE window [
|
||||
<!ENTITY title.label "Cache">
|
||||
<!ENTITY cacheHeader "Cache">
|
||||
<!ENTITY cachePara "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.">
|
||||
<!ENTITY memCache "Memory Cache:">
|
||||
<!ENTITY kbyes "KBytes">
|
||||
<!ENTITY clearMemcacheButton.label "Clear Memory Cache">
|
||||
<!ENTITY clearDiskcacheButton.label "Clear Disk Cache">
|
||||
<!ENTITY docCache "Document in cache is compared to document on network:">
|
||||
<!ENTITY oncePsessionRadio.label "Once per session">
|
||||
<!ENTITY everyTimeRadio.label "Every time">
|
||||
<!ENTITY neverRadio.label "Never">
|
||||
]>
|
||||
|
||||
<window xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="return StartUp('Cache');" title="&title.label;">
|
||||
|
||||
<html:script language="JavaScript" src="PrefsWindow.js">
|
||||
</html:script>
|
||||
|
||||
<html:DIV ID="top">
|
||||
<html:SPAN ID="lefttext">&cacheHeader;</html:SPAN>
|
||||
</html:DIV>
|
||||
|
||||
|
||||
<html:table>
|
||||
<html:tr><html:td>&cachePara;
|
||||
</html:td></html:tr>
|
||||
<html:tr><html:td>&memCache;<html:input name="disk" type="text" size="3" id="pref:string:composer.source" />&kbyes;<html:input name="clearm" type="button" value="&clearMemcacheButton.label;" /></html:td></html:tr>
|
||||
<html:tr><html:td>Disk Cache:<html:input name="memory" type="text" size="3" id="pref:string:composer.source" />&kbyes;<html:input name="cleard" type="button" value="&clearDiskcacheButton.label;" /></html:td></html:tr>
|
||||
</html:table>
|
||||
|
||||
|
||||
<html:table>
|
||||
&docCache;
|
||||
<html:tr><html:td><html:label><html:input type="radio" name="cache" id="pref:0:int:composer.font.size" />&oncePsessionRadio.label;</html:label></html:td></html:tr>
|
||||
<html:tr><html:td><html:label><html:input type="radio" name="cache" id="pref:1:int:composer.font.size" />&everyTimeRadio.label;</html:label></html:td></html:tr>
|
||||
<html:tr><html:td><html:label><html:input type="radio" name="cache" id="pref:2:int:composer.font.size" />&neverRadio.label;</html:label></html:td></html:tr>
|
||||
</html:table>
|
||||
|
||||
</window>
|
|
@ -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><label><input type="checkbox" id="pref:0:bool:browser.wfe.use_windows_colors" checked>Use Windows colors</label></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><label><input type="checkbox" id="pref:0:bool:browser.underline_anchors" checked>Underline links</label></td></tr>
|
||||
|
||||
</FORM>
|
||||
|
||||
|
||||
|
||||
</table>
|
||||
<br>
|
||||
|
||||
<table>
|
||||
<tr><td>Sometimes a document will provide its own colors and background.</tr></td>
|
||||
<FORM>
|
||||
|
||||
|
||||
<tr><td><label><input type="checkbox" id="pref:0:bool:browser.use_document_">Always use my colors, overriding documents.</label></td></tr>
|
||||
</table>
|
||||
</FORM>
|
||||
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
|
@ -1,58 +0,0 @@
|
|||
<?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
|
||||
[
|
||||
<!ENTITY window.title "Colors">
|
||||
<!ENTITY colorsHeader "Colors">
|
||||
<!ENTITY text "Text:">
|
||||
<!ENTITY colorPick "Color Picker">
|
||||
<!ENTITY background "Background:">
|
||||
<!ENTITY useWinColorsCheck.label "Use Windows colors">
|
||||
<!ENTITY underLinksCheck.label "Underline links">
|
||||
<!ENTITY links "Links">
|
||||
<!ENTITY unvisit "Unvisited Links:">
|
||||
<!ENTITY visit "Visited Links:">
|
||||
<!ENTITY someProvColors "Sometimes a document will provide its own colors and background.">
|
||||
<!ENTITY alwaysOverCheck.label "Always use my colors, overriding documents.">
|
||||
|
||||
]
|
||||
>
|
||||
|
||||
|
||||
<window xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="return StartUp('Colors');" title="title.label">
|
||||
|
||||
|
||||
<html:script language="JavaScript" src="PrefsWindow.js">
|
||||
</html:script>
|
||||
|
||||
|
||||
<html:div ID="top"><html:span ID="lefttext">
|
||||
&colorsHeader;
|
||||
</html:span>
|
||||
</html:div>
|
||||
|
||||
<html:table>
|
||||
<html:tr><html:td>&text;</html:td><html:td>&text;</html:td></html:tr>
|
||||
<html:tr><html:td>&background;</html:td><html:td>&colorPick;</html:td></html:tr>
|
||||
<html:tr><html:td><html:label><html:input type="checkbox" id="pref:0:bool:browser.wfe.use_windows_colors" val="checked" />&useWinColorsCheck.label;</html:label></html:td></html:tr>
|
||||
</html:table>
|
||||
|
||||
<html:table>
|
||||
&links;
|
||||
|
||||
<html:tr><html:td>&unvisit;</html:td><html:td>&colorPick;</html:td></html:tr>
|
||||
<html:tr><html:td>&visit;</html:td><html:td>&colorPick;</html:td></html:tr>
|
||||
<html:tr><html:td><html:label><html:input type="checkbox" id="pref:0:bool:browser.underline_anchors" val="checked" />&underLinksCheck.label;</html:label></html:td></html:tr>
|
||||
</html:table>
|
||||
<html:br />
|
||||
|
||||
<html:table>
|
||||
<html:tr><html:td>&someProvColors;</html:td></html:tr>
|
||||
<html:tr><html:td><html:label><html:input type="checkbox" id="pref:0:bool:browser.use_document_" />&alwaysOverCheck.label;</html:label></html:td></html:tr>
|
||||
</html:table>
|
||||
</window>
|
|
@ -1,44 +0,0 @@
|
|||
|
||||
<html>
|
||||
<body>
|
||||
<script language="JavaScript" src="PrefsWindow.js">
|
||||
</script>
|
||||
|
||||
<style TYPE="text/css">
|
||||
@import url(pref.css);
|
||||
</style>
|
||||
|
||||
<DIV ID=top>
|
||||
<SPAN ID=lefttext>Composer</SPAN>
|
||||
</DIV>
|
||||
|
||||
|
||||
<table>
|
||||
<FORM>
|
||||
<tr><td>Author Name:<input name="author" type="text" id="pref:string:editor.author"></td></tr>
|
||||
<tr><td><input name="autosave" type="checkbox" id="pref:0:int:editor.auto_save_delay">Automatically save page every </td>
|
||||
<td><input name="time" type="text" size="3" value="5" id="pref:5:int:editor.auto_save_delay">minutes</td></tr>
|
||||
|
||||
|
||||
</table>
|
||||
External Editors
|
||||
<table>
|
||||
<tr><td>Html Source</td></tr>
|
||||
<tr><td><input name="Choose" type="text" id="pref:string:editor.html_directory"></td>
|
||||
<td><input name="" type="button" value="choose..."></td></tr>
|
||||
|
||||
<tr><td>Images:</td></tr>
|
||||
<tr><td><input name="Choose" type="text" id="pref:string:editor.image_editor"></td>
|
||||
<td><input name="Choose..." type="button" value="choose..."></td></tr>
|
||||
</table>
|
||||
<table>
|
||||
Font Size
|
||||
<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>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1,66 +0,0 @@
|
|||
<?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 [
|
||||
<!ENTITY title.label "Composer">
|
||||
<!ENTITY compheader "Composer">
|
||||
<!ENTITY authorName "Author Name">
|
||||
<!ENTITY AutoSaveCheck.label "Automatically save page every">
|
||||
<!ENTITY minText "minutes">
|
||||
<!ENTITY exterLegand.label "External Editors">
|
||||
<!ENTITY htmlSource "Html Source">
|
||||
<!ENTITY chooseButton.label "Choose...">
|
||||
<!ENTITY fontSizeHeader "Font Size Mode">
|
||||
<!ENTITY img "Images">
|
||||
<!ENTITY relSizeRadio.label "Show relative size as points based on your Navigator font sizes">
|
||||
<!ENTITY relfontRadio.label "Show relative HTML font scale: -2, -1, 0, +1, +2, +3, +4">
|
||||
<!ENTITY relScaleRadio.label "Show relative HTML scale and absolute "point-size" attributes">
|
||||
|
||||
]>
|
||||
|
||||
|
||||
<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="&title.label;">
|
||||
|
||||
<html:script language="JavaScript" src="PrefsWindow.js">
|
||||
</html:script>
|
||||
|
||||
|
||||
|
||||
|
||||
<html:DIV ID="top">
|
||||
<html:SPAN ID="lefttext">&compheader;</html:SPAN>
|
||||
</html:DIV>
|
||||
|
||||
<form>
|
||||
<html:table>
|
||||
<html:tr><html:td>&authorName;<html:input name="author" type="text" id="pref:string:editor.author" /></html:td></html:tr>
|
||||
<html:tr><html:td><html:label><html:input name="autosave" type="checkbox" id="pref:0:int:editor.auto_save_delay" />&AutoSaveCheck.label;</html:label></html:td>
|
||||
<html:td><html:input name="time" type="text" size="3" value="5" id="pref:5:int:editor.auto_save_delay" />&minText;</html:td></html:tr>
|
||||
</html:table>
|
||||
</form>
|
||||
&exterLegand.label;
|
||||
<form>
|
||||
<html:table>
|
||||
<html:tr><html:td>&htmlSource;</html:td></html:tr>
|
||||
<html:tr><html:td><html:input name="&chooseButton.label;" type="text" id="pref:string:editor.html_directory" /></html:td>
|
||||
<html:td><html:input name="" type="button" value="&chooseButton.label;" /></html:td></html:tr>
|
||||
|
||||
<html:tr><html:td>&img;</html:td></html:tr>
|
||||
<html:tr><html:td><html:input name="chooseButton.label" type="text" id="pref:string:editor.image_editor" /></html:td>
|
||||
<html:td><html:input name="chooseButton.label" type="button" value="choose..." /></html:td></html:tr>
|
||||
</html:table>
|
||||
</form>
|
||||
<form>
|
||||
&fontSizeHeader;
|
||||
<html:table>
|
||||
|
||||
<html:tr><html:td><html:label><html:input name="font" type="radio" id="pref:0:int:fontsize_mode" val="checked" />&relSizeRadio.label;</html:label></html:td></html:tr>
|
||||
<html:tr><html:td><html:label><html:input name="font" type="radio" id="pref:1:int:fontsize_mode" />&relfontRadio.label;</html:label></html:td></html:tr>
|
||||
<html:tr><html:td><html:label><html:input name="font" type="radio" id="pref:2:int:fontsize_mode" />&relScaleRadio.label;</html:label></html:td></html:tr>
|
||||
</html:table>
|
||||
</form>
|
||||
</window>
|
|
@ -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><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></label></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>
|
||||
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>
|
|
@ -1,73 +0,0 @@
|
|||
<?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 [
|
||||
<!ENTITY title.label "Download">
|
||||
<!ENTITY download "Download">
|
||||
<!ENTITY newmes "Newsgroup Messages">
|
||||
<!ENTITY downUnread "Download only unread messages">
|
||||
<!ENTITY downloadDate "Download by date">
|
||||
<!ENTITY fromRadio.label "from">
|
||||
<!ENTITY one.select "1 week ago">
|
||||
<!ENTITY two.select "2 weeks ago">
|
||||
<!ENTITY oneM.select "1 month ago">
|
||||
<!ENTITY sixM.select "6 months ago">
|
||||
<!ENTITY oneY.select "1 year ago">
|
||||
<!ENTITY sinceRadio.label "since">
|
||||
<!ENTITY daysAgo "days ago">
|
||||
<!ENTITY Allmsg "All Messages">
|
||||
<!ENTITY offlineMsgs "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.">
|
||||
<!ENTITY select "Select...">
|
||||
|
||||
|
||||
|
||||
]>
|
||||
|
||||
|
||||
<window xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="return StartUp('Download');" title="&title.label;">
|
||||
|
||||
<html:script language="JavaScript" src="PrefsWindow.js">
|
||||
</html:script>
|
||||
|
||||
|
||||
<html:DIV ID="top">
|
||||
<html:SPAN ID="lefttext">Download</html:SPAN>
|
||||
</html:DIV>
|
||||
|
||||
&newmes;
|
||||
<html:table>
|
||||
<html:tr><html:td><html:label><html:input type="checkbox" id="pref:0:bool:offline.news.download.unread_only" />Download only unread messages</html:label></html:td></html:tr>
|
||||
<html:tr><html:td><html:label><html:input type="checkbox" id="pref:0:bool:offline.news.download.by_date" />Download by date</html:label></html:td></html:tr>
|
||||
<html:tr><html:td>
|
||||
<html:label>
|
||||
<html:input type="radio" name="offline" id="pref:0:int:offline.news.download.use_days" val="checked" />&fromRadio.label;
|
||||
|
||||
<html:select id="pref:0:">
|
||||
<html:OPTION />&one.select;
|
||||
<html:OPTION />&two.select;
|
||||
<html:OPTION />&oneM.select;
|
||||
<html:OPTION />&sixM.select;
|
||||
<html:OPTION />&oneY.select;
|
||||
</html:select></html:label></html:td></html:tr>
|
||||
|
||||
<html:tr><html:td><html:label>
|
||||
<html:input type="radio" name="offline" id="pref:1:int:offline.news.download.use_days" />&sinceRadio.label;
|
||||
<html:input type="text" size="5" id="pref:2:browser.use_document_fonts" />&daysAgo;
|
||||
</html:label></html:td></html:tr>
|
||||
|
||||
</html:table>
|
||||
&Allmsg;
|
||||
<html:table>
|
||||
<html:tr><html:td>&offlineMsgs;
|
||||
</html:td></html:tr>
|
||||
<html:tr><html:td><html:input type="button" value="&select;" id="pref:2:offline" /></html:td></html:tr>
|
||||
</html:table>
|
||||
|
||||
</html:table>
|
||||
</window>
|
|
@ -1,46 +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>Fonts</SPAN>
|
||||
</DIV>
|
||||
|
||||
|
||||
<table>
|
||||
<FORM>
|
||||
|
||||
|
||||
<tr><td>For the Encoding:</td><td><select id="pref"><OPTION>Western</td><td>Size<select id="pref"><OPTION>10</td</tr>
|
||||
<tr><td>Variable Width Font:</td><td><select id="pref"><OPTION>Filler</td><td>Size<select id="pref"><OPTION>10</td></tr>
|
||||
<tr><td>Fixed Width Font:</td><td><select id="pref"><OPTION>Filler</td><td></td></tr>
|
||||
|
||||
</FORM>
|
||||
|
||||
|
||||
|
||||
</table>
|
||||
<br>
|
||||
<table>
|
||||
<tr><td>Sometimes a document will provide its own fonts.</tr></td>
|
||||
<FORM>
|
||||
|
||||
|
||||
<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 document-specified fonts, including Dynamic Fonts</label></td></tr>
|
||||
</table>
|
||||
</FORM>
|
||||
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
|
@ -1,94 +0,0 @@
|
|||
<?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 [
|
||||
|
||||
<!ENTITY title.label "Fonts">
|
||||
<!ENTITY header "Fonts">
|
||||
<!ENTITY encod.select "For the Encoding:">
|
||||
<!ENTITY encod1.option "Western">
|
||||
<!ENTITY size.select "Size">
|
||||
<!ENTITY size1.option "10">
|
||||
<!ENTITY varFont.select "Variable Width Font:">
|
||||
<!ENTITY varFont.option "10">
|
||||
<!ENTITY fixedFont.Select "Fixed Width Font">
|
||||
<!ENTITY fixedFont.option "Filler">
|
||||
<!ENTITY header2 "Sometimes a document will provide its own fonts.">
|
||||
<!ENTITY useDefaultFontRadio "Use my default fonts, overriding document-specified fonts">
|
||||
<!ENTITY useDocFontRadio "Use document-specified fonts, but disable Dynamic Fonts">
|
||||
<!ENTITY useDocFontsRadio "Use document-specified fonts, including Dynamic Fonts">
|
||||
|
||||
]>
|
||||
|
||||
<window xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="return StartUp('Fonts');" title="&title.label;">
|
||||
|
||||
<html:script language="JavaScript" src="PrefsWindow.js">
|
||||
</html:script>
|
||||
|
||||
<html:DIV ID="top">
|
||||
<html:SPAN ID="lefttext">&header;</html:SPAN>
|
||||
</html:DIV>
|
||||
|
||||
|
||||
|
||||
<html:table>
|
||||
<html:tr>
|
||||
<html:td>&encod.select;
|
||||
</html:td>
|
||||
<html:td>
|
||||
<html:select id="pref">
|
||||
<html:optgroup>
|
||||
<html:option>&encod1.option;</html:option>
|
||||
</html:optgroup>
|
||||
</html:select>
|
||||
</html:td>
|
||||
<html:td>&size.select;
|
||||
<html:select id="pref">
|
||||
<html:optgroup>
|
||||
<html:option>&size1.option;</html:option>
|
||||
</html:optgroup>
|
||||
</html:select>
|
||||
</html:td></html:tr>
|
||||
<html:tr>
|
||||
<html:td>&varFont.select;</html:td>
|
||||
<html:td>
|
||||
<html:select id="pref">
|
||||
<html:optgroup>
|
||||
<html:option>Filler</html:option>
|
||||
</html:optgroup>
|
||||
</html:select>
|
||||
</html:td>
|
||||
<html:td>&size.select;
|
||||
<html:select id="pref">
|
||||
<html:optgroup>
|
||||
<html:option>&varFont.option;</html:option>
|
||||
</html:optgroup>
|
||||
</html:select>
|
||||
</html:td>
|
||||
</html:tr>
|
||||
<html:tr>
|
||||
<html:td>&fixedFont.Select;
|
||||
</html:td>
|
||||
<html:td>
|
||||
<html:select class="combobox" id="pref">
|
||||
<html:optgroup>
|
||||
<html:option>&fixedFont.option;</html:option>
|
||||
</html:optgroup>
|
||||
</html:select>
|
||||
</html:td>
|
||||
<html:td></html:td>
|
||||
</html:tr>
|
||||
</html:table>
|
||||
<html:br />
|
||||
<html:table>
|
||||
<html:tr><html:td>&header2;</html:td></html:tr>
|
||||
<html:tr><html:td><html:label>
|
||||
<html:input name="fonts" type="radio" id="pref:0:int:browser.use_document_fonts" val="checked" />&useDefaultFontRadio;</html:label></html:td></html:tr>
|
||||
<html:tr><html:td><html:label><html:input name="fonts" type="radio" id="pref:1:int:browser.use_document_fonts" />&useDocFontRadio;</html:label></html:td></html:tr>
|
||||
<html:tr><html:td><html:label><html:input name="fonts" type="radio" id="pref:2:int:browser.use_document_fonts" />&useDocFontsRadio;</html:label></html:td></html:tr>
|
||||
</html:table>
|
||||
</window>
|
|
@ -1,43 +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: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,56 +0,0 @@
|
|||
<?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
|
||||
[
|
||||
<!ENTITY window.title "Languages">
|
||||
<!ENTITY LangHeader "Languages">
|
||||
<!ENTITY prefLangDecript "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.">
|
||||
<!ENTITY engOption.label "English">
|
||||
<!ENTITY addButton.label "Add...">
|
||||
<!ENTITY deleteButton.label "Delete...">
|
||||
|
||||
|
||||
|
||||
]
|
||||
>
|
||||
|
||||
<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')" title="window.title">
|
||||
|
||||
|
||||
<html:script language="JavaScript" src="PrefsWindow.js">
|
||||
</html:script>
|
||||
|
||||
|
||||
<html:DIV ID="top">
|
||||
<html:SPAN ID="lefttext">&LangHeader;</html:SPAN>
|
||||
</html:DIV>
|
||||
|
||||
<html:form>
|
||||
<html:table>
|
||||
<html:tr><html:td>&prefLangDecript;
|
||||
<html:tr>
|
||||
<html:td>
|
||||
<html:select name="textstyle" size="5">
|
||||
<optgroup>
|
||||
<html:option value="0" id="pref:string:intl.accept_languages">&engOption.label;</html:option>
|
||||
</optgroup>
|
||||
</html:select>
|
||||
</html:td>
|
||||
</html:tr>
|
||||
<html:tr>
|
||||
<html:td><html:input name="choose" type="button" value="&addButton.label;" /></html:td>
|
||||
<html:td>
|
||||
<html:input name="choose" type="button" value="deleteButton.label">
|
||||
</html:td>
|
||||
</html:tr>
|
||||
<html:table>
|
||||
<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><label><input name=starts type="radio"
|
||||
id="pref:0:int:browser.startup.page">Blank Page</label></td>
|
||||
</tr>
|
||||
<tr><td><label><input name=starts type="radio"
|
||||
id="pref:1:int:browser.startup.page" checked>Home Page</label></td>
|
||||
</tr>
|
||||
<tr><td><label><input name=starts type="radio"
|
||||
id="pref:2:int:browser.startup.page">Last Page visited</label></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,88 +0,0 @@
|
|||
<?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 [
|
||||
<!ENTITY title.label "Navigator">
|
||||
<!ENTITY header1.label "Navigator">
|
||||
<!ENTITY navRadio "Navigator starts with">
|
||||
<!ENTITY blankRadio "Blank Page">
|
||||
<!ENTITY header2.label "Home Page">
|
||||
<!ENTITY lastPageRadio "Last Page visited">
|
||||
<!ENTITY homepageRadio "Homepage">
|
||||
<!ENTITY clickRadio "Clicking the Home button will take you to this page.">
|
||||
<!ENTITY location "Location:">
|
||||
<!ENTITY useCurrent "Use Current Page">
|
||||
<!ENTITY browseFile "browse">
|
||||
|
||||
<!ENTITY header3.label "History">
|
||||
<!ENTITY historyPages "History is a list of the pages you have previously visited.">
|
||||
<!ENTITY histDay "9">
|
||||
<!ENTITY daysRadio "days">
|
||||
<!ENTITY homepageRadio "Homepage">
|
||||
<!ENTITY pagesHis "Pages in history expire after:">
|
||||
<!ENTITY clearRadio "Clear the list of sites on the location bar: ">
|
||||
<!ENTITY clearHis "clear history">
|
||||
<!ENTITY header4.label "Homepages">
|
||||
<!ENTITY clearBar "Clear the list of sites on the location bar:">
|
||||
<!ENTITY clearLoc "Clear Location Bar">
|
||||
|
||||
|
||||
]>
|
||||
|
||||
|
||||
<window xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="return StartUp('Navigator');" title="&title.label;">
|
||||
|
||||
|
||||
|
||||
|
||||
<html:script language="JavaScript" src="PrefsWindow.js">
|
||||
</html:script>
|
||||
|
||||
<html:DIV ID="top">
|
||||
<html:SPAN ID="lefttext">Navigator</html:SPAN>
|
||||
</html:DIV>
|
||||
|
||||
&navRadio;
|
||||
<html:table ID="tableb">
|
||||
<html:tr><html:td><html:label><html:input name="starts" type="radio" id="pref:0:int:browser.startup.page" />&blankRadio;</html:label></html:td>
|
||||
</html:tr>
|
||||
<html:tr><html:td><html:label><html:input name="starts" type="radio" id="pref:1:int:browser.startup.page" val="checked" />&header2.label;</html:label></html:td>
|
||||
</html:tr>
|
||||
<html:tr><html:td><html:label><html:input name="starts" type="radio" id="pref:2:int:browser.startup.page" />&lastPageRadio;</html:label></html:td>
|
||||
</html:tr>
|
||||
</html:table>
|
||||
|
||||
&header2.label;
|
||||
<html:table ID="tableb">
|
||||
<html:tr><html:td>&clickRadio;</html:td></html:tr>
|
||||
<html:tr><html:td>&location;<html:input name="homepage" type="text" value="http://my.netscape.com" id="pref:string:browser.startup.homepage" size="30" />
|
||||
</html:td></html:tr>
|
||||
<html:tr><html:td><html:input name="starts" type="button" value="&useCurrent;" />
|
||||
<html:input name="browse" type="button" value="&browseFile;" />
|
||||
</html:td></html:tr>
|
||||
</html:table>
|
||||
|
||||
&header3.label;
|
||||
<html:table ID="tableb">
|
||||
<html:tr><html:td>
|
||||
&historyPages;
|
||||
</html:td></html:tr>
|
||||
<html:tr><html:td>
|
||||
&pagesHis;<html:input type="text" value="&histDay;" size="3" />&daysRadio;
|
||||
<html:input name="Clearit" type="button" value="&clearHis;" />
|
||||
</html:td></html:tr>
|
||||
</html:table>
|
||||
|
||||
|
||||
&header4.label;
|
||||
<html:table ID="tableb">
|
||||
<html:tr><html:td>&clearBar;
|
||||
<html:input name="starts" type="button" value="&clearLoc;" />
|
||||
</html:td></html:tr>
|
||||
</html:table>
|
||||
|
||||
</window>
|
|
@ -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><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><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.
|
||||
</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.
|
||||
</label></td></tr>
|
||||
</form>
|
||||
</table>
|
||||
When going Online
|
||||
<table>
|
||||
<form>
|
||||
|
||||
<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><label><input type="checkbox" id="pref:0:bool:offline.prompt_synch_on_exit">Prompt me to synchronize my messages</label></td></tr>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1,76 +0,0 @@
|
|||
<?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
|
||||
[
|
||||
<!ENTITY title.label "Offline">
|
||||
<!ENTITY header "Offline">
|
||||
<!ENTITY header1 "Startup State">
|
||||
<!ENTITY descipt1 "Communicator can start in either online or offline modes. When
|
||||
online you have full access to your network. When offline you can only read
|
||||
messages that you have previously downloaded.">
|
||||
<!ENTITY prevRadio.label "Remember Previous State">
|
||||
<!ENTITY communRemember "Communticator will remember the state it was in last and start in that mode.">
|
||||
<!ENTITY askOfflineRadio.label "Ask Me">
|
||||
<!ENTITY offlineStartAskEach "Communicator will ask you each time you start the program.">
|
||||
<!ENTITY heaeder2 "When Going Online">
|
||||
<!ENTITY unsentAskRadio.label "Ask me if I want to send my unsent messages">
|
||||
<!ENTITY unsentAutoRadio.label "Automatically send my unsent messages">
|
||||
<!ENTITY unsentDoNotRadio.label "Do not send my unsent messages">
|
||||
<!ENTITY header3 "When Exiting Communicator">
|
||||
<!ENTITY promptSynchCheck.label "Prompt me to synchronize my messages">
|
||||
|
||||
|
||||
|
||||
|
||||
]>
|
||||
|
||||
<window xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="return StartUp('offline');" title="&title.label;">
|
||||
|
||||
|
||||
<html:script language="JavaScript" src="PrefsWindow.js">
|
||||
</html:script>
|
||||
|
||||
|
||||
<html:DIV ID="top">
|
||||
<html:SPAN ID="lefttext">&header;</html:SPAN>
|
||||
</html:DIV>
|
||||
|
||||
|
||||
|
||||
&header1;
|
||||
<html:table>
|
||||
<html:tr><html:td>&descipt1;
|
||||
</html:td></html:tr>
|
||||
<html:tr><html:td><html:label>
|
||||
<html:input name="state" type="radio" id="pref:0:int:offline.startup_state" />&prevRadio.label;
|
||||
<html:br />&communRemember;
|
||||
</html:label></html:td></html:tr>
|
||||
<html:tr><html:td><html:label>
|
||||
<html:input name="state" type="radio" id="pref:1:int:offline.startup_state" />&askOfflineRadio.label;
|
||||
<html:br />&offlineStartAskEach;
|
||||
</html:label></html:td></html:tr>
|
||||
|
||||
</html:table>
|
||||
&heaeder2;
|
||||
<html:table>
|
||||
|
||||
|
||||
<html:tr><html:td><html:label><html:input name="offmail" type="radio" id="pref:0:int:offline.send.unsent_messages" />&unsentAskRadio.label;</html:label></html:td></html:tr>
|
||||
<html:tr><html:td><html:label><html:input name="offmail" type="radio" id="pref:1:int:offline.send.unsent_messages" />&unsentAutoRadio.label;</html:label></html:td></html:tr>
|
||||
<html:tr><html:td><html:label><html:input name="offmail" type="radio" id="pref:2:int:offline.send.unsent_messages" />&unsentDoNotRadio.label;</html:label></html:td></html:tr>
|
||||
</html:table>
|
||||
&header3;
|
||||
<html:table>
|
||||
|
||||
<html:tr><html:td><html:label>
|
||||
<html:input type="checkbox" id="pref:0:bool:offline.prompt_synch_on_exit" />&promptSynchCheck.label;
|
||||
</html:label></html:td></html:tr>
|
||||
|
||||
</html:table>
|
||||
|
||||
</window>
|
|
@ -1,34 +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('Proxies')">
|
||||
|
||||
<DIV ID=top>
|
||||
<SPAN ID=lefttext>Proxies</SPAN>
|
||||
</DIV>
|
||||
|
||||
|
||||
<table>
|
||||
A network proxy is used to provide additional security between your
|
||||
computer and the Internet (usually along with a firewall) and/or to increase
|
||||
performance between networks by reducing redundant traffic via caching.
|
||||
<FORM>
|
||||
|
||||
<tr><td><label><input name="conntype" type="radio" checked id="pref:3:int:network.proxy.type">Direct connection to the Internet</label></td></tr>
|
||||
<tr><td><label><input name="conntype" type="radio" id="pref:1:int:network.proxy.type">Manual proxy configuration</label></td></tr>
|
||||
<tr><td><label><input name="conntype" type="radio" id="pref:2:int:network.proxy.type">Automatic proxy configuration</label></td></tr>
|
||||
<tr><td><label>Configuration location (URL):<input name="" type="text" size="15" id="pref:0:string:network.proxy.autoconfig_url"></label></td></tr>
|
||||
|
||||
<FORM>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1,50 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="xul.css" type="text/css"?>
|
||||
<?xml-stylesheet href="pref.css" type="text/css"?>
|
||||
|
||||
|
||||
<!DOCTYPE window [
|
||||
<!ENTITY title.label "Sample Prefs Panel">
|
||||
<!ENTITY proxiesHeader.label "Proxies">
|
||||
<!ENTITY networkHeader.label "A network proxy is used to provide additional security between your
|
||||
computer and the Internet (usually along with a firewall) and/or to increase
|
||||
performance between networks by reducing redundant traffic via caching.">
|
||||
<!ENTITY directTypeRadio.label "Direct connection to the Internet">
|
||||
<!ENTITY manualTypeRadio.label "Manual proxy configuration">
|
||||
<!ENTITY autoTypeRadio.label "Automatic proxy configuration">
|
||||
<!ENTITY configAutoconfigText.label "Configuration location (URL):">
|
||||
|
||||
]>
|
||||
|
||||
|
||||
<window xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="return StartUp('Proxies');" title="Sample Prefs Panel">
|
||||
|
||||
|
||||
<html:script language="JavaScript" src="PrefsWindow.js">
|
||||
</html:script>
|
||||
|
||||
<html:div ID="top">
|
||||
<html:SPAN ID="lefttext">&proxiesHeader.label;</html:SPAN>
|
||||
</html:div>
|
||||
|
||||
|
||||
<html:table>
|
||||
&networkHeader.label;
|
||||
<html:tr><html:td><html:label>
|
||||
<html:input name="conntype" type="radio" checked="true" id="pref:3:int:network.proxy.type" />&directTypeRadio.label;
|
||||
</html:label></html:td></html:tr>
|
||||
<html:tr><html:td><html:label>
|
||||
<html:input name="conntype" type="radio" id="pref:1:int:network.proxy.type" />&manualTypeRadio.label;
|
||||
</html:label></html:td></html:tr>
|
||||
<html:tr><html:td><html:label>
|
||||
<html:input name="conntype" type="radio" id="pref:2:int:network.proxy.type" />&autoTypeRadio.label;
|
||||
</html:label></html:td></html:tr>
|
||||
<html:tr><html:td><html:label>&configAutoconfigText.label;
|
||||
<html:input name="" type="text" size="15" id="pref:0:string:network.proxy.autoconfig_url" />
|
||||
</html:label></html:td></html:tr>
|
||||
|
||||
|
||||
</html:table>
|
||||
</window>
|
|
@ -1,45 +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('Composer')">
|
||||
|
||||
<DIV ID=top>
|
||||
<SPAN ID=lefttext>Composer</SPAN>
|
||||
</DIV>
|
||||
|
||||
|
||||
<table>
|
||||
<FORM>
|
||||
<tr><td><input name="author" type="checkbox" id="pref:0:bool:editor.publish_keep_images">Maintain links.
|
||||
<br>Adjust links to work from the page's location.(Links to local pages will work when
|
||||
local versions exist.)
|
||||
<tr><td><input name="autosave" type="checkbox" id="pref:1:bool:bool:ceditor.publish_keep_links">Keep images with page.
|
||||
<br>Save copies of images to the page's location. Images will always appear in local versions
|
||||
of the page and when page is published.</td></tr>
|
||||
|
||||
Tip:Check both options if you will be using remote publishing.
|
||||
|
||||
|
||||
</table>
|
||||
|
||||
Default publishing location
|
||||
<table>
|
||||
<FORM>
|
||||
<tr><td>Enter a FTP or HTTP site address to Publish to:</td></tr>
|
||||
<tr><td><input name="autosave" type="text" id="pref:string:composer.publish" size=30></tr></td>
|
||||
<tr><td>If publishing to a FTP site, enter the HTTP address to browse to:</td></tr>
|
||||
<tr><td><input name="autosave" type="text" id="pref:string:string:composer.browse" size=30></tr></td>
|
||||
|
||||
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1,68 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="xul.css" type="text/css"?>
|
||||
<?xml-stylesheet href="pref.css" type="text/css"?>
|
||||
|
||||
<!DOCTYPE window [
|
||||
<!ENTITY window.title "Publish">
|
||||
<!ENTITY composerHeader.label "Publish">
|
||||
<!ENTITY maintainCheckbox.label "Maintain links.">
|
||||
<!ENTITY keepCheck.label "Keep images with page.">
|
||||
|
||||
<!ENTITY adjustDesc.label "Adjust links to work from the page's location. (Links to local pages will work when
|
||||
local versions exist.) ">
|
||||
<!ENTITY saveDesc.label "Save copies of images to the page's location. Images will always
|
||||
appear in local versions of the page and when the page is published.">
|
||||
<!ENTITY tip.label "Tip: Check both options if you will be using remote publishing.">
|
||||
<!ENTITY defaultHeader.label "Default publishing location">
|
||||
<!ENTITY publishFtp.label "If publishing to a FTP site, enter the HTTP address to browse to:">
|
||||
<!ENTITY publishhtp.label "If publishing to a FTP site, enter the HTTP address to browse to:">
|
||||
|
||||
]>
|
||||
|
||||
<window xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="return StartUp('Publish');" title="&window.title;">
|
||||
|
||||
|
||||
<html:script language="JavaScript" src="PrefsWindow.js">
|
||||
</html:script>
|
||||
|
||||
|
||||
|
||||
<html:DIV ID="top">
|
||||
<html:SPAN ID="lefttext">&composerHeader.label;</html:SPAN>
|
||||
</html:DIV>
|
||||
|
||||
|
||||
<html:table>
|
||||
|
||||
<html:tr><html:td>
|
||||
<html:input name="author" type="checkbox" id="pref:0:bool:editor.publish_keep_images" />&maintainCheckbox.label;
|
||||
<html:br />&adjustDesc.label;
|
||||
</html:td></html:tr>
|
||||
<html:tr><html:td>
|
||||
<html:input name="autosave" type="checkbox" id="pref:1:bool:bool:ceditor.publish_keep_links" />&keepCheck.label;
|
||||
<html:br />&saveDesc.label;
|
||||
</html:td></html:tr>
|
||||
&tip.label;
|
||||
</html:table>
|
||||
&defaultHeader.label;
|
||||
<html:table>
|
||||
|
||||
<html:tr><html:td>
|
||||
&publishFtp.label;
|
||||
</html:td></html:tr>
|
||||
<html:tr><html:td>
|
||||
<html:input name="autosave" type="text" id="pref:string:composer.publish" size="30" />
|
||||
</html:td></html:tr>
|
||||
<html:tr><html:td>
|
||||
&publishhtp.label;
|
||||
</html:td></html:tr>
|
||||
<html:tr><html:td>
|
||||
<html:input name="autosave" type="text" id="pref:string:string:composer.browse" size="30" />
|
||||
</html:td></html:tr>
|
||||
|
||||
|
||||
</html:table>
|
||||
|
||||
</window>
|
|
@ -1,46 +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>Fonts</SPAN>
|
||||
</DIV>
|
||||
|
||||
|
||||
<table>
|
||||
<FORM>
|
||||
|
||||
|
||||
<tr><td>For the Encoding:</td><td><select id="pref"><OPTION>Western</td><td>Size<select id="pref"><OPTION>10</td</tr>
|
||||
<tr><td>Variable Width Font:</td><td><select id="pref"><OPTION>Filler</td><td>Size<select id="pref"><OPTION>10</td></tr>
|
||||
<tr><td>Fixed Width Font:</td><td><select id="pref"><OPTION>Filler</td><td></td></tr>
|
||||
|
||||
</FORM>
|
||||
|
||||
|
||||
|
||||
</table>
|
||||
<br>
|
||||
<table>
|
||||
<tr><td>Sometimes a document will provide its own fonts.</tr></td>
|
||||
<FORM>
|
||||
|
||||
|
||||
<tr><td><input type="radio" id="pref:2:browser.use_document_fonts">Use my default fonts, overriding document-specified fonts</td></tr>
|
||||
<tr><td><input type="radio" id="pref:1:browser.use_document_fonts">Use document-specified fonts. but disable Dynamic Fonts</td></tr>
|
||||
<tr><td><input type="radio" id="pref:0:browser.use_document_fonts">use docuent-specified fonts, but disable Dynamic Fonts</td></tr>
|
||||
</table>
|
||||
</FORM>
|
||||
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
|
@ -1,51 +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('smart_browsing')">
|
||||
|
||||
<DIV ID=top>
|
||||
<SPAN ID=lefttext>Smart Browsing</SPAN>
|
||||
</DIV>
|
||||
|
||||
|
||||
<table>
|
||||
<FORM>
|
||||
<tr><td><input name="related" type="checkbox" id="pref:0:bool:browser.related.enabled" checked>Enable Internet Keywords</td></tr>
|
||||
<tr><td>Automatically load "What's Related" information</tr></td>
|
||||
<tr><td><input name="autorelated" type="radio" id="pref:0:int:browser.related.autoload">Never</td></tr>
|
||||
<tr><td><input name="autorelated" type="radio" id="pref:1:int:browser.related.autoload" checked>After first use</td></tr>
|
||||
<tr><td><input name="autorelated" type="radio" id="pref:2:int:browser.related.autoload" >Always</td></tr>
|
||||
|
||||
<tr><td>Do not request "What's Related" information for the following
|
||||
domains(a comma-separated list)</tr><td>
|
||||
<tr><td>
|
||||
<textarea name="textstyle" ROWS="2" COLS="30" id="pref:string:browser.related.disabledForDomains">
|
||||
|
||||
</textarea>
|
||||
</td></tr>
|
||||
</FORM>
|
||||
|
||||
|
||||
|
||||
</table>
|
||||
<br>
|
||||
<table>
|
||||
<tr><td>Internet Keywords</tr></td>
|
||||
<FORM>
|
||||
|
||||
|
||||
<tr><td><input name="keyword" type="checkbox" id="pref:0:bool:browser.goBrowsing.enabled" checked>Enable Internet Keywords</td></tr>
|
||||
</table>
|
||||
</FORM>
|
||||
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
|
@ -1,67 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="xul.css" type="text/css"?>
|
||||
<?xml-stylesheet href="pref.css" type="text/css"?>
|
||||
|
||||
<!DOCTYPE window [
|
||||
<!ENTITY title.label "Samrt Browsing">
|
||||
<!ENTITY smartHeader.label "Smart Browsing">
|
||||
<!ENTITY enableRelatedRadio.label "Enable Internet Keywords">
|
||||
<!ENTITY autoDecp.label "Automatically load Whats Related information">
|
||||
<!ENTITY neverRadio "Never">
|
||||
<!ENTITY afterAutoloadFirstRadio "After first use">
|
||||
<!ENTITY afterAutoloadAlwaysRadio "Always">
|
||||
<!ENTITY doNotDecp.label "Do not request Whats Related information for the following domains (a comma-seperated list)">
|
||||
<!ENTITY internetKeywordsHeader.label "Internet Keywords">
|
||||
<!ENTITY enableKeyCheck.label "Enable Internet Keywords">
|
||||
|
||||
]>
|
||||
|
||||
<window xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="return StartUp('smart_browsing');" title="title.label">
|
||||
|
||||
|
||||
<html:script language="JavaScript" src="PrefsWindow.js">
|
||||
</html:script>
|
||||
|
||||
|
||||
|
||||
<html:DIV ID="top">
|
||||
<html:SPAN ID="lefttext">&smartHeader.label;</html:SPAN>
|
||||
</html:DIV>
|
||||
|
||||
|
||||
<html:table>
|
||||
<html:tr><html:td>
|
||||
<html:input name="related" type="checkbox" id="pref:0:bool:browser.related.enabled" checked="true" />&enableRelatedRadio.label;
|
||||
</html:td></html:tr>
|
||||
<html:tr><html:td>
|
||||
&autoDecp.label;
|
||||
</html:td></html:tr>
|
||||
<html:tr><html:td><html:input name="autorelated" type="radio" id="pref:0:int:browser.related.autoload" />
|
||||
&neverRadio;
|
||||
</html:td></html:tr>
|
||||
<html:tr><html:td><html:input name="autorelated" type="radio" id="pref:1:int:browser.related.autoload" checked="true" />
|
||||
&afterAutoloadFirstRadio;
|
||||
</html:td></html:tr>
|
||||
<html:tr><html:td>
|
||||
<html:input name="autorelated" type="radio" id="pref:2:int:browser.related.autoload" />
|
||||
&afterAutoloadAlwaysRadio;
|
||||
</html:td></html:tr>
|
||||
|
||||
<html:tr><html:td>&doNotDecp.label;
|
||||
</html:td></html:tr>
|
||||
<html:tr><html:td>
|
||||
<html:textarea name="textstyle" ROWS="2" COLS="30" id="pref:string:browser.related.disabledForDomains">
|
||||
</html:textarea>
|
||||
</html:td></html:tr>
|
||||
</html:table>
|
||||
|
||||
|
||||
<html:table>
|
||||
<html:tr><html:td>&internetKeywordsHeader.label;</html:td></html:tr>
|
||||
<html:tr><html:td><html:input name="keyword" type="checkbox" id="pref:0:bool:browser.goBrowsing.enabled" checked="true" />
|
||||
&enableKeyCheck.label;</html:td></html:tr>
|
||||
|
||||
</html:table>
|
||||
</window>
|
|
@ -1,40 +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('smart_update')">
|
||||
|
||||
<DIV ID=top>
|
||||
<SPAN ID=lefttext>Smart Update</SPAN>
|
||||
</DIV>
|
||||
|
||||
|
||||
<table>
|
||||
<FORM>
|
||||
<tr><td><input type="checkbox" id="pref:0:bool:autoupdate.enabled" checked>Enable SmartUpdate</td></tr>
|
||||
<tr><td><input type="checkbox" id="pref:0:bool:autoupdate.enabled">Require manual confirmation of each install</td></tr>
|
||||
</table>
|
||||
<table>
|
||||
<tr><td>
|
||||
To uninstall, select from the following list and click the uninstall button.
|
||||
<br>
|
||||
<textarea name="textstyle" ROWS="5" COLS="30" id="pref:string:browser.related.disabledForDomains">
|
||||
|
||||
</textarea>
|
||||
<input value="Uninstall" type="button" id="pref:0:bool:smartupdate">
|
||||
</td></tr>
|
||||
</table>
|
||||
</FORM>
|
||||
|
||||
|
||||
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
|
@ -1,48 +0,0 @@
|
|||
|
||||
body {
|
||||
background-color:#CCCCCC;
|
||||
font-family: sans-serif;
|
||||
font-size: 9pt;
|
||||
|
||||
}
|
||||
|
||||
#righttext {
|
||||
text-align: left;
|
||||
font-style: bold;
|
||||
|
||||
}
|
||||
|
||||
|
||||
#righttext {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#top {
|
||||
background-color: grey
|
||||
}
|
||||
|
||||
table {
|
||||
display: block;
|
||||
width: 100%;
|
||||
border: groove white 2px;
|
||||
min-height: 16px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
label {
|
||||
background-color:#cccccc;
|
||||
}
|
||||
|
||||
td {
|
||||
font-size: 8pt;
|
||||
}
|
||||
|
||||
#pref-appearance {
|
||||
border : 0}
|
||||
|
||||
#preftree {
|
||||
border : yes;
|
||||
border-style : ridge;
|
||||
width :25%;
|
||||
height : 326;
|
||||
}
|
|
@ -1,53 +0,0 @@
|
|||
<html>
|
||||
|
||||
<head>
|
||||
<script language="JavaScript" src="PrefsWindow.js">
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<style>
|
||||
body {
|
||||
background-color:#CCCCCC
|
||||
}
|
||||
|
||||
#lefttext {
|
||||
text-align: left;
|
||||
font-style: bold;
|
||||
}
|
||||
|
||||
|
||||
#righttext {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#top {
|
||||
font-family:system;
|
||||
background-color: grey
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<body onload="return StartUp('Bottom');">
|
||||
<table width="100%" cellpadding=0 cellspacing=0>
|
||||
<tr>
|
||||
<td valign="right" width="160">
|
||||
<center>
|
||||
<form>
|
||||
|
||||
<input type="button" align="bottom" value="Help">
|
||||
</input>
|
||||
|
||||
<input type="button" align="bottom" value="Cancel" onclick="DoCancel();">
|
||||
</input>
|
||||
|
||||
<input type="button" align="bottom" value="OK" onClick="DoSave();">
|
||||
</input>
|
||||
|
||||
</form>
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -1,65 +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;
|
||||
}
|
||||
|
||||
|
|
@ -1,194 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="preftree.css" type="text/css"?>
|
||||
|
||||
<!DOCTYPE window
|
||||
[
|
||||
<!ENTITY appear.label "Appearance">
|
||||
<!ENTITY fonts.label "Fonts">
|
||||
<!ENTITY colors.label "Colors">
|
||||
<!ENTITY navigator.label "Navigator">
|
||||
<!ENTITY languages.label "Languages">
|
||||
<!ENTITY applications.label "Applications">
|
||||
<!ENTITY smartBrowse.label "Smart Browsing">
|
||||
<!ENTITY mail.label "Mail & News">
|
||||
<!ENTITY identity.label "Identity">
|
||||
<!ENTITY mailServer.label "Mail Servers">
|
||||
<!ENTITY newsServer.label "News Servers">
|
||||
<!ENTITY address.label "Addressing">
|
||||
<!ENTITY mess.label "Messages">
|
||||
<!ENTITY windowSet.label "Window Settings">
|
||||
<!ENTITY copyFolder.label "Copies & Folders">
|
||||
<!ENTITY format.label "Formatting">
|
||||
<!ENTITY return.label "Return Receipts">
|
||||
<!ENTITY disk.label "Disk Space">
|
||||
<!ENTITY compose.label "Composer">
|
||||
<!ENTITY publish.label "Publish">
|
||||
<!ENTITY offline.label "Offline">
|
||||
<!ENTITY advance.label "Advanced">
|
||||
<!ENTITY down.label "Download">
|
||||
<!ENTITY cache.label "Cache">
|
||||
<!ENTITY proxies.label "Proxies">
|
||||
<!ENTITY smart.label "Smart Update">
|
||||
|
||||
]
|
||||
|
||||
>
|
||||
|
||||
<xul:window xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload = "ChangePanelURL(pref-appearance.html);">
|
||||
|
||||
<html:script>
|
||||
|
||||
function ClickChangePanel(node)
|
||||
{
|
||||
url = node.getAttribute('name');
|
||||
ChangePanelURL(url);
|
||||
}
|
||||
|
||||
function ChangePanelURL(url)
|
||||
{
|
||||
dump("ChangePanel(" + url + ")\n");
|
||||
var prefsCore = XPAppCoresManager.Find("PrefsCore");
|
||||
if (!prefsCore)
|
||||
{
|
||||
prefsCore = new PrefsCore();
|
||||
if (prefsCore)
|
||||
{
|
||||
prefsCore.Init("PrefsCore");
|
||||
}
|
||||
}
|
||||
if (prefsCore)
|
||||
{
|
||||
prefsCore.ChangePanel(url);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
</html:script>
|
||||
|
||||
<tree onclick="return ClickChangePanel(event.target);">
|
||||
|
||||
<treebody>
|
||||
|
||||
<treeitem>
|
||||
|
||||
<treecell name="resource://res/samples/pref-appearance.html"><treeindentation/>&appear.label;</treecell>
|
||||
|
||||
<treechildren>
|
||||
<treeitem>
|
||||
<treecell name="resource://res/samples/pref-fonts.html"><treeindentation/>&fonts.label;</treecell>
|
||||
</treeitem>
|
||||
<treeitem>
|
||||
<treecell name="resource://res/samples/pref-colors.html"><treeindentation/>&colors.label;</treecell>
|
||||
</treeitem>
|
||||
</treechildren>
|
||||
|
||||
</treeitem>
|
||||
|
||||
<treeitem>
|
||||
|
||||
<treecell name="resource://res/samples/pref-navigator.html"><treeindentation/>&navigator.label;</treecell>
|
||||
|
||||
<treechildren>
|
||||
<treeitem>
|
||||
<treecell><treeindentation/>&languages.label;</treecell>
|
||||
</treeitem>
|
||||
<treeitem>
|
||||
<treecell name="resource://res/samples/pref-applications.html"><treeindentation/>&applications.label;</treecell>
|
||||
</treeitem>
|
||||
<treeitem>
|
||||
<treecell name="resource://res/samples/pref-smart_browsing.html"><treeindentation/>&smartBrowse.label;</treecell>
|
||||
</treeitem>
|
||||
</treechildren>
|
||||
|
||||
</treeitem>
|
||||
|
||||
<treeitem>
|
||||
|
||||
<treecell name="chrome://messenger/content/pref-mailnews.html"><treeindentation/>&mail.label;</treecell>
|
||||
|
||||
<treechildren>
|
||||
<treeitem>
|
||||
<treecell name="chrome://messenger/content/pref-identity.html"><treeindentation/>&identity.label;</treecell>
|
||||
</treeitem>
|
||||
<treeitem>
|
||||
<treecell name="chrome://messenger/content/pref-mailservers.html"><treeindentation/>&mailServer.label;</treecell>
|
||||
</treeitem>
|
||||
<treeitem>
|
||||
<treecell name="chrome://messenger/content/pref-newsservers.html"><treeindentation/>&newsServer.label;</treecell>
|
||||
</treeitem>
|
||||
<treeitem>
|
||||
<treecell name="chrome://addressbook/content/pref-addressing.html"><treeindentation/>&address.label;</treecell>
|
||||
</treeitem>
|
||||
<treeitem>
|
||||
<treecell name="chrome://messengercompose/content/pref-messages.html"><treeindentation/>&mess.label;</treecell>
|
||||
</treeitem>
|
||||
<treeitem>
|
||||
<treecell name="chrome://messenger/content/pref-winsetting.html"><treeindentation/>&windowSet.label;</treecell>
|
||||
</treeitem>
|
||||
<treeitem>
|
||||
<treecell name="chrome://messengercompose/content/pref-copiesfolders.html"><treeindentation/>©Folder.label;</treecell>
|
||||
</treeitem>
|
||||
<treeitem>
|
||||
<treecell name="chrome://messengercompose/content/pref-formatting.html"><treeindentation/>&format.label;</treecell>
|
||||
</treeitem>
|
||||
<treeitem>
|
||||
<treecell name="chrome://messenger/content/pref-receipts.html"><treeindentation/>&return.label;</treecell>
|
||||
</treeitem>
|
||||
<treeitem>
|
||||
<treecell name="chrome://messenger/content/pref-diskspace.html"><treeindentation/>&disk.label;</treecell>
|
||||
</treeitem>
|
||||
</treechildren>
|
||||
|
||||
</treeitem>
|
||||
|
||||
<treeitem>
|
||||
|
||||
<treecell name="resource://res/samples/pref-composer.html"><treeindentation/>&compose.label;</treecell>
|
||||
|
||||
<treechildren>
|
||||
<treeitem>
|
||||
<treecell name="resource://res/samples/pref-publish.html"><treeindentation/>&publish.label;</treecell>
|
||||
</treeitem>
|
||||
</treechildren>
|
||||
|
||||
</treeitem>
|
||||
|
||||
|
||||
<treeitem>
|
||||
|
||||
<treecell name="resource://res/samples/pref-offline.html"><treeindentation/>&offline.label;</treecell>
|
||||
|
||||
<treechildren>
|
||||
<treeitem>
|
||||
<treecell name="resource://res/samples/pref-download.html"><treeindentation/>&down.label;</treecell>
|
||||
</treeitem>
|
||||
</treechildren>
|
||||
|
||||
</treeitem>
|
||||
|
||||
<treeitem>
|
||||
|
||||
<treecell name="resource://res/samples/pref-advanced.html"><treeindentation/>&advance.label;</treecell>
|
||||
|
||||
<treechildren>
|
||||
<treeitem>
|
||||
<treecell name="resource://res/samples/pref-cache.html"><treeindentation/>&cache.label;</treecell>
|
||||
</treeitem>
|
||||
<treeitem>
|
||||
<treecell name="resource://res/samples/pref-proxies.html"><treeindentation/>&proxies.label;</treecell>
|
||||
</treeitem>
|
||||
<treeitem>
|
||||
<treecell name="resource://res/samples/pref-smartupdate.html"><treeindentation/>&smart.label;</treecell>
|
||||
</treeitem>
|
||||
</treechildren>
|
||||
|
||||
</treeitem>
|
||||
|
||||
</treebody>
|
||||
|
||||
</tree>
|
||||
|
||||
</xul:window>
|
Загрузка…
Ссылка в новой задаче