0
|
1 <?xml version="1.0"?>
|
|
2 <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
|
3
|
|
4 <dialog buttons="cancel, accept"
|
|
5 id="tinyurlEditDialog"
|
|
6 ondialogaccept="return tinyurl_edit_save();"
|
|
7 ondialogcancel="return true;"
|
|
8 onload="tinyurl_edit_load();"
|
|
9 title="TinyUrl - Edit" height="300" width="300" persist="height width"
|
|
10 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" style="padding: 1px; margin: 0;">
|
|
11
|
|
12 <script type="application/x-javascript" src="chrome://tinyurl/content/edit.js"></script>
|
|
13
|
|
14 <vbox flex="1" style="overflow: auto; padding: 7px;">
|
|
15 <textbox id="title-field" value="" />
|
|
16
|
|
17 <hbox style="margin: 10px 3px;">
|
|
18 <image id="icon-image" src="chrome://tinyurl/content/icons/document.png" />
|
|
19 <label id="tinyurl-label" value="" style="color: #00F; text-decoration: underline; cursor: pointer;" onclick="tinyurl_edit_open()" />
|
|
20 </hbox>
|
|
21
|
|
22 <textbox id="real-field" value="" readonly="true" multiline="true" rows="3" wrap="true" />
|
|
23
|
|
24 <spacer height="50" width="1" />
|
|
25 </vbox>
|
|
26
|
|
27 <hbox>
|
|
28 <hbox pack="center" align="center" flex="2">
|
|
29 <spacer height="1" width="20" />
|
|
30 <button value="Apply" dlgtype="accept" />
|
|
31 <button value="Cancel" dlgtype="cancel" />
|
|
32 </hbox>
|
|
33 <resizer id="windowResizer" dir="bottomright" />
|
|
34 </hbox>
|
|
35 </dialog> |