1 | <?xml version="1.0" encoding="UTF-8" ?> |
---|
2 | <?xml-stylesheet href="chrome://global/skin/" type="text/css" ?> |
---|
3 | <?xml-stylesheet href="chrome://markingcollection/skin/property.css" type="text/css" ?> |
---|
4 | <?xml-stylesheet href="chrome://markingcollection/skin/setting.css" type="text/css" ?> |
---|
5 | <?xml-stylesheet href="chrome://markingcollection/skin/shortcut.css" type="text/css" ?> |
---|
6 | <!DOCTYPE dialog SYSTEM "chrome://markingcollection/locale/markingcollection.dtd"> |
---|
7 | <dialog |
---|
8 | id="mcSCPropDialog" |
---|
9 | xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
---|
10 | width="350" |
---|
11 | buttons="accept,cancel" |
---|
12 | buttondisabledaccept="true" |
---|
13 | onload="mcSCPropService.init();window.sizeToContent();" |
---|
14 | ondialogaccept="return mcSCPropService.accept();" |
---|
15 | ondialogcancel="mcSCPropService.cancel();"> |
---|
16 | <script type="application/x-javascript" src="chrome://global/content/nsUserSettings.js" /> |
---|
17 | <script type="application/x-javascript" src="chrome://markingcollection/content/shortcutProperty.js" /> |
---|
18 | <stringbundleset id="mcStringBundles"> |
---|
19 | <stringbundle id="mcSCPropString" src="chrome://markingcollection/locale/markingcollection.properties" /> |
---|
20 | </stringbundleset> |
---|
21 | <hbox align="center"> |
---|
22 | <label value="Title:" control="mcSCPropTitle"/> |
---|
23 | <textbox id="mcSCPropTitle" onfocus="this.select()" oninput="mcSCPropService.inputTitle(event);" onkeyup="mcSCPropService.inputTitle(event);" onkeypress="mcSCPropService.inputTitle(event);"/> |
---|
24 | </hbox> |
---|
25 | <description control="mcSCPropKey" style="-moz-appearance: none;color:#ff0000;">&markingcollection.shortcut.attention_modifiers;</description> |
---|
26 | <hbox align="center" pack="center"> |
---|
27 | <spacer flex="1" hidden="true"/> |
---|
28 | <checkbox id="mcSCPropAccel" label="Control" oncommand="mcSCPropService.inputTitle(event);" hidden="true"/> |
---|
29 | <checkbox id="mcSCPropShift" label="Shift" oncommand="mcSCPropService.inputTitle(event);" hidden="true"/> |
---|
30 | <checkbox id="mcSCPropAlt" label="Alt" oncommand="mcSCPropService.inputTitle(event);" hidden="true"/> |
---|
31 | <label id="mcSCPropModifiers" value="" control="mcSCPropKey"/> |
---|
32 | <textbox id="mcSCPropKey" size="1" maxlength="1" readonly="true" onfocus="this.select()" onkeypress="mcSCPropService.inputKey(event);"/> |
---|
33 | </hbox> |
---|
34 | </dialog> |
---|