mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
File Removed.
This commit is contained in:
parent
038309bc16
commit
b5adb52af2
@ -1,90 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
|
||||
<!-- The contents of this file are subject to the Netscape Public
|
||||
License Version 1.1 (the "License"); you may not use this file
|
||||
except in compliance with the License. You may obtain a copy of
|
||||
the License at http://www.mozilla.org/NPL/
|
||||
|
||||
Software distributed under the License is distributed on an "AS
|
||||
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
implied. See the License for the specific language governing
|
||||
rights and limitations under the License.
|
||||
|
||||
The Original Code is Mozilla Communicator client code, released
|
||||
March 31, 1998.
|
||||
|
||||
The Initial Developer of the Original Code is Netscape
|
||||
Communications Corporation. Portions created by Netscape are
|
||||
Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
||||
Rights Reserved.
|
||||
|
||||
Contributor(s): ______________________________________. -->
|
||||
|
||||
|
||||
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
||||
<!DOCTYPE window SYSTEM "chrome://navigator/locale/NetSupportAlert.dtd" >
|
||||
<window xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns:xul ="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
>
|
||||
<data>
|
||||
<broadcaster id="NetDialog:Message"/>
|
||||
</data>
|
||||
<dialog>
|
||||
<observes element="NetDialog:Message" attribute="text" onchange="onUpdate()"/>
|
||||
</dialog>
|
||||
<html:script>
|
||||
function onUpdate()
|
||||
{
|
||||
dump("onUpate \n");
|
||||
var msg = document.getElementById("NetDialog:Message");
|
||||
if ( msg)
|
||||
{
|
||||
var text = msg.getAttribute("text");
|
||||
dump( text +"\n" );
|
||||
var prompt = (document.getElementById("message"));
|
||||
if ( prompt )
|
||||
{
|
||||
dump(" setting message \n" );
|
||||
prompt.childNodes[0].nodeValue = text;
|
||||
}
|
||||
}
|
||||
|
||||
var msg = document.getElementById("NetDialog:CheckMessage");
|
||||
if ( msg)
|
||||
{
|
||||
var text = msg.getAttribute("text");
|
||||
dump( text +"\n" );
|
||||
var prompt = (document.getElementById("checkmessage"));
|
||||
if ( prompt )
|
||||
{
|
||||
dump(" setting message \n" );
|
||||
prompt.childNodes[0].nodeValue = text;
|
||||
}
|
||||
}
|
||||
}
|
||||
</html:script>
|
||||
|
||||
|
||||
|
||||
<html:table>
|
||||
<html:tr >
|
||||
<html:td>
|
||||
<html:img html:src="chrome://navigator/skin/alertl.gif"></html:img>
|
||||
</html:td>
|
||||
|
||||
<html:td>
|
||||
<html:span id="message">&m.label;</html:span>
|
||||
</html:td>
|
||||
|
||||
|
||||
</html:tr>
|
||||
|
||||
|
||||
<html:tr>
|
||||
<html:td></html:td>
|
||||
<html:td html:align="justify">
|
||||
<html:button id="OKButton">&ok.label;</html:button> </html:td>
|
||||
</html:tr>
|
||||
</html:table>
|
||||
</window>
|
@ -1,108 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
|
||||
<!-- The contents of this file are subject to the Netscape Public
|
||||
License Version 1.1 (the "License"); you may not use this file
|
||||
except in compliance with the License. You may obtain a copy of
|
||||
the License at http://www.mozilla.org/NPL/
|
||||
|
||||
Software distributed under the License is distributed on an "AS
|
||||
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
implied. See the License for the specific language governing
|
||||
rights and limitations under the License.
|
||||
|
||||
The Original Code is Mozilla Communicator client code, released
|
||||
March 31, 1998.
|
||||
|
||||
The Initial Developer of the Original Code is Netscape
|
||||
Communications Corporation. Portions created by Netscape are
|
||||
Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
||||
Rights Reserved.
|
||||
|
||||
Contributor(s): ______________________________________. -->
|
||||
|
||||
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
||||
|
||||
|
||||
<!DOCTYPE window SYSTEM "chrome://navigator/locale/NetSupportConfirmCheck.dtd" >
|
||||
|
||||
<window xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns:xul ="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
>
|
||||
<data>
|
||||
<broadcaster id="NetDialog:Message"/>
|
||||
<broadcaster id="NetDialog:CheckMessage"/>
|
||||
</data>
|
||||
<dialog>
|
||||
<observes element="NetDialog:Message" attribute="text" onchange="onUpdate()"/>
|
||||
<observes element="NetDialog:CheckMessage" attribute="text" onchange="onUpdate()"/>
|
||||
</dialog>
|
||||
|
||||
<html:script>
|
||||
function onUpdate()
|
||||
{
|
||||
dump("onUpate \n");
|
||||
var msg = document.getElementById("NetDialog:Message");
|
||||
if ( msg)
|
||||
{
|
||||
var text = msg.getAttribute("text");
|
||||
dump( text +"\n" );
|
||||
var prompt = (document.getElementById("message"));
|
||||
if ( prompt )
|
||||
{
|
||||
dump(" setting message \n" );
|
||||
prompt.childNodes[0].nodeValue = text;
|
||||
}
|
||||
}
|
||||
|
||||
var msg = document.getElementById("NetDialog:CheckMessage");
|
||||
if ( msg)
|
||||
{
|
||||
var text = msg.getAttribute("text");
|
||||
dump( text +"\n" );
|
||||
var prompt = (document.getElementById("checkboxLabel"));
|
||||
if ( prompt )
|
||||
{
|
||||
dump(" setting message \n" );
|
||||
prompt.childNodes[1].nodeValue = text;
|
||||
}
|
||||
}
|
||||
}
|
||||
</html:script>
|
||||
|
||||
|
||||
|
||||
<html:table>
|
||||
<html:tr >
|
||||
<html:td>
|
||||
<html:img html:src="chrome://navigator/skin/questionl.gif"></html:img>
|
||||
</html:td>
|
||||
|
||||
<html:td>
|
||||
<html:span id="message">&m.label;</html:span>
|
||||
</html:td>
|
||||
|
||||
|
||||
</html:tr>
|
||||
|
||||
|
||||
<html:tr>
|
||||
<html:td>
|
||||
<html:label id="checkboxLabel">
|
||||
<html:input type="checkbox" id="checkbox"/>
|
||||
backwards.label
|
||||
</html:label>
|
||||
</html:td>
|
||||
<html:td>
|
||||
</html:td>
|
||||
</html:tr>
|
||||
|
||||
<html:tr>
|
||||
<html:td>
|
||||
</html:td>
|
||||
<html:td html:align="justify">
|
||||
<html:button id ="CancelButton">&cancel.label;</html:button>
|
||||
<html:button id="OKButton">&ok.label;</html:button> </html:td>
|
||||
</html:tr>
|
||||
</html:table>
|
||||
</window>
|
@ -1,83 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<!-- The contents of this file are subject to the Netscape Public
|
||||
License Version 1.1 (the "License"); you may not use this file
|
||||
except in compliance with the License. You may obtain a copy of
|
||||
the License at http://www.mozilla.org/NPL/
|
||||
|
||||
Software distributed under the License is distributed on an "AS
|
||||
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
implied. See the License for the specific language governing
|
||||
rights and limitations under the License.
|
||||
|
||||
The Original Code is Mozilla Communicator client code, released
|
||||
March 31, 1998.
|
||||
|
||||
The Initial Developer of the Original Code is Netscape
|
||||
Communications Corporation. Portions created by Netscape are
|
||||
Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
||||
Rights Reserved.
|
||||
|
||||
Contributor(s): ______________________________________. -->
|
||||
|
||||
|
||||
|
||||
|
||||
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
||||
|
||||
|
||||
<!DOCTYPE window SYSTEM "chrome://navigator/locale/NetSupportPassword.dtd" >
|
||||
|
||||
<window xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns:xul ="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
>
|
||||
<data>
|
||||
<broadcaster id="NetDialog:Message"/>
|
||||
</data>
|
||||
<dialog>
|
||||
<observes element="NetDialog:Message" attribute="text" onchange="onUpdate()"/>
|
||||
</dialog>
|
||||
<html:script>
|
||||
function onUpdate()
|
||||
{
|
||||
dump("onUpate \n");
|
||||
var msg = document.getElementById("NetDialog:Message");
|
||||
if ( msg)
|
||||
{
|
||||
var text = msg.getAttribute("text");
|
||||
dump( text +"\n" );
|
||||
var prompt = (document.getElementById("message"));
|
||||
if ( prompt )
|
||||
{
|
||||
dump(" setting message \n" );
|
||||
prompt.childNodes[0].nodeValue = text;
|
||||
}
|
||||
}
|
||||
}
|
||||
</html:script>
|
||||
|
||||
|
||||
|
||||
<html:table>
|
||||
<html:tr >
|
||||
<html:td html:colspan="2" >
|
||||
<html:span id="message">&mess.label;</html:span>
|
||||
</html:td>
|
||||
|
||||
|
||||
</html:tr>
|
||||
<html:tr>
|
||||
<html:td html:valign="middle"></html:td>
|
||||
<html:td>
|
||||
<html:input html:name="Password" html:type="password" html:id="Password" > </html:input>
|
||||
</html:td>
|
||||
</html:tr>
|
||||
|
||||
<html:tr>
|
||||
<html:td></html:td>
|
||||
<html:td html:align="justify">
|
||||
<html:button id ="CancelButton">&cancel.label;</html:button>
|
||||
<html:button id="OKButton">&ok.label;</html:button> </html:td>
|
||||
</html:tr>
|
||||
</html:table>
|
||||
</window>
|
@ -1,82 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<!-- The contents of this file are subject to the Netscape Public
|
||||
License Version 1.1 (the "License"); you may not use this file
|
||||
except in compliance with the License. You may obtain a copy of
|
||||
the License at http://www.mozilla.org/NPL/
|
||||
|
||||
Software distributed under the License is distributed on an "AS
|
||||
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
implied. See the License for the specific language governing
|
||||
rights and limitations under the License.
|
||||
|
||||
The Original Code is Mozilla Communicator client code, released
|
||||
March 31, 1998.
|
||||
|
||||
The Initial Developer of the Original Code is Netscape
|
||||
Communications Corporation. Portions created by Netscape are
|
||||
Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
||||
Rights Reserved.
|
||||
|
||||
Contributor(s): ______________________________________. -->
|
||||
|
||||
|
||||
|
||||
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
||||
|
||||
<!DOCTYPE window SYSTEM "chrome://navigator/locale/NetSupportPrompt.dtd" >
|
||||
|
||||
<window xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns:xul ="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
>
|
||||
<data>
|
||||
<broadcaster id="NetDialog:Message"/>
|
||||
</data>
|
||||
<dialog>
|
||||
<observes element="NetDialog:Message" attribute="text" onchange="onUpdate()"/>
|
||||
</dialog>
|
||||
<html:script>
|
||||
function onUpdate()
|
||||
{
|
||||
dump("onUpate \n");
|
||||
var msg = document.getElementById("NetDialog:Message");
|
||||
if ( msg)
|
||||
{
|
||||
var text = msg.getAttribute("text");
|
||||
dump( text +"\n" );
|
||||
var prompt = (document.getElementById("message"));
|
||||
if ( prompt )
|
||||
{
|
||||
dump(" setting message \n" );
|
||||
prompt.childNodes[0].nodeValue = text;
|
||||
}
|
||||
}
|
||||
}
|
||||
</html:script>
|
||||
|
||||
|
||||
|
||||
<html:table>
|
||||
<html:tr >
|
||||
<html:td html:colspan="2" >
|
||||
<html:span id="message">&mess.label;</html:span>
|
||||
</html:td>
|
||||
|
||||
|
||||
</html:tr>
|
||||
<html:tr>
|
||||
<html:td html:valign ="middle">&user.label;</html:td>
|
||||
<html:td><html:input html:name="User" html:type="text" html:id="User" > </html:input>
|
||||
</html:td>
|
||||
</html:tr>
|
||||
|
||||
<html:tr>
|
||||
<html:td></html:td>
|
||||
<html:td html:align="justify">
|
||||
<html:button id ="CancelButton">&cancel.label;</html:button>
|
||||
<html:button id="OKButton">&ok.label;</html:button> </html:td>
|
||||
</html:tr>
|
||||
</html:table>
|
||||
|
||||
|
||||
</window>
|
@ -1,88 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
|
||||
<!-- The contents of this file are subject to the Netscape Public
|
||||
License Version 1.1 (the "License"); you may not use this file
|
||||
except in compliance with the License. You may obtain a copy of
|
||||
the License at http://www.mozilla.org/NPL/
|
||||
|
||||
Software distributed under the License is distributed on an "AS
|
||||
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
implied. See the License for the specific language governing
|
||||
rights and limitations under the License.
|
||||
|
||||
The Original Code is Mozilla Communicator client code, released
|
||||
March 31, 1998.
|
||||
|
||||
The Initial Developer of the Original Code is Netscape
|
||||
Communications Corporation. Portions created by Netscape are
|
||||
Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
||||
Rights Reserved.
|
||||
|
||||
Contributor(s): ______________________________________. -->
|
||||
|
||||
|
||||
|
||||
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
||||
|
||||
<!DOCTYPE window SYSTEM "chrome://navigator/locale/NetSupportUserPAssword.dtd" >
|
||||
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
||||
|
||||
<window xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns:xul ="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
>
|
||||
<data>
|
||||
<broadcaster id="NetDialog:Message"/>
|
||||
</data>
|
||||
<dialog>
|
||||
<observes element="NetDialog:Message" attribute="text" onchange="onUpdate()"/>
|
||||
</dialog>
|
||||
<html:script>
|
||||
function onUpdate()
|
||||
{
|
||||
dump("onUpate \n");
|
||||
var msg = document.getElementById("NetDialog:Message");
|
||||
if ( msg)
|
||||
{
|
||||
var text = msg.getAttribute("text");
|
||||
dump( text +"\n" );
|
||||
var prompt = (document.getElementById("message"));
|
||||
if ( prompt )
|
||||
{
|
||||
dump(" setting message \n" );
|
||||
prompt.childNodes[0].nodeValue = text;
|
||||
}
|
||||
}
|
||||
}
|
||||
</html:script>
|
||||
|
||||
|
||||
|
||||
<html:table>
|
||||
<html:tr >
|
||||
<html:td html:colspan="2" >
|
||||
<html:span id="message">&mess.label;</html:span>
|
||||
</html:td>
|
||||
|
||||
|
||||
</html:tr>
|
||||
<html:tr>
|
||||
<html:td html:valign ="middle">&user.label;</html:td>
|
||||
<html:td><html:input html:name="User" html:type="text" html:id="User" > </html:input>
|
||||
</html:td>
|
||||
</html:tr>
|
||||
<html:tr>
|
||||
<html:td html:valign="middle">&password.label;</html:td>
|
||||
<html:td>
|
||||
<html:input html:name="Password" html:type="password" html:id="Password" > </html:input>
|
||||
</html:td>
|
||||
</html:tr>
|
||||
|
||||
<html:tr>
|
||||
<html:td></html:td>
|
||||
<html:td html:align="justify">
|
||||
<html:button id ="CancelButton">&cancel.label;</html:button>
|
||||
<html:button id="OKButton"> &ok.label; </html:button> </html:td>
|
||||
</html:tr>
|
||||
</html:table>
|
||||
</window>
|
@ -1,84 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
|
||||
<!-- The contents of this file are subject to the Netscape Public
|
||||
License Version 1.1 (the "License"); you may not use this file
|
||||
except in compliance with the License. You may obtain a copy of
|
||||
the License at http://www.mozilla.org/NPL/
|
||||
|
||||
Software distributed under the License is distributed on an "AS
|
||||
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
implied. See the License for the specific language governing
|
||||
rights and limitations under the License.
|
||||
|
||||
The Original Code is Mozilla Communicator client code, released
|
||||
March 31, 1998.
|
||||
|
||||
The Initial Developer of the Original Code is Netscape
|
||||
Communications Corporation. Portions created by Netscape are
|
||||
Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
||||
Rights Reserved.
|
||||
|
||||
Contributor(s): ______________________________________. -->
|
||||
|
||||
|
||||
|
||||
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
||||
|
||||
|
||||
|
||||
<!DOCTYPE window SYSTEM "chrome://navigator/locale/NetsupportConfirm.dtd" >
|
||||
|
||||
|
||||
<window xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns:xul ="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
>
|
||||
|
||||
|
||||
<data>
|
||||
<broadcaster id="NetDialog:Message"/>
|
||||
</data>
|
||||
<dialog>
|
||||
<observes element="NetDialog:Message" attribute="text" onchange="onUpdate()"/>
|
||||
</dialog>
|
||||
<html:script>
|
||||
function onUpdate()
|
||||
{
|
||||
dump("onUpate \n");
|
||||
var msg = document.getElementById("NetDialog:Message");
|
||||
if ( msg)
|
||||
{
|
||||
var text = msg.getAttribute("text");
|
||||
dump( text +"\n" );
|
||||
var prompt = (document.getElementById("message"));
|
||||
if ( prompt )
|
||||
{
|
||||
dump(" setting message \n" );
|
||||
prompt.childNodes[0].nodeValue = text;
|
||||
}
|
||||
}
|
||||
}
|
||||
</html:script>
|
||||
|
||||
|
||||
|
||||
<html:table border="1">
|
||||
<html:tr >
|
||||
<html:td>
|
||||
<html:img html:src="chrome://navigator/skin/questionl.gif"></html:img>
|
||||
</html:td>
|
||||
|
||||
<html:td>
|
||||
<html:span id="message">&m.label;</html:span>
|
||||
</html:td>
|
||||
|
||||
</html:tr>
|
||||
|
||||
<html:tr>
|
||||
<html:td></html:td>
|
||||
<html:td html:align="justify">
|
||||
<html:button id ="CancelButton"> Cancel </html:button>
|
||||
<html:button id="OKButton">&ok.label;</html:button> </html:td>
|
||||
</html:tr>
|
||||
</html:table>
|
||||
</window>
|
@ -1,4 +0,0 @@
|
||||
<!-- extracted from content/NetSupportAlert.xul -->
|
||||
|
||||
<!ENTITY m.label "m">
|
||||
<!ENTITY ok.label "ok">
|
@ -1,6 +0,0 @@
|
||||
<!-- extracted from content/NetSupportConfirmCheck.xul -->
|
||||
|
||||
<!ENTITY m.label "m">
|
||||
<!ENTITY cancel.label "cancel">
|
||||
<!ENTITY backwards.label "Backwards">
|
||||
<!ENTITY ok.label "ok">
|
@ -1,5 +0,0 @@
|
||||
<!-- extracted from content/NetSupportPassword.xul -->
|
||||
|
||||
<!ENTITY cancel.label "Cancel">
|
||||
<!ENTITY ok.label "OK">
|
||||
<!ENTITY mess.label "Message text here">
|
@ -1,6 +0,0 @@
|
||||
<!-- extracted from content/NetSupportPrompt.xul -->
|
||||
|
||||
<!ENTITY mess.label "message text here ">
|
||||
<!ENTITY user.label "User:">
|
||||
<!ENTITY cancel.label "cancel">
|
||||
<!ENTITY ok.label "ok">
|
@ -1,7 +0,0 @@
|
||||
<!-- extracted from content/NetSupportUserPAssword.xul -->
|
||||
|
||||
<!ENTITY cancel.label "Cancel">
|
||||
<!ENTITY ok.label "OK">
|
||||
<!ENTITY user.label "User:">
|
||||
<!ENTITY password.label "Password:">
|
||||
<!ENTITY mess.label "Message text here">
|
@ -1,4 +0,0 @@
|
||||
<!-- extracted from content/NetsupportConfirm.xul -->
|
||||
|
||||
<!ENTITY m.label "m">
|
||||
<!ENTITY ok.label "ok">
|
@ -1,55 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="xul.css" type="text/css"?>
|
||||
|
||||
<window xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns:xul ="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
>
|
||||
<data>
|
||||
<broadcaster id="NetDialog:Message"/>
|
||||
</data>
|
||||
<dialog>
|
||||
<observes element="NetDialog:Message" attribute="text" onchange="onUpdate()"/>
|
||||
</dialog>
|
||||
<html:script>
|
||||
function onUpdate()
|
||||
{
|
||||
dump("onUpate \n");
|
||||
var msg = document.getElementById("NetDialog:Message");
|
||||
if ( msg)
|
||||
{
|
||||
var text = msg.getAttribute("text");
|
||||
dump( text +"\n" );
|
||||
var prompt = (document.getElementById("message"));
|
||||
if ( prompt )
|
||||
{
|
||||
dump(" setting message \n" );
|
||||
prompt.childNodes[0].nodeValue = text;
|
||||
}
|
||||
}
|
||||
}
|
||||
</html:script>
|
||||
|
||||
|
||||
|
||||
<html:table>
|
||||
<html:tr >
|
||||
<html:td>
|
||||
<html:img html:src="resource:/res/samples/questionl.gif"></html:img>
|
||||
</html:td>
|
||||
|
||||
<html:td>
|
||||
<html:span id="message">m</html:span>
|
||||
</html:td>
|
||||
|
||||
|
||||
</html:tr>
|
||||
|
||||
|
||||
<html:tr>
|
||||
<html:td></html:td>
|
||||
<html:td html:align="justify">
|
||||
<html:button id ="CancelButton"> Cancel </html:button>
|
||||
<html:button id="OKButton"> OK </html:button> </html:td>
|
||||
</html:tr>
|
||||
</html:table>
|
||||
</window>
|
@ -1,55 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
||||
<!DOCTYPE window>
|
||||
<window xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns:xul ="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
>
|
||||
<data>
|
||||
<broadcaster id="NetDialog:Message"/>
|
||||
</data>
|
||||
<dialog>
|
||||
<observes element="NetDialog:Message" attribute="text" onchange="onUpdate()"/>
|
||||
</dialog>
|
||||
<html:script>
|
||||
function onUpdate()
|
||||
{
|
||||
dump("onUpate \n");
|
||||
var msg = document.getElementById("NetDialog:Message");
|
||||
if ( msg)
|
||||
{
|
||||
var text = msg.getAttribute("text");
|
||||
dump( text +"\n" );
|
||||
var prompt = (document.getElementById("message"));
|
||||
if ( prompt )
|
||||
{
|
||||
dump(" setting message \n" );
|
||||
prompt.childNodes[0].nodeValue = text;
|
||||
}
|
||||
}
|
||||
}
|
||||
</html:script>
|
||||
|
||||
|
||||
|
||||
<html:table>
|
||||
<html:tr >
|
||||
<html:td html:colspan="2" >
|
||||
<html:span id="message">message text here </html:span>
|
||||
</html:td>
|
||||
|
||||
|
||||
</html:tr>
|
||||
<html:tr>
|
||||
<html:td html:valign ="middle">User: </html:td>
|
||||
<html:td><html:input html:name="User" html:type="text" html:id="User" > </html:input>
|
||||
</html:td>
|
||||
</html:tr>
|
||||
|
||||
<html:tr>
|
||||
<html:td></html:td>
|
||||
<html:td html:align="justify">
|
||||
<html:button id ="CancelButton"> Cancel </html:button>
|
||||
<html:button id="OKButton"> OK </html:button> </html:td>
|
||||
</html:tr>
|
||||
</html:table>
|
||||
</window>
|
Loading…
Reference in New Issue
Block a user