mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Moved all of these files to mozilla/profile/resources.
This commit is contained in:
parent
88cc0558b7
commit
6c2c42c9cb
@ -1,51 +0,0 @@
|
||||
window {
|
||||
display: block;
|
||||
width: 100%;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
tree {
|
||||
display: table;
|
||||
background-color: #000000;
|
||||
border: none;
|
||||
border-spacing: 0px;
|
||||
//border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
treeitem {
|
||||
display: table-row;
|
||||
}
|
||||
|
||||
treehead {
|
||||
display: table-header-group;
|
||||
}
|
||||
|
||||
treebody {
|
||||
display: table-row-group;
|
||||
|
||||
}
|
||||
|
||||
treecell {
|
||||
display: table-cell;
|
||||
color: white;
|
||||
font-family: Verdana;
|
||||
font-size: 10pt;
|
||||
}
|
||||
|
||||
treehead treeitem treecell {
|
||||
background-color: #a0a0a0;
|
||||
border: thin black solid;
|
||||
color: black;
|
||||
}
|
||||
|
||||
icon {
|
||||
display: list-item;
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
list-style-image: url("resource:/res/mailnews/messenger/closedMailFolder.gif");
|
||||
}
|
||||
|
||||
treecell[selected] {
|
||||
background-color: #000080;
|
||||
}
|
@ -1,50 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="common.css" type="text/css"?>
|
||||
|
||||
<!DOCTYPE window>
|
||||
|
||||
<xul:window
|
||||
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns="http://www.w3.org/TR/REC-html40">
|
||||
|
||||
|
||||
<script>
|
||||
function commit()
|
||||
{
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
<b>Communicator Profile Manager</b>
|
||||
<p>
|
||||
Creating a New Profile
|
||||
<br></br>
|
||||
Communicator stores information about your settings, preferences, bookmarks and
|
||||
<br></br>
|
||||
stored messages in your personal profile.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
If you are sharing this copy of Communicator with other users, you can use profiles
|
||||
<br></br>
|
||||
to keep each user's information separate. To do this, each user should create his or
|
||||
<br></br>
|
||||
her own profile and optionally protect it with a password.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
If you are the only person using this copy of Communicator, you must create atleast
|
||||
<br></br>
|
||||
one profile. If you would like, you can create multiple profiles for yourself to store
|
||||
<br></br>
|
||||
different sets of setting and preferences. For example, you may want to have separate
|
||||
<br></br>
|
||||
profiles for business and personal use.
|
||||
</p>
|
||||
|
||||
|
||||
<p>
|
||||
To begin Creating your profile, click Next.
|
||||
</p>
|
||||
|
||||
</xul:window>
|
@ -1,52 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="common.css" type="text/css"?>
|
||||
|
||||
<!DOCTYPE window>
|
||||
|
||||
<xul:window
|
||||
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns="http://www.w3.org/TR/REC-html40">
|
||||
|
||||
|
||||
<script>
|
||||
function commit()
|
||||
{
|
||||
var element;
|
||||
|
||||
element = document.getElementById("ProfileName");
|
||||
parent.SetValue(element.id, element.value);
|
||||
|
||||
element = document.getElementById("ProfileDir");
|
||||
data += "ProfileDir="+element.value+"%";
|
||||
parent.SetValue(element.id, element.value);
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
<p>
|
||||
If you create several profiles you can tell them apart by the profile names.
|
||||
<br></br>
|
||||
You may use the name provided here or use one of your own.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Enter New Profile name
|
||||
<br></br>
|
||||
<input type="text" id="ProfileName" size="30"/>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Your user settings, preferences, bookmarks and stored messages will be
|
||||
<br></br>
|
||||
stored in the directory below. We recommend that you use the default
|
||||
<br></br>
|
||||
directory (by leaving the box blank).
|
||||
<br></br>
|
||||
<input type="text" id="ProfileDir" size="30"/>
|
||||
</p>
|
||||
|
||||
|
||||
<p>
|
||||
Please click Next to continue
|
||||
</p>
|
||||
</xul:window>
|
@ -1,48 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="common.css" type="text/css"?>
|
||||
|
||||
<!DOCTYPE window>
|
||||
|
||||
<xul:window
|
||||
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns="http://www.w3.org/TR/REC-html40">
|
||||
|
||||
|
||||
<script>
|
||||
function commit()
|
||||
{
|
||||
var element;
|
||||
|
||||
element = document.getElementById("FullName");
|
||||
parent.SetValue(element.id, element.value);
|
||||
|
||||
element = document.getElementById("Email");
|
||||
data += "ProfileDir="+element.value+"%";
|
||||
parent.SetValue(element.id, element.value);
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
<p>
|
||||
Please Enter name and information for the profile. This information will be
|
||||
<br></br>
|
||||
saved in the preferences of the new profile.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Full name
|
||||
<br></br>
|
||||
<input type="text" id="FullName" size="30"/> (e.g. John Smith)
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Email Address if available
|
||||
<br></br>
|
||||
<input type="text" id="Email" size="30"/> (e.g. jsmith@company.com)
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Please click Next to continue
|
||||
</p>
|
||||
|
||||
</xul:window>
|
@ -1,47 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="common.css" type="text/css"?>
|
||||
|
||||
<!DOCTYPE window>
|
||||
|
||||
<xul:window
|
||||
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns="http://www.w3.org/TR/REC-html40">
|
||||
|
||||
|
||||
<script>
|
||||
function commit()
|
||||
{
|
||||
var element;
|
||||
|
||||
element = document.getElementById("SMTP");
|
||||
parent.SetValue(element.id, element.value);
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
<p>
|
||||
Communicator now has enough information to setup your basic profile.
|
||||
<br></br>
|
||||
However, Communicator needs additional information if you want to
|
||||
<br></br>
|
||||
send or receive email or use newsgroups. If you do not know the
|
||||
<br></br>
|
||||
information requested, please contact your system administrator or
|
||||
<br></br>
|
||||
Internet Service Provider.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Outgoing SMTP server
|
||||
<br></br>
|
||||
<input type="text" id="SMTP" size="30"/>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>
|
||||
Click Exit and start apprunner again for this new profile
|
||||
to be used.
|
||||
</b>
|
||||
</p>
|
||||
|
||||
</xul:window>
|
@ -1,110 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="common.css" type="text/css"?>
|
||||
|
||||
<!DOCTYPE window>
|
||||
|
||||
|
||||
<window
|
||||
xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns:rdf="http://www.w3.org/TR/WD-rdf-syntax#"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
title="CreateProfile Wizard">
|
||||
|
||||
|
||||
<html:script>
|
||||
|
||||
var toolkitCore;
|
||||
nameGlobal = new Array();
|
||||
nameArray = new Array();
|
||||
count = 0;
|
||||
|
||||
function Startup()
|
||||
{
|
||||
dump("Doing Startup...\n");
|
||||
toolkitCore = XPAppCoresManager.Find("toolkitCore");
|
||||
if (!toolkitCore) {
|
||||
toolkitCore = new ToolkitCore();
|
||||
|
||||
if (toolkitCore) {
|
||||
toolkitCore.Init("toolkitCore");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function SetValue(name, value)
|
||||
{
|
||||
dump("Inside SetValue\n");
|
||||
var found = false;
|
||||
for (i = 0; i !=count; i++) {
|
||||
if (nameArray[i] == name) {
|
||||
dump("Name exists: "+nameGlobal[i]+"\n");
|
||||
nameGlobal[i] = name+"="+value+"%";
|
||||
dump("New values: "+name+" "+value+"\n");
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (!found) {
|
||||
dump("Name does not exist\n");
|
||||
nameGlobal[count] = name+"="+value+"%";
|
||||
dump("Name Value: "+name+" "+value+"\n");
|
||||
|
||||
nameArray[count] = name;
|
||||
count++;
|
||||
}
|
||||
}
|
||||
|
||||
function Finish()
|
||||
{
|
||||
var data = "";
|
||||
var i = 0;
|
||||
dump("before for loop\n");
|
||||
for (i = 0; i !=count; i++) {
|
||||
data = data+nameGlobal[i];
|
||||
}
|
||||
dump("DATA IS: "+data+"\n");
|
||||
|
||||
|
||||
dump("calling javascript reflection\n");
|
||||
var profileCore = XPAppCoresManager.Find("ProfileCore");
|
||||
if (!profileCore)
|
||||
{
|
||||
dump("!profileCore\n");
|
||||
profileCore = new ProfileCore();
|
||||
dump("!profileCore\n");
|
||||
|
||||
if (profileCore) {
|
||||
dump("after ! yes profileCore in if loop\n");
|
||||
profileCore.Init("ProfileCore");
|
||||
}
|
||||
else {
|
||||
dump("profile not created\n");
|
||||
}
|
||||
}
|
||||
|
||||
if (profileCore) {
|
||||
dump("yes profileCore\n");
|
||||
profileCore.CreateNewProfile(data);
|
||||
}
|
||||
|
||||
toolkitCore = XPAppCoresManager.Find("toolkitCore");
|
||||
if (!toolkitCore) {
|
||||
toolkitCore = new ToolkitCore();
|
||||
|
||||
if (toolkitCore) {
|
||||
toolkitCore.Init("toolkitCore");
|
||||
}
|
||||
}
|
||||
if (toolkitCore) {
|
||||
toolkitCore.CloseWindow(parent);
|
||||
}
|
||||
}
|
||||
|
||||
</html:script>
|
||||
|
||||
<html:iframe src="content1.xul" name="frame1" width="100%" height="410px"> </html:iframe>
|
||||
<html:iframe src="navigation.xul" name="frame2" width="100%" height="90px"> </html:iframe>
|
||||
|
||||
</window>
|
@ -1,75 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="common.css" type="text/css"?>
|
||||
|
||||
<!DOCTYPE window>
|
||||
|
||||
|
||||
<window
|
||||
xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns:rdf="http://www.w3.org/TR/WD-rdf-syntax#"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
|
||||
<html:script>
|
||||
var count = 0;
|
||||
|
||||
pages = new Object();
|
||||
pages[0] = "resource:/res/mailnews/messenger/content1.xul";
|
||||
pages[1] = "resource:/res/mailnews/messenger/content2.xul";
|
||||
pages[2] = "resource:/res/mailnews/messenger/content3.xul";
|
||||
pages[3] = "resource:/res/mailnews/messenger/content4.xul";
|
||||
|
||||
function BrowserLoadURL(func)
|
||||
{
|
||||
if (func == "Prev") {
|
||||
if (count > 0) {
|
||||
count = count - 1;
|
||||
}
|
||||
}
|
||||
|
||||
if (func == "Next") {
|
||||
if (count != 3) {
|
||||
count = count + 1;
|
||||
}
|
||||
}
|
||||
|
||||
parent.frames[0].commit();
|
||||
parent.frames[0].location.replace( pages[count] );
|
||||
}
|
||||
|
||||
|
||||
function SetValue(name, value)
|
||||
{
|
||||
dump("Set Value");
|
||||
dump("name: "+name+"\n");
|
||||
dump("value: "+value+"\n");
|
||||
}
|
||||
|
||||
|
||||
function ExitWizard()
|
||||
{
|
||||
parent.frames[0].commit();
|
||||
parent.Finish();
|
||||
var toolkitCore = XPAppCoresManager.Find("toolkitCore");
|
||||
if (!toolkitCore) {
|
||||
toolkitCore = new ToolkitCore();
|
||||
|
||||
if (toolkitCore) {
|
||||
toolkitCore.Init("toolkitCore");
|
||||
}
|
||||
}
|
||||
|
||||
if (toolkitCore) {
|
||||
toolkitCore.CloseWindow(parent);
|
||||
}
|
||||
}
|
||||
</html:script>
|
||||
|
||||
|
||||
<html:center>
|
||||
<html:button onclick="BrowserLoadURL('Prev');"> Prev </html:button>
|
||||
<html:button onclick="BrowserLoadURL('Next');"> Next </html:button>
|
||||
<html:button onclick="ExitWizard();"> Exit </html:button>
|
||||
</html:center>
|
||||
|
||||
</window>
|
Loading…
Reference in New Issue
Block a user