diff --git a/xpfe/AppCores/public/nsIDOMPrefsCore.h b/xpfe/AppCores/public/nsIDOMPrefsCore.h deleted file mode 100644 index f65d258cea41..000000000000 --- a/xpfe/AppCores/public/nsIDOMPrefsCore.h +++ /dev/null @@ -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__ diff --git a/xpfe/AppCores/src/nsJSPrefsCore.cpp b/xpfe/AppCores/src/nsJSPrefsCore.cpp deleted file mode 100644 index 5486c2326bdc..000000000000 --- a/xpfe/AppCores/src/nsJSPrefsCore.cpp +++ /dev/null @@ -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; -} diff --git a/xpfe/AppCores/xul/PrefsWindow.html b/xpfe/AppCores/xul/PrefsWindow.html deleted file mode 100644 index 47f7f3229e5a..000000000000 --- a/xpfe/AppCores/xul/PrefsWindow.html +++ /dev/null @@ -1,59 +0,0 @@ - - - -Preferences - - - - - - - - Category: -
- - - - - - - - - -
-
-
- - - - - - - - - - -
-
-
- - - - - - - - diff --git a/xpfe/AppCores/xul/PrefsWindow.js b/xpfe/AppCores/xul/PrefsWindow.js deleted file mode 100644 index 5bbf21c274a8..000000000000 --- a/xpfe/AppCores/xul/PrefsWindow.js +++ /dev/null @@ -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(); -} diff --git a/xpfe/AppCores/xul/PrefsWindow.xul b/xpfe/AppCores/xul/PrefsWindow.xul deleted file mode 100644 index 94b4e547dd99..000000000000 --- a/xpfe/AppCores/xul/PrefsWindow.xul +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - -] - -> - - - - - - - - &categoryHeader; - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/xpfe/AppCores/xul/pref-advanced.html b/xpfe/AppCores/xul/pref-advanced.html deleted file mode 100644 index fce26de852db..000000000000 --- a/xpfe/AppCores/xul/pref-advanced.html +++ /dev/null @@ -1,44 +0,0 @@ - - - -Sample Prefs Panel - - - - - - - -
- Advanced -
- -
- - - - - - - - - -
-
- Cookies - -
- - - - - -
-
- - - diff --git a/xpfe/AppCores/xul/pref-advanced.xul b/xpfe/AppCores/xul/pref-advanced.xul deleted file mode 100644 index fe3a97f25262..000000000000 --- a/xpfe/AppCores/xul/pref-advanced.xul +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - - - - - - - - - - - - - -] - -> - - - - - - - - - &advHeader; - - - - - - - - - &autoLoadImgCheck.label; - - - - - - &enbJavaCheck.label; - - - - - - &enbJsCheck.label; - - - - - - &enbJsCheck.labelforMailNNews; - - - - - - &enbCssCheck.label; - - - - - - &sendAddFtpCheck.label; - - - - - - &cookies; - - - - - &accAllCookiesRadio.label; - - - - - - &accpOrgCookiesRadio.label; - - - - - - &disCookRadio.label; - - - - - - &warnCookCheck.label; - - - - - - \ No newline at end of file diff --git a/xpfe/AppCores/xul/pref-appearance.html b/xpfe/AppCores/xul/pref-appearance.html deleted file mode 100644 index 13c68a37e7c3..000000000000 --- a/xpfe/AppCores/xul/pref-appearance.html +++ /dev/null @@ -1,42 +0,0 @@ - - - -Sample Prefs Panel - - - - - - - -
- Appearance -
- - On startup, launch - -
- - - - - -
-
- - Show toolbars as - -
- - - - -
-
- - - diff --git a/xpfe/AppCores/xul/pref-appearance.xul b/xpfe/AppCores/xul/pref-appearance.xul deleted file mode 100644 index 5a8e22b7594c..000000000000 --- a/xpfe/AppCores/xul/pref-appearance.xul +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - - - - - - - - - - -]> - - - - - - - - - - &appear; - - - &onStartLegend.label; - - - &navCheck.label; - &mesCheck.label; - &compCheck.label; - &calCheck.label; - - - - &showToolsLegend.label; - - - - &picsNtextRadio.label; - &picsOnlyRadio.label; - &textonlyRadio.label; - - - \ No newline at end of file diff --git a/xpfe/AppCores/xul/pref-applications.html b/xpfe/AppCores/xul/pref-applications.html deleted file mode 100644 index 3cfa0e9b355e..000000000000 --- a/xpfe/AppCores/xul/pref-applications.html +++ /dev/null @@ -1,50 +0,0 @@ - - -Sample Prefs Panel - - - - - - - -
- Applications -
- - - - - - - - - -
Description
-
- - - -
-
-
-
- - - - - - - - -
File type details
Extention:
Mime Type
Handled By:
- - - - - diff --git a/xpfe/AppCores/xul/pref-applications.xul b/xpfe/AppCores/xul/pref-applications.xul deleted file mode 100644 index 28dec0b46278..000000000000 --- a/xpfe/AppCores/xul/pref-applications.xul +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - - - - - - - - - - -]> - - - - - - - - - - &appsHeader; - - - - - &descript; - - - - - &aimLaunchSelect.label; - - - - - - - - - - - - - - &file; - &exten; - &mimeType; - &handle; - - - - \ No newline at end of file diff --git a/xpfe/AppCores/xul/pref-cache.html b/xpfe/AppCores/xul/pref-cache.html deleted file mode 100644 index 15cb07bdcfdd..000000000000 --- a/xpfe/AppCores/xul/pref-cache.html +++ /dev/null @@ -1,53 +0,0 @@ - - -Sample Prefs Panel - - - - - - - -
- Cache -
- - - - - - - - - -
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. -
Memory Cache:Kbytes
Disk Cache:Kbytes
-External Editors - - - - - - - - - - -
Html Source
Images:
- - - Document in cache is compared to document on network: - - - - - -
- - - diff --git a/xpfe/AppCores/xul/pref-cache.xul b/xpfe/AppCores/xul/pref-cache.xul deleted file mode 100644 index e02b6686dbcc..000000000000 --- a/xpfe/AppCores/xul/pref-cache.xul +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - -]> - - - - - - - - &cacheHeader; - - - - - &cachePara; - - &memCache;&kbyes; - Disk Cache:&kbyes; - - - - - &docCache; - &oncePsessionRadio.label; - &everyTimeRadio.label; - &neverRadio.label; - - - \ No newline at end of file diff --git a/xpfe/AppCores/xul/pref-colors.html b/xpfe/AppCores/xul/pref-colors.html deleted file mode 100644 index 07d7900341cb..000000000000 --- a/xpfe/AppCores/xul/pref-colors.html +++ /dev/null @@ -1,60 +0,0 @@ - - -Sample Prefs Panel - - - - - - - -
- Colors -
- - - - - - - - - - - - - -
Text:Color Picker -
Background:Color Picker
- - -Links - - - - - - - - - - -
Unvisited Links:Color Picker -
Visited Links:Color Picker
-
- - - - - - - -
Sometimes a document will provide its own colors and background.
- - - - - diff --git a/xpfe/AppCores/xul/pref-colors.xul b/xpfe/AppCores/xul/pref-colors.xul deleted file mode 100644 index cbe80cc5990e..000000000000 --- a/xpfe/AppCores/xul/pref-colors.xul +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - - - - - - - - - -] -> - - - - - - - - - - - &colorsHeader; - - - - - &text;&text; - &background;&colorPick; - &useWinColorsCheck.label; - - - -&links; - - &unvisit;&colorPick; - &visit;&colorPick; - &underLinksCheck.label; - - - - - &someProvColors; - &alwaysOverCheck.label; - - \ No newline at end of file diff --git a/xpfe/AppCores/xul/pref-composer.html b/xpfe/AppCores/xul/pref-composer.html deleted file mode 100644 index 829d178d4e16..000000000000 --- a/xpfe/AppCores/xul/pref-composer.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - -
- Composer -
- - - - - - - - - -
Author Name:
Automatically save page every minutes
-External Editors - - - - - - - - -
Html Source
Images:
- - Font Size - - - - - -
- - - diff --git a/xpfe/AppCores/xul/pref-composer.xul b/xpfe/AppCores/xul/pref-composer.xul deleted file mode 100644 index 29c744f17b01..000000000000 --- a/xpfe/AppCores/xul/pref-composer.xul +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - - - - - - - -]> - - - - - - - - - - - - &compheader; - - - - - &authorName; - &AutoSaveCheck.label; - &minText; - - -&exterLegand.label; -
- - &htmlSource; - - - - &img; - - - -
-
-&fontSizeHeader; - - - &relSizeRadio.label; - &relfontRadio.label; - &relScaleRadio.label; - -
-
\ No newline at end of file diff --git a/xpfe/AppCores/xul/pref-download.html b/xpfe/AppCores/xul/pref-download.html deleted file mode 100644 index fdbd3b5994b6..000000000000 --- a/xpfe/AppCores/xul/pref-download.html +++ /dev/null @@ -1,52 +0,0 @@ - - -Sample Prefs Panel - - - - - - - -
- Download -
- -Newsgroup Messages - - - - - - -
-All Messages - - - - - - -
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.
- - - - - diff --git a/xpfe/AppCores/xul/pref-download.xul b/xpfe/AppCores/xul/pref-download.xul deleted file mode 100644 index bcbf661bbd11..000000000000 --- a/xpfe/AppCores/xul/pref-download.xul +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - -]> - - - - - - - - - - Download - - -&newmes; - - Download only unread messages - Download by date - - - &fromRadio.label; - - - &one.select; - &two.select; - &oneM.select; - &sixM.select; - &oneY.select; - - - - &sinceRadio.label; - &daysAgo; - - - -&Allmsg; - - &offlineMsgs; - - - - - - \ No newline at end of file diff --git a/xpfe/AppCores/xul/pref-fonts.html b/xpfe/AppCores/xul/pref-fonts.html deleted file mode 100644 index 6cf16d0d6dbb..000000000000 --- a/xpfe/AppCores/xul/pref-fonts.html +++ /dev/null @@ -1,46 +0,0 @@ - - -Sample Prefs Panel - - - - - - - -
- Fonts -
- - - - - - - - - - - - - -
For the Encoding:Size
Variable Width Font:Size
Fixed Width Font:
-
- - - - - - - - -
Sometimes a document will provide its own fonts.
- - - - - diff --git a/xpfe/AppCores/xul/pref-fonts.xul b/xpfe/AppCores/xul/pref-fonts.xul deleted file mode 100644 index 6f4823aac56d..000000000000 --- a/xpfe/AppCores/xul/pref-fonts.xul +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - - - - - - - - - - - - - - - -]> - - - - - - - - &header; - - - - - - - &encod.select; - - - - - &encod1.option; - - - - &size.select; - - - &size1.option; - - - - - &varFont.select; - - - - Filler - - - - &size.select; - - - &varFont.option; - - - - - - &fixedFont.Select; - - - - - &fixedFont.option; - - - - - - - - - &header2; - - &useDefaultFontRadio; - &useDocFontRadio; - &useDocFontsRadio; - - \ No newline at end of file diff --git a/xpfe/AppCores/xul/pref-languages.html b/xpfe/AppCores/xul/pref-languages.html deleted file mode 100644 index 5746f4b91843..000000000000 --- a/xpfe/AppCores/xul/pref-languages.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - Languages - - - - - - - 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. - - - - English - - - - - - - - - - - - -
\ No newline at end of file diff --git a/xpfe/AppCores/xul/pref-languages.xul b/xpfe/AppCores/xul/pref-languages.xul deleted file mode 100644 index b2856c12a367..000000000000 --- a/xpfe/AppCores/xul/pref-languages.xul +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - -] -> - - - - - - - - - - &LangHeader; - - - - - &prefLangDecript; - - - - - &engOption.label; - - - - - - - - - - - - -
\ No newline at end of file diff --git a/xpfe/AppCores/xul/pref-navigator.html b/xpfe/AppCores/xul/pref-navigator.html deleted file mode 100644 index b2f10a89ce44..000000000000 --- a/xpfe/AppCores/xul/pref-navigator.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - -
-Navigator -
- -Navigator starts with - - - - - - - - - -
- -Homepage - - - - - - -
Clicking the Home button will take you to this page.
Location: -
- -
- -History - - - - - - - - -
History is a list of the pages you have previously visited.
Pages in history expire after:days - -
- - -Homepage - - - - -
Clear the list of sites on the location bar: - -
- - \ No newline at end of file diff --git a/xpfe/AppCores/xul/pref-navigator.xul b/xpfe/AppCores/xul/pref-navigator.xul deleted file mode 100644 index ef712241cd2d..000000000000 --- a/xpfe/AppCores/xul/pref-navigator.xul +++ /dev/null @@ -1,88 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]> - - - - - - - - - - - -Navigator - - -&navRadio; - - &blankRadio; - - &header2.label; - - &lastPageRadio; - - - -&header2.label; - - &clickRadio; - &location; - - - - - - -&header3.label; - - - &historyPages; - - - &pagesHis;&daysRadio; - - - - - -&header4.label; - - &clearBar; - - - - - \ No newline at end of file diff --git a/xpfe/AppCores/xul/pref-offline.html b/xpfe/AppCores/xul/pref-offline.html deleted file mode 100644 index 137ee1796f54..000000000000 --- a/xpfe/AppCores/xul/pref-offline.html +++ /dev/null @@ -1,50 +0,0 @@ - - -Sample Prefs Panel - - - - - - - -
- Offline -
- -Startup State - - - - - -
-When going Online - - - - - - - -
-When Exiting Communticator - - - - -
- - - - diff --git a/xpfe/AppCores/xul/pref-offline.xul b/xpfe/AppCores/xul/pref-offline.xul deleted file mode 100644 index eecd7a02d258..000000000000 --- a/xpfe/AppCores/xul/pref-offline.xul +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - -]> - - - - - - - - - - &header; - - - - -&header1; - - &descipt1; - - - &prevRadio.label; - &communRemember; - - - &askOfflineRadio.label; - &offlineStartAskEach; - - - -&heaeder2; - - - - &unsentAskRadio.label; - &unsentAutoRadio.label; - &unsentDoNotRadio.label; - -&header3; - - - - &promptSynchCheck.label; - - - - - \ No newline at end of file diff --git a/xpfe/AppCores/xul/pref-proxies.html b/xpfe/AppCores/xul/pref-proxies.html deleted file mode 100644 index 0ee5a74ffae3..000000000000 --- a/xpfe/AppCores/xul/pref-proxies.html +++ /dev/null @@ -1,34 +0,0 @@ - - -Sample Prefs Panel - - - - - - - -
- Proxies -
- - - - 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. - - - - - - - - -
- - - diff --git a/xpfe/AppCores/xul/pref-proxies.xul b/xpfe/AppCores/xul/pref-proxies.xul deleted file mode 100644 index c2553c4b136d..000000000000 --- a/xpfe/AppCores/xul/pref-proxies.xul +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - - - - - - -]> - - - - - - - - - - &proxiesHeader.label; - - - - - &networkHeader.label; - - &directTypeRadio.label; - - - &manualTypeRadio.label; - - - &autoTypeRadio.label; - - &configAutoconfigText.label; - - - - - - diff --git a/xpfe/AppCores/xul/pref-publish.html b/xpfe/AppCores/xul/pref-publish.html deleted file mode 100644 index f3ae7bd025c1..000000000000 --- a/xpfe/AppCores/xul/pref-publish.html +++ /dev/null @@ -1,45 +0,0 @@ - - -Sample Prefs Panel - - - - - - - -
- Composer -
- - - - - - - Tip:Check both options if you will be using remote publishing. - - -
Maintain links. -
Adjust links to work from the page's location.(Links to local pages will work when - local versions exist.) -
Keep images with page. -
Save copies of images to the page's location. Images will always appear in local versions - of the page and when page is published.
- -Default publishing location - - - - - - - - -
Enter a FTP or HTTP site address to Publish to:
If publishing to a FTP site, enter the HTTP address to browse to:
- - - diff --git a/xpfe/AppCores/xul/pref-publish.xul b/xpfe/AppCores/xul/pref-publish.xul deleted file mode 100644 index dc9a1200f144..000000000000 --- a/xpfe/AppCores/xul/pref-publish.xul +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - - - - - - - - - - - -]> - - - - - - - - - - - &composerHeader.label; - - - - - - - &maintainCheckbox.label; - &adjustDesc.label; - - - &keepCheck.label; - &saveDesc.label; - - &tip.label; - -&defaultHeader.label; - - - - &publishFtp.label; - - - - - - &publishhtp.label; - - - - - - - - - \ No newline at end of file diff --git a/xpfe/AppCores/xul/pref-select.html b/xpfe/AppCores/xul/pref-select.html deleted file mode 100644 index fa998b28be33..000000000000 --- a/xpfe/AppCores/xul/pref-select.html +++ /dev/null @@ -1,46 +0,0 @@ - - -Sample Prefs Panel - - - - - - - -
- Fonts -
- - - - - - - - - - - - - -
For the Encoding:Size
Variable Width Font:Size
Fixed Width Font:
-
- - - - - - - - -
Sometimes a document will provide its own fonts.
Use my default fonts, overriding document-specified fonts
Use document-specified fonts. but disable Dynamic Fonts
use docuent-specified fonts, but disable Dynamic Fonts
- - - - - diff --git a/xpfe/AppCores/xul/pref-smart_browsing.html b/xpfe/AppCores/xul/pref-smart_browsing.html deleted file mode 100644 index b60b72364625..000000000000 --- a/xpfe/AppCores/xul/pref-smart_browsing.html +++ /dev/null @@ -1,51 +0,0 @@ - - -Sample Prefs Panel - - - - - - - -
- Smart Browsing -
- - - - - - - - - - - - - - - -
Enable Internet Keywords
Automatically load "What's Related" information
Never
After first use
Always
Do not request "What's Related" information for the following - domains(a comma-separated list)
-
- -
-
- - - - - - -
Internet Keywords
Enable Internet Keywords
- - - - - diff --git a/xpfe/AppCores/xul/pref-smart_browsing.xul b/xpfe/AppCores/xul/pref-smart_browsing.xul deleted file mode 100644 index 657a4bc8434d..000000000000 --- a/xpfe/AppCores/xul/pref-smart_browsing.xul +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - -]> - - - - - - - - - - - &smartHeader.label; - - - - - - &enableRelatedRadio.label; - - - &autoDecp.label; - - - &neverRadio; - - - &afterAutoloadFirstRadio; - - - - &afterAutoloadAlwaysRadio; - - - &doNotDecp.label; - - - - - - - - - - &internetKeywordsHeader.label; - - &enableKeyCheck.label; - - - \ No newline at end of file diff --git a/xpfe/AppCores/xul/pref-smartupdate.html b/xpfe/AppCores/xul/pref-smartupdate.html deleted file mode 100644 index 44590356ff4a..000000000000 --- a/xpfe/AppCores/xul/pref-smartupdate.html +++ /dev/null @@ -1,40 +0,0 @@ - - -Sample Prefs Panel - - - - - - - -
- Smart Update -
- - - - - - -
Enable SmartUpdate
Require manual confirmation of each install
- - -
- To uninstall, select from the following list and click the uninstall button. -
- - -
- - - - - - - diff --git a/xpfe/AppCores/xul/pref.css b/xpfe/AppCores/xul/pref.css deleted file mode 100644 index df1608100a5d..000000000000 --- a/xpfe/AppCores/xul/pref.css +++ /dev/null @@ -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; - } \ No newline at end of file diff --git a/xpfe/AppCores/xul/prefbottom.html b/xpfe/AppCores/xul/prefbottom.html deleted file mode 100644 index b46f766dabf7..000000000000 --- a/xpfe/AppCores/xul/prefbottom.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - - - - - -
-
-
- - - - - - - - - - -
-
-
- - - diff --git a/xpfe/AppCores/xul/preftree.css b/xpfe/AppCores/xul/preftree.css deleted file mode 100644 index aa53bb065638..000000000000 --- a/xpfe/AppCores/xul/preftree.css +++ /dev/null @@ -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; -} - - diff --git a/xpfe/AppCores/xul/preftree.xul b/xpfe/AppCores/xul/preftree.xul deleted file mode 100644 index ec9e668cb3d4..000000000000 --- a/xpfe/AppCores/xul/preftree.xul +++ /dev/null @@ -1,194 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -] - -> - - - - - - 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; - } - - - - - - - - - - &appear.label; - - - - &fonts.label; - - - &colors.label; - - - - - - - - &navigator.label; - - - - &languages.label; - - - &applications.label; - - - &smartBrowse.label; - - - - - - - - &mail.label; - - - - &identity.label; - - - &mailServer.label; - - - &newsServer.label; - - - &address.label; - - - &mess.label; - - - &windowSet.label; - - - ©Folder.label; - - - &format.label; - - - &return.label; - - - &disk.label; - - - - - - - - &compose.label; - - - - &publish.label; - - - - - - - - - &offline.label; - - - - &down.label; - - - - - - - - &advance.label; - - - - &cache.label; - - - &proxies.label; - - - &smart.label; - - - - - - - - - - \ No newline at end of file