1999-07-28 09:42:32 +04:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
1999-07-27 05:22:53 +04:00
|
|
|
<!-- DON'T localize: strres test cases -->
|
|
|
|
|
|
|
|
|
|
|
|
<!DOCTYPE window>
|
|
|
|
<!-- padding 0px is just a workaround for windows not displaying paddings correctly
|
|
|
|
take it out once this works! -->
|
|
|
|
|
|
|
|
<window style=" padding: 0px; width: 100%; height: 100%"
|
2000-06-15 13:54:41 +04:00
|
|
|
xmlns:html="http://www.w3.org/1999/xhtml"
|
1999-07-27 05:22:53 +04:00
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
|
|
title="Open File or Location"
|
|
|
|
onload="onLoad()"
|
|
|
|
class="dialog">
|
|
|
|
|
2001-07-09 22:41:07 +04:00
|
|
|
<html:script type="application/x-javascript" src="chrome://global/content/strres.js" />
|
1999-07-27 05:22:53 +04:00
|
|
|
|
2001-07-09 22:41:07 +04:00
|
|
|
<!--html:script type="application/x-javascript" src="resource:/res/strres-test.js" charset="Shift_JIS" / -->
|
|
|
|
<html:script type="application/x-javascript" src="resource:/res/strres-test.js" />
|
1999-07-27 05:22:53 +04:00
|
|
|
|
2001-07-09 22:41:07 +04:00
|
|
|
<hbox flex="100%" style="width:30em;">
|
1999-07-27 05:22:53 +04:00
|
|
|
|
|
|
|
<html:div style="width: 45px; margin: 5px;">
|
|
|
|
<html:img src="chrome://navigator/skin/questionl.gif" width="32" height="32" border="0"/>
|
|
|
|
</html:div>
|
|
|
|
|
2001-07-09 22:41:07 +04:00
|
|
|
<vbox flex="100%" style="height: 100%;">
|
1999-07-27 05:22:53 +04:00
|
|
|
|
|
|
|
<html:div style="width: 100%;">Enter the World Wide Web location (URL) you would like to open or
|
|
|
|
</html:div>
|
|
|
|
<html:div style="width: 100%; margin-bottom: 0.5em;">use the Choose File... button to select a local file:
|
|
|
|
</html:div>
|
|
|
|
|
2001-07-09 22:41:07 +04:00
|
|
|
<hbox>
|
massive landing of joki changes.
Relevant nsbeta3+ bugs 43309, 44503, 2634, 2504,5981, 24698, 25758, 33577,
36062, 36217, 41191, 41491, 42356, 42829, 43016
r=saari (joki code). also been tested by heikki and bryner
2000-08-09 01:31:05 +04:00
|
|
|
<html:input id="dialog.input" flex="100%" onkeyup="onTyping(event.keyCode)"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<button onclick="choose()" label="Choose File..." align="left"/>
|
2001-07-09 22:41:07 +04:00
|
|
|
</hbox>
|
1999-07-27 05:22:53 +04:00
|
|
|
|
2001-07-09 22:41:07 +04:00
|
|
|
<hbox style="margin-bottom: 1em;">
|
1999-07-27 05:22:53 +04:00
|
|
|
<html:input type="checkbox" id="dialog.newWindow"/>
|
|
|
|
<html:label for="dialog.newWindow">Open in new window</html:label>
|
2001-09-19 01:47:32 +04:00
|
|
|
<spacer flex="100%"/>
|
2001-07-09 22:41:07 +04:00
|
|
|
</hbox>
|
|
|
|
<hbox style="margin-bottom: 1em;">
|
2001-09-19 01:47:32 +04:00
|
|
|
<spacer flex="100%"/>
|
1999-07-27 05:22:53 +04:00
|
|
|
<html:label id = "labelPrompt">Strres Test: </html:label>
|
|
|
|
<html:label id = "testLabel">to be set!!</html:label>
|
|
|
|
|
2001-09-19 01:47:32 +04:00
|
|
|
<spacer flex="100%"/>
|
2001-07-09 22:41:07 +04:00
|
|
|
</hbox>
|
1999-07-27 05:22:53 +04:00
|
|
|
|
2001-09-19 01:47:32 +04:00
|
|
|
<spacer flex="100%"/>
|
1999-07-27 05:22:53 +04:00
|
|
|
|
2001-07-09 22:41:07 +04:00
|
|
|
<hbox>
|
2001-09-19 01:47:32 +04:00
|
|
|
<spacer flex="100%"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<button id="dialog.ok" label="ok" onclick="open()" align="left"/>
|
2000-11-17 02:50:00 +03:00
|
|
|
<button id="dialog.test" value="test" onclick="strresTest()" align="left"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<button id="dialog.cancel" label="cancel: ??" onclick="cancel()" align="left"/>
|
2001-09-19 01:47:32 +04:00
|
|
|
<spacer flex="100%"/>
|
2001-07-09 22:41:07 +04:00
|
|
|
</hbox>
|
1999-07-27 05:22:53 +04:00
|
|
|
|
2001-07-09 22:41:07 +04:00
|
|
|
</vbox>
|
1999-07-27 05:22:53 +04:00
|
|
|
|
2001-07-09 22:41:07 +04:00
|
|
|
</hbox>
|
1999-07-27 05:22:53 +04:00
|
|
|
|
|
|
|
|
|
|
|
</window>
|