| 1 | <?xml version="1.0"?> |
|---|
| 2 | <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> |
|---|
| 3 | |
|---|
| 4 | <!DOCTYPE dialog SYSTEM "chrome://msim/locale/msim.dtd"> |
|---|
| 5 | |
|---|
| 6 | <dialog buttons="accept, cancel" |
|---|
| 7 | id="msim-user-agent-dialog" |
|---|
| 8 | ondialogaccept="firemobilesimulator.options.dialogs.device.saveDevice()" |
|---|
| 9 | ondialogcancel="javascript:false;" |
|---|
| 10 | onload="firemobilesimulator.options.dialogs.device.initializeDevice()" |
|---|
| 11 | xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> |
|---|
| 12 | |
|---|
| 13 | <script type="application/x-javascript" src="chrome://msim/content/core.js"/> |
|---|
| 14 | <script type="application/x-javascript" src="chrome://msim/content/common/pref.js"/> |
|---|
| 15 | <script type="application/x-javascript" src="chrome://msim/content/common/carrier.js"/> |
|---|
| 16 | <script type="application/x-javascript" src="chrome://msim/content/options/options.js"/> |
|---|
| 17 | <script type="application/x-javascript" src="chrome://msim/content/options/dialogs/device.js"/> |
|---|
| 18 | |
|---|
| 19 | <stringbundleset id="stringbundleset"> |
|---|
| 20 | <stringbundle id="msim-string-bundle" src="chrome://msim/locale/msim.properties"/> |
|---|
| 21 | </stringbundleset> |
|---|
| 22 | <grid> |
|---|
| 23 | <columns> |
|---|
| 24 | <column/> |
|---|
| 25 | <column/> |
|---|
| 26 | </columns> |
|---|
| 27 | <rows id="msim.options.device.rows"> |
|---|
| 28 | <row align="center"> |
|---|
| 29 | <label control="msim.options.device.label" value="&msim.options.device.device;"/> |
|---|
| 30 | <textbox id="msim.options.device.label" size="50"/> |
|---|
| 31 | </row> |
|---|
| 32 | <row id="msim.options.device.carrier.row" align="center"> |
|---|
| 33 | <label control="msim.options.device.carrier" value="&msim.options.device.carrier;"/> |
|---|
| 34 | <!--<textbox id="msim.options.device.carrier" size="50" disabled="true"/>--> |
|---|
| 35 | </row> |
|---|
| 36 | <row id="msim.options.device.useragent.row" align="center"> |
|---|
| 37 | <label control="msim.options.device.useragent" value="&msim.options.device.useragent;"/> |
|---|
| 38 | <textbox id="msim.options.device.useragent" size="50"/> |
|---|
| 39 | </row> |
|---|
| 40 | <row id="msim.options.device.screen-width.row" align="center"> |
|---|
| 41 | <label control="msim.options.device.screen-width" value="&msim.options.device.screen-width;"/> |
|---|
| 42 | <textbox id="msim.options.device.screen-width" size="50"/> |
|---|
| 43 | </row> |
|---|
| 44 | <row id="msim.options.device.screen-height.row" align="center"> |
|---|
| 45 | <label control="msim.options.device.screen-height" value="&msim.options.device.screen-height;"/> |
|---|
| 46 | <textbox id="msim.options.device.screen-height" size="50"/> |
|---|
| 47 | </row> |
|---|
| 48 | </rows> |
|---|
| 49 | </grid> |
|---|
| 50 | </dialog> |
|---|