source: DASISH/t5.6/client/chrome/markingcollection/content/markingcollection/replacedURL.xul @ 2709

Last change on this file since 2709 was 2709, checked in by sroth, 11 years ago

Wired-Marker initial source code with minor adjustments.

  • Property svn:executable set to *
File size: 2.6 KB
Line 
1<?xml version="1.0" encoding="UTF-8" ?>
2<?xml-stylesheet href="chrome://global/skin/" type="text/css" ?>
3<!DOCTYPE window SYSTEM "chrome://markingcollection/locale/markingcollection.dtd">
4<dialog
5        id="mcRepDialog"
6        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
7        buttons="accept,cancel,extra1"
8        defaultButton="extra1"
9        onload="mcReplacedURL.init();"
10        ondialogaccept="mcReplacedURL.accept();"
11        ondialogcancel="mcReplacedURL.cancel();">
12        <script type="application/x-javascript" src="chrome://global/content/nsUserSettings.js" />
13        <script type="application/x-javascript" src="chrome://markingcollection/content/replacedURL.js" />
14        <stringbundleset id="mcStringBundles">
15                <stringbundle id="mcRepString" src="chrome://markingcollection/locale/markingcollection.properties" />
16        </stringbundleset>
17        <groupbox flex="1">
18                <grid>
19                        <columns>
20                                <column/>
21                                <column flex="1"/>
22                        </columns>
23                        <rows>
24                                <row>
25                                        <label value="&markingcollection.edit.replacedTarget;"/>
26                                        <radiogroup id="mcRepTarget" orient="horizontal" oncommand="mcReplacedURL.changeTarget()">
27                                                <radio id="mcRepTargetDirectory" label="&markingcollection.edit.replacedTarget.directory;" selected="true"/>
28                                                <radio id="mcRepTargetFile" label="&markingcollection.edit.replacedTarget.file;"/>
29                                        </radiogroup>
30                                </row>
31                                <separator class="groove-thin"/>
32                                <row>
33                                        <label control="mcRepSearchMenulist" value="&markingcollection.edit.searched;:"/>
34                                        <menulist id="mcRepSearchMenulist" editable="true" flex="1" onfocus="this.select()" oninput="mcReplacedURL.change()" oncommand="mcReplacedURL.change()">
35                                                <menupopup/>
36                                        </menulist>
37                                </row>
38                                <row>
39                                        <label control="mcRepReplaceTextbox" value="&markingcollection.edit.replaced;:"/>
40                                        <hbox>
41                                                <textbox id="mcRepReplaceTextbox" value="" flex="1" onfocus="this.select()" oninput="mcReplacedURL.change()"/>
42                                                <toolbarbutton type="menu" label="&markingcollection.edit.getURL;">
43                                                        <menupopup>
44                                                                <menuitem label="&markingcollection.edit.displayURL;" class="menuitem-iconic" image="chrome://markingcollection/skin/firefox.png" oncommand="mcReplacedURL.displayURL();"/>
45                                                                <menuitem label="&markingcollection.edit.folderURL;" class="menuitem-iconic" image="chrome://markingcollection/skin/folder-close.png" oncommand="mcReplacedURL.folderURL();"/>
46                                                        </menupopup>
47                                                </toolbarbutton>
48                                        </hbox>
49                                </row>
50                                <row>
51                                        <spacer/>
52                                        <hbox>
53                                        <spacer flex="1"/>
54                                                <button id="mcRepReplaceButton" label="&markingcollection.edit.replaced;" dlgtype="extra1" oncommand="mcReplacedURL.replaced();"/>
55                                        </hbox>
56                                </row>
57                        </rows>
58                </grid>
59        </groupbox>
60</dialog>
Note: See TracBrowser for help on using the repository browser.