зеркало из https://github.com/mozilla/pjs.git
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
This commit is contained in:
Родитель
2e19b186c3
Коммит
d41637ea57
|
@ -48,7 +48,7 @@
|
|||
%brandDTD;
|
||||
]>
|
||||
|
||||
<window id="editorWindow" xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
<window id="editorWindow"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="EditorOnLoad()"
|
||||
onunload="EditorShutdown()"
|
||||
|
@ -58,11 +58,9 @@
|
|||
titlemodifier="&editorWindow.titlemodifier;"
|
||||
titlemenuseparator="&editorWindow.titlemodifiermenuseparator;"
|
||||
windowtype="composer:html"
|
||||
orient="vertical"
|
||||
width="640" height="480"
|
||||
screenX="10" screenY="10"
|
||||
persist="screenX screenY width height sizemode"
|
||||
>
|
||||
persist="screenX screenY width height sizemode">
|
||||
|
||||
<script type="application/x-javascript" src="chrome://editor/content/editor.js"/>
|
||||
<!--
|
||||
|
@ -246,7 +244,7 @@
|
|||
<editor type="content-primary" id="content-frame" src="about:blank" context="editorContentContext" flex="1"/>
|
||||
</stack>
|
||||
<vbox>
|
||||
<text class="label" id="doctype-text" style="width:1em" crop="right"/>
|
||||
<label id="doctype-text" style="width:1em"/>
|
||||
<textbox class="source-editor plain" id="content-source" multiline="true" rows="1"
|
||||
flex="1" style="width:1em; height:1em;"/>
|
||||
</vbox>
|
||||
|
@ -267,7 +265,7 @@
|
|||
<!-- Some of this is from globarOverlay.xul -->
|
||||
<statusbar id="status-bar">
|
||||
<hbox id="component-bar"/>
|
||||
<statusbarpanel id="statusText" label="&statusText.label;" flex="1" crop="right"/>
|
||||
<statusbarpanel id="statusText" label="&statusText.label;" flex="1"/>
|
||||
<statusbarpanel class="statusbarpanel-icononly" id="offline-status"/>
|
||||
</statusbar>
|
||||
|
||||
|
|
|
@ -25,8 +25,7 @@
|
|||
<!DOCTYPE window SYSTEM "chrome://editor/locale/editorOverlay.dtd">
|
||||
|
||||
<overlay id="editorOverlay"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
<script type="application/x-javascript" src="chrome://editor/content/editorOverlay.js"/>
|
||||
<script type="application/x-javascript" src="chrome://editor/content/ComposerCommands.js"/>
|
||||
|
@ -729,10 +728,10 @@
|
|||
<stack id="ColorButtons" align="center">
|
||||
<observes element="cmd_fontColor" attribute="state" onbroadcast="onFontColorChange()"/>
|
||||
<observes element="cmd_backgroundColor" attribute="state" onbroadcast="onBackgroundColorChange()"/>
|
||||
<text class="color-button" id="BackgroundColorButton"
|
||||
<label class="color-button" id="BackgroundColorButton"
|
||||
onclick="EditorSelectColor('', event);"
|
||||
tooltip="aTooltip" tooltiptext="&BackgroundColorButton.tooltip;"/>
|
||||
<text class="color-button" id="TextColorButton"
|
||||
<label class="color-button" id="TextColorButton"
|
||||
onclick="EditorSelectColor('Text', event);"
|
||||
tooltip="aTooltip" tooltiptext="&TextColorButton.tooltip;"/>
|
||||
</stack>
|
||||
|
|
|
@ -28,9 +28,7 @@
|
|||
|
||||
<!DOCTYPE window SYSTEM "chrome://editor/locale/pref-composer.dtd" >
|
||||
|
||||
<page xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
orient="vertical"
|
||||
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="parent.initPanel('chrome://editor/content/pref-composer.xul');">
|
||||
|
||||
<script type="application/x-javascript">
|
||||
|
@ -45,36 +43,30 @@
|
|||
<hbox class="box-smallheader" title="&lHeader;"/>
|
||||
|
||||
<!-- Recent files menu -->
|
||||
<groupbox orient="vertical">
|
||||
<groupbox>
|
||||
<caption label="&recentFiles.title;"/>
|
||||
<hbox align="center">
|
||||
<text value="&documentsInMenu;"/>
|
||||
<label value="&documentsInMenu;"/>
|
||||
<textbox
|
||||
id="recentFiles"
|
||||
name="recent string"
|
||||
type="text"
|
||||
size="3"
|
||||
value="10"
|
||||
pref="true"
|
||||
preftype="int"
|
||||
prefstring="editor.history.url_maximum"
|
||||
prefattribute="value"
|
||||
/>
|
||||
</hbox>
|
||||
</groupbox>
|
||||
|
||||
<!-- HTML formatting on output -->
|
||||
<groupbox orient="vertical">
|
||||
<groupbox>
|
||||
<caption label="&savingFiles.title;"/>
|
||||
<spacer class="spacer"/>
|
||||
<radiogroup orient="vertical" align="start"
|
||||
<radiogroup
|
||||
id = "preserveFormatting"
|
||||
pref = "true"
|
||||
preftype = "bool"
|
||||
prefstring = "editor.prettyprint"
|
||||
prefattribute = "value">
|
||||
prefstring = "editor.prettyprint">
|
||||
<radio
|
||||
group = "preserveFormatting"
|
||||
value = "false"
|
||||
label = "&preserveExistingFormatting;"
|
||||
accesskey = "&preserveExistingFormatting.accesskey;"
|
||||
|
@ -82,7 +74,6 @@
|
|||
tooltiptext= "&preserveExistingFormatting.tooltip;"
|
||||
/>
|
||||
<radio
|
||||
group = "preserveFormatting"
|
||||
value = "true"
|
||||
label = "&reformat.label;"
|
||||
accesskey = "&reformat.accesskey;"
|
||||
|
@ -92,86 +83,69 @@
|
|||
</radiogroup>
|
||||
</groupbox>
|
||||
|
||||
<groupbox orient="vertical" align="start">
|
||||
<groupbox align="start">
|
||||
<caption label="&tableEditing.label;"/>
|
||||
<checkbox
|
||||
label = "&maintainTableStructure.label;"
|
||||
id = "maintainTableStructure"
|
||||
accesskey = "&maintainStructure.accesskey;"
|
||||
tooltip = "aTooltip" tooltiptext="&maintainTableStructure.tooltip;"
|
||||
pref = "true"
|
||||
preftype = "bool"
|
||||
prefstring= "editor.table.maintain_structure"
|
||||
prefattribute="checked"
|
||||
/>
|
||||
<separator class = "thin"/>
|
||||
<hbox align="start">
|
||||
<text class="label"
|
||||
value="&pressingTheDeleteKey.label;"
|
||||
<label value="&pressingTheDeleteKey.label;"
|
||||
tooltip = "aTooltip" tooltiptext="&pressingTheDeleteKey.tooltip;"
|
||||
for="tableDeleteKey"
|
||||
control="tableDeleteKey"
|
||||
/>
|
||||
<radiogroup orient="vertical" align="start"
|
||||
<radiogroup
|
||||
id = "tableDeleteKey"
|
||||
pref = "true"
|
||||
preftype = "int"
|
||||
prefstring="editor.table.delete_key"
|
||||
prefattribute="value">
|
||||
<radio group="tableDeleteKey" value="0" label="&deleteCell.label;" accesskey="&deleteCell.accesskey;"/>
|
||||
<radio group="tableDeleteKey" value="1" label="&deleteContent.label;" accesskey="&deleteContent.accesskey;" />
|
||||
prefstring="editor.table.delete_key">
|
||||
<radio value="0" label="&deleteCell.label;" accesskey="&deleteCell.accesskey;"/>
|
||||
<radio value="1" label="&deleteContent.label;" accesskey="&deleteContent.accesskey;" />
|
||||
</radiogroup>
|
||||
</hbox>
|
||||
</groupbox>
|
||||
|
||||
<!-- Take out Auto-Save; not supported at this time
|
||||
<groupbox orient="vertical">
|
||||
<groupbox>
|
||||
<caption label="&saving;"/>
|
||||
<hbox align="center">
|
||||
<checkbox
|
||||
label = "&AutoSaveCheck;"
|
||||
id = "shouldAutoSave"
|
||||
pref = "true"
|
||||
preftype = "bool"
|
||||
prefstring = "editor.auto_save"
|
||||
name = "autosave"
|
||||
prefattribute="checked"
|
||||
/>
|
||||
<textbox
|
||||
id="autoSaveAmount"
|
||||
name="time"
|
||||
type="text"
|
||||
size="3"
|
||||
value="5"
|
||||
pref="true"
|
||||
preftype="int"
|
||||
prefstring="editor.auto_save_delay"
|
||||
prefattribute="value"
|
||||
/>
|
||||
<text value="&minText;" />
|
||||
<label value="&minText;" />
|
||||
</hbox>
|
||||
</groupbox>
|
||||
-->
|
||||
|
||||
<!-- External Editors are not supported at this time
|
||||
<groupbox orient="vertical">
|
||||
<groupbox>
|
||||
<caption label="&exterLegend.label;"/>
|
||||
<hbox>
|
||||
<checkbox
|
||||
name = "htmlSourceEditorCheckbox"
|
||||
label = "&htmlSource;"
|
||||
pref = "true"
|
||||
preftype = "int"
|
||||
prefindex = "0"
|
||||
prefstring = "editor.use_html_editor"
|
||||
/>
|
||||
<textbox
|
||||
name = "&chooseButton.label;"
|
||||
pref = "true"
|
||||
preftype = "string"
|
||||
prefstring = "editor.html_editor"
|
||||
/>
|
||||
<button
|
||||
class = "dialog"
|
||||
name = ""
|
||||
label = "&chooseButton.label;"
|
||||
/>
|
||||
|
@ -181,7 +155,6 @@
|
|||
<checkbox
|
||||
name = "htmlImageEditorCheckbox"
|
||||
label = "&imageeditor;"
|
||||
pref = "true"
|
||||
preftype = "int"
|
||||
prefindex = "0"
|
||||
prefstring ="editor.use_image_editor"
|
||||
|
@ -189,8 +162,6 @@
|
|||
|
||||
<textbox
|
||||
name="chooseButton.label"
|
||||
pref = "true"
|
||||
preftype = "string"
|
||||
prefstring = "editor.image_editor"
|
||||
/>
|
||||
<button label="&chooseButton.label;" />
|
||||
|
|
|
@ -27,9 +27,7 @@
|
|||
|
||||
<!DOCTYPE window SYSTEM "chrome://editor/locale/pref-editing.dtd">
|
||||
|
||||
<page xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
orient="vertical"
|
||||
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="parent.initPanel('chrome://editor/content/pref-editing.xul');">
|
||||
|
||||
<script lanugage="JavaScript">
|
||||
|
@ -45,26 +43,24 @@
|
|||
<hbox class="box-smallheader" title="&lHeader;"/>
|
||||
|
||||
<vbox>
|
||||
<text class="label small-margin" value="&authorName.label;"/>
|
||||
<label value="&authorName.label;"/>
|
||||
<hbox>
|
||||
<textbox id="editorAuthor" flex="1"
|
||||
pref="true" preftype="string" prefstring="editor.author"
|
||||
prefattribute="value"/>
|
||||
prefstring="editor.author"/>
|
||||
<spacer flex="1"/>
|
||||
</hbox>
|
||||
</vbox>
|
||||
<spacer class="smallspacer"/>
|
||||
<groupbox orient="vertical" align="start">
|
||||
<groupbox align="start">
|
||||
<caption label="&pageColorHeader;"/>
|
||||
<radiogroup id="useCustomColors" orient="vertical" align="start"
|
||||
pref="true" preftype="bool" prefstring="editor.use_custom_colors"
|
||||
prefattribute="value">
|
||||
<radio class="small-margin" group="useCustomColors" id="DefaultColorsRadio"
|
||||
<radiogroup id="useCustomColors"
|
||||
preftype="bool" prefstring="editor.use_custom_colors">
|
||||
<radio id="DefaultColorsRadio"
|
||||
value="false"
|
||||
label="&defaultColorsRadio.label;"
|
||||
accesskey="&defaultColors.accesskey;"
|
||||
oncommand="UseDefaultColors();"/>
|
||||
<radio class="small-margin" group="useCustomColors" id="CustomColorsRadio"
|
||||
<radio id="CustomColorsRadio"
|
||||
value="true" label="&customColorsRadio.label;"
|
||||
accesskey="&customColors.accesskey;"
|
||||
oncommand="UseCustomColors()"/>
|
||||
|
@ -74,35 +70,35 @@
|
|||
<columns><column/><column/></columns>
|
||||
<rows>
|
||||
<row align="center">
|
||||
<text class="label" id="Text" value="&normalText.label;&colon.character;" />
|
||||
<label id="Text" value="&normalText.label;&colon.character;" />
|
||||
<button id="TextButton" class="color-button" oncommand="GetColorAndUpdate('textCW');">
|
||||
<spacer id="textCW" class="color-well"/>
|
||||
</button>
|
||||
<data id="textData" pref="true" preftype="color" prefstring="editor.text_color" prefattribute="value" wsm_attributes="value"/>
|
||||
</row>
|
||||
<row align="center">
|
||||
<text class="label" id="Link" value="&linkText.label;&colon.character;" />
|
||||
<label id="Link" value="&linkText.label;&colon.character;" />
|
||||
<button id="LinkButton" class="color-button" oncommand="GetColorAndUpdate('linkCW');">
|
||||
<spacer id="linkCW" class="color-well"/>
|
||||
</button>
|
||||
<data id="linkData" pref="true" preftype="color" prefstring="editor.link_color" prefattribute="value" wsm_attributes="value"/>
|
||||
</row>
|
||||
<row align="center">
|
||||
<text class="label" id="Active" value="&activeLinkText.label;&colon.character;" />
|
||||
<label id="Active" value="&activeLinkText.label;&colon.character;" />
|
||||
<button id="ActiveLinkButton" class="color-button" oncommand="GetColorAndUpdate('activeCW');">
|
||||
<spacer id="activeCW" class="color-well"/>
|
||||
</button>
|
||||
<data id="aLinkData" pref="true" preftype="color" prefstring="editor.active_link_color" prefattribute="value" wsm_attributes="value"/>
|
||||
</row>
|
||||
<row align="center">
|
||||
<text class="label" id="Visited" value ="&visitedLinkText.label;&colon.character;" />
|
||||
<label id="Visited" value ="&visitedLinkText.label;&colon.character;" />
|
||||
<button id="VisitedLinkButton" class="color-button" oncommand="GetColorAndUpdate('visitedCW');">
|
||||
<spacer id="visitedCW" class="color-well"/>
|
||||
</button>
|
||||
<data id="fLinkData" pref="true" preftype="color" prefstring="editor.followed_link_color" prefattribute="value" wsm_attributes="value"/>
|
||||
</row>
|
||||
<row align="center">
|
||||
<text class="label" id="Background" value="&background.label;" />
|
||||
<label id="Background" value="&background.label;" />
|
||||
<button id="BackgroundButton" class="color-button" oncommand="GetColorAndUpdate('backgroundCW');">
|
||||
<spacer id="backgroundCW" class="color-well"/>
|
||||
</button>
|
||||
|
@ -112,19 +108,19 @@
|
|||
</grid>
|
||||
<vbox id="ColorPreview" flex="1">
|
||||
<spacer flex="1"/>
|
||||
<text class="label larger" id="NormalText" value="&normalText.label;"/>
|
||||
<label class="larger" id="NormalText" value="&normalText.label;"/>
|
||||
<spacer flex="1"/>
|
||||
<text class="label larger" id="LinkText" value="&linkText.label;"/>
|
||||
<label class="larger" id="LinkText" value="&linkText.label;"/>
|
||||
<spacer flex="1"/>
|
||||
<text class="label larger" id="ActiveLinkText" value="&activeLinkText.label;"/>
|
||||
<label class="larger" id="ActiveLinkText" value="&activeLinkText.label;"/>
|
||||
<spacer flex="1"/>
|
||||
<text class="label larger" id="VisitedLinkText" value="&visitedLinkText.label;"/>
|
||||
<label class="larger" id="VisitedLinkText" value="&visitedLinkText.label;"/>
|
||||
<spacer flex="1"/>
|
||||
</vbox>
|
||||
<spacer flex="1"/>
|
||||
</hbox>
|
||||
<spacer class="spacer"/>
|
||||
<text class="label small-margin" value="&backgroundImage.label;" accesskey="&backgroundImage.accesskey;"/>
|
||||
<label value="&backgroundImage.label;" accesskey="&backgroundImage.accesskey;"/>
|
||||
<hbox align="center">
|
||||
<textbox id="BackgroundImageInput" oninput="ChangeBackgroundImage();" style="min-width: 23em" flex="1">
|
||||
<observes element="backgroundImageData" attribute="disabled"/>
|
||||
|
@ -133,7 +129,7 @@
|
|||
oncommand="ChooseImageFile()">
|
||||
<observes element="backgroundImageData" attribute="disabled"/>
|
||||
</button>
|
||||
<data id="backgroundImageData" pref="true" preftype="string" prefstring="editor.default_background_image" prefattribute="value"/>
|
||||
<data id="backgroundImageData" preftype="string" prefstring="editor.default_background_image" prefattribute="value"/>
|
||||
</hbox>
|
||||
</groupbox>
|
||||
</page>
|
||||
|
|
|
@ -1,50 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!--
|
||||
- The contents of this file are subject to the Netscape Public
|
||||
- License Version 1.1 (the "License"); you may not use this file
|
||||
- except in compliance with the License. You may obtain a copy of
|
||||
- the License at http://www.mozilla.org/NPL/
|
||||
-
|
||||
- Software distributed under the License is distributed on an "AS
|
||||
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
- implied. See the License for the specific language governing
|
||||
- rights and limitations under the License.
|
||||
-
|
||||
- The Original Code is Mozilla Communicator client code, released
|
||||
- March 31, 1998.
|
||||
-
|
||||
- The Initial Developer of the Original Code is Netscape
|
||||
- Communications Corporation. Portions created by Netscape are
|
||||
- Copyright (C) 1999 Netscape Communications Corporation. All
|
||||
- Rights Reserved.
|
||||
-
|
||||
- Contributor(s):
|
||||
- Ben Goodger
|
||||
-->
|
||||
|
||||
|
||||
<?xml-stylesheet href="chrome://editor/skin/editor.css" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://communicator/skin/sidebar/sidebar.css" type="text/css"?>
|
||||
|
||||
<!DOCTYPE window SYSTEM "chrome://editor/locale/sidebar-editor.dtd" >
|
||||
<window
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="Init('chrome://editor/content/sidebar-editor.rdf',
|
||||
'NC:EditorSidebarRoot');" orient="vertical">
|
||||
|
||||
<script src="chrome://communicator/content/sidebar/sidebar.js" />
|
||||
<vbox id="sidebox" flex="1">
|
||||
<hbox class="sidebartitle">
|
||||
<spacer flex="1"/>
|
||||
<button class="borderless paneltitle"
|
||||
label="&sidebar.reload.label;"
|
||||
oncommand="window.location.reload()" />
|
||||
<button class="borderless paneltitle"
|
||||
label="&sidebar.customize.label;"
|
||||
oncommand="var dialogWindow=customize();" />
|
||||
</hbox>
|
||||
</vbox>
|
||||
</window>
|
|
@ -57,9 +57,6 @@ function Startup()
|
|||
if (!InitEditorShell())
|
||||
return;
|
||||
|
||||
// initialise the ok and cancel buttons
|
||||
doSetOKCancel(onOK, onCancel);
|
||||
|
||||
// Element to edit is passed in
|
||||
if (!window.arguments[1])
|
||||
{
|
||||
|
@ -118,7 +115,7 @@ function Startup()
|
|||
* returns : boolean true to close the window
|
||||
* desc. : event handler for ok button
|
||||
**/
|
||||
function onOK()
|
||||
function onAccept()
|
||||
{
|
||||
editorShell.BeginBatchChanges();
|
||||
try {
|
||||
|
@ -341,4 +338,5 @@ function AddTreeItem ( name, value, treeChildrenId, attArray )
|
|||
function doHelpButton()
|
||||
{
|
||||
openHelp("chrome://help/content/help.xul?advanced_property_editor");
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -28,21 +28,19 @@
|
|||
<?xml-stylesheet href="chrome://editor/skin/editor.css" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://editor/skin/EditorDialog.css" type="text/css"?>
|
||||
|
||||
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
||||
<!-- May not need this here -->
|
||||
<!-- <?xul-overlay href="chrome://editor/content/EdDialogOverlay.xul"?> -->
|
||||
|
||||
<!DOCTYPE window SYSTEM "chrome://editor/locale/EdAdvancedEdit.dtd">
|
||||
<window class="dialog" title="&WindowTitle.label;"
|
||||
<dialog title="&WindowTitle.label;"
|
||||
style="width: 40em;"
|
||||
xmlns ="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
buttonpack="end"
|
||||
onload="Startup()"
|
||||
onunload="onCancel()"
|
||||
orient="vertical">
|
||||
buttons="accept,cancel,help"
|
||||
ondialogaccept="return onAccept();"
|
||||
ondialogcancel="return onCancel();"
|
||||
ondialoghelp="return doHelpButton();">
|
||||
|
||||
<keyset id="dialogKeys"/>
|
||||
<popupset id="aTooltipSet" />
|
||||
|
||||
<!-- Methods common to all editor dialogs -->
|
||||
|
@ -55,15 +53,14 @@
|
|||
|
||||
<!-- global dialog functions -->
|
||||
<script type="application/x-javascript" src="chrome://editor/content/EdAdvancedEdit.js"/>
|
||||
<script type="application/x-javascript" src="chrome://global/content/dialogOverlay.js" />
|
||||
<script type="application/x-javascript" src="chrome://global/content/strres.js" />
|
||||
<script type="application/x-javascript" src="chrome://help/content/help.js"/>
|
||||
|
||||
<broadcaster id="args" value=""/>
|
||||
|
||||
<hbox>
|
||||
<text class="label" value="¤tattributesfor.label;"/>
|
||||
<text class="label header" id="tagLabel"/>
|
||||
<label value="¤tattributesfor.label;"/>
|
||||
<label class="header" id="tagLabel"/>
|
||||
</hbox>
|
||||
|
||||
<separator class="thin"/>
|
||||
|
@ -99,7 +96,7 @@
|
|||
<treechildren id="HTMLAList" flex="1"/>
|
||||
</tree>
|
||||
<hbox align="center" flex="1">
|
||||
<text class="label" value="&editAttribute.label;"/>
|
||||
<label value="&editAttribute.label;"/>
|
||||
<spacer flex="1"/>
|
||||
<button label="&removeAttribute.label;" oncommand="RemoveHTMLAttribute();"/>
|
||||
</hbox>
|
||||
|
@ -109,8 +106,8 @@
|
|||
</columns>
|
||||
<rows>
|
||||
<row equalsize="always">
|
||||
<text class="label" for="AddHTMLAttributeNameInput" value="&AttName.label;"/>
|
||||
<text class="label" for="AddHTMLAttributeValueInput" value="&AttValue.label;"/>
|
||||
<label control="AddHTMLAttributeNameInput" value="&AttName.label;"/>
|
||||
<label control="AddHTMLAttributeValueInput" value="&AttValue.label;"/>
|
||||
</row>
|
||||
<row align="center" equalsize="always">
|
||||
<!-- Lists are built at runtime -->
|
||||
|
@ -149,7 +146,7 @@
|
|||
<treechildren id="CSSAList" flex="1"/>
|
||||
</tree>
|
||||
<hbox align="center" flex="1">
|
||||
<text class="label" value="&editAttribute.label;"/>
|
||||
<label value="&editAttribute.label;"/>
|
||||
<spacer flex="1"/>
|
||||
<button label="&removeAttribute.label;" oncommand="RemoveCSSAttribute();"/>
|
||||
</hbox>
|
||||
|
@ -159,8 +156,8 @@
|
|||
</columns>
|
||||
<rows>
|
||||
<row equalsize="always">
|
||||
<text class="label" for="AddCSSAttributeNameInput" value="&PropertyName.label;"/>
|
||||
<text class="label" for="AddCSSAttributeValueInput" value="&AttValue.label;"/>
|
||||
<label value="&PropertyName.label;"/>
|
||||
<label value="&AttValue.label;"/>
|
||||
</row>
|
||||
<row equalsize="always">
|
||||
<textbox id="AddCSSAttributeNameInput" flex="1"
|
||||
|
@ -194,7 +191,7 @@
|
|||
<treechildren id="JSEAList" flex="1"/>
|
||||
</tree>
|
||||
<hbox align="center" flex="1">
|
||||
<text class="label" value="&editAttribute.label;"/>
|
||||
<label value="&editAttribute.label;"/>
|
||||
<spacer flex="1"/>
|
||||
<button label="&removeAttribute.label;" oncommand="RemoveJSEAttribute()"/>
|
||||
</hbox>
|
||||
|
@ -204,8 +201,8 @@
|
|||
</columns>
|
||||
<rows>
|
||||
<row equalsize="always">
|
||||
<text class="label" for="AddJSEAttributeNameList" value="&AttName.label;"/>
|
||||
<text class="label" for="AddJSEAttributeValueInput" value="&AttValue.label;"/>
|
||||
<label value="&AttName.label;"/>
|
||||
<label value="&AttValue.label;"/>
|
||||
</row>
|
||||
<row align="center" equalsize="always">
|
||||
<!-- List is built at runtime -->
|
||||
|
@ -219,7 +216,4 @@
|
|||
</vbox>
|
||||
</tabpanels>
|
||||
</tabbox>
|
||||
<spacer class="spacer"/>
|
||||
<hbox id="okCancelHelpButtonsRight"/>
|
||||
|
||||
</window>
|
||||
</dialog>
|
||||
|
|
|
@ -29,12 +29,9 @@
|
|||
|
||||
<!DOCTYPE window SYSTEM "chrome://editor/locale/EdColorPicker.dtd">
|
||||
<window class="dialog"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
buttonpack="end"
|
||||
onload = "Startup()"
|
||||
onunload="onCancel()"
|
||||
orient="vertical"
|
||||
>
|
||||
|
||||
<script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
|
||||
|
@ -47,10 +44,10 @@
|
|||
|
||||
<keyset id="dialogKeys"/>
|
||||
<hbox id="TableOrCellGroup" align="center" collapsed="true">
|
||||
<text value="&background.label;"/>
|
||||
<label value="&background.label;"/>
|
||||
<radiogroup id="1" orient="horizontal">
|
||||
<radio group="1" id="TableRadio" label="&table.label;"/>
|
||||
<radio group="1" id="CellRadio" label="&cell.label;"/>
|
||||
<radio id="TableRadio" label="&table.label;"/>
|
||||
<radio id="CellRadio" label="&cell.label;"/>
|
||||
</radiogroup>
|
||||
</hbox>
|
||||
<colorpicker id="ColorPicker" palettename="standard"
|
||||
|
@ -61,7 +58,7 @@
|
|||
onselect="SelectColor();"/>
|
||||
<!-- Web palette is not implemented???
|
||||
<hbox align="center">
|
||||
<text class="label" value="&palette.label;"/>
|
||||
<label value="&palette.label;"/>
|
||||
<radio id="StandardPalette" label="&standardPalette.label;" oncommand="ChangePalette('standard')"/>
|
||||
<radio id="WebPalette" label="&webPalette.label;" oncommand="ChangePalette('web')"/>
|
||||
</hbox>
|
||||
|
@ -74,9 +71,9 @@
|
|||
persist="LastTextColor LastBackgroundColor"/>
|
||||
<label value="&lastPickedColor.label;" flex="1" style="text-align: center;"/>
|
||||
</button>
|
||||
<text class="label" value="&setColor1.label;"/>
|
||||
<text class="label" value="&setColor2.label;"/>
|
||||
<text class="label" value="&setColorExample.label;"/>
|
||||
<label value="&setColor1.label;"/>
|
||||
<label value="&setColor2.label;"/>
|
||||
<label value="&setColorExample.label;"/>
|
||||
<hbox align="center" flex="1=">
|
||||
<textbox id="ColorInput" style="width: 8em" oninput="SetColorSwatch(); SetDefaultToOk();"/>
|
||||
<spacer flex="1"/>
|
||||
|
|
|
@ -33,28 +33,24 @@
|
|||
<!DOCTYPE window SYSTEM "chrome://editor/locale/EditorColorProperties.dtd">
|
||||
|
||||
<window class="dialog" title="&windowTitle.label;"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
buttonpack="end"
|
||||
onload="Startup()"
|
||||
onunload="onCancel()"
|
||||
orient="vertical">
|
||||
onunload="onCancel()">
|
||||
|
||||
<script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
|
||||
<script type="application/x-javascript" src="chrome://editor/content/EdColorProps.js"/>
|
||||
<script type="application/x-javascript" src="chrome://global/content/dialogOverlay.js" />
|
||||
|
||||
<spacer id="location" offsetY="50" persist="offsetX offsetY"/>
|
||||
<broadcaster id="args" value=""/>
|
||||
<keyset id="dialogKeys"/>
|
||||
<popupset id="aTooltipSet" />
|
||||
|
||||
<groupbox orient="vertical" align="start">
|
||||
<groupbox align="start">
|
||||
<caption label="&pageColors.label;"/>
|
||||
<radiogroup id="pageColorGroup" orient="vertical" align="start">
|
||||
<radio group="pageColorGroup" id="DefaultColorsRadio" label="&defaultColorsRadio.label;" oncommand="UseDefaultColors()"
|
||||
<radiogroup id="pageColorGroup">
|
||||
<radio id="DefaultColorsRadio" label="&defaultColorsRadio.label;" oncommand="UseDefaultColors()"
|
||||
tooltip="aTooltip" tooltiptext="&defaultColorsRadio.tooltip;" />
|
||||
<radio group="pageColorGroup" id="CustomColorsRadio" label="&customColorsRadio.label;" oncommand="UseCustomColors()"
|
||||
<radio id="CustomColorsRadio" label="&customColorsRadio.label;" oncommand="UseCustomColors()"
|
||||
tooltip="aTooltip" tooltiptext="&customColorsRadio.tooltip;" />
|
||||
</radiogroup>
|
||||
<hbox class="big-left-margin">
|
||||
|
@ -62,31 +58,31 @@
|
|||
<columns><column/><column/></columns>
|
||||
<rows>
|
||||
<row align="center">
|
||||
<text class="label" id="Text" value="&normalText.label;&colon.character;" />
|
||||
<label id="Text" value="&normalText.label;&colon.character;" />
|
||||
<button id="TextButton" class="color-button" oncommand="GetColorAndUpdate('textCW');">
|
||||
<spacer id="textCW" class="color-well"/>
|
||||
</button>
|
||||
</row>
|
||||
<row align="center">
|
||||
<text class="label" id="Link" value="&linkText.label;&colon.character;" />
|
||||
<label id="Link" value="&linkText.label;&colon.character;" />
|
||||
<button id="LinkButton" class="color-button" oncommand="GetColorAndUpdate('linkCW');">
|
||||
<spacer id="linkCW" class="color-well"/>
|
||||
</button>
|
||||
</row>
|
||||
<row align="center">
|
||||
<text class="label" id="Active" value="&activeLinkText.label;&colon.character;" />
|
||||
<label id="Active" value="&activeLinkText.label;&colon.character;" />
|
||||
<button id="ActiveLinkButton" class="color-button" oncommand="GetColorAndUpdate('activeCW');">
|
||||
<spacer id="activeCW" class="color-well"/>
|
||||
</button>
|
||||
</row>
|
||||
<row align="center">
|
||||
<text class="label" id="Visited" value ="&visitedLinkText.label;&colon.character;" />
|
||||
<label id="Visited" value ="&visitedLinkText.label;&colon.character;" />
|
||||
<button id="VisitedLinkButton" class="color-button" oncommand="GetColorAndUpdate('visitedCW');">
|
||||
<spacer id="visitedCW" class="color-well"/>
|
||||
</button>
|
||||
</row>
|
||||
<row align="center">
|
||||
<text class="label" id="Background" value="&background.label;" />
|
||||
<label id="Background" value="&background.label;" />
|
||||
<button id="BackgroundButton" class="color-button" oncommand="GetColorAndUpdate('backgroundCW');">
|
||||
<spacer id="backgroundCW" class="color-well"/>
|
||||
</button>
|
||||
|
@ -95,13 +91,13 @@
|
|||
</grid>
|
||||
<vbox id="ColorPreview" flex="1">
|
||||
<spacer flex="1"/>
|
||||
<text class="label larger" id="NormalText" value="&normalText.label;"/>
|
||||
<label class="larger" id="NormalText" value="&normalText.label;"/>
|
||||
<spacer flex="1"/>
|
||||
<text class="label larger" id="LinkText" value="&linkText.label;"/>
|
||||
<label class="larger" id="LinkText" value="&linkText.label;"/>
|
||||
<spacer flex="1"/>
|
||||
<text class="label larger" id="ActiveLinkText" value="&activeLinkText.label;"/>
|
||||
<label class="larger" id="ActiveLinkText" value="&activeLinkText.label;"/>
|
||||
<spacer flex="1"/>
|
||||
<text class="label larger" id="VisitedLinkText" value="&visitedLinkText.label;"/>
|
||||
<label class="larger" id="VisitedLinkText" value="&visitedLinkText.label;"/>
|
||||
<spacer flex="1"/>
|
||||
</vbox>
|
||||
<spacer flex="1"/>
|
||||
|
@ -109,7 +105,7 @@
|
|||
<spacer class="spacer"/>
|
||||
</groupbox>
|
||||
<spacer class="spacer"/>
|
||||
<text class="label" value="&backgroundImage.label;"/>
|
||||
<label value="&backgroundImage.label;"/>
|
||||
<hbox>
|
||||
<textbox id="BackgroundImageInput" oninput="ChangeBackgroundImage()"
|
||||
tooltip="aTooltip" tooltiptext="&backgroundImage.tooltip;"
|
||||
|
|
|
@ -34,10 +34,8 @@
|
|||
|
||||
<window class="dialog" title="&windowTitle.label;"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
onload = "Startup()"
|
||||
onunload="onCancel()"
|
||||
orient="vertical">
|
||||
onunload="onCancel()">
|
||||
|
||||
<!-- Methods common to all editor dialogs -->
|
||||
<script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
|
||||
|
@ -48,17 +46,17 @@
|
|||
<spacer id="location" offsetY="50" persist="offsetX offsetY"/>
|
||||
<keyset id="dialogKeys"/>
|
||||
<popupset id="aTooltipSet"/>
|
||||
<html flex="1">&instructions.label;</html>
|
||||
<radiogroup id="SepRadioGroup" orient="vertical" persist="index character" index="0" character="">
|
||||
<radio group="SepRadioGroup" id="comma" label="&commaRadio.label;" oncommand="SelectCharacter('0');"/>
|
||||
<description flex="1">&instructions.label;</description>
|
||||
<radiogroup id="SepRadioGroup" persist="index character" index="0" character="">
|
||||
<radio id="comma" label="&commaRadio.label;" oncommand="SelectCharacter('0');"/>
|
||||
<vbox>
|
||||
<radio group="SepRadioGroup" id="space" label="&spaceRadio.label;" oncommand="SelectCharacter('1');"/>
|
||||
<radio id="space" label="&spaceRadio.label;" oncommand="SelectCharacter('1');"/>
|
||||
<checkbox id="CollapseSpaces" label="&collapseSpaces.label;"
|
||||
style="margin-left:2em" checked="true" persist="checked"
|
||||
tooltip="aTooltip" tooltiptext="&collapseSpaces.tooltip;"/>
|
||||
style="margin-left:2em" checked="true" persist="checked"
|
||||
tooltip="aTooltip" tooltiptext="&collapseSpaces.tooltip;"/>
|
||||
</vbox>
|
||||
<hbox align="center">
|
||||
<radio group="SepRadioGroup" id="other" label="&otherRadio.label;" oncommand="SelectCharacter('2');"/>
|
||||
<radio id="other" label="&otherRadio.label;" oncommand="SelectCharacter('2');"/>
|
||||
<textbox class="narrow" id="SepCharacterInput" oninput="InputSepCharacter()"/>
|
||||
</hbox>
|
||||
</radiogroup>
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
-->
|
||||
|
||||
<overlay id="EdDialogOverlay"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
<vbox id="AdvancedEdit" flex="1">
|
||||
|
@ -44,7 +43,6 @@
|
|||
-->
|
||||
<button
|
||||
id = "AdvancedEditButton"
|
||||
class = "dialog"
|
||||
oncommand = "onAdvancedEdit();"
|
||||
label = "&AdvancedEditButton.label;"
|
||||
tooltip = "aTooltip"
|
||||
|
@ -52,7 +50,6 @@
|
|||
|
||||
<button
|
||||
id = "AdvancedEditButton2"
|
||||
class = "dialog"
|
||||
oncommand = "onAdvancedEdit()"
|
||||
label = "&AdvancedEditButton.label;"
|
||||
tooltip = "aTooltip"
|
||||
|
@ -60,7 +57,6 @@
|
|||
|
||||
<button
|
||||
id = "ChooseFile"
|
||||
class = "dialog"
|
||||
oncommand = "chooseFile()"
|
||||
label = "&chooseButton.label;"/>
|
||||
|
||||
|
|
|
@ -26,10 +26,8 @@
|
|||
<!DOCTYPE window SYSTEM "chrome://editor/locale/EditorPersonalDictionary.dtd">
|
||||
<window class="dialog" title="&windowTitle.label;"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
onload = "Startup()"
|
||||
onunload="Close()"
|
||||
orient="vertical">
|
||||
onunload="Close()">
|
||||
|
||||
<!-- Methods common to all editor dialogs -->
|
||||
<script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
|
||||
|
@ -47,15 +45,15 @@
|
|||
<columns><column style="width: 15em" flex="1"/><column flex="1"/></columns>
|
||||
<rows>
|
||||
<row>
|
||||
<text class="label" value="&wordEditField.label;"/>
|
||||
<label value="&wordEditField.label;"/>
|
||||
<spacer/>
|
||||
</row>
|
||||
<row>
|
||||
<textbox id="WordInput" flex="1"/>
|
||||
<button flex="1" id="AddWord" oncommand="AddWord()" label="&AddButton.label;"/>
|
||||
<button id="AddWord" oncommand="AddWord()" label="&AddButton.label;"/>
|
||||
</row>
|
||||
<row>
|
||||
<text class="label" value="&DictionaryList.label;"/>
|
||||
<label value="&DictionaryList.label;"/>
|
||||
<spacer/>
|
||||
</row>
|
||||
<row>
|
||||
|
|
|
@ -33,8 +33,6 @@ function Startup()
|
|||
if (!InitEditorShell())
|
||||
return;
|
||||
|
||||
doSetOKCancel(onOK, onCancel);
|
||||
|
||||
// Get the selected horizontal line
|
||||
hLineElement = editorShell.GetSelectedElement(tagName);
|
||||
|
||||
|
@ -193,13 +191,12 @@ function ValidateData()
|
|||
return true;
|
||||
}
|
||||
|
||||
function onOK()
|
||||
function onAccept()
|
||||
{
|
||||
if (ValidateData())
|
||||
{
|
||||
// Copy attributes from the globalElement to the document element
|
||||
editorShell.CloneAttributes(hLineElement, globalElement);
|
||||
SaveWindowLocation();
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
|
@ -25,55 +25,51 @@
|
|||
<?xml-stylesheet href="chrome://editor/skin/editor.css" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://editor/skin/EditorDialog.css" type="text/css"?>
|
||||
|
||||
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
||||
<?xul-overlay href="chrome://editor/content/EdDialogOverlay.xul"?>
|
||||
<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
|
||||
<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE window SYSTEM "chrome://editor/locale/EditorHLineProperties.dtd">
|
||||
|
||||
<window class="dialog" title="&windowTitle.label;"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
onload = "Startup()"
|
||||
onunload="onCancel()"
|
||||
orient="vertical">
|
||||
<dialog title="&windowTitle.label;"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="Startup()"
|
||||
ondialogaccept="return onAccept();"
|
||||
ondialogcancel="return onCancel();">
|
||||
|
||||
<!-- Methods common to all editor dialogs -->
|
||||
<script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
|
||||
<script type="application/x-javascript" src="chrome://global/content/dialogOverlay.js" />
|
||||
<!--- Element-specific methods -->
|
||||
<script type="application/x-javascript" src="chrome://editor/content/EdHLineProps.js"/>
|
||||
|
||||
<spacer id="location" offsetY="50" persist="offsetX offsetY"/>
|
||||
<keyset id="dialogKeys"/>
|
||||
<popupset id="aTooltipSet" />
|
||||
|
||||
<groupbox orient="vertical"><caption label="&dimensionsBox.label;"/>
|
||||
<groupbox><caption label="&dimensionsBox.label;"/>
|
||||
<grid>
|
||||
<columns><column/><column/><column /></columns>
|
||||
<rows>
|
||||
<row align="center">
|
||||
<text class="label" value="&widthEditField.label;" />
|
||||
<label value="&widthEditField.label;" />
|
||||
<textbox class="narrow" id="width" flex="1" oninput="forceInteger('width')"/>
|
||||
<menulist id="pixelOrPercentMenulist" />
|
||||
<!-- menupopup and menuitems added by JS -->
|
||||
</row>
|
||||
<row align="center">
|
||||
<text class="label" value="&heightEditField.label;" />
|
||||
<label value="&heightEditField.label;" />
|
||||
<textbox class="narrow" id="height" oninput="forceInteger('height')"/>
|
||||
<text class="label" value="&pixelsPopup.value;" />
|
||||
<label value="&pixelsPopup.value;" />
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<checkbox id="3dShading" label="&threeDShading.label;" />
|
||||
</groupbox>
|
||||
<groupbox><caption align="left" label="&alignmentBox.label;"/>
|
||||
<groupbox><caption label="&alignmentBox.label;"/>
|
||||
<radiogroup id="alignmentGroup" orient="horizontal">
|
||||
<spacer class="spacer"/>
|
||||
<radio group="alignmentGroup" id="leftAlign" label="&leftRadio.value;" />
|
||||
<radio group="alignmentGroup" id="centerAlign" label="¢erRadio.value;" />
|
||||
<radio group="alignmentGroup" id="rightAlign" label="&rightRadio.value;" />
|
||||
<radio id="leftAlign" label="&leftRadio.value;" />
|
||||
<radio id="centerAlign" label="¢erRadio.value;" />
|
||||
<radio id="rightAlign" label="&rightRadio.value;" />
|
||||
</radiogroup>
|
||||
</groupbox>
|
||||
<spacer class="spacer"/>
|
||||
|
@ -85,6 +81,4 @@
|
|||
<button id="AdvancedEditButton"/>
|
||||
</hbox>
|
||||
<separator class="groove"/>
|
||||
<!-- from global dialogOverlay -->
|
||||
<hbox id="okCancelButtonsRight"/>
|
||||
</window>
|
||||
</dialog>
|
||||
|
|
|
@ -31,10 +31,8 @@
|
|||
|
||||
<window class="dialog" title="&windowTitle.label;"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
onload = "Startup()"
|
||||
onunload="onCancel()"
|
||||
orient="vertical"
|
||||
>
|
||||
|
||||
<!-- Methods common to all editor dialogs -->
|
||||
|
@ -46,14 +44,14 @@
|
|||
<spacer id="location" offsetY="50" persist="offsetX offsetY"/>
|
||||
<broadcaster id="args" value=""/>
|
||||
|
||||
<groupbox orient="vertical" flex="1">
|
||||
<groupbox flex="1">
|
||||
<caption id="titleInput" label="&link.label;"/>
|
||||
|
||||
<grid>
|
||||
<columns><column/><column/><column/></columns>
|
||||
<rows>
|
||||
<row>
|
||||
<text class="label" for="urlInput" value="&urlFieldset.label;" align="right"/>
|
||||
<label control="urlInput" value="&urlFieldset.label;"/>
|
||||
|
||||
<textbox id="urlInput" class="MinWidth20em" value="http://"/>
|
||||
|
||||
|
@ -61,7 +59,7 @@
|
|||
</row>
|
||||
|
||||
<row>
|
||||
<text class="label" for="altInput" value="&altFieldset.label;" align="right"/>
|
||||
<label control="altInput" value="&altFieldset.label;"/>
|
||||
|
||||
<textbox class="MinWidth20em" id="altInput"/>
|
||||
</row>
|
||||
|
@ -69,18 +67,18 @@
|
|||
</grid>
|
||||
</groupbox>
|
||||
|
||||
<groupbox orient="vertical" flex="1">
|
||||
<groupbox flex="1">
|
||||
<caption id="targetLabel" label="&targetFieldset.label;"/>
|
||||
<grid>
|
||||
<columns><column/><column/><column/></columns>
|
||||
<rows>
|
||||
<row>
|
||||
<text class="label" for="targetInput" value="&target.label;" align="right" />
|
||||
<label control="targetInput" value="&target.label;"/>
|
||||
</row>
|
||||
<row>
|
||||
<textbox class="MinWidth20em" id="targetInput"/>
|
||||
|
||||
<text class="label" id="commonLabel" value="&commonFieldset.label;"/>
|
||||
<label id="commonLabel" value="&commonFieldset.label;"/>
|
||||
|
||||
<menulist id="commonInput" oncommand="changeTarget()">
|
||||
<menupopup align="center">
|
||||
|
|
|
@ -66,8 +66,6 @@ function Startup()
|
|||
if (!InitEditorShell())
|
||||
return;
|
||||
|
||||
doSetOKCancel(onOK, onCancel);
|
||||
|
||||
gDialog.srcInput = document.getElementById( "srcInput" );
|
||||
gDialog.altTextInput = document.getElementById( "altTextInput" );
|
||||
gDialog.MoreFewerButton = document.getElementById( "MoreFewerButton" );
|
||||
|
@ -372,7 +370,7 @@ function ChangeImageSrc()
|
|||
function doDimensionEnabling()
|
||||
{
|
||||
// Enabled only if "Custom" is checked
|
||||
var enable = (gDialog.customSizeRadio.checked);
|
||||
var enable = (gDialog.customSizeRadio.selected);
|
||||
|
||||
// BUG 74145: After input field is disabled,
|
||||
// setting it enabled causes blinking caret to appear
|
||||
|
@ -588,9 +586,10 @@ function ValidateData()
|
|||
function doHelpButton()
|
||||
{
|
||||
openHelp("chrome://help/content/help.xul?image_properties");
|
||||
return true;
|
||||
}
|
||||
|
||||
function onOK()
|
||||
function onAccept()
|
||||
{
|
||||
// Show alt text error only once
|
||||
// (we don't initialize doAltTextError=true
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
<?xml-stylesheet href="chrome://editor/skin/editor.css" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://editor/skin/EditorDialog.css" type="text/css"?>
|
||||
|
||||
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
||||
<?xul-overlay href="chrome://editor/content/EdDialogOverlay.xul"?>
|
||||
<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
|
||||
<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
|
||||
|
@ -35,39 +34,34 @@
|
|||
|
||||
|
||||
<!-- dialog containing a control requiring initial setup -->
|
||||
<window class="dialog" title="&windowTitle.label;"
|
||||
<dialog title="&windowTitle.label;"
|
||||
xmlns ="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
onload = "Startup()"
|
||||
onunload="onCancel()"
|
||||
orient="vertical"
|
||||
id="imagedialog"
|
||||
>
|
||||
buttons="accept,cancel,help"
|
||||
ondialogaccept="return onAccept();"
|
||||
ondialogcancel="return onCancel();"
|
||||
ondialoghelp="return doHelpButton();">
|
||||
|
||||
<script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
|
||||
<script type="application/x-javascript" src="chrome://editor/content/EdImageProps.js"/>
|
||||
<script type="application/x-javascript" src="chrome://global/content/dialogOverlay.js"/>
|
||||
<script type="application/x-javascript" src="chrome://global/content/globalOverlay.js"/>
|
||||
<script type="application/x-javascript" src="chrome://help/content/help.js"/>
|
||||
|
||||
<spacer id="location" offsetY="50" persist="offsetX offsetY"/>
|
||||
<broadcaster id="args" value=""/>
|
||||
<keyset id="dialogKeys"/>
|
||||
<popupset id="aTooltipSet" />
|
||||
|
||||
<groupbox orient="vertical">
|
||||
<groupbox>
|
||||
<caption label="&locationBox.label;"/>
|
||||
<!--/////// Src URL and ALT Text //////-->
|
||||
<text class = "label"
|
||||
for = "srcInput"
|
||||
<label control = "srcInput"
|
||||
value = "&locationEditField.label;"
|
||||
tooltip="aTooltip" tooltiptext="&locationEditField.tooltip;"
|
||||
/>
|
||||
<textbox
|
||||
id = "srcInput"
|
||||
oninput = "ChangeImageSrc()"
|
||||
style = "min-width : 20em"
|
||||
flex = "1"/>
|
||||
style = "min-width : 20em"/>
|
||||
<hbox>
|
||||
<checkbox
|
||||
id = "MakeRelativeCheckbox"
|
||||
|
@ -78,24 +72,20 @@
|
|||
</hbox>
|
||||
<spacer class="spacer"/>
|
||||
<hbox>
|
||||
<text class = "label"
|
||||
id = "altTextLabel"
|
||||
for = "altTextInput"
|
||||
<label id = "altTextLabel"
|
||||
control = "altTextInput"
|
||||
tooltip = "aTooltip" tooltiptext="&altTextEditField.tooltip;"
|
||||
value = "&altTextEditField.label;"/>
|
||||
<textbox
|
||||
id ="altTextInput"
|
||||
style = "min-width : 20em"
|
||||
tooltip = "aTooltip" tooltiptext="&altTextEditField.tooltip;"
|
||||
flex = "1"/>
|
||||
tooltip = "aTooltip" tooltiptext="&altTextEditField.tooltip;"/>
|
||||
</hbox>
|
||||
<spacer class="spacer"/>
|
||||
</groupbox>
|
||||
<spacer class="spacer"/>
|
||||
<hbox align="center">
|
||||
<button
|
||||
class = "dialog"
|
||||
id = "MoreFewerButton"
|
||||
<button id = "MoreFewerButton"
|
||||
oncommand = "onMoreFewer()"
|
||||
tooltip = "aTooltip" tooltiptext = "&MoreFewerButton.tooltip;"
|
||||
persist = "more"/>
|
||||
|
@ -104,21 +94,21 @@
|
|||
<caption label="&previewBox.label;"/>
|
||||
<hbox id="preview-image-box" align="center">
|
||||
<spacer flex="1"/>
|
||||
<html id="preview-image-holder"/>
|
||||
<description id="preview-image-holder"/>
|
||||
<spacer flex="1"/>
|
||||
</hbox>
|
||||
<vbox id="PreviewSize" collapsed="true">
|
||||
<spacer flex="1"/>
|
||||
<text class="label" value="&actualSize.label;"/>
|
||||
<label value="&actualSize.label;"/>
|
||||
<hbox>
|
||||
<text class="label" value="&widthEditField.label;"/>
|
||||
<label value="&widthEditField.label;"/>
|
||||
<spacer flex="1"/>
|
||||
<text id="PreviewWidth" class="label"/>
|
||||
<label id="PreviewWidth"/>
|
||||
</hbox>
|
||||
<hbox>
|
||||
<text class="label" value="&heightEditField.label;"/>
|
||||
<label value="&heightEditField.label;"/>
|
||||
<spacer flex="1"/>
|
||||
<text id="PreviewHeight" class="label"/>
|
||||
<label id="PreviewHeight"/>
|
||||
</hbox>
|
||||
<spacer flex="1"/>
|
||||
</vbox>
|
||||
|
@ -130,18 +120,16 @@
|
|||
<hbox>
|
||||
<vbox>
|
||||
<!-- //////// Image Dimensions //////// -->
|
||||
<groupbox orient="vertical" flex="1">
|
||||
<groupbox flex="1">
|
||||
<caption id="dimensionsLabel" label="&dimensionsBox.label;"/>
|
||||
<hbox>
|
||||
<radiogroup id="imgSizeGroup" orient="vertical">
|
||||
<radiogroup id="imgSizeGroup">
|
||||
<radio
|
||||
group = "imgSizeGroup"
|
||||
id = "actualSizeRadio"
|
||||
label = "&actualSizeRadio.label;"
|
||||
tooltip = "aTooltip" tooltiptext="&actualSizeRadio.tooltip;"
|
||||
oncommand = "SetActualSize()"/>
|
||||
<radio
|
||||
group = "imgSizeGroup"
|
||||
id = "customSizeRadio"
|
||||
label = "&customSizeRadio.label;"
|
||||
tooltip = "aTooltip" tooltiptext="&customSizeRadio.tooltip;"
|
||||
|
@ -163,9 +151,8 @@
|
|||
<rows>
|
||||
<!--////// IMAGE WIDTH //////-->
|
||||
<row align="center">
|
||||
<text class = "label"
|
||||
id = "widthLabel"
|
||||
for = "widthInput"
|
||||
<label id = "widthLabel"
|
||||
control = "widthInput"
|
||||
value = "&widthEditField.label;" />
|
||||
<textbox
|
||||
id = "widthInput"
|
||||
|
@ -177,9 +164,8 @@
|
|||
</row>
|
||||
<!--////// IMAGE HEIGHT //////-->
|
||||
<row align="center">
|
||||
<text class = "label"
|
||||
id = "heightLabel"
|
||||
for = "heightInput"
|
||||
<label id = "heightLabel"
|
||||
control = "heightInput"
|
||||
value = "&heightEditField.label;" />
|
||||
<textbox
|
||||
id = "heightInput"
|
||||
|
@ -194,13 +180,12 @@
|
|||
<spacer flex="1"/>
|
||||
</groupbox>
|
||||
<!--////// IMAGE MAP BUTTONS //////-->
|
||||
<groupbox orient="vertical" flex="1">
|
||||
<groupbox flex="1">
|
||||
<caption id="imagemapLabel" label="&imagemapBox.label;"/>
|
||||
<hbox flex="1" equalsize="always">
|
||||
|
||||
<!-- Hide Image Map Editor. Not ready for prime time yet
|
||||
<button
|
||||
class = "dialog"
|
||||
id = "editImageMap"
|
||||
oncommand = "editImageMap()"
|
||||
tooltip = "aTooltip" tooltiptext="&editImageMapButton.tooltip;"
|
||||
|
@ -208,11 +193,9 @@
|
|||
flex = "1"/>
|
||||
-->
|
||||
<button
|
||||
class = "dialog"
|
||||
id = "removeImageMap"
|
||||
oncommand = "removeImageMap()"
|
||||
label = "&removeImageMapButton.label;"
|
||||
flex = "1"/>
|
||||
label = "&removeImageMapButton.label;"/>
|
||||
<spacer flex="1"/><!-- remove when we restore Image Map Editor -->
|
||||
</hbox>
|
||||
<spacer class="spacer"/>
|
||||
|
@ -222,7 +205,7 @@
|
|||
<!-- Bottom Right Region -->
|
||||
<vbox flex="1">
|
||||
<!--//////// Alignment ////////-->
|
||||
<groupbox flex="1" orient="vertical">
|
||||
<groupbox flex="1">
|
||||
<caption id="alignLabel" label="&alignment.label;"/>
|
||||
<spacer class="spacer"/>
|
||||
<menulist id="alignTypeSelect" class="align-menu">
|
||||
|
@ -244,43 +227,40 @@
|
|||
<columns><column/><column/><column/></columns>
|
||||
<rows>
|
||||
<row align="center">
|
||||
<text
|
||||
class = "label align-right"
|
||||
<label
|
||||
class = "align-right"
|
||||
id = "leftrightLabel"
|
||||
value = "&leftRightEditField.label;"/>
|
||||
<textbox
|
||||
class = "narrow"
|
||||
id = "imageleftrightInput"
|
||||
oninput = "forceInteger(this.id)"/>
|
||||
<text
|
||||
class = "label"
|
||||
<label
|
||||
id = "leftrighttypeLabel"
|
||||
value = "&pixelsPopup.value;" />
|
||||
</row>
|
||||
<row align="center">
|
||||
<text
|
||||
class = "label align-right"
|
||||
<label
|
||||
class = "align-right"
|
||||
id = "topbottomLabel"
|
||||
value = "&topBottomEditField.label;"/>
|
||||
<textbox
|
||||
class = "narrow"
|
||||
id = "imagetopbottomInput"
|
||||
oninput = "forceInteger(this.id)"/>
|
||||
<text
|
||||
class = "label"
|
||||
<label
|
||||
id = "topbottomtypeLabel"
|
||||
value = "&pixelsPopup.value;" />
|
||||
</row>
|
||||
<row align="center">
|
||||
<text class = "label align-right"
|
||||
<label class = "align-right"
|
||||
id = "borderLabel"
|
||||
value = "&borderEditField.label;"/>
|
||||
<textbox
|
||||
class = "narrow"
|
||||
id = "border"
|
||||
oninput = "forceInteger(this.id)"/>
|
||||
<text
|
||||
class = "label"
|
||||
<label
|
||||
id = "bordertypeLabel"
|
||||
value = "&pixelsPopup.value;" />
|
||||
</row>
|
||||
|
@ -292,6 +272,4 @@
|
|||
</vbox> <!-- END OF MORE/FEWER SECTION -->
|
||||
<!-- from EdDialogOverlay -->
|
||||
<vbox id="AdvancedEdit"/>
|
||||
<!-- from global dialogOverlay -->
|
||||
<hbox id="okCancelHelpButtonsRight"/>
|
||||
</window>
|
||||
</dialog>
|
||||
|
|
|
@ -32,10 +32,8 @@
|
|||
|
||||
<window class="dialog" title="&windowTitle.label;"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
onload = "Startup()"
|
||||
onunload="onCancel()"
|
||||
orient="vertical" flex="1">
|
||||
onunload="onCancel()">
|
||||
|
||||
<!-- Methods common to all editor dialogs -->
|
||||
<script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
|
||||
|
@ -46,17 +44,17 @@
|
|||
<broadcaster id="args" value=""/>
|
||||
<keyset id="dialogKeys"/>
|
||||
|
||||
<text class="label" id="srcMessage" value="&sourceEditField.label;"/>
|
||||
<label id="srcMessage" value="&sourceEditField.label;"/>
|
||||
<vbox flex="1" style="width: 30em; height: 20em;">
|
||||
<textbox id="srcInput" multiline="true" rows="1" style="width: 1em" flex="1"/>
|
||||
</vbox>
|
||||
<!-- Will this accept the embedded HTML tags? -->
|
||||
<hbox>
|
||||
<spacer class="bigspacer"/>
|
||||
<text value="&example.label;"/>
|
||||
<text class="bold" value="&exampleOpenTag.label;"/>
|
||||
<text class="bold italic" value="&exampleText.label;"/>
|
||||
<text class="bold" value="&exampleCloseTag.label;"/>
|
||||
<label value="&example.label;"/>
|
||||
<label class="bold" value="&exampleOpenTag.label;"/>
|
||||
<label class="bold italic" value="&exampleText.label;"/>
|
||||
<label class="bold" value="&exampleCloseTag.label;"/>
|
||||
</hbox>
|
||||
<spacer class="spacer"/>
|
||||
<separator class="groove"/>
|
||||
|
|
|
@ -41,16 +41,13 @@ function Startup()
|
|||
|
||||
StartupLatin();
|
||||
|
||||
doSetOKCancel(onOK, Cancel);
|
||||
|
||||
|
||||
// Dialog is non-modal:
|
||||
// Change "Ok" to "Insert, change "Cancel" to "Close"
|
||||
var okButton = document.getElementById("ok");
|
||||
var okButton = document.getElementById("insertCharsDlg").getButton("accept");
|
||||
if (okButton)
|
||||
okButton.setAttribute("label", GetString("Insert"));
|
||||
|
||||
var cancelButton = document.getElementById("cancel");
|
||||
var cancelButton = document.getElementById("insertCharsDlg").getButton("cancel");
|
||||
if (cancelButton)
|
||||
cancelButton.setAttribute("label", GetString("Close"));
|
||||
|
||||
|
@ -62,7 +59,7 @@ function Startup()
|
|||
SetWindowLocation();
|
||||
}
|
||||
|
||||
function onOK()
|
||||
function onAccept()
|
||||
{
|
||||
// Insert the character
|
||||
// Note: Assiated parent window and editorShell
|
||||
|
@ -74,10 +71,11 @@ function onOK()
|
|||
CategoryGroup.setAttribute("category", category);
|
||||
CategoryGroup.setAttribute("letter_index", indexL);
|
||||
CategoryGroup.setAttribute("char_index", indexM);
|
||||
return true;
|
||||
}
|
||||
|
||||
// Return true only for modal window
|
||||
//return true;
|
||||
}
|
||||
|
||||
// Don't allow inserting in HTML Source Mode
|
||||
function onFocus()
|
||||
|
@ -95,12 +93,6 @@ function Unload()
|
|||
SaveWindowLocation();
|
||||
}
|
||||
|
||||
function Cancel()
|
||||
{
|
||||
// This will trigger call to "Unload()"
|
||||
window.close();
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------
|
||||
var LatinL;
|
||||
var LatinM;
|
||||
|
|
|
@ -30,13 +30,12 @@
|
|||
|
||||
<!DOCTYPE window SYSTEM "chrome://editor/locale/EditorInsertChars.dtd">
|
||||
|
||||
<window class="dialog" title="&windowTitle.label;"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
onload = "Startup()"
|
||||
onunload = "Unload()"
|
||||
onfocus = "onFocus()"
|
||||
orient="vertical">
|
||||
<dialog id="insertCharsDlg" title="&windowTitle.label;"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload = "Startup()"
|
||||
onfocus = "onFocus()"
|
||||
ondialogaccept = "return onAccept();"
|
||||
ondialogcancel = "return Unload();">
|
||||
|
||||
<!-- Methods common to all editor dialogs -->
|
||||
<script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
|
||||
|
@ -44,32 +43,28 @@
|
|||
<script type="application/x-javascript" src="chrome://global/content/dialogOverlay.js" />
|
||||
|
||||
<spacer id="location" offsetY="50" persist="offsetX offsetY"/>
|
||||
<keyset id="dialogKeys"/>
|
||||
<broadcaster id="args" value=""/>
|
||||
|
||||
<groupbox orient="vertical"><caption label="&category.label;"/>
|
||||
<radiogroup id="CatGrp" orient="vertical" persist="category letter_index char_index">
|
||||
<radio group="CatGrp" id="AccentUpper" label="&accentUpper.label;" oncommand="ChangeCategory(this.id)"/>
|
||||
<radio group="CatGrp" id="AccentLower" label="&accentLower.label;" oncommand="ChangeCategory(this.id)"/>
|
||||
<radio group="CatGrp" id="Upper" label="&otherUpper.label;" oncommand="ChangeCategory(this.id)"/>
|
||||
<radio group="CatGrp" id="Lower" label="&otherLower.label;" oncommand="ChangeCategory(this.id)"/>
|
||||
<radio group="CatGrp" id="Symbol" label="&commonSymbols.label;" oncommand="ChangeCategory(this.id)"/>
|
||||
<groupbox><caption label="&category.label;"/>
|
||||
<radiogroup id="CatGrp" persist="category letter_index char_index">
|
||||
<radio id="AccentUpper" label="&accentUpper.label;" oncommand="ChangeCategory(this.id)"/>
|
||||
<radio id="AccentLower" label="&accentLower.label;" oncommand="ChangeCategory(this.id)"/>
|
||||
<radio id="Upper" label="&otherUpper.label;" oncommand="ChangeCategory(this.id)"/>
|
||||
<radio id="Lower" label="&otherLower.label;" oncommand="ChangeCategory(this.id)"/>
|
||||
<radio id="Symbol" label="&commonSymbols.label;" oncommand="ChangeCategory(this.id)"/>
|
||||
</radiogroup>
|
||||
<spacer class="spacer"/>
|
||||
</groupbox>
|
||||
<hbox>
|
||||
<vbox flex="1">
|
||||
<!-- value is set in JS from editor.properties strings -->
|
||||
<text class="label" id="LatinL_Label" value="&letter.label;"/>
|
||||
<label id="LatinL_Label" value="&letter.label;"/>
|
||||
<menulist class="larger" flex="1" id="LatinL" oncommand="SelectLatinLetter()"/>
|
||||
</vbox>
|
||||
<vbox flex="1">
|
||||
<text class="label" id="LatinM_Label" value="&character.label;"/>
|
||||
<label id="LatinM_Label" value="&character.label;"/>
|
||||
<menulist class="larger" flex="1" id="LatinM" oncommand="SelectLatinModifier()"/>
|
||||
</vbox>
|
||||
</hbox>
|
||||
|
||||
<separator class="groove"/>
|
||||
<!-- from global dialogOverlay -->
|
||||
<hbox id="okCancelButtonsRight"/>
|
||||
</window>
|
||||
</dialog>
|
||||
|
|
|
@ -34,11 +34,9 @@
|
|||
|
||||
<window class="dialog" title="&windowTitle.label;"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
onload = "Startup()"
|
||||
onunload="onCancel()"
|
||||
persist="screenX screenY"
|
||||
orient="vertical">
|
||||
persist="screenX screenY">
|
||||
|
||||
<!-- Methods common to all editor dialogs -->
|
||||
<script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
|
||||
|
@ -49,7 +47,7 @@
|
|||
<broadcaster id="args" value=""/>
|
||||
<keyset id="dialogKeys"/>
|
||||
<popupset id="aTooltipSet" />
|
||||
<groupbox orient="vertical"><caption label="&size.label;"/>
|
||||
<groupbox><caption label="&size.label;"/>
|
||||
<grid>
|
||||
<columns>
|
||||
<column flex="1"/>
|
||||
|
@ -58,17 +56,17 @@
|
|||
</columns>
|
||||
<rows>
|
||||
<row align="center">
|
||||
<text class="label align-right" text-align="right" value="&numRowsEditField.label;" />
|
||||
<label class="align-right" value="&numRowsEditField.label;" />
|
||||
<textbox class="narrow" id="rowsInput" oninput="ChangeRowOrColumn(this.id)" />
|
||||
<spacer/>
|
||||
</row>
|
||||
<row align="center">
|
||||
<text class="label align-right" value="&numColumnsEditField.label;" />
|
||||
<label class="align-right" value="&numColumnsEditField.label;" />
|
||||
<textbox class="narrow" id="columnsInput" oninput="ChangeRowOrColumn(this.id)" />
|
||||
<spacer/>
|
||||
</row>
|
||||
<row align="center">
|
||||
<text class="label align-right" value="&widthEditField.label;" />
|
||||
<label class="align-right" value="&widthEditField.label;" />
|
||||
<textbox class="narrow" id="widthInput" oninput="forceInteger(this.id)" />
|
||||
<menulist id="widthPixelOrPercentMenulist"><menupopup/></menulist>
|
||||
<!-- child elements are appended by JS -->
|
||||
|
@ -79,10 +77,10 @@
|
|||
</groupbox>
|
||||
<spacer class="spacer"/>
|
||||
<hbox align="center">
|
||||
<text class="label align-right" text-align="right" value="&borderEditField.label;"
|
||||
<label class="align-right" value="&borderEditField.label;"
|
||||
tooltip="aTooltip" tooltiptext="&borderEditField.tooltip;" />
|
||||
<textbox class="narrow" id="borderInput" oninput="forceInteger(this.id)" />
|
||||
<text class="label" value="&pixels.label;"/>
|
||||
<label value="&pixels.label;"/>
|
||||
</hbox>
|
||||
<!-- from EdDialogOverlay -->
|
||||
<vbox id="AdvancedEdit"/>
|
||||
|
|
|
@ -45,8 +45,6 @@ function Startup()
|
|||
if (!InitEditorShell())
|
||||
return;
|
||||
|
||||
doSetOKCancel(onOK, onCancel);
|
||||
|
||||
// Message was wrapped in a <label> or <div>, so actual text is a child text node
|
||||
gDialog.linkTextCaption = document.getElementById("linkTextCaption");
|
||||
gDialog.linkTextMessage = document.getElementById("linkTextMessage");
|
||||
|
@ -464,9 +462,10 @@ function ValidateData()
|
|||
function doHelpButton()
|
||||
{
|
||||
openHelp("chrome://help/content/help.xul?link_properties");
|
||||
return true;
|
||||
}
|
||||
|
||||
function onOK()
|
||||
function onAccept()
|
||||
{
|
||||
if (ValidateData())
|
||||
{
|
||||
|
|
|
@ -25,18 +25,18 @@
|
|||
<?xml-stylesheet href="chrome://editor/skin/editor.css" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://editor/skin/EditorDialog.css" type="text/css"?>
|
||||
|
||||
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
||||
<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
|
||||
<?xul-overlay href="chrome://editor/content/EdDialogOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE window SYSTEM "chrome://editor/locale/EditorLinkProperties.dtd">
|
||||
|
||||
<window class="dialog" title="&windowTitle.label;"
|
||||
<dialog title="&windowTitle.label;"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
buttons="accept,cancel,help"
|
||||
onload = "Startup()"
|
||||
onunload="onCancel()"
|
||||
orient="vertical" >
|
||||
ondialogaccept="return onAccept();"
|
||||
ondialogcancel="return onCancel();"
|
||||
ondialoghelp="return doHelpButton();">
|
||||
|
||||
<script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
|
||||
<script type="application/x-javascript" src="chrome://editor/content/EdLinkProps.js"/>
|
||||
|
@ -45,17 +45,16 @@
|
|||
|
||||
<broadcaster id="args" value=""/>
|
||||
<spacer id="location" offsetY="50" persist="offsetX offsetY"/>
|
||||
<keyset id="dialogKeys"/>
|
||||
<popupset id="aTooltipSet" />
|
||||
|
||||
<vbox style="min-width: 20em">
|
||||
<groupbox orient="vertical"><caption id="linkTextCaption"/>
|
||||
<text class="label" id="linkTextMessage"/>
|
||||
<groupbox><caption id="linkTextCaption"/>
|
||||
<label id="linkTextMessage"/>
|
||||
<textbox id="linkTextInput" flex="1"/>
|
||||
</groupbox>
|
||||
|
||||
<groupbox orient="vertical"><caption label="&LinkURLBox.label;"/>
|
||||
<text class="label" value="&LinkURLEditField.label;"/>
|
||||
<groupbox><caption label="&LinkURLBox.label;"/>
|
||||
<label value="&LinkURLEditField.label;"/>
|
||||
<textbox id="hrefInput" flex="1" style="min-width: 18em" oninput="ChangeLocation()"/>
|
||||
<hbox align="center">
|
||||
<!-- from EdDialogOverlay.xul 'for' identifies the textfield to get URL from -->
|
||||
|
@ -63,7 +62,7 @@
|
|||
<spacer flex="1"/>
|
||||
<button id="ChooseFile"/>
|
||||
</hbox>
|
||||
<html class="wrap" flex="1" id="RemoveLinkMsg" style="margin-bottom: 7px">&RemoveLinkMsg.label;</html>
|
||||
<description class="wrap" flex="1" id="RemoveLinkMsg" style="margin-bottom: 7px">&RemoveLinkMsg.label;</description>
|
||||
<spacer class="smallspacer"/>
|
||||
<hbox align="start">
|
||||
<button id="MoreFewerButton" oncommand="onMoreFewer()" persist="more"/>
|
||||
|
@ -71,21 +70,19 @@
|
|||
<spacer class="spacer"/>
|
||||
<vbox id="MoreSection">
|
||||
<spacer class="spacer"/>
|
||||
<text class="label" value="&NamedAnchorMsg.label;"/>
|
||||
<label value="&NamedAnchorMsg.label;"/>
|
||||
<tree rows="4" class="list" id="NamedAnchorList" onselect="SelectNamedAnchor()">
|
||||
<treecolgroup><treecol flex="1"/></treecolgroup>
|
||||
</tree>
|
||||
<spacer class="spacer"/>
|
||||
<text class="label" value="&HeadingMsg.label;"/>
|
||||
<label value="&HeadingMsg.label;"/>
|
||||
<tree rows="4" class="list" id="HeadingsList" onselect="SelectHeading()">
|
||||
<treecolgroup><treecol flex="1"/></treecolgroup>
|
||||
</tree>
|
||||
<text class="label" flex="1" value="&HeadingMsg2.label;"/>
|
||||
<label value="&HeadingMsg2.label;"/>
|
||||
</vbox>
|
||||
</groupbox>
|
||||
</vbox>
|
||||
<!-- from EdDialogOverlay -->
|
||||
<vbox id="AdvancedEdit"/>
|
||||
<!-- from global dialogOverlay -->
|
||||
<hbox id="okCancelHelpButtonsRight"/>
|
||||
</window>
|
||||
</dialog>
|
||||
|
|
|
@ -30,10 +30,8 @@
|
|||
<!DOCTYPE window SYSTEM "chrome://editor/locale/EditorListProperties.dtd">
|
||||
<window class="dialog" title="&windowTitle.label;"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
onload = "Startup()"
|
||||
onunload="onCancel()"
|
||||
orient="vertical">
|
||||
onunload="onCancel()">
|
||||
|
||||
<!-- Methods common to all editor dialogs -->
|
||||
<script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
|
||||
|
@ -44,7 +42,7 @@
|
|||
<broadcaster id="args" value=""/>
|
||||
<spacer id="location" offsetY="50" persist="offsetX offsetY"/>
|
||||
|
||||
<groupbox orient="vertical" flex="1"><caption label="&ListType.label;"/>
|
||||
<groupbox flex="1"><caption label="&ListType.label;"/>
|
||||
<menulist id="ListType" oncommand="SelectListType()">
|
||||
<menupopup>
|
||||
<menuitem label="&none.value;"/>
|
||||
|
@ -53,9 +51,9 @@
|
|||
<menuitem label="&definitionList.value;"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<radiogroup id="RadioGroup" orient="vertical" index="0" persist="index">
|
||||
<radio group="RadioGroup" id="ChangeAll" label="&changeEntireListRadio.label;"/>
|
||||
<radio group="RadioGroup" id="ChangeSelected" label="&changeSelectedRadio.label;"/>
|
||||
<radiogroup id="RadioGroup" index="0" persist="index">
|
||||
<radio id="ChangeAll" label="&changeEntireListRadio.label;"/>
|
||||
<radio id="ChangeSelected" label="&changeSelectedRadio.label;"/>
|
||||
</radiogroup>
|
||||
</groupbox>
|
||||
<spacer class="spacer"/>
|
||||
|
@ -63,15 +61,15 @@
|
|||
<!-- message text and list items are set in JS
|
||||
text value should be identical to string with id=BulletStyle in editor.properties
|
||||
-->
|
||||
<groupbox orient="vertical" flex="1"><caption id="BulletStyleLabel" label="&bulletStyle.label;"/>
|
||||
<groupbox flex="1"><caption id="BulletStyleLabel" label="&bulletStyle.label;"/>
|
||||
<menulist class="MinWidth10em" id="BulletStyle" oncommand="SelectBulletStyle()"/>
|
||||
<spacer class="spacer"/>
|
||||
<hbox>
|
||||
<text class="label" id="StartingNumberLabel" value="&startingNumber.label;"/>
|
||||
<label id="StartingNumberLabel" value="&startingNumber.label;"/>
|
||||
<textbox class="narrow" id="StartingNumber" oninput="forceInteger(this.id)"/>
|
||||
<spacer/>
|
||||
</hbox>
|
||||
<html id="StartExample" class="wrap" flex="1" style="width: 1em">&startingHelp.label;</html>
|
||||
<description id="StartExample" class="wrap" flex="1" style="width: 1em">&startingHelp.label;</description>
|
||||
</groupbox>
|
||||
<!-- from EdDialogOverlay -->
|
||||
<vbox id="AdvancedEdit"/>
|
||||
|
|
|
@ -34,10 +34,8 @@
|
|||
|
||||
<window class="dialog" title="&windowTitle.label;"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
onload = "Startup()"
|
||||
onunload="onCancel()"
|
||||
orient="vertical">
|
||||
onunload="onCancel()">
|
||||
|
||||
<!-- Methods common to all editor dialogs -->
|
||||
<script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
|
||||
|
@ -48,7 +46,7 @@
|
|||
<keyset id="dialogKeys"/>
|
||||
<popupset id="aTooltipSet" />
|
||||
|
||||
<text class="label" align="left" for="nameInput" value="&anchorNameEditField.label;"/>
|
||||
<label control="nameInput" value="&anchorNameEditField.label;"/>
|
||||
<textbox class="MinWidth20em" id="nameInput" oninput="ChangeName()"
|
||||
tooltip="aTooltip" tooltiptext="&nameInput.tooltip;"/>
|
||||
<spacer class="spacer"/>
|
||||
|
|
|
@ -42,7 +42,6 @@ function Startup()
|
|||
gDialog.TitleInput = document.getElementById("TitleInput");
|
||||
gDialog.AuthorInput = document.getElementById("AuthorInput");
|
||||
gDialog.DescriptionInput = document.getElementById("DescriptionInput");
|
||||
doSetOKCancel(onOK, onCancel);
|
||||
|
||||
// Default string for new page is set from DTD string in XUL,
|
||||
// so set only if not new doc URL
|
||||
|
@ -131,7 +130,7 @@ function ValidateData()
|
|||
return true;
|
||||
}
|
||||
|
||||
function onOK()
|
||||
function onAccept()
|
||||
{
|
||||
if (ValidateData())
|
||||
{
|
||||
|
|
|
@ -25,54 +25,49 @@
|
|||
<?xml-stylesheet href="chrome://editor/skin/editor.css" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://editor/skin/EditorDialog.css" type="text/css"?>
|
||||
|
||||
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
||||
<?xul-overlay href="chrome://editor/content/EdDialogOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE window SYSTEM "chrome://editor/locale/EditorPageProperties.dtd">
|
||||
|
||||
<window class="dialog" title="&windowTitle.label;"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="Startup()"
|
||||
onunload="onCancel()"
|
||||
orient="vertical">
|
||||
<dialog title="&windowTitle.label;"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="Startup();"
|
||||
ondialogaccept="return onAccept();"
|
||||
ondialogcancel="return onCancel();">
|
||||
|
||||
<!-- Methods common to all editor dialogs -->
|
||||
<script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
|
||||
<script type="application/x-javascript" src="chrome://editor/content/EdPageProps.js"/>
|
||||
<script type="application/x-javascript" src="chrome://global/content/dialogOverlay.js" />
|
||||
|
||||
<spacer id="location" offsetY="50" persist="offsetX offsetY"/>
|
||||
<broadcaster id="args" value=""/>
|
||||
<keyset id="dialogKeys"/>
|
||||
<grid>
|
||||
<columns><column flex="1"/><column flex="2"/></columns>
|
||||
<rows>
|
||||
<row>
|
||||
<text class="label" value="&location.label;"/>
|
||||
<text class="label" value="&locationNewPage.label;" id="PageLocation"/>
|
||||
<label value="&location.label;"/>
|
||||
<label value="&locationNewPage.label;" id="PageLocation"/>
|
||||
</row>
|
||||
<row>
|
||||
<text class="label" value="&lastModified.label;" align="left"/>
|
||||
<text class="label" id="PageModDate" align="left"/>
|
||||
<label value="&lastModified.label;"/>
|
||||
<label id="PageModDate"/>
|
||||
</row>
|
||||
<spacer class="spacer"/>
|
||||
<row align="center">
|
||||
<text class="label" value="&titleInput.label;"/>
|
||||
<label value="&titleInput.label;"/>
|
||||
<textbox class="MinWidth20em" id="TitleInput" oninput="TextboxChanged(this.id)"/>
|
||||
</row>
|
||||
<row align="center">
|
||||
<text class="label" value="&authorInput.label;"/>
|
||||
<label value="&authorInput.label;"/>
|
||||
<textbox class="MinWidth20em" id="AuthorInput" oninput="TextboxChanged(this.id)"/>
|
||||
</row>
|
||||
<row align="center">
|
||||
<text class="label" value="&descriptionInput.label;"/>
|
||||
<label value="&descriptionInput.label;"/>
|
||||
<textbox class="MinWidth20em" id="DescriptionInput" oninput="TextboxChanged(this.id)"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<spacer class="bigspacer"/>
|
||||
<html class="wrap" flex="1">&EditHEADSource.label;</html>
|
||||
<description class="wrap" flex="1">&EditHEADSource.label;</description>
|
||||
<separator class="groove"/>
|
||||
<hbox id="okCancelButtonsRight"/>
|
||||
</window>
|
||||
</dialog>
|
||||
|
|
|
@ -28,11 +28,9 @@
|
|||
|
||||
<!-- dialog containing a control requiring initial setup -->
|
||||
<window class="dialog" title="&windowTitle.label;"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload = "Startup()"
|
||||
onunload = "onClose()"
|
||||
orient="vertical">
|
||||
onunload = "onClose()">
|
||||
|
||||
<script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
|
||||
<script type="application/x-javascript" src="chrome://communicator/content/utilityOverlay.js"/>
|
||||
|
@ -55,12 +53,12 @@
|
|||
</columns>
|
||||
<rows>
|
||||
<row align="center">
|
||||
<text class="label" id="MisspelledWordLabel" value="&misspelledWord.label;"/>
|
||||
<text class="label bold" id="MisspelledWord" crop="right"/>
|
||||
<label id="MisspelledWordLabel" value="&misspelledWord.label;"/>
|
||||
<label class="bold" id="MisspelledWord"/>
|
||||
<spacer/>
|
||||
</row>
|
||||
<row align="center">
|
||||
<text class="label" id="ReplaceWordLabel" value="&wordEditField.label;"/>
|
||||
<label id="ReplaceWordLabel" value="&wordEditField.label;"/>
|
||||
<hbox align="center" flex="1">
|
||||
<textbox id="ReplaceWordInput" oninput="ChangeReplaceWord()"/>
|
||||
<button id="CheckWord" oncommand="CheckWord()" label="&checkwordButton.label;"/>
|
||||
|
@ -68,7 +66,7 @@
|
|||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<text class="label" id="SuggestedListLabel" value="&suggestions.label;"/>
|
||||
<label id="SuggestedListLabel" value="&suggestions.label;"/>
|
||||
<grid>
|
||||
<columns><column/><column/></columns>
|
||||
<rows>
|
||||
|
@ -94,7 +92,7 @@
|
|||
</rows>
|
||||
</grid>
|
||||
<spacer flex="1"/>
|
||||
<text class="label" value="&userDictionary.label;"/>
|
||||
<label value="&userDictionary.label;"/>
|
||||
<hbox flex="1" align="start">
|
||||
<button class="spell-check" id="AddToDictionary" oncommand="AddToDictionary()" label="&addToUserDictionaryButton.label;" />
|
||||
<button class="spell-check" id="EditDictionary" oncommand="EditDictionary()" label="&editUserDictionaryButton.label;" />
|
||||
|
@ -102,11 +100,11 @@
|
|||
</vbox>
|
||||
</row>
|
||||
<row>
|
||||
<text class="label" value ="&languagePopup.label;"/>
|
||||
<label value ="&languagePopup.label;"/>
|
||||
<spacer/>
|
||||
</row>
|
||||
<row>
|
||||
<menulist id="LanguageMenulist" class="small-margin" oncommand="SelectLanguage()">
|
||||
<menulist id="LanguageMenulist" oncommand="SelectLanguage()">
|
||||
<menupopup>
|
||||
<menuitem value="more-cmd" label="&moreDictionaries.label;"/>
|
||||
<menuseparator/>
|
||||
|
|
|
@ -31,12 +31,10 @@
|
|||
|
||||
<!DOCTYPE window SYSTEM "chrome://editor/locale/EditorTableProperties.dtd">
|
||||
|
||||
<window class="dialog" title="&tableWindow.title;"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
<window title="&tableWindow.title;"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="Startup()"
|
||||
onunload="onCancel()"
|
||||
orient="vertical">
|
||||
onunload="onCancel()">
|
||||
|
||||
<!-- Methods common to all editor dialogs -->
|
||||
<script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
|
||||
|
@ -53,7 +51,7 @@
|
|||
<tab id="TableTab" oncommand="SelectTableTab()" label="&tableTab.label;"/>
|
||||
<tab id="CellTab" oncommand="SelectCellTab()" label="&cellTab.label;"/>
|
||||
</tabs>
|
||||
<tabpanels orient="vertical" id="TabPanels">
|
||||
<tabpanels id="TabPanels">
|
||||
|
||||
<!-- TABLE PANEL -->
|
||||
<vbox id="TablePanel">
|
||||
|
@ -62,11 +60,11 @@
|
|||
<columns><column/><column/></columns>
|
||||
<rows>
|
||||
<row align="center">
|
||||
<text class="label" value="&tableRows.label;"/>
|
||||
<label value="&tableRows.label;"/>
|
||||
<textbox class="narrow" id="TableRowsInput" oninput="forceInteger(this.id);"/>
|
||||
</row>
|
||||
<row align="center">
|
||||
<text class="label" value="&tableColumns.label;"/>
|
||||
<label value="&tableColumns.label;"/>
|
||||
<textbox class="narrow" id="TableColumnsInput" oninput="forceInteger(this.id);"/>
|
||||
</row>
|
||||
</rows>
|
||||
|
@ -76,38 +74,38 @@
|
|||
<columns><column/><column/><column flex="1"/></columns>
|
||||
<rows>
|
||||
<row align="center">
|
||||
<text class="label" value="&tableWidth.label;"/>
|
||||
<label value="&tableWidth.label;"/>
|
||||
<textbox class="narrow" id="TableWidthInput" oninput="forceInteger(this.id);"/>
|
||||
<menulist id="TableWidthUnits"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</groupbox>
|
||||
<groupbox orient="vertical"><caption align="left" label="&tableBorderSpacing.label;"/>
|
||||
<groupbox><caption label="&tableBorderSpacing.label;"/>
|
||||
<grid>
|
||||
<columns><column/><column/><column/></columns>
|
||||
<rows>
|
||||
<row align="center">
|
||||
<text class="label" value="&tableBorderWidth.label;"/>
|
||||
<label value="&tableBorderWidth.label;"/>
|
||||
<textbox class="narrow" id="BorderWidthInput" oninput="forceInteger(this.id);"/>
|
||||
<text class="label" align="left" value="&pixels.label;"/>
|
||||
<label align="left" value="&pixels.label;"/>
|
||||
</row>
|
||||
<row align="center">
|
||||
<text class="label" value="&tableSpacing.label;"/>
|
||||
<label value="&tableSpacing.label;"/>
|
||||
<textbox class="narrow" id="SpacingInput" oninput="forceInteger(this.id);"/>
|
||||
<text class="label" value="&tablePxBetwCells.label;"/>
|
||||
<label value="&tablePxBetwCells.label;"/>
|
||||
</row>
|
||||
<row align="center">
|
||||
<text class="label" value="&tablePadding.label;"/>
|
||||
<label value="&tablePadding.label;"/>
|
||||
<textbox class="narrow" id="PaddingInput" oninput="forceInteger(this.id);"/>
|
||||
<text class="label" value="&tablePxBetwBrdrCellContent.label;"/>
|
||||
<label value="&tablePxBetwBrdrCellContent.label;"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</groupbox>
|
||||
<!-- Table Alignment and Caption -->
|
||||
<hbox flex="1" align="center">
|
||||
<text class="label" value="&tableAlignment.label;"/>
|
||||
<label value="&tableAlignment.label;"/>
|
||||
<menulist id="TableAlignList">
|
||||
<menupopup>
|
||||
<menuitem label="&AlignLeft.label;" value="left"/>
|
||||
|
@ -116,7 +114,7 @@
|
|||
</menupopup>
|
||||
</menulist>
|
||||
<spacer class="spacer"/>
|
||||
<text class="label" value="&tableCaption.label;"/>
|
||||
<label value="&tableCaption.label;"/>
|
||||
<menulist id="TableCaptionList">
|
||||
<menupopup>
|
||||
<menuitem label="&tableCaptionNone.label;" value=""/>
|
||||
|
@ -127,15 +125,15 @@
|
|||
</hbox>
|
||||
<separator class="groove"/>
|
||||
<hbox align="center">
|
||||
<text class="label" value="&backgroundColor.label;"/>
|
||||
<label value="&backgroundColor.label;"/>
|
||||
<button class="color-button" oncommand="GetColorAndUpdate('tableBackgroundCW');">
|
||||
<spacer id="tableBackgroundCW" class="color-well"/>
|
||||
</button>
|
||||
<spacer class="spacer"/>
|
||||
<text class="label" id="TableInheritColor" value="&tableInheritColor.label;" collapsed="true"/>
|
||||
<label id="TableInheritColor" value="&tableInheritColor.label;" collapsed="true"/>
|
||||
</hbox>
|
||||
<separator class="groove"/>
|
||||
<hbox flex="1" autostretch="never">
|
||||
<hbox flex="1" align="center">
|
||||
<spacer flex="1"/>
|
||||
<!-- From EdDialogOvlerlay.xul -->
|
||||
<button id="AdvancedEditButton"/>
|
||||
|
@ -163,13 +161,13 @@
|
|||
</vbox>
|
||||
<spacer class="bigspacer"/>
|
||||
<vbox flex="1">
|
||||
<text class="label" value="&applyBeforeChange1.label;"/>
|
||||
<text class="label" value="&applyBeforeChange2.label;"/>
|
||||
<label value="&applyBeforeChange1.label;"/>
|
||||
<label value="&applyBeforeChange2.label;"/>
|
||||
</vbox>
|
||||
</groupbox>
|
||||
<hbox autostretch="never">
|
||||
<hbox align="center">
|
||||
<!-- cell size groupbox -->
|
||||
<groupbox><caption align="left" label="&size.label;"/>
|
||||
<groupbox><caption label="&size.label;"/>
|
||||
<grid>
|
||||
<columns><column/><column/><column flex="1"/></columns>
|
||||
<rows>
|
||||
|
@ -244,11 +242,11 @@
|
|||
<spacer id="cellBackgroundCW" class="color-well"/>
|
||||
</button>
|
||||
<spacer class="spacer"/>
|
||||
<text class="label" id="CellInheritColor" value="&cellInheritColor.label;" collapsed="true"/>
|
||||
<label id="CellInheritColor" value="&cellInheritColor.label;" collapsed="true"/>
|
||||
</hbox>
|
||||
<separator class="groove"/>
|
||||
<hbox autostretch="never">
|
||||
<html class="wrap" flex="1" style="width: 1em">&cellUseCheckboxHelp.label;</html>
|
||||
<hbox align="center">
|
||||
<description class="wrap" flex="1" style="width: 1em">&cellUseCheckboxHelp.label;</description>
|
||||
<!-- From EdDialogOvlerlay.xul -->
|
||||
<button id="AdvancedEditButton2"/>
|
||||
</hbox>
|
||||
|
|
|
@ -32,10 +32,8 @@
|
|||
|
||||
<window class="dialog" title="&windowTitle.label;"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
onload = "Startup()"
|
||||
onunload="PreventCancel()"
|
||||
orient="vertical">
|
||||
onunload="PreventCancel()">
|
||||
|
||||
<!-- Methods common to all editor dialogs -->
|
||||
<script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
|
||||
|
@ -46,20 +44,20 @@
|
|||
<keyset id="dialogKeys"/>
|
||||
<popupset id="aTooltipSet" />
|
||||
|
||||
<text class="label" value ="&conflictWarning.label;"/>
|
||||
<label value ="&conflictWarning.label;"/>
|
||||
<spacer class="bigspacer"/>
|
||||
<text class="label" value ="&conflictResolve.label;"/>
|
||||
<label value ="&conflictResolve.label;"/>
|
||||
<spacer class="bigspacer"/>
|
||||
<hbox flex="1">
|
||||
<spacer class="bigspacer"/>
|
||||
<button label="&keepCurrentPageButton.label;"
|
||||
flex="1" oncommand="KeepCurrentPage()"/>
|
||||
oncommand="KeepCurrentPage()"/>
|
||||
<spacer class="bigspacer"/>
|
||||
</hbox>
|
||||
<hbox flex="1">
|
||||
<spacer class="bigspacer"/>
|
||||
<button label="&useOtherPageButton.label;"
|
||||
flex="1" oncommand="UseOtherPage()"/>
|
||||
oncommand="UseOtherPage()"/>
|
||||
<spacer class="bigspacer"/>
|
||||
</hbox>
|
||||
|
||||
|
|
|
@ -34,10 +34,8 @@
|
|||
<!-- WE SHOULD NOT USE ABSOLUTE WITH AND HEIGHT - USE BOXES INSTEAD? -->
|
||||
<window class="dialog" title="&windowTitle.label;"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
onload = "Startup()"
|
||||
onunload="onCancel()"
|
||||
orient="vertical"
|
||||
style="width: 32em;">
|
||||
|
||||
<!-- Methods common to all editor dialogs -->
|
||||
|
@ -49,15 +47,15 @@
|
|||
<broadcaster id="args" value=""/>
|
||||
<keyset id="dialogKeys"/>
|
||||
|
||||
<groupbox orient="vertical"><caption align="left" label="&documentTitleTitle.label;"/>
|
||||
<groupbox><caption label="&documentTitleTitle.label;"/>
|
||||
<!-- Text labels filled in from editor.properties -->
|
||||
<text id="EnterTitleLabel" class="label"/>
|
||||
<label id="EnterTitleLabel"/>
|
||||
<textbox id="TitleInput" oninput="TitleChanged();"/>
|
||||
<html id="TitleHelp" class="label wrap" style="width:1em" />
|
||||
<description id="TitleHelp" class="wrap" style="width:1em" />
|
||||
</groupbox>
|
||||
|
||||
<groupbox orient="vertical" flex="1"><caption label="&documentCharsetTitle.label;"/>
|
||||
<text class="label" value="&documentCharsetDesc.label;"/>
|
||||
<groupbox flex="1"><caption label="&documentCharsetTitle.label;"/>
|
||||
<label value="&documentCharsetDesc.label;"/>
|
||||
<tree class="list" id="CharsetTree" rows="7" flex="1" onselect="SelectCharset();">
|
||||
<treecolgroup><treecol flex="1"/></treecolgroup>
|
||||
</tree>
|
||||
|
|
|
@ -27,11 +27,8 @@
|
|||
%prefContentDTD;
|
||||
]>
|
||||
|
||||
<window xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
class="color-dialog"
|
||||
onload="parent.initPanel('chrome://content-packs/content/pref-contentpacks.xul');"
|
||||
orient="vertical">
|
||||
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="parent.initPanel('chrome://content-packs/content/pref-contentpacks.xul');">
|
||||
|
||||
<stringbundle id="bundle_contentPack"
|
||||
src="chrome://content-packs/locale/contentpacks.properties"/>
|
||||
|
@ -119,16 +116,16 @@
|
|||
]]>
|
||||
</script>
|
||||
|
||||
<box class="box-smallheader" title="&lHeader;"/>
|
||||
<hbox class="box-smallheader" title="&lHeader;"/>
|
||||
|
||||
<html>&contentIntro.label;</html>
|
||||
<description>&contentIntro.label;</description>
|
||||
<separator class="thin"/>
|
||||
<html>&installedContentPacks.label;</html>
|
||||
<description>&installedContentPacks.label;</description>
|
||||
|
||||
<tree class="inset" id="contentPackTree" flex="1" rows="5"
|
||||
<tree id="contentPackTree" flex="1" rows="5"
|
||||
ref="urn:mozilla:locale:root" datasources="rdf:chrome"
|
||||
sortResource="http://www.mozilla.org/rdf/chrome#name"
|
||||
pref="true" preftype="localizedstring" prefstring="general.useragent.contentlocale"
|
||||
preftype="localizedstring" prefstring="general.useragent.contentlocale"
|
||||
prefvalue="" prefattribute="prefvalue" wsm_attributes="prefvalue"
|
||||
multiple="false" onselect="SelectContentPack();"
|
||||
sortDirection="ascending">
|
||||
|
@ -158,6 +155,5 @@
|
|||
accesskey="&downloadContentPacks.accesskey;"
|
||||
oncommand="DownloadRegionPacks()"/>
|
||||
</hbox>
|
||||
|
||||
</window>
|
||||
</page>
|
||||
|
||||
|
|
|
@ -27,11 +27,8 @@
|
|||
|
||||
<!DOCTYPE window SYSTEM "chrome://cookie/locale/pref-cookies.dtd">
|
||||
|
||||
<window xmlns:html="http://www.w3.org/1999/xhtml" id="cookieWindow"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
class="color-dialog"
|
||||
orient="vertical"
|
||||
onload="init();">
|
||||
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="init();">
|
||||
|
||||
<script type="application/x-javascript" src="chrome://cookie/content/cookieOverlay.js"/>
|
||||
|
||||
|
@ -92,51 +89,47 @@
|
|||
|
||||
<hbox class="box-smallheader" id="cookieHeader" title="&lHeader;"/>
|
||||
|
||||
<groupbox orient="vertical">
|
||||
<groupbox>
|
||||
<caption label="&cookiePolicy.label;"/>
|
||||
|
||||
<html>&cookieDetails;</html>
|
||||
<description>&cookieDetails;</description>
|
||||
|
||||
<radiogroup id="networkCookieBehaviour" orient="vertical" autostretch="never"
|
||||
pref="true" preftype="int" prefstring="network.cookie.cookieBehavior"
|
||||
prefattribute="value">
|
||||
<radio group="networkCookieBehaviour" value="2" label="&disableCookies.label;"
|
||||
<radiogroup id="networkCookieBehaviour"
|
||||
prefstring="network.cookie.cookieBehavior">
|
||||
<radio value="2" label="&disableCookies.label;"
|
||||
accesskey="&disableCookies.accesskey;" oncommand="setDisables();"/>
|
||||
<radio group="networkCookieBehaviour" value="1" label="&accOrgCookiesRadio.label;"
|
||||
<radio value="1" label="&accOrgCookiesRadio.label;"
|
||||
accesskey="&accOrgCookiesRadio.accesskey;" oncommand="setDisables();"/>
|
||||
<hbox>
|
||||
<radio group="networkCookieBehaviour" value="3" label="&accP3PCookiesRadio.label;"
|
||||
<radio value="3" label="&accP3PCookiesRadio.label;"
|
||||
accesskey="&accP3PCookiesRadio.accesskey;" oncommand="setDisables();"/>
|
||||
<button class="dialog" label="&viewP3P.label;" accesskey="&viewP3P.accesskey;" oncommand="viewP3P();"
|
||||
id="p3pDialog" pref="true" preftype="bool"
|
||||
prefstring="pref.advanced.cookies.disable_button.more_info" prefattribute="disabled"/>
|
||||
<button label="&viewP3P.label;" accesskey="&viewP3P.accesskey;" oncommand="viewP3P();"
|
||||
id="p3pDialog"
|
||||
prefstring="pref.advanced.cookies.disable_button.more_info"/>
|
||||
</hbox>
|
||||
<radio group="networkCookieBehaviour" value="0" label="&accAllCookiesRadio.label;"
|
||||
<radio value="0" label="&accAllCookiesRadio.label;"
|
||||
accesskey="&accAllCookiesRadio.accesskey;" oncommand="setDisables();"/>
|
||||
</radiogroup>
|
||||
|
||||
<separator/>
|
||||
|
||||
<vbox autostretch="never">
|
||||
<vbox align="start">
|
||||
<checkbox id="networkWarnAboutCookies" label="&warnAboutCookies.label;" accesskey="&warnAboutCookies.accesskey;"
|
||||
pref="true" preftype="bool" prefstring="network.cookie.warnAboutCookies"
|
||||
prefattribute="checked"/>
|
||||
prefstring="network.cookie.warnAboutCookies"/>
|
||||
<checkbox id="lifetimeEnabled" label="&limitLifetime.label;" accesskey="&limitLifetime.accesskey;"
|
||||
pref="true" preftype="bool" prefstring="network.cookie.lifetime.enabled"
|
||||
prefattribute="checked" oncommand="setDisables();"/>
|
||||
prefstring="network.cookie.lifetime.enabled"
|
||||
oncommand="setDisables();"/>
|
||||
<hbox class="indent">
|
||||
<radiogroup id="lifetimeBehavior" orient="vertical" autostretch="never"
|
||||
pref="true" preftype="int" prefstring="network.cookie.lifetime.behavior"
|
||||
prefattribute="value">
|
||||
<radio group="lifetimeBehavior" value="0" label="¤t.label;"
|
||||
<radiogroup id="lifetimeBehavior" prefstring="network.cookie.lifetime.behavior">
|
||||
<radio value="0" label="¤t.label;"
|
||||
accesskey="¤t.accesskey;"
|
||||
oncommand="setDisables();"/>
|
||||
<hbox>
|
||||
<radio group="lifetimeBehavior" value="1" accesskey="&days.accesskey;"
|
||||
<radio value="1" accesskey="&days.accesskey;"
|
||||
oncommand="setDisables();"/>
|
||||
<textbox id="lifetimeDays" pref="true" size="4" prefattribute="value"
|
||||
<textbox id="lifetimeDays" pref="true" size="4"
|
||||
preftype="int" prefstring="network.cookie.lifetime.days"/>
|
||||
<html>&days.label;</html>
|
||||
<description>&days.label;</description>
|
||||
</hbox>
|
||||
</radiogroup>
|
||||
</hbox>
|
||||
|
@ -146,13 +139,12 @@
|
|||
<separator/>
|
||||
|
||||
<hbox pack="end">
|
||||
<button class="dialog" label="&viewCookies.label;" accesskey="&viewCookies.accesskey;" oncommand="viewCookies();"
|
||||
id="viewCookieButton" pref="true" preftype="bool"
|
||||
prefstring="pref.advanced.cookies.disable_button.view_cookies" prefattribute="disabled"/>
|
||||
<button class="dialog" label="&viewTutorial.label;" accesskey="&viewTutorial.accesskey;" oncommand="viewTutorial();"
|
||||
id="moreInformation" pref="true" preftype="bool"
|
||||
prefstring="pref.advanced.cookies.disable_button.more_info" prefattribute="disabled"/>
|
||||
<button label="&viewCookies.label;" accesskey="&viewCookies.accesskey;" oncommand="viewCookies();"
|
||||
id="viewCookieButton"
|
||||
prefstring="pref.advanced.cookies.disable_button.view_cookies"/>
|
||||
<button label="&viewTutorial.label;" accesskey="&viewTutorial.accesskey;" oncommand="viewTutorial();"
|
||||
id="moreInformation"
|
||||
prefstring="pref.advanced.cookies.disable_button.more_info"/>
|
||||
</hbox>
|
||||
</groupbox>
|
||||
|
||||
</window>
|
||||
</page>
|
||||
|
|
|
@ -31,11 +31,8 @@
|
|||
%prefImagesDTD;
|
||||
]>
|
||||
|
||||
<window xmlns:html="http://www.w3.org/1999/xhtml" id="imagesWindow"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
class="color-dialog"
|
||||
orient="vertical"
|
||||
onload="init();">
|
||||
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="init();">
|
||||
|
||||
<script type="application/x-javascript" src="chrome://cookie/content/cookieOverlay.js"/>
|
||||
|
||||
|
@ -77,58 +74,54 @@
|
|||
|
||||
<hbox class="box-smallheader" id="imagesHeader" title="&lHeader;"/>
|
||||
|
||||
<groupbox orient="vertical" id="imagesArea">
|
||||
<groupbox id="imagesArea">
|
||||
<caption label="&imageBlocking.label;"/>
|
||||
|
||||
<html>&imageDetails;</html>
|
||||
<description>&imageDetails;</description>
|
||||
|
||||
<radiogroup id="networkImageBehaviour" orient="vertical" autostretch="never"
|
||||
pref="true" preftype="int" prefstring="network.image.imageBehavior"
|
||||
prefattribute="value">
|
||||
<radio group="networkImageBehaviour" value="2" label="&disableImages.label;"
|
||||
<radiogroup id="networkImageBehaviour"
|
||||
prefstring="network.image.imageBehavior">
|
||||
<radio value="2" label="&disableImages.label;"
|
||||
accesskey="&disableImages.accesskey;"
|
||||
oncommand="setWarnAboutImagesEnabled(false);"/>
|
||||
<radio group="networkImageBehaviour" value="1" label="&accOrgImagesRadio.label;"
|
||||
<radio value="1" label="&accOrgImagesRadio.label;"
|
||||
accesskey="&accOrgImagesRadio.accesskey;"
|
||||
id="accOrgImages" observes="haveImageBlocking"
|
||||
oncommand="setWarnAboutImagesEnabled(true);"/>
|
||||
<radio group="networkImageBehaviour" value="0" label="&accAllImagesRadio.label;"
|
||||
<radio value="0" label="&accAllImagesRadio.label;"
|
||||
accesskey="&accAllImagesRadio.accesskey;"
|
||||
oncommand="setWarnAboutImagesEnabled(true);"/>
|
||||
</radiogroup>
|
||||
|
||||
<separator observes="haveImageBlocking"/>
|
||||
|
||||
<hbox autostretch="never">
|
||||
<hbox align="start">
|
||||
<checkbox id="networkImageWarnAboutImages" label="&warnAboutImages.label;"
|
||||
accesskey="&warnAboutImages.accesskey;" observes="haveImageBlocking"
|
||||
pref="true" preftype="bool" prefattribute="checked"
|
||||
prefstring="network.image.warnAboutImages"/>
|
||||
</hbox>
|
||||
|
||||
<separator observes="haveImageBlocking"/>
|
||||
|
||||
<hbox pack="end">
|
||||
<button class="dialog" id="viewImages" label="&viewImages.label;"
|
||||
<button id="viewImages" label="&viewImages.label;"
|
||||
accesskey="&viewImages.accesskey;" oncommand="viewImages();"
|
||||
observes="haveImageBlocking"
|
||||
pref="true" preftype="bool"
|
||||
prefstring="pref.advanced.images.disable_button.view_image" prefattribute="disabled"/>
|
||||
prefstring="pref.advanced.images.disable_button.view_image"/>
|
||||
</hbox>
|
||||
|
||||
</groupbox>
|
||||
<groupbox orient="vertical">
|
||||
<groupbox>
|
||||
<caption label="&animLoopingTitle.label;"/>
|
||||
<radiogroup id="imageLooping" orient="vertical" autostretch="never"
|
||||
pref="true" preftype="string" prefstring="image.animation_mode"
|
||||
prefattribute="value">
|
||||
<radio group="imageLooping" value="normal" label="&animLoopAsSpecified.label;"
|
||||
<radiogroup id="imageLooping"
|
||||
preftype="string" prefstring="image.animation_mode">
|
||||
<radio value="normal" label="&animLoopAsSpecified.label;"
|
||||
accesskey="&animLoopAsSpecified.accesskey;"/>
|
||||
<radio group="imageLooping" value="once" label="&animLoopOnce.label;"
|
||||
<radio value="once" label="&animLoopOnce.label;"
|
||||
accesskey="&animLoopOnce.accesskey;"/>
|
||||
<radio group="imageLooping" value="none" label="&animLoopNever.label;"
|
||||
<radio value="none" label="&animLoopNever.label;"
|
||||
accesskey="&animLoopNever.accesskey;"/>
|
||||
</radiogroup>
|
||||
</groupbox>
|
||||
|
||||
</window>
|
||||
</page>
|
||||
|
|
|
@ -33,8 +33,7 @@
|
|||
<!DOCTYPE window SYSTEM "chrome://cview/locale/cviewOverlay.dtd" >
|
||||
|
||||
<overlay id="CViewTaskMenuID"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
<script type="application/x-javascript"
|
||||
src="chrome://cview/content/cviewOverlay.js"/>
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
|
||||
<window id="help"
|
||||
windowtype="mozilla:help"
|
||||
xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
title="&helpWin.ttl;"
|
||||
width="640"
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
]>
|
||||
|
||||
<overlay id="helpMenuID"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
<menupopup id="helpPopup">
|
||||
|
|
|
@ -48,14 +48,14 @@
|
|||
<text value="Border Color"/>
|
||||
<hbox autostretch="never">
|
||||
<colorpicker id="cprElBorderColor" type="button"
|
||||
pref="true" preftype="color" prefstring="inspector.blink.border-color" prefattribute="color"/>
|
||||
preftype="color" prefstring="inspector.blink.border-color" prefattribute="color"/>
|
||||
</hbox>
|
||||
</row>
|
||||
<row autostretch="never">
|
||||
<text value="Border Width"/>
|
||||
<hbox autostretch="never">
|
||||
<textbox id="txfElBorderWidth" style="width: 4em"
|
||||
pref="true" preftype="int" prefstring="inspector.blink.border-width" prefattribute="value"/>
|
||||
preftype="int" prefstring="inspector.blink.border-width" prefattribute="value"/>
|
||||
<text value="(px)"/>
|
||||
</hbox>
|
||||
</row>
|
||||
|
@ -63,7 +63,7 @@
|
|||
<text value="Blink Duration"/>
|
||||
<hbox autostretch="never">
|
||||
<textbox id="txfElDuration" style="width: 4em"
|
||||
pref="true" preftype="int" prefstring="inspector.blink.duration" prefattribute="value"/>
|
||||
preftype="int" prefstring="inspector.blink.duration" prefattribute="value"/>
|
||||
<text value="(s)"/>
|
||||
</hbox>
|
||||
</row>
|
||||
|
@ -71,7 +71,7 @@
|
|||
<text value="Blink Speed"/>
|
||||
<hbox autostretch="never">
|
||||
<textbox id="txfElSpeed" style="width: 4em"
|
||||
pref="true" preftype="int" prefstring="inspector.blink.speed" prefattribute="value"/>
|
||||
preftype="int" prefstring="inspector.blink.speed" prefattribute="value"/>
|
||||
<text value="(ms)"/>
|
||||
</hbox>
|
||||
</row>
|
||||
|
@ -79,7 +79,7 @@
|
|||
</grid>
|
||||
<hbox autostretch="never">
|
||||
<checkbox id="cbElOn" label="Blink Selected Element"
|
||||
pref="true" preftype="bool" prefstring="inspector.blink.on" prefattribute="checked"/>
|
||||
preftype="bool" prefstring="inspector.blink.on" prefattribute="checked"/>
|
||||
</hbox>
|
||||
</vbox>
|
||||
</groupbox>
|
||||
|
@ -98,7 +98,7 @@
|
|||
|
||||
<vbox>
|
||||
<checkbox id="cbxNavIntegration" label="Add contextual menus to Navigator"
|
||||
pref="true" preftype="bool" prefstring="inspector.hooks.navigator" prefattribute="checked"/>
|
||||
preftype="bool" prefstring="inspector.hooks.navigator" prefattribute="checked"/>
|
||||
</vbox>
|
||||
</vbox>
|
||||
</page>
|
||||
|
|
|
@ -34,14 +34,14 @@
|
|||
<rows>
|
||||
<row id="rwRow1">
|
||||
<deck id="rwRow1Text">
|
||||
<text id="txText1Id" value="Id"/>
|
||||
<text id="txText1Tag" value="Tag"/>
|
||||
<text id="txText1Attr" value="Attr"/>
|
||||
<label id="txText1Id" value="Id"/>
|
||||
<label id="txText1Tag" value="Tag"/>
|
||||
<label id="txText1Attr" value="Attr"/>
|
||||
</deck>
|
||||
<textbox id="tfText1"/>
|
||||
</row>
|
||||
<row id="rwRow2">
|
||||
<text id="txText2" value="Value"/>
|
||||
<label id="txText2" value="Value"/>
|
||||
<textbox id="tfText2"/>
|
||||
</row>
|
||||
</rows>
|
||||
|
@ -50,17 +50,17 @@
|
|||
<hbox valign="top">
|
||||
<groupbox id="tbxType">
|
||||
<caption label="Search By"/>
|
||||
<radiogroup id="rgType" orient="vertical">
|
||||
<radio group="rgType" id="rdType_id" label="ID" value="id" oncommand="dialog.toggleType('id')"/>
|
||||
<radio group="rgType" id="rdType_tag" label="Tag" value="tag" oncommand="dialog.toggleType('tag')"/>
|
||||
<radio group="rgType" id="rdType_attr" label="Attribute" value="attr" oncommand="dialog.toggleType('attr')"/>
|
||||
<radiogroup id="rgType">
|
||||
<radio id="rdType_id" label="ID" value="id" oncommand="dialog.toggleType('id')"/>
|
||||
<radio id="rdType_tag" label="Tag" value="tag" oncommand="dialog.toggleType('tag')"/>
|
||||
<radio id="rdType_attr" label="Attribute" value="attr" oncommand="dialog.toggleType('attr')"/>
|
||||
</radiogroup>
|
||||
</groupbox>
|
||||
<groupbox id="tbxDirection" hide="true">
|
||||
<caption label="Direction"/>
|
||||
<radiogroup id="rgDirection" orient="vertical">
|
||||
<radio id="rdDir_up" group="rgDirection" value="up" label="Up"/>
|
||||
<radio id="rdDir_down" group="rgDirection" value="down" label="Down"/>
|
||||
<radiogroup id="rgDirection">
|
||||
<radio id="rdDir_up" value="up" label="Up"/>
|
||||
<radio id="rdDir_down" value="down" label="Down"/>
|
||||
</radiogroup>
|
||||
</groupbox>
|
||||
</hbox>
|
||||
|
|
|
@ -9,8 +9,7 @@
|
|||
<?xml-stylesheet href="chrome://inspector/skin/viewers/domNode/domNode.css"?>
|
||||
|
||||
<page id="winNodeDefault"
|
||||
orient="vertical" style="padding: 10px"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
style="padding: 10px"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
<!--============================= SCRIPTS ============================= -->
|
||||
|
@ -43,25 +42,25 @@
|
|||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<text value="Node Name:" class="label"/>
|
||||
<label value="Node Name:" />
|
||||
<textbox id="tx_nodeName" readonly="true"/>
|
||||
</row>
|
||||
<row>
|
||||
<text value="Namespace URI:" class="label"/>
|
||||
<label value="Namespace URI:" />
|
||||
<textbox id="tx_namespace" readonly="true"/>
|
||||
</row>
|
||||
<row>
|
||||
<text value="Node Type:" class="label"/>
|
||||
<label value="Node Type:" />
|
||||
<textbox id="tx_nodeType" readonly="true"/>
|
||||
</row>
|
||||
<row>
|
||||
<text value="Node Value:" class="label"/>
|
||||
<text value="Node Value:" />
|
||||
<textbox id="tx_nodeValue" readonly="true"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
|
||||
<tree id="trAttributes" class="tree-editable inset"
|
||||
<tree id="trAttributes" class="tree-editable"
|
||||
flex="1" context="ppAttrContext"
|
||||
datasources="rdf:null"
|
||||
onafteredit="viewer.cmdSetSelectedAttributeValue(event.editingItem, event.newValue)">
|
||||
|
|
|
@ -9,8 +9,6 @@
|
|||
|
||||
<window id="winEvalExpr" class="dialog"
|
||||
title="Evaluate Expression"
|
||||
orient="vertical"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
<script type="application/x-javascript" src="chrome://inspector/content/viewers/jsObject/evalExprDialog.js"/>
|
||||
|
@ -27,7 +25,7 @@
|
|||
</keyset>
|
||||
|
||||
<vbox style="width: 350px;">
|
||||
<html>Enter a javascript expression. The variable "target" is the object that is currently selected. Any value that you return will be displayed in the Javascript Object Viewer.</html>
|
||||
<description>Enter a javascript expression. The variable "target" is the object that is currently selected. Any value that you return will be displayed in the Javascript Object Viewer.</description>
|
||||
|
||||
<textbox id="txfExprInput" value=""/>
|
||||
|
||||
|
|
|
@ -8,8 +8,6 @@
|
|||
<?xml-stylesheet href="chrome://inspector/skin/"?>
|
||||
|
||||
<page id="winJSObject"
|
||||
orient="vertical"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
<script type="application/x-javascript" src="chrome://inspector/content/viewers/jsObject/jsObject.js"/>
|
||||
|
|
|
@ -8,8 +8,6 @@
|
|||
<?xml-stylesheet href="chrome://inspector/skin/"?>
|
||||
|
||||
<page id="winStylesheets"
|
||||
orient="vertical"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
<script type="application/x-javascript" src="chrome://inspector/content/viewers/stylesheets/stylesheets.js"/>
|
||||
|
|
|
@ -33,10 +33,9 @@
|
|||
<?xul-overlay href="chrome://communicator/content/tasksOverlay.xul"?>
|
||||
|
||||
<window id="main-window"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
orient="vertical" onload="onLoad();" onunload="onUnload();"
|
||||
onload="onLoad();" onunload="onUnload();"
|
||||
onclose="return onClose();"
|
||||
persist="width height" windowtype="irc:chatzilla">
|
||||
|
||||
|
@ -138,16 +137,16 @@
|
|||
|
||||
<popupset id="contextMenus">
|
||||
<popup id="userlistPopup" oncommand="onUserListPopupClick(event)">
|
||||
<menuitem label="&op.value;" accesskey="&op.accesskey;" code="/op" />
|
||||
<menuitem label="&op.value;" accesskey="&op.accesskey;" code="/op"/>
|
||||
<menuitem label="&deop.value;" accesskey="&deop.accesskey;"
|
||||
code="/deop" />
|
||||
code="/deop"/>
|
||||
<menuitem label="&voice.value;" accesskey="&voice.accesskey;"
|
||||
code="/voice" />
|
||||
code="/voice"/>
|
||||
<menuitem label="&devoice.value;" accesskey="&devoice.accesskey;"
|
||||
code="/devoice" />
|
||||
code="/devoice"/>
|
||||
<menuitem label="&kick.value;" accesskey="&kick.accesskey;"
|
||||
code="/kick" />
|
||||
<menuitem label="&whois.value;" accesskey="&whois.accesskey;" code="/whois" />
|
||||
code="/kick"/>
|
||||
<menuitem label="&whois.value;" accesskey="&whois.accesskey;" code="/whois"/>
|
||||
</popup>
|
||||
|
||||
<popup id="outputContext"
|
||||
|
@ -304,7 +303,7 @@
|
|||
<template>
|
||||
<treechildren flex="1">
|
||||
<treeitem uri="..." flex="1">
|
||||
<treerow crop="right">
|
||||
<treerow >
|
||||
<treecell align="center">
|
||||
<image class="op-image"
|
||||
state="rdf:http://home.netscape.com/NC-irc#op"/>
|
||||
|
@ -314,11 +313,11 @@
|
|||
state="rdf:http://home.netscape.com/NC-irc#voice"/>
|
||||
</treecell>
|
||||
<treecell flex="1">
|
||||
<text class="user-nick"
|
||||
<label class="user-nick"
|
||||
isop="rdf:http://home.netscape.com/NC-irc#op"
|
||||
isvoice="rdf:http://home.netscape.com/NC-irc#voice"
|
||||
value="rdf:http://home.netscape.com/NC-irc#nick"
|
||||
flex="1" crop="right"/>
|
||||
flex="1"/>
|
||||
</treecell>
|
||||
</treerow>
|
||||
</treeitem>
|
||||
|
@ -337,7 +336,7 @@
|
|||
</treecolgroup>
|
||||
|
||||
<treehead>
|
||||
<treerow crop="right">
|
||||
<treerow >
|
||||
<treecell id="usercol-op"
|
||||
resource="http://home.netscape.com/NC-irc#op"
|
||||
class="treecell-header" label="O"
|
||||
|
@ -372,12 +371,12 @@
|
|||
|
||||
</hbox> <!-- tabpanels-contents-box -->
|
||||
|
||||
<hbox id="tabstrip-box" flex="0" crop="right">
|
||||
<hbox id="tabstrip-box" flex="0" >
|
||||
<scrollbox id="view-tabs" persist="collapsed" orient="horizontal"
|
||||
flex="1">
|
||||
|
||||
<tabs class="tabs-bottom" id="views-tbar-inner" flex="1"
|
||||
crop="right">
|
||||
>
|
||||
<tab collapsed="true"/> <!-- dummy tab to keep the freaking xbl from
|
||||
causing an exception -->
|
||||
</tabs>
|
||||
|
@ -396,66 +395,65 @@
|
|||
|
||||
</vbox> <!-- outer-box -->
|
||||
|
||||
<toolbox id="status-bar-tbox" crop="right">
|
||||
<toolbox id="status-bar-tbox">
|
||||
<toolbar id="status-bar-tbar" class="chromeclass-status" persist="collapsed" grippytooltip="aTooltip"
|
||||
grippytooltiptext="&statusBar.tooltip;"
|
||||
crop="right">
|
||||
<hbox class="status-box" flex="20%" crop="right">
|
||||
<vbox class="status-label" crop="right">
|
||||
<text value="&network.label;" crop="right"/>
|
||||
<text value="&channel.label;" crop="right"/>
|
||||
<text value="&topicBy.label;" crop="right"/>
|
||||
grippytooltiptext="&statusBar.tooltip;">
|
||||
<hbox class="status-box" flex="20%" >
|
||||
<vbox class="status-label" >
|
||||
<label value="&network.label;"/>
|
||||
<label value="&channel.label;"/>
|
||||
<label value="&topicBy.label;"/>
|
||||
</vbox>
|
||||
<vbox class="status-data" crop="right">
|
||||
<text id="net-name" value="(one)" crop="right"/>
|
||||
<text id="channel-name" value="(none)" crop="right"/>
|
||||
<text id="channel-topicby" value="(nobody)" crop="right"/>
|
||||
<vbox class="status-data" >
|
||||
<label id="net-name" value="(one)"/>
|
||||
<label id="channel-name" value="(none)"/>
|
||||
<label id="channel-topicby" value="(nobody)"/>
|
||||
</vbox>
|
||||
<spacer flex="20%"/>
|
||||
<vbox class="status-label" crop="right">
|
||||
<text value="&server.label;" crop="right"/>
|
||||
<text value="&mode.label;" crop="right"/>
|
||||
<text value="&topic.label;" crop="right"/>
|
||||
<vbox class="status-label" >
|
||||
<label value="&server.label;"/>
|
||||
<label value="&mode.label;"/>
|
||||
<label value="&topic.label;"/>
|
||||
</vbox>
|
||||
<vbox flex="80%" crop="right">
|
||||
<hbox flex="1" crop="right">
|
||||
<vbox class="status-data" crop="right">
|
||||
<text id="server-name" value="(none)" crop="right"/>
|
||||
<text id="channel-mode" value="(none)" crop="right"/>
|
||||
<vbox flex="80%" >
|
||||
<hbox flex="1" >
|
||||
<vbox class="status-data" >
|
||||
<label id="server-name" value="(none)"/>
|
||||
<label id="channel-mode" value="(none)"/>
|
||||
</vbox>
|
||||
<spacer flex="100%"/>
|
||||
<vbox class="status-label" crop="right">
|
||||
<text value="&nickname.label;" crop="right"/>
|
||||
<text value="&users.label;" crop="right"/>
|
||||
<vbox class="status-label" >
|
||||
<label value="&nickname.label;"/>
|
||||
<label value="&users.label;"/>
|
||||
</vbox>
|
||||
<vbox class="status-data" crop="right">
|
||||
<text id="server-nick" value="(unknown)" crop="right"/>
|
||||
<text id="channel-users" value="(none)" crop="right"/>
|
||||
<vbox class="status-data" >
|
||||
<label id="server-nick" value="(unknown)"/>
|
||||
<label id="channel-users" value="(none)"/>
|
||||
</vbox>
|
||||
<spacer flex="100%"/>
|
||||
<vbox class="status-label" crop="right">
|
||||
<text value="&lag.label;" crop="right"/>
|
||||
<text value="&limit.label;" crop="right"/>
|
||||
<vbox class="status-label" >
|
||||
<label value="&lag.label;"/>
|
||||
<label value="&limit.label;"/>
|
||||
</vbox>
|
||||
<vbox class="status-data" crop="right">
|
||||
<text id="server-lag" value="-1" crop="right"/>
|
||||
<text id="channel-limit" value="(none)" crop="right"/>
|
||||
<vbox class="status-data" >
|
||||
<label id="server-lag" value="-1"/>
|
||||
<label id="channel-limit" value="(none)"/>
|
||||
</vbox>
|
||||
<spacer flex="100%"/>
|
||||
<vbox class="status-label" crop="right"
|
||||
<vbox class="status-label"
|
||||
collapsed="true">
|
||||
<text value="&lastPing.label;" crop="right"/>
|
||||
<text value="&key.label;" crop="right"/>
|
||||
<label value="&lastPing.label;"/>
|
||||
<label value="&key.label;"/>
|
||||
</vbox>
|
||||
<vbox class="status-data" crop="right"
|
||||
<vbox class="status-data"
|
||||
collapsed="true">
|
||||
<text id="last-ping" value="(never)" crop="right"/>
|
||||
<text id="channel-key" value="(none)" crop="right"/>
|
||||
<label id="last-ping" value="(never)"/>
|
||||
<label id="channel-key" value="(none)"/>
|
||||
</vbox>
|
||||
</hbox>
|
||||
<hbox flex="1" crop="right">
|
||||
<vbox class="status-data" flex="1" crop="right">
|
||||
<text id="channel-topic" value="(none)" crop="right"/>
|
||||
<hbox flex="1">
|
||||
<vbox class="status-data" flex="1">
|
||||
<label id="channel-topic" value="(none)"/>
|
||||
</vbox>
|
||||
</hbox>
|
||||
</vbox>
|
||||
|
|
|
@ -5,8 +5,7 @@
|
|||
<!-- This is the overlay that addes "Chatzilla" to the (global) task menu. -->
|
||||
|
||||
<overlay id="ChatzillaTaskMenuID"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
<script type="application/x-javascript" src="chrome://chatzilla/content/chatzillaOverlay.js"/>
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
<window xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
class="dialog"
|
||||
orient="vertical" title="&window.title;"
|
||||
title="&window.title;"
|
||||
onload="if( parent.handle ) parent.handle.onpageload( 'pref-irc' ); else parent.queuedTag = 'pref-irc';">
|
||||
|
||||
<hbox class="header">
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -47,8 +47,7 @@
|
|||
<!DOCTYPE window SYSTEM "chrome://venkman/locale/venkman-overlay.dtd" >
|
||||
|
||||
<overlay id="venkmanTaskMenuID"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
<script src="chrome://venkman/content/venkman-overlay.js"/>
|
||||
|
||||
|
|
|
@ -45,8 +45,7 @@
|
|||
<?xul-overlay href="chrome://venkman/content/venkman-scripts.xul"?>
|
||||
<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
|
||||
|
||||
<window id="venkman-window" orient="vertical"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
<window id="venkman-window"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="console.onLoad();" onunload="return console.onUnload();"
|
||||
width="640" height="480"
|
||||
|
@ -56,7 +55,7 @@
|
|||
<overlaytarget id="scripts-overlay-target"/>
|
||||
<overlaytarget id="menu-overlay-target"/>
|
||||
|
||||
<box flex="1" orient="vertical">
|
||||
<vbox flex="1">
|
||||
<hbox flex="1" id="top-hbox" persist="height">
|
||||
|
||||
<vbox flex="1" id="top-left-pane" persist="width">
|
||||
|
@ -162,7 +161,7 @@
|
|||
</vbox>
|
||||
|
||||
</hbox>
|
||||
</box>
|
||||
</vbox>
|
||||
|
||||
<overlaytarget id="statusbar-overlay-target"/>
|
||||
|
||||
|
|
|
@ -111,7 +111,6 @@ function Startup()
|
|||
|
||||
loadCookies();
|
||||
loadPermissions();
|
||||
doSetOKCancel(onOK, null);
|
||||
window.sizeToContent();
|
||||
}
|
||||
|
||||
|
@ -502,9 +501,9 @@ function DeleteAllImagePermissions() {
|
|||
|
||||
/*** =================== GENERAL CODE =================== ***/
|
||||
|
||||
// function : <CookieViewer.js>::doOKButton();
|
||||
// function : <CookieViewer.js>::onAccept();
|
||||
// purpose : saves the changed settings and closes the dialog.
|
||||
function onOK(){
|
||||
function onAccept(){
|
||||
|
||||
var deletedCookies = [];
|
||||
deletedCookies = gone_c.split(",");
|
||||
|
|
|
@ -29,14 +29,12 @@
|
|||
<!-- CHANGE THIS WHEN MOVING FILES -->
|
||||
<!DOCTYPE window SYSTEM "chrome://communicator/locale/wallet/CookieViewer.dtd" >
|
||||
|
||||
<window id="cookieviewer"
|
||||
class="dialog"
|
||||
<dialog id="cookieviewer"
|
||||
title="&windowtitle.label;"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
style="width: 30em;"
|
||||
orient="vertical"
|
||||
onload="Startup()">
|
||||
onload="Startup()"
|
||||
ondialogaccept="onAccept();">
|
||||
|
||||
<script src="chrome://communicator/content/wallet/CookieViewer.js"/>
|
||||
<script src="chrome://global/content/strres.js"/>
|
||||
|
@ -52,9 +50,9 @@
|
|||
</tabs>
|
||||
<tabpanels id="panel" flex="1">
|
||||
<vbox class="tabpanel" id="system" flex="1">
|
||||
<text class="label" value="&div.cookiesonsystem.label;"/>
|
||||
<label value="&div.cookiesonsystem.label;"/>
|
||||
<separator class="thin"/>
|
||||
<tree id="cookietree" class="inset" style="height: 10em;"
|
||||
<tree id="cookietree" style="height: 10em;"
|
||||
multiple="true" onselect="ViewCookieSelected(event);"
|
||||
onclick="ViewCookieSelected(event)" flex="1"
|
||||
onkeypress="HandleKeyPress(event)">
|
||||
|
@ -86,51 +84,51 @@
|
|||
</columns>
|
||||
<rows>
|
||||
<row align="center">
|
||||
<text value="&props.name.label;"/>
|
||||
<label value="&props.name.label;"/>
|
||||
<textbox id="ifl_name" readonly="true"/>
|
||||
</row>
|
||||
<row align="center">
|
||||
<text value="&props.value.label;"/>
|
||||
<label value="&props.value.label;"/>
|
||||
<textbox id="ifl_value" readonly="true"/>
|
||||
</row>
|
||||
<row align="center">
|
||||
<text id="ifl_isDomain" value="&props.domain.label;"/>
|
||||
<label id="ifl_isDomain" value="&props.domain.label;"/>
|
||||
<textbox id="ifl_host" readonly="true"/>
|
||||
</row>
|
||||
<row align="center">
|
||||
<text value="&props.path.label;"/>
|
||||
<label value="&props.path.label;"/>
|
||||
<textbox id="ifl_path" readonly="true"/>
|
||||
</row>
|
||||
<row align="center">
|
||||
<text value="&props.secure.label;"/>
|
||||
<label value="&props.secure.label;"/>
|
||||
<textbox id="ifl_isSecure" readonly="true"/>
|
||||
</row>
|
||||
<row align="center">
|
||||
<text value="&props.expires.label;"/>
|
||||
<label value="&props.expires.label;"/>
|
||||
<textbox id="ifl_expires" readonly="true"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</groupbox>
|
||||
<hbox>
|
||||
<button id="removeCookies" class="dialog push" disabled="true"
|
||||
<button id="removeCookies" disabled="true"
|
||||
label="&button.removecookie.label;"
|
||||
oncommand="DeleteCookieSelected();"/>
|
||||
<button id="removeAllCookies" class="dialog push"
|
||||
<button id="removeAllCookies"
|
||||
label="&button.removeallcookies.label;"
|
||||
oncommand="DeleteAllCookies();"/>
|
||||
<!-- todo: <button id="restoreCookies" class="dialog push" disabled="true" label="&button.restorecookie.label;" oncommand="RestoreCookies();"/> -->
|
||||
</hbox>
|
||||
<separator class="thin"/>
|
||||
<hbox autostretch="never">
|
||||
<hbox align="start">
|
||||
<checkbox id="checkbox" label="&checkbox.label;" />
|
||||
</hbox>
|
||||
</vbox>
|
||||
|
||||
<vbox class="tabpanel" id="servers" flex="1">
|
||||
<text class="label" value="&div.bannedservers.label;"/>
|
||||
<vbox id="servers" flex="1">
|
||||
<label value="&div.bannedservers.label;"/>
|
||||
<separator class="thin"/>
|
||||
<tree id="cookiepermissionstree" class="inset" flex="1"
|
||||
<tree id="cookiepermissionstree" flex="1"
|
||||
onkeypress="if(event.which == 46) gone_p += DeleteItemSelected('cookiepermissionstree', 'permtree_', 'cookiePermList');"
|
||||
multiple="true" onclick="ViewCookiePermissionSelected();">
|
||||
<treecolgroup>
|
||||
|
@ -151,19 +149,19 @@
|
|||
<treechildren flex="1" id="cookiePermList"/>
|
||||
</tree>
|
||||
<hbox>
|
||||
<button id="removePermissions" class="dialog push" disabled="true"
|
||||
<button id="removePermissions" disabled="true"
|
||||
label="&removepermission.label;"
|
||||
oncommand="DeleteCookiePermissionSelected();"/>
|
||||
<button id="removeAllPermissions" class="dialog push"
|
||||
<button id="removeAllPermissions"
|
||||
label="&removeallpermissions.label;"
|
||||
oncommand="DeleteAllCookiePermissions();"/>
|
||||
</hbox>
|
||||
</vbox>
|
||||
|
||||
<vbox class="tabpanel" id="images" hidden="true" flex="1">
|
||||
<text class="label" value="&div.bannedimages.label;"/>
|
||||
<vbox id="images" hidden="true" flex="1">
|
||||
<label value="&div.bannedimages.label;"/>
|
||||
<separator class="thin"/>
|
||||
<tree id="imagepermissionstree" class="inset" flex="1" style="height: 0px;"
|
||||
<tree id="imagepermissionstree" flex="1" style="height: 0px;"
|
||||
onkeypress="if(event.which == 46) gone_i += DeleteItemSelected('imagepermisionstree', 'imgtree_', 'imagePermList');"
|
||||
multiple="true" onclick="ViewImagePermissionSelected();">
|
||||
<treecolgroup>
|
||||
|
@ -184,10 +182,10 @@
|
|||
<treechildren flex="1" id="imagePermList"/>
|
||||
</tree>
|
||||
<hbox>
|
||||
<button id="removeImages" class="dialog push" disabled="true"
|
||||
<button id="removeImages" disabled="true"
|
||||
label="&removeimage.label;"
|
||||
oncommand="DeleteImagePermissionSelected();"/>
|
||||
<button id="removeAllImages" class="dialog push"
|
||||
<button id="removeAllImages"
|
||||
label="&removeallimages.label;"
|
||||
oncommand="DeleteAllImagePermissions();"/>
|
||||
</hbox>
|
||||
|
@ -195,8 +193,4 @@
|
|||
|
||||
</tabpanels>
|
||||
</tabbox>
|
||||
|
||||
<separator class="thin"/>
|
||||
<hbox id="okCancelButtonsRight"/>
|
||||
|
||||
</window>
|
||||
</dialog>
|
||||
|
|
|
@ -30,11 +30,8 @@
|
|||
%walletviewerDTD;
|
||||
]>
|
||||
|
||||
<window debug="false" xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
class="color-dialog"
|
||||
orient="vertical"
|
||||
onload="parent.initPanel();">
|
||||
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="parent.initPanel();">
|
||||
|
||||
<script type="application/x-javascript">
|
||||
<![CDATA[
|
||||
|
@ -47,7 +44,7 @@
|
|||
<script type="application/x-javascript"
|
||||
src="chrome://communicator/content/wallet/WalletViewer.js"/>
|
||||
|
||||
<groupbox class="tabpanel" autostretch="never">
|
||||
<groupbox align="start">
|
||||
<caption label="&address.title;"/>
|
||||
<grid class="indent" flex="1">
|
||||
|
||||
|
@ -59,7 +56,7 @@
|
|||
<rows>
|
||||
|
||||
<row align="center">
|
||||
<html>&addressLine1.label;</html>
|
||||
<description>&addressLine1.label;</description>
|
||||
<menulist id="street.line1" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -69,7 +66,7 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&addressLine2.label;</html>
|
||||
<description>&addressLine2.label;</description>
|
||||
<menulist id="street.line2" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -79,7 +76,7 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&addressLine3.label;</html>
|
||||
<description>&addressLine3.label;</description>
|
||||
<menulist id="street.line3" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -89,7 +86,7 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&addressCity.label;</html>
|
||||
<description>&addressCity.label;</description>
|
||||
<menulist id="city" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -99,7 +96,7 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&addressState.label;</html>
|
||||
<description>&addressState.label;</description>
|
||||
<menulist id="state" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -109,7 +106,7 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&addressZipcode.label;</html>
|
||||
<description>&addressZipcode.label;</description>
|
||||
<hbox>
|
||||
<menulist id="postalcode.prefix" editable="true" autoSelectMenuitem="false" flex="55%" width="0"
|
||||
onchange="Append(this)">
|
||||
|
@ -117,7 +114,7 @@
|
|||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value="__"/>
|
||||
<label value="__"/>
|
||||
<menulist id="postalcode.suffix" editable="true" autoSelectMenuitem="false" flex="45%" width="0"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -128,7 +125,7 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&addressCountry.label;</html>
|
||||
<description>&addressCountry.label;</description>
|
||||
<menulist id="country" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -138,7 +135,7 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&email.label;</html>
|
||||
<description>&email.label;</description>
|
||||
<menulist id="email" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -148,7 +145,7 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&homepage.label;</html>
|
||||
<description>&homepage.label;</description>
|
||||
<menulist id="uri" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
|
||||
|
@ -163,5 +160,4 @@
|
|||
</grid>
|
||||
|
||||
</groupbox>
|
||||
|
||||
</window>
|
||||
</page>
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
-->
|
||||
|
||||
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
||||
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE window [
|
||||
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
|
||||
|
@ -30,11 +29,8 @@
|
|||
%walletviewerDTD;
|
||||
]>
|
||||
|
||||
<window debug="false" xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
class="color-dialog"
|
||||
orient="vertical"
|
||||
onload="parent.initPanel();">
|
||||
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="parent.initPanel();">
|
||||
|
||||
<script type="application/x-javascript">
|
||||
<![CDATA[
|
||||
|
@ -44,6 +40,5 @@
|
|||
|
||||
<script type="application/x-javascript"
|
||||
src="chrome://communicator/content/wallet/WalletViewer.js"/>
|
||||
|
||||
|
||||
</window>
|
||||
</page>
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
-->
|
||||
|
||||
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
||||
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE window [
|
||||
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
|
||||
|
@ -30,12 +29,8 @@
|
|||
%walletviewerDTD;
|
||||
]>
|
||||
|
||||
<window debug="false" xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
class="color-dialog"
|
||||
orient="vertical"
|
||||
style="overflow: auto;"
|
||||
onload="parent.initPanel();">
|
||||
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="parent.initPanel();">
|
||||
|
||||
<script type="application/x-javascript">
|
||||
<![CDATA[
|
||||
|
@ -63,7 +58,7 @@
|
|||
src="chrome://communicator/content/wallet/WalletViewer.js"/>
|
||||
|
||||
|
||||
<groupbox class="tabpanel" autostretch="never" hidden="true">
|
||||
<groupbox align="start" hidden="true">
|
||||
<caption label="&concatPrimary.title;"/>
|
||||
<grid class="indent" flex="1">
|
||||
<columns>
|
||||
|
@ -73,7 +68,7 @@
|
|||
<rows>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatName.label;</html>
|
||||
<description>&concatName.label;</description>
|
||||
<menulist id="name" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -83,7 +78,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatZipcode.label;</html>
|
||||
<description>&concatZipcode.label;</description>
|
||||
<menulist id="home.postalcode" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -93,7 +88,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatPhone.label;</html>
|
||||
<description>&concatPhone.label;</description>
|
||||
<menulist id="home.phone" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -103,7 +98,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatPhonenumber.label;</html>
|
||||
<description>&concatPhonenumber.label;</description>
|
||||
<menulist id="home.phone.number" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -113,7 +108,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatAltPhone.label;</html>
|
||||
<description>&concatAltPhone.label;</description>
|
||||
<menulist id="home.altphone" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -123,7 +118,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatAltPhonenumber.label;</html>
|
||||
<description>&concatAltPhonenumber.label;</description>
|
||||
<menulist id="home.altphone.number" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -133,7 +128,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatFax.label;</html>
|
||||
<description>&concatFax.label;</description>
|
||||
<menulist id="home.fax" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -143,7 +138,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatFaxnumber.label;</html>
|
||||
<description>&concatFaxnumber.label;</description>
|
||||
<menulist id="home.fax.number" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -153,7 +148,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatMobile.label;</html>
|
||||
<description>&concatMobile.label;</description>
|
||||
<menulist id="home.mobile" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -163,7 +158,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatMobilenumber.label;</html>
|
||||
<description>&concatMobilenumber.label;</description>
|
||||
<menulist id="home.mobile.number" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -173,7 +168,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatPager.label;</html>
|
||||
<description>&concatPager.label;</description>
|
||||
<menulist id="home.pager" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -183,7 +178,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatPagernumber.label;</html>
|
||||
<description>&concatPagernumber.label;</description>
|
||||
<menulist id="home.pager.number" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -196,7 +191,7 @@
|
|||
</grid>
|
||||
</groupbox>
|
||||
|
||||
<groupbox class="tabpanel" autostretch="never" hidden="true">
|
||||
<groupbox align="start" hidden="true">
|
||||
<caption label="&concatShipping.title;"/>
|
||||
<grid class="indent">
|
||||
<columns>
|
||||
|
@ -206,7 +201,7 @@
|
|||
<rows>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatShiptoName.label;</html>
|
||||
<description>&concatShiptoName.label;</description>
|
||||
<menulist id="shipto.name" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -216,7 +211,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatShiptoZipcode.label;</html>
|
||||
<description>&concatShiptoZipcode.label;</description>
|
||||
<menulist id="shipto.postalcode" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -226,7 +221,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatShiptoPhone.label;</html>
|
||||
<description>&concatShiptoPhone.label;</description>
|
||||
<menulist id="shipto.phone" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -236,7 +231,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatShiptoPhonenumber.label;</html>
|
||||
<description>&concatShiptoPhonenumber.label;</description>
|
||||
<menulist id="shipto.phone.number" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -246,7 +241,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatShiptoAltPhone.label;</html>
|
||||
<description>&concatShiptoAltPhone.label;</description>
|
||||
<menulist id="shipto.altphone" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -256,7 +251,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatShiptoAltPhonenumber.label;</html>
|
||||
<description>&concatShiptoAltPhonenumber.label;</description>
|
||||
<menulist id="shipto.altphone.number" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -266,7 +261,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatShiptoFax.label;</html>
|
||||
<description>&concatShiptoFax.label;</description>
|
||||
<menulist id="shipto.fax" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -276,7 +271,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatShiptoFaxnumber.label;</html>
|
||||
<description>&concatShiptoFaxnumber.label;</description>
|
||||
<menulist id="shipto.fax.number" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -286,7 +281,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatShiptoMobile.label;</html>
|
||||
<description>&concatShiptoMobile.label;</description>
|
||||
<menulist id="shipto.mobile" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -296,7 +291,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatShiptoMobilenumber.label;</html>
|
||||
<description>&concatShiptoMobilenumber.label;</description>
|
||||
<menulist id="shipto.mobile.number" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -306,7 +301,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatShiptoPager.label;</html>
|
||||
<description>&concatShiptoPager.label;</description>
|
||||
<menulist id="shipto.pager" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -316,7 +311,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatShiptoPagernumber.label;</html>
|
||||
<description>&concatShiptoPagernumber.label;</description>
|
||||
<menulist id="shipto.pager.number" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -329,7 +324,7 @@
|
|||
</grid>
|
||||
</groupbox>
|
||||
|
||||
<groupbox class="tabpanel" autostretch="never" hidden="true">
|
||||
<groupbox align="start" hidden="true">
|
||||
<caption label="&concatBilling.title;"/>
|
||||
<grid class="indent">
|
||||
<columns>
|
||||
|
@ -339,7 +334,7 @@
|
|||
<rows>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatBilltoName.label;</html>
|
||||
<description>&concatBilltoName.label;</description>
|
||||
<menulist id="billto.name" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -349,7 +344,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatBilltoZipcode.label;</html>
|
||||
<description>&concatBilltoZipcode.label;</description>
|
||||
<menulist id="billto.postalcode" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -359,7 +354,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatBilltoPhone.label;</html>
|
||||
<description>&concatBilltoPhone.label;</description>
|
||||
<menulist id="billto.phone" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -369,7 +364,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatBilltoPhonenumber.label;</html>
|
||||
<description>&concatBilltoPhonenumber.label;</description>
|
||||
<menulist id="billto.phone.number" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -379,7 +374,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatBilltoAltPhone.label;</html>
|
||||
<description>&concatBilltoAltPhone.label;</description>
|
||||
<menulist id="billto.altphone" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -389,7 +384,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatBilltoAltPhonenumber.label;</html>
|
||||
<description>&concatBilltoAltPhonenumber.label;</description>
|
||||
<menulist id="billto.altphone.number" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -399,7 +394,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatBilltoFax.label;</html>
|
||||
<description>&concatBilltoFax.label;</description>
|
||||
<menulist id="billto.fax" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -409,7 +404,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatBilltoFaxnumber.label;</html>
|
||||
<description>&concatBilltoFaxnumber.label;</description>
|
||||
<menulist id="billto.fax.number" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -419,7 +414,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatBilltoMobile.label;</html>
|
||||
<description>&concatBilltoMobile.label;</description>
|
||||
<menulist id="billto.mobile" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -429,7 +424,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatBilltoMobilenumber.label;</html>
|
||||
<description>&concatBilltoMobilenumber.label;</description>
|
||||
<menulist id="billto.mobile.number" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -439,7 +434,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatBilltoPager.label;</html>
|
||||
<description>&concatBilltoPager.label;</description>
|
||||
<menulist id="billto.pager" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -449,7 +444,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatBilltoPagernumber.label;</html>
|
||||
<description>&concatBilltoPagernumber.label;</description>
|
||||
<menulist id="billto.pager.number" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -462,7 +457,7 @@
|
|||
</grid>
|
||||
</groupbox>
|
||||
|
||||
<groupbox class="tabpanel" autostretch="never" hidden="true">
|
||||
<groupbox align="start" hidden="true">
|
||||
<caption label="&concatOther.title;"/>label
|
||||
<grid class="indent">
|
||||
<columns>
|
||||
|
@ -472,7 +467,7 @@
|
|||
<rows>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatCardExpdate.label;</html>
|
||||
<description>&concatCardExpdate.label;</description>
|
||||
<menulist id="card.expdate" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -482,7 +477,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatSocSec.label;</html>
|
||||
<description>&concatSocSec.label;</description>
|
||||
<menulist id="socsec" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -492,7 +487,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatBdate.label;</html>
|
||||
<description>&concatBdate.label;</description>
|
||||
<menulist id="bdate" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -502,7 +497,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatAnniv.label;</html>
|
||||
<description>&concatAnniv.label;</description>
|
||||
<menulist id="anniv" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -514,5 +509,4 @@
|
|||
</rows>
|
||||
</grid>
|
||||
</groupbox>
|
||||
|
||||
</window>
|
||||
</page>
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
-->
|
||||
|
||||
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
||||
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE window [
|
||||
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
|
||||
|
@ -30,11 +29,8 @@
|
|||
%walletviewerDTD;
|
||||
]>
|
||||
|
||||
<window debug="false" xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
class="color-dialog"
|
||||
orient="vertical"
|
||||
onload="parent.initPanel();">
|
||||
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="parent.initPanel();">
|
||||
|
||||
<script type="application/x-javascript">
|
||||
<![CDATA[
|
||||
|
@ -46,7 +42,7 @@
|
|||
<script type="application/x-javascript"
|
||||
src="chrome://communicator/content/wallet/WalletViewer.js"/>
|
||||
|
||||
<groupbox class="tabpanel" autostretch="never">
|
||||
<groupbox align="start">
|
||||
<caption label="&credit.title;"/>
|
||||
<grid class="indent" flex="1">
|
||||
|
||||
|
@ -58,7 +54,7 @@
|
|||
<rows>
|
||||
|
||||
<row align="center">
|
||||
<html>&creditType.label;</html>
|
||||
<description>&creditType.label;</description>
|
||||
<menulist id="card.type" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -68,7 +64,7 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&creditNumber.label;</html>
|
||||
<description>&creditNumber.label;</description>
|
||||
<menulist id="card.number" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -78,16 +74,16 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&creditExpires.label;</html>
|
||||
<description>&creditExpires.label;</description>
|
||||
<hbox align="center">
|
||||
<text value="&creditExpiresMonth.label;" />
|
||||
<label value="&creditExpiresMonth.label;" />
|
||||
<menulist id="card.expdate.month" editable="true" autoSelectMenuitem="false" flex="40%" width="0"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value="&creditExpiresYear.label;" />
|
||||
<label value="&creditExpiresYear.label;" />
|
||||
<menulist id="card.expdate.year" editable="true" autoSelectMenuitem="false" flex="60%" width="0"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -98,7 +94,7 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&creditName.label;</html>
|
||||
<description>&creditName.label;</description>
|
||||
<menulist id="card.name" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -110,5 +106,4 @@
|
|||
|
||||
</grid>
|
||||
</groupbox>
|
||||
|
||||
</window>
|
||||
</page>
|
||||
|
|
|
@ -97,12 +97,11 @@ function Startup()
|
|||
return; /* user failed to unlock the database */
|
||||
}
|
||||
ViewSchema(); /* create the display of schemas */
|
||||
doSetOKCancel(onOK, null); /* register the onOK method */
|
||||
window.sizeToContent();
|
||||
}
|
||||
|
||||
/* routine that executes when OK button is pressed */
|
||||
function onOK(){
|
||||
function onAccept(){
|
||||
var i, j, k;
|
||||
var output = "OK" + BREAK;
|
||||
for (i=0; i<schemasLength; i++) {
|
||||
|
|
|
@ -23,47 +23,43 @@
|
|||
|
||||
<!-- CHANGE THIS WHEN MOVING FILES -->
|
||||
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
||||
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
||||
|
||||
<!-- CHANGE THIS WHEN MOVING FILES -->
|
||||
<!DOCTYPE window SYSTEM "chrome://communicator/locale/wallet/WalletEditor.dtd" >
|
||||
|
||||
<window id="walleteditor"
|
||||
class="dialog"
|
||||
<dialog id="walleteditor"
|
||||
title="&windowtitle.label;"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
orient="vertical"
|
||||
onload="Startup()">
|
||||
onload="Startup()"
|
||||
ondialogaccept="return onAccept();">
|
||||
|
||||
<script type="application/x-javascript" src="chrome://communicator/content/wallet/WalletEditor.js"/>
|
||||
<script type="application/x-javascript" src="chrome://global/content/strres.js" />
|
||||
<keyset id="dialogKeys"/>
|
||||
|
||||
<vbox id="system" flex="100%">
|
||||
<spacer style="height: 7px;"/>
|
||||
<text class="label" value="&div.walletdataonsystem.label;"/>
|
||||
<separator orient="horizontal" class="groove"/>
|
||||
<label value="&div.walletdataonsystem.label;"/>
|
||||
<separator class="groove"/>
|
||||
<spacer style="height: 10px;"/>
|
||||
<hbox id="system1" flex="100%">
|
||||
<spacer style="width: 7px;"/>
|
||||
<vbox>
|
||||
<text class="label" value="&treehead.schemaname.label;"/>
|
||||
<tree multiple="true" id="schematree" class="inset"
|
||||
style="height: 250px;" orient="vertical" onclick="ViewEntries();">
|
||||
<label value="&treehead.schemaname.label;"/>
|
||||
<tree multiple="true" id="schematree"
|
||||
style="height: 250px;" onclick="ViewEntries();">
|
||||
<treecolgroup>
|
||||
<treecol flex="1"/>
|
||||
</treecolgroup>
|
||||
<treechildren id="schemalist" flex="1"/>
|
||||
</tree>
|
||||
<hbox>
|
||||
<button id="removeSchema" class="dialog push" disabled="true" label="&button.remove.label;" oncommand="DeleteSchema();"/>
|
||||
<button id="addSchema" class="dialog push" disabled="false" label="&button.addschema.label;" oncommand="AddSchema();"/>
|
||||
<button id="removeSchema" disabled="true" label="&button.remove.label;" oncommand="DeleteSchema();"/>
|
||||
<button id="addSchema" label="&button.addschema.label;" oncommand="AddSchema();"/>
|
||||
</hbox>
|
||||
</vbox>
|
||||
<spacer style="width: 7px;"/>
|
||||
<vbox>
|
||||
<text class="label" id="entrytext" value2="&treehead.entries.label;" value3="&treehead.entries1.label;"/>
|
||||
<label id="entrytext" value2="&treehead.entries.label;" value3="&treehead.entries1.label;"/>
|
||||
<tree multiple="true" id="entrytree" class="inset"
|
||||
style="height: 113px;" orient="vertical" onclick="ViewSynonyms();">
|
||||
<treecolgroup>
|
||||
|
@ -72,8 +68,8 @@
|
|||
<treechildren flex="1" id="entrieslist"/>
|
||||
</tree>
|
||||
<spacer style="height: 7px;"/>
|
||||
<text class="label" id="synonymtext" value2="&treehead.synonyms.label;" value3="&treehead.synonymsoff.label;" value4="&treehead.synonyms1.label;"/>
|
||||
<tree multiple="true" id="synonymtree" class="inset"
|
||||
<label id="synonymtext" value2="&treehead.synonyms.label;" value3="&treehead.synonymsoff.label;" value4="&treehead.synonyms1.label;"/>
|
||||
<tree multiple="true" id="synonymtree"
|
||||
style="height: 113px;" orient="vertical" onclick="SynonymSelected();">
|
||||
<treecolgroup>
|
||||
<treecol flex="1"/>
|
||||
|
@ -84,23 +80,13 @@
|
|||
<spacer style="width: 7px;"/>
|
||||
<vbox>
|
||||
<spacer style="height: 15px;"/>
|
||||
<button id="removeEntry" class="dialog push" disabled="true" label="&button.remove.label;" oncommand="DeleteEntry();"/>
|
||||
<button id="addEntry" class="dialog push" disabled="false" label="&button.addentry.label;" oncommand="AddEntry();"/>
|
||||
<button id="removeEntry" disabled="true" label="&button.remove.label;" oncommand="DeleteEntry();"/>
|
||||
<button id="addEntry" label="&button.addentry.label;" oncommand="AddEntry();"/>
|
||||
<spacer style="height: 93px;"/>
|
||||
<button id="removeSynonym" class="dialog push" disabled="true" label="&button.remove.label;" oncommand="DeleteSynonym();"/>
|
||||
<button id="addSynonym" class="dialog push" disabled="false" label="&button.addsynonym.label;" oncommand="AddSynonym();"/>
|
||||
<button id="removeSynonym" disabled="true" label="&button.remove.label;" oncommand="DeleteSynonym();"/>
|
||||
<button id="addSynonym" label="&button.addsynonym.label;" oncommand="AddSynonym();"/>
|
||||
</vbox>
|
||||
<spacer style="width: 7px;"/>
|
||||
</hbox>
|
||||
</vbox>
|
||||
<separator orient="horizontal" class="groove"/>
|
||||
|
||||
<!-- from dialogOverlay.xul -->
|
||||
<spacer style="height: 5px;"/>
|
||||
<hbox>
|
||||
<spacer flex="100%"/>
|
||||
<hbox id="okCancelButtons"/>
|
||||
</hbox>
|
||||
<spacer style="height: 5px;"/>
|
||||
|
||||
</window>
|
||||
</dialog>
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
-->
|
||||
|
||||
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
||||
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE window [
|
||||
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
|
||||
|
@ -30,11 +29,8 @@
|
|||
%walletviewerDTD;
|
||||
]>
|
||||
|
||||
<window debug="false" xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
class="color-dialog"
|
||||
orient="vertical"
|
||||
onload="parent.initPanel();">
|
||||
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="parent.initPanel();">
|
||||
|
||||
<script type="application/x-javascript">
|
||||
<![CDATA[
|
||||
|
@ -45,7 +41,7 @@
|
|||
<script type="application/x-javascript"
|
||||
src="chrome://communicator/content/wallet/WalletViewer.js"/>
|
||||
|
||||
<groupbox class="tabpanel" autostretch="never">
|
||||
<groupbox align="start">
|
||||
<caption label="&employ.title;"/>
|
||||
<grid class="indent" flex="1">
|
||||
|
||||
|
@ -57,7 +53,7 @@
|
|||
<rows>
|
||||
|
||||
<row align="center">
|
||||
<html>&employName.label;</html>
|
||||
<description>&employName.label;</description>
|
||||
<menulist id="business.companyname" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -67,7 +63,7 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&employTitle.label;</html>
|
||||
<description>&employTitle.label;</description>
|
||||
<menulist id="business.jobtitle" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -77,7 +73,7 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&employDepartment.label;</html>
|
||||
<description>&employDepartment.label;</description>
|
||||
<menulist id="business.department" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -90,5 +86,4 @@
|
|||
|
||||
</grid>
|
||||
</groupbox>
|
||||
|
||||
</window>
|
||||
</page>
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
-->
|
||||
|
||||
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
||||
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE window [
|
||||
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
|
||||
|
@ -30,11 +29,8 @@
|
|||
%walletviewerDTD;
|
||||
]>
|
||||
|
||||
<window debug="false" xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
class="color-dialog"
|
||||
orient="vertical"
|
||||
onload="parent.initPanel();">
|
||||
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="parent.initPanel();">
|
||||
|
||||
<script type="application/x-javascript">
|
||||
<![CDATA[
|
||||
|
@ -48,7 +44,7 @@
|
|||
<script type="application/x-javascript"
|
||||
src="chrome://communicator/content/wallet/WalletViewer.js"/>
|
||||
|
||||
<groupbox class="tabpanel" autostretch="never">
|
||||
<groupbox align="start">
|
||||
<caption label="&misc.title;"/>
|
||||
<grid class="indent" flex="1">
|
||||
|
||||
|
@ -60,7 +56,7 @@
|
|||
<rows>
|
||||
|
||||
<row align="center">
|
||||
<html>&miscSS.label;</html>
|
||||
<description>&miscSS.label;</description>
|
||||
<hbox>
|
||||
<menulist id="socsec.prefix" editable="true" autoSelectMenuitem="false" flex="33%" width="0"
|
||||
onchange="Append(this)">
|
||||
|
@ -68,14 +64,14 @@
|
|||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value="__"/>
|
||||
<label value="__"/>
|
||||
<menulist id="socsec.middle" editable="true" autoSelectMenuitem="false" flex="24%" width="0"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value="__"/>
|
||||
<label value="__"/>
|
||||
<menulist id="socsec.suffix" editable="true" autoSelectMenuitem="false" flex="43%" width="0"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -86,7 +82,7 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&miscLicense.label;</html>
|
||||
<description>&miscLicense.label;</description>
|
||||
<hbox align="center">
|
||||
<menulist id="license.number" editable="true" autoSelectMenuitem="false" flex="70" width="0"
|
||||
onchange="Append(this)">
|
||||
|
@ -95,7 +91,7 @@
|
|||
</menupopup>
|
||||
</menulist>
|
||||
<spacer style="width: 5px;"/>
|
||||
<text value="&miscLicenseState.label;" />
|
||||
<label value="&miscLicenseState.label;" />
|
||||
<menulist id="license.state" editable="true" autoSelectMenuitem="false" flex="30" width="0"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -106,7 +102,7 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&miscMaiden.label;</html>
|
||||
<description>&miscMaiden.label;</description>
|
||||
<menulist id="mothersmaidenname" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -116,23 +112,23 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&miscBirthday.label;</html>
|
||||
<description>&miscBirthday.label;</description>
|
||||
<hbox align="center">
|
||||
<text value="&miscBirthdayMonth.label;" />
|
||||
<label value="&miscBirthdayMonth.label;" />
|
||||
<menulist id="bdate.month" editable="true" autoSelectMenuitem="false" flex="40%" width="0"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value="&miscBirthdayDay.label;" />
|
||||
<label value="&miscBirthdayDay.label;" />
|
||||
<menulist id="bdate.day" editable="true" autoSelectMenuitem="false" flex="20%" width="0"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value="&miscBirthdayYear.label;" />
|
||||
<label value="&miscBirthdayYear.label;" />
|
||||
<menulist id="bdate.year" editable="true" autoSelectMenuitem="false" flex="40%" width="0"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -143,23 +139,23 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&miscAnniv.label;</html>
|
||||
<description>&miscAnniv.label;</description>
|
||||
<hbox align="center">
|
||||
<text value="&miscAnnivMonth.label;" />
|
||||
<label value="&miscAnnivMonth.label;" />
|
||||
<menulist id="anniv.month" editable="true" autoSelectMenuitem="false" flex="40%" width="0"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value="&miscAnnivDay.label;" />
|
||||
<label value="&miscAnnivDay.label;" />
|
||||
<menulist id="anniv.day" editable="true" autoSelectMenuitem="false" flex="20%" width="0"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value="&miscAnnivYear.label;" />
|
||||
<label value="&miscAnnivYear.label;" />
|
||||
<menulist id="anniv.year" editable="true" autoSelectMenuitem="false" flex="40%" width="0"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -173,5 +169,4 @@
|
|||
|
||||
</grid>
|
||||
</groupbox>
|
||||
|
||||
</window>
|
||||
</page>
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
-->
|
||||
|
||||
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
||||
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE window [
|
||||
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
|
||||
|
@ -30,11 +29,8 @@
|
|||
%walletviewerDTD;
|
||||
]>
|
||||
|
||||
<window debug="false" xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
class="color-dialog"
|
||||
orient="vertical"
|
||||
onload="parent.initPanel();">
|
||||
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="parent.initPanel();">
|
||||
|
||||
<script type="application/x-javascript">
|
||||
<![CDATA[
|
||||
|
@ -46,7 +42,7 @@
|
|||
<script type="application/x-javascript"
|
||||
src="chrome://communicator/content/wallet/WalletViewer.js"/>
|
||||
|
||||
<groupbox class="tabpanel" autostretch="never">
|
||||
<groupbox align="start">
|
||||
<caption label="&name.title;"/>
|
||||
<grid class="indent" flex="1">
|
||||
|
||||
|
@ -58,7 +54,7 @@
|
|||
<rows>
|
||||
|
||||
<row align="center">
|
||||
<html>&namePrefix.label;</html>
|
||||
<description>&namePrefix.label;</description>
|
||||
<menulist id="name.prefix" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -68,7 +64,7 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&nameFirst.label;</html>
|
||||
<description>&nameFirst.label;</description>
|
||||
<menulist id="name.first" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -78,7 +74,7 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&nameMiddle.label;</html>
|
||||
<description>&nameMiddle.label;</description>
|
||||
<menulist id="name.middle" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -88,7 +84,7 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&nameLast.label;</html>
|
||||
<description>&nameLast.label;</description>
|
||||
<menulist id="name.last" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -98,7 +94,7 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&nameSuffix.label;</html>
|
||||
<description>&nameSuffix.label;</description>
|
||||
<menulist id="name.suffix" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
|
||||
|
@ -112,5 +108,4 @@
|
|||
|
||||
</grid>
|
||||
</groupbox>
|
||||
|
||||
</window>
|
||||
</page>
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
-->
|
||||
|
||||
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
||||
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE window [
|
||||
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
|
||||
|
@ -30,11 +29,8 @@
|
|||
%walletviewerDTD;
|
||||
]>
|
||||
|
||||
<window debug="false" xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
class="color-dialog"
|
||||
orient="vertical"
|
||||
onload="parent.initPanel();">
|
||||
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="parent.initPanel();">
|
||||
|
||||
<script type="application/x-javascript">
|
||||
<![CDATA[
|
||||
|
@ -44,6 +40,5 @@
|
|||
|
||||
<script type="application/x-javascript"
|
||||
src="chrome://communicator/content/wallet/WalletViewer.js"/>
|
||||
|
||||
|
||||
</window>
|
||||
</page>
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
-->
|
||||
|
||||
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
||||
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE window [
|
||||
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
|
||||
|
@ -30,11 +29,8 @@
|
|||
%walletviewerDTD;
|
||||
]>
|
||||
|
||||
<window debug="false" xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
class="color-dialog"
|
||||
orient="vertical"
|
||||
onload="parent.initPanel();">
|
||||
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="parent.initPanel();">
|
||||
|
||||
<script type="application/x-javascript">
|
||||
<![CDATA[
|
||||
|
@ -49,7 +45,7 @@
|
|||
<script type="application/x-javascript"
|
||||
src="chrome://communicator/content/wallet/WalletViewer.js"/>
|
||||
|
||||
<groupbox class="tabpanel" autostretch="never">
|
||||
<groupbox align="start">
|
||||
<caption label="&phone.title;"/>
|
||||
<grid class="indent" flex="1">
|
||||
|
||||
|
@ -68,29 +64,29 @@
|
|||
<rows>
|
||||
|
||||
<row align="center">
|
||||
<html>&phoneDay.label;</html>
|
||||
<text value="("/>
|
||||
<description>&phoneDay.label;</description>
|
||||
<label value="("/>
|
||||
<menulist id="phone.loccode" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value=")"/>
|
||||
<label value=")"/>
|
||||
<menulist id="phone.number.prefix" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value="__"/>
|
||||
<label value="__"/>
|
||||
<menulist id="phone.number.suffix" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value="&phoneDayExt.label;" />
|
||||
<label value="&phoneDayExt.label;" />
|
||||
<menulist id="phone.extension" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -100,29 +96,29 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&phoneEve.label;</html>
|
||||
<text value="("/>
|
||||
<description>&phoneEve.label;</description>
|
||||
<label value="("/>
|
||||
<menulist id="altphone.loccode" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value=")"/>
|
||||
<label value=")"/>
|
||||
<menulist id="altphone.number.prefix" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value="__"/>
|
||||
<label value="__"/>
|
||||
<menulist id="altphone.number.suffix" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value="&phoneEveExt.label;" />
|
||||
<label value="&phoneEveExt.label;" />
|
||||
<menulist id="altphone.extension" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -132,22 +128,22 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&phoneFax.label;</html>
|
||||
<text value="("/>
|
||||
<description>&phoneFax.label;</description>
|
||||
<label value="("/>
|
||||
<menulist id="fax.loccode" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value=")"/>
|
||||
<label value=")"/>
|
||||
<menulist id="fax.number.prefix" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value="__"/>
|
||||
<label value="__"/>
|
||||
<menulist id="fax.number.suffix" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -157,22 +153,22 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&phoneCell.label;</html>
|
||||
<text value="("/>
|
||||
<description>&phoneCell.label;</description>
|
||||
<label value="("/>
|
||||
<menulist id="mobile.loccode" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value=")"/>
|
||||
<label value=")"/>
|
||||
<menulist id="mobile.number.prefix" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value="__"/>
|
||||
<label value="__"/>
|
||||
<menulist id="mobile.number.suffix" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -182,22 +178,22 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&phonePager.label;</html>
|
||||
<text value="("/>
|
||||
<description>&phonePager.label;</description>
|
||||
<label value="("/>
|
||||
<menulist id="pager.loccode" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value=")"/>
|
||||
<label value=")"/>
|
||||
<menulist id="pager.number.prefix" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value="__"/>
|
||||
<label value="__"/>
|
||||
<menulist id="pager.number.suffix" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -210,5 +206,4 @@
|
|||
|
||||
</grid>
|
||||
</groupbox>
|
||||
|
||||
</window>
|
||||
</page>
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
-->
|
||||
|
||||
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
||||
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE window [
|
||||
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
|
||||
|
@ -30,11 +29,8 @@
|
|||
%walletviewerDTD;
|
||||
]>
|
||||
|
||||
<window debug="false" xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
class="color-dialog"
|
||||
orient="vertical"
|
||||
onload="parent.initPanel();">
|
||||
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="parent.initPanel();">
|
||||
|
||||
<script type="application/x-javascript">
|
||||
<![CDATA[
|
||||
|
@ -45,5 +41,4 @@
|
|||
<script type="application/x-javascript"
|
||||
src="chrome://communicator/content/wallet/WalletViewer.js"/>
|
||||
|
||||
|
||||
</window>
|
||||
</page>
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
-->
|
||||
|
||||
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
||||
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE window [
|
||||
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
|
||||
|
@ -30,11 +29,8 @@
|
|||
%walletviewerDTD;
|
||||
]>
|
||||
|
||||
<window debug="false" xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
class="color-dialog"
|
||||
orient="vertical"
|
||||
onload="parent.initPanel();">
|
||||
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="parent.initPanel();">
|
||||
|
||||
<script type="application/x-javascript">
|
||||
<![CDATA[
|
||||
|
@ -45,5 +41,4 @@
|
|||
<script type="application/x-javascript"
|
||||
src="chrome://communicator/content/wallet/WalletViewer.js"/>
|
||||
|
||||
|
||||
</window>
|
||||
</page>
|
||||
|
|
|
@ -27,8 +27,7 @@
|
|||
<!DOCTYPE window SYSTEM "chrome://communicator/locale/wallet/WalletViewer.dtd">
|
||||
|
||||
<overlay id="prefTreeOverlay"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
<script>
|
||||
<![CDATA[
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
-->
|
||||
|
||||
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
||||
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE window [
|
||||
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
|
||||
|
@ -30,11 +29,8 @@
|
|||
%walletviewerDTD;
|
||||
]>
|
||||
|
||||
<window debug="false" xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
class="color-dialog"
|
||||
orient="vertical"
|
||||
onload="generate();">
|
||||
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="generate();">
|
||||
|
||||
<script type="application/x-javascript">
|
||||
<![CDATA[
|
||||
|
@ -84,7 +80,7 @@
|
|||
<script type="application/x-javascript"
|
||||
src="chrome://communicator/content/wallet/WalletViewer.js"/>
|
||||
|
||||
<groupbox class="tabpanel" autostretch="never" orient="vertical">
|
||||
<groupbox align="start">
|
||||
<caption label="&urlspecific.title;"/>
|
||||
|
||||
<grid class="indent">
|
||||
|
@ -95,9 +91,9 @@
|
|||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<text value="&urlspecificUrl.label;"/>
|
||||
<text value="&urlspecificField.label;"/>
|
||||
<text value="&urlspecificValue.label;"/>
|
||||
<label value="&urlspecificUrl.label;"/>
|
||||
<label value="&urlspecificField.label;"/>
|
||||
<label value="&urlspecificValue.label;"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
|
|
|
@ -7,11 +7,9 @@
|
|||
<!DOCTYPE window SYSTEM "chrome://communicator/locale/wallet/WalletViewer.dtd" >
|
||||
|
||||
<window id="walletViewer"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
title="&windowtitle.label;"
|
||||
orient="vertical"
|
||||
class="dialog"
|
||||
persist="screenX screenY width height"
|
||||
screenX="24" screenY="24"
|
||||
|
@ -51,7 +49,7 @@
|
|||
<hbox flex="1">
|
||||
<!-- tree sidebar -->
|
||||
<vbox style="width: 0px" flex="3">
|
||||
<tree class="inset" id="panelTree" style="width: 0px" flex="3"/>
|
||||
<tree id="panelTree" style="width: 0px" flex="3"/>
|
||||
<button id="clearButton" label="&removeall.label;" oncommand="ClearAll()"/>
|
||||
</vbox>
|
||||
<iframe id="panelFrame" name="panelFrame" style="width:0px" flex="7"/>
|
||||
|
|
|
@ -1,76 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<!--
|
||||
The contents of this file are subject to the Netscape Public
|
||||
License Version 1.1 (the "License"); you may not use this file
|
||||
except in compliance with the License. You may obtain a copy of
|
||||
the License at http://www.mozilla.org/NPL/
|
||||
|
||||
Software distributed under the License is distributed on an "AS
|
||||
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
implied. See the License for the specific language governing
|
||||
rights and limitations under the License.
|
||||
|
||||
The Original Code is Mozilla Communicator client code, released
|
||||
March 31, 1998.
|
||||
|
||||
The Initial Developer of the Original Code is Netscape
|
||||
Communications Corporation. Portions created by Netscape are
|
||||
Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
||||
Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
-->
|
||||
|
||||
<!-- CHANGE THIS WHEN MOVING FILES -->
|
||||
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
||||
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
||||
|
||||
<!-- CHANGE THIS WHEN MOVING FILES -->
|
||||
<!DOCTYPE window SYSTEM "chrome://communicator/locale/wallet/privacy.dtd" >
|
||||
|
||||
<window id="privacy"
|
||||
class="dialog"
|
||||
title="&windowtitle.label;"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="TutorialURL()"
|
||||
orient="vertical">
|
||||
<!--
|
||||
<script type="application/x-javascript" src="chrome://global/content/strres.js" />
|
||||
-->
|
||||
|
||||
<script>
|
||||
function TutorialURL()
|
||||
{
|
||||
var tutorialURL = "chrome://communicator/locale/wallet/privacy.html";
|
||||
try {
|
||||
var pref = Components.classes["@mozilla.org/preferences-service;1"].getService();
|
||||
if(pref) {
|
||||
pref = pref.QueryInterface( Components.interfaces.nsIPrefBranch );
|
||||
if(pref) {
|
||||
tutorialURL = pref.getComplexValue("wallet.TutorialFromMenu",
|
||||
Components.interfaces.nsIPrefLocalizedString).data;
|
||||
}
|
||||
}
|
||||
}
|
||||
catch(e) {
|
||||
}
|
||||
var element = document.getElementById("maintext");
|
||||
element.setAttribute("src", tutorialURL);
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<keyset id="dialogKeys"/>
|
||||
|
||||
<iframe id="maintext" class="output-container" type="content" flex="1"/>
|
||||
|
||||
<!-- from dialogOverlay.xul -->
|
||||
<spacer style="height: 5px;"/>
|
||||
<hbox>
|
||||
<spacer flex="100%"/>
|
||||
<button class="right dialog" id="ok" label="&ok;" default="true" oncommand="doOKButton();"/>
|
||||
</hbox>
|
||||
<spacer style="height: 5px;"/>
|
||||
|
||||
</window>
|
|
@ -30,11 +30,8 @@
|
|||
%walletviewerDTD;
|
||||
]>
|
||||
|
||||
<window debug="false" xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
class="color-dialog"
|
||||
orient="vertical"
|
||||
onload="parent.initPanel();">
|
||||
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="parent.initPanel();">
|
||||
|
||||
<script type="application/x-javascript">
|
||||
<![CDATA[
|
||||
|
@ -47,7 +44,7 @@
|
|||
<script type="application/x-javascript"
|
||||
src="chrome://communicator/content/wallet/WalletViewer.js"/>
|
||||
|
||||
<groupbox class="tabpanel" autostretch="never">
|
||||
<groupbox align="start">
|
||||
<caption label="&address.title;"/>
|
||||
<grid class="indent" flex="1">
|
||||
|
||||
|
@ -59,7 +56,7 @@
|
|||
<rows>
|
||||
|
||||
<row align="center">
|
||||
<html>&addressLine1.label;</html>
|
||||
<description>&addressLine1.label;</description>
|
||||
<menulist id="street.line1" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -69,7 +66,7 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&addressLine2.label;</html>
|
||||
<description>&addressLine2.label;</description>
|
||||
<menulist id="street.line2" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -79,7 +76,7 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&addressLine3.label;</html>
|
||||
<description>&addressLine3.label;</description>
|
||||
<menulist id="street.line3" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -89,7 +86,7 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&addressCity.label;</html>
|
||||
<description>&addressCity.label;</description>
|
||||
<menulist id="city" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -99,7 +96,7 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&addressState.label;</html>
|
||||
<description>&addressState.label;</description>
|
||||
<menulist id="state" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -109,7 +106,7 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&addressZipcode.label;</html>
|
||||
<description>&addressZipcode.label;</description>
|
||||
<hbox>
|
||||
<menulist id="postalcode.prefix" editable="true" autoSelectMenuitem="false" flex="55%" width="0"
|
||||
onchange="Append(this)">
|
||||
|
@ -117,7 +114,7 @@
|
|||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value="__"/>
|
||||
<label value="__"/>
|
||||
<menulist id="postalcode.suffix" editable="true" autoSelectMenuitem="false" flex="45%" width="0"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -128,7 +125,7 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&addressCountry.label;</html>
|
||||
<description>&addressCountry.label;</description>
|
||||
<menulist id="country" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -138,7 +135,7 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&email.label;</html>
|
||||
<description>&email.label;</description>
|
||||
<menulist id="email" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -148,7 +145,7 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&homepage.label;</html>
|
||||
<description>&homepage.label;</description>
|
||||
<menulist id="uri" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
|
||||
|
@ -163,5 +160,4 @@
|
|||
</grid>
|
||||
|
||||
</groupbox>
|
||||
|
||||
</window>
|
||||
</page>
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
-->
|
||||
|
||||
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
||||
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE window [
|
||||
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
|
||||
|
@ -30,11 +29,8 @@
|
|||
%walletviewerDTD;
|
||||
]>
|
||||
|
||||
<window debug="false" xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
class="color-dialog"
|
||||
orient="vertical"
|
||||
onload="parent.initPanel();">
|
||||
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="parent.initPanel();">
|
||||
|
||||
<script type="application/x-javascript">
|
||||
<![CDATA[
|
||||
|
@ -44,6 +40,5 @@
|
|||
|
||||
<script type="application/x-javascript"
|
||||
src="chrome://communicator/content/wallet/WalletViewer.js"/>
|
||||
|
||||
|
||||
</window>
|
||||
</page>
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
-->
|
||||
|
||||
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
||||
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE window [
|
||||
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
|
||||
|
@ -30,12 +29,8 @@
|
|||
%walletviewerDTD;
|
||||
]>
|
||||
|
||||
<window debug="false" xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
class="color-dialog"
|
||||
orient="vertical"
|
||||
style="overflow: auto;"
|
||||
onload="parent.initPanel();">
|
||||
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="parent.initPanel();">
|
||||
|
||||
<script type="application/x-javascript">
|
||||
<![CDATA[
|
||||
|
@ -63,7 +58,7 @@
|
|||
src="chrome://communicator/content/wallet/WalletViewer.js"/>
|
||||
|
||||
|
||||
<groupbox class="tabpanel" autostretch="never" hidden="true">
|
||||
<groupbox align="start" hidden="true">
|
||||
<caption label="&concatPrimary.title;"/>
|
||||
<grid class="indent" flex="1">
|
||||
<columns>
|
||||
|
@ -73,7 +68,7 @@
|
|||
<rows>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatName.label;</html>
|
||||
<description>&concatName.label;</description>
|
||||
<menulist id="name" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -83,7 +78,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatZipcode.label;</html>
|
||||
<description>&concatZipcode.label;</description>
|
||||
<menulist id="home.postalcode" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -93,7 +88,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatPhone.label;</html>
|
||||
<description>&concatPhone.label;</description>
|
||||
<menulist id="home.phone" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -103,7 +98,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatPhonenumber.label;</html>
|
||||
<description>&concatPhonenumber.label;</description>
|
||||
<menulist id="home.phone.number" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -113,7 +108,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatAltPhone.label;</html>
|
||||
<description>&concatAltPhone.label;</description>
|
||||
<menulist id="home.altphone" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -123,7 +118,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatAltPhonenumber.label;</html>
|
||||
<description>&concatAltPhonenumber.label;</description>
|
||||
<menulist id="home.altphone.number" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -133,7 +128,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatFax.label;</html>
|
||||
<description>&concatFax.label;</description>
|
||||
<menulist id="home.fax" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -143,7 +138,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatFaxnumber.label;</html>
|
||||
<description>&concatFaxnumber.label;</description>
|
||||
<menulist id="home.fax.number" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -153,7 +148,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatMobile.label;</html>
|
||||
<description>&concatMobile.label;</description>
|
||||
<menulist id="home.mobile" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -163,7 +158,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatMobilenumber.label;</html>
|
||||
<description>&concatMobilenumber.label;</description>
|
||||
<menulist id="home.mobile.number" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -173,7 +168,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatPager.label;</html>
|
||||
<description>&concatPager.label;</description>
|
||||
<menulist id="home.pager" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -183,7 +178,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatPagernumber.label;</html>
|
||||
<description>&concatPagernumber.label;</description>
|
||||
<menulist id="home.pager.number" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -196,7 +191,7 @@
|
|||
</grid>
|
||||
</groupbox>
|
||||
|
||||
<groupbox class="tabpanel" autostretch="never" hidden="true">
|
||||
<groupbox align="start" hidden="true">
|
||||
<caption label="&concatShipping.title;"/>
|
||||
<grid class="indent">
|
||||
<columns>
|
||||
|
@ -206,7 +201,7 @@
|
|||
<rows>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatShiptoName.label;</html>
|
||||
<description>&concatShiptoName.label;</description>
|
||||
<menulist id="shipto.name" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -216,7 +211,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatShiptoZipcode.label;</html>
|
||||
<description>&concatShiptoZipcode.label;</description>
|
||||
<menulist id="shipto.postalcode" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -226,7 +221,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatShiptoPhone.label;</html>
|
||||
<description>&concatShiptoPhone.label;</description>
|
||||
<menulist id="shipto.phone" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -236,7 +231,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatShiptoPhonenumber.label;</html>
|
||||
<description>&concatShiptoPhonenumber.label;</description>
|
||||
<menulist id="shipto.phone.number" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -246,7 +241,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatShiptoAltPhone.label;</html>
|
||||
<description>&concatShiptoAltPhone.label;</description>
|
||||
<menulist id="shipto.altphone" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -256,7 +251,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatShiptoAltPhonenumber.label;</html>
|
||||
<description>&concatShiptoAltPhonenumber.label;</description>
|
||||
<menulist id="shipto.altphone.number" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -266,7 +261,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatShiptoFax.label;</html>
|
||||
<description>&concatShiptoFax.label;</description>
|
||||
<menulist id="shipto.fax" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -276,7 +271,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatShiptoFaxnumber.label;</html>
|
||||
<description>&concatShiptoFaxnumber.label;</description>
|
||||
<menulist id="shipto.fax.number" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -286,7 +281,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatShiptoMobile.label;</html>
|
||||
<description>&concatShiptoMobile.label;</description>
|
||||
<menulist id="shipto.mobile" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -296,7 +291,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatShiptoMobilenumber.label;</html>
|
||||
<description>&concatShiptoMobilenumber.label;</description>
|
||||
<menulist id="shipto.mobile.number" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -306,7 +301,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatShiptoPager.label;</html>
|
||||
<description>&concatShiptoPager.label;</description>
|
||||
<menulist id="shipto.pager" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -316,7 +311,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatShiptoPagernumber.label;</html>
|
||||
<description>&concatShiptoPagernumber.label;</description>
|
||||
<menulist id="shipto.pager.number" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -329,7 +324,7 @@
|
|||
</grid>
|
||||
</groupbox>
|
||||
|
||||
<groupbox class="tabpanel" autostretch="never" hidden="true">
|
||||
<groupbox align="start" hidden="true">
|
||||
<caption label="&concatBilling.title;"/>
|
||||
<grid class="indent">
|
||||
<columns>
|
||||
|
@ -339,7 +334,7 @@
|
|||
<rows>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatBilltoName.label;</html>
|
||||
<description>&concatBilltoName.label;</description>
|
||||
<menulist id="billto.name" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -349,7 +344,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatBilltoZipcode.label;</html>
|
||||
<description>&concatBilltoZipcode.label;</description>
|
||||
<menulist id="billto.postalcode" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -359,7 +354,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatBilltoPhone.label;</html>
|
||||
<description>&concatBilltoPhone.label;</description>
|
||||
<menulist id="billto.phone" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -369,7 +364,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatBilltoPhonenumber.label;</html>
|
||||
<description>&concatBilltoPhonenumber.label;</description>
|
||||
<menulist id="billto.phone.number" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -379,7 +374,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatBilltoAltPhone.label;</html>
|
||||
<description>&concatBilltoAltPhone.label;</description>
|
||||
<menulist id="billto.altphone" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -389,7 +384,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatBilltoAltPhonenumber.label;</html>
|
||||
<description>&concatBilltoAltPhonenumber.label;</description>
|
||||
<menulist id="billto.altphone.number" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -399,7 +394,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatBilltoFax.label;</html>
|
||||
<description>&concatBilltoFax.label;</description>
|
||||
<menulist id="billto.fax" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -409,7 +404,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatBilltoFaxnumber.label;</html>
|
||||
<description>&concatBilltoFaxnumber.label;</description>
|
||||
<menulist id="billto.fax.number" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -419,7 +414,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatBilltoMobile.label;</html>
|
||||
<description>&concatBilltoMobile.label;</description>
|
||||
<menulist id="billto.mobile" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -429,7 +424,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatBilltoMobilenumber.label;</html>
|
||||
<description>&concatBilltoMobilenumber.label;</description>
|
||||
<menulist id="billto.mobile.number" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -439,7 +434,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatBilltoPager.label;</html>
|
||||
<description>&concatBilltoPager.label;</description>
|
||||
<menulist id="billto.pager" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -449,7 +444,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatBilltoPagernumber.label;</html>
|
||||
<description>&concatBilltoPagernumber.label;</description>
|
||||
<menulist id="billto.pager.number" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -462,7 +457,7 @@
|
|||
</grid>
|
||||
</groupbox>
|
||||
|
||||
<groupbox class="tabpanel" autostretch="never" hidden="true">
|
||||
<groupbox align="start" hidden="true">
|
||||
<caption label="&concatOther.title;"/>label
|
||||
<grid class="indent">
|
||||
<columns>
|
||||
|
@ -472,7 +467,7 @@
|
|||
<rows>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatCardExpdate.label;</html>
|
||||
<description>&concatCardExpdate.label;</description>
|
||||
<menulist id="card.expdate" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -482,7 +477,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatSocSec.label;</html>
|
||||
<description>&concatSocSec.label;</description>
|
||||
<menulist id="socsec" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -492,7 +487,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatBdate.label;</html>
|
||||
<description>&concatBdate.label;</description>
|
||||
<menulist id="bdate" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -502,7 +497,7 @@
|
|||
</row>
|
||||
|
||||
<row hidden="true" align="center">
|
||||
<html>&concatAnniv.label;</html>
|
||||
<description>&concatAnniv.label;</description>
|
||||
<menulist id="anniv" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -514,5 +509,4 @@
|
|||
</rows>
|
||||
</grid>
|
||||
</groupbox>
|
||||
|
||||
</window>
|
||||
</page>
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
-->
|
||||
|
||||
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
||||
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE window [
|
||||
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
|
||||
|
@ -30,11 +29,8 @@
|
|||
%walletviewerDTD;
|
||||
]>
|
||||
|
||||
<window debug="false" xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
class="color-dialog"
|
||||
orient="vertical"
|
||||
onload="parent.initPanel();">
|
||||
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="parent.initPanel();">
|
||||
|
||||
<script type="application/x-javascript">
|
||||
<![CDATA[
|
||||
|
@ -46,7 +42,7 @@
|
|||
<script type="application/x-javascript"
|
||||
src="chrome://communicator/content/wallet/WalletViewer.js"/>
|
||||
|
||||
<groupbox class="tabpanel" autostretch="never">
|
||||
<groupbox align="start">
|
||||
<caption label="&credit.title;"/>
|
||||
<grid class="indent" flex="1">
|
||||
|
||||
|
@ -58,7 +54,7 @@
|
|||
<rows>
|
||||
|
||||
<row align="center">
|
||||
<html>&creditType.label;</html>
|
||||
<description>&creditType.label;</description>
|
||||
<menulist id="card.type" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -68,7 +64,7 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&creditNumber.label;</html>
|
||||
<description>&creditNumber.label;</description>
|
||||
<menulist id="card.number" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -78,16 +74,16 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&creditExpires.label;</html>
|
||||
<description>&creditExpires.label;</description>
|
||||
<hbox align="center">
|
||||
<text value="&creditExpiresMonth.label;" />
|
||||
<label value="&creditExpiresMonth.label;" />
|
||||
<menulist id="card.expdate.month" editable="true" autoSelectMenuitem="false" flex="40%" width="0"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value="&creditExpiresYear.label;" />
|
||||
<label value="&creditExpiresYear.label;" />
|
||||
<menulist id="card.expdate.year" editable="true" autoSelectMenuitem="false" flex="60%" width="0"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -98,7 +94,7 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&creditName.label;</html>
|
||||
<description>&creditName.label;</description>
|
||||
<menulist id="card.name" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -110,5 +106,4 @@
|
|||
|
||||
</grid>
|
||||
</groupbox>
|
||||
|
||||
</window>
|
||||
</page>
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
-->
|
||||
|
||||
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
||||
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE window [
|
||||
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
|
||||
|
@ -30,11 +29,8 @@
|
|||
%walletviewerDTD;
|
||||
]>
|
||||
|
||||
<window debug="false" xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
class="color-dialog"
|
||||
orient="vertical"
|
||||
onload="parent.initPanel();">
|
||||
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="parent.initPanel();">
|
||||
|
||||
<script type="application/x-javascript">
|
||||
<![CDATA[
|
||||
|
@ -45,7 +41,7 @@
|
|||
<script type="application/x-javascript"
|
||||
src="chrome://communicator/content/wallet/WalletViewer.js"/>
|
||||
|
||||
<groupbox class="tabpanel" autostretch="never">
|
||||
<groupbox align="start">
|
||||
<caption label="&employ.title;"/>
|
||||
<grid class="indent" flex="1">
|
||||
|
||||
|
@ -57,7 +53,7 @@
|
|||
<rows>
|
||||
|
||||
<row align="center">
|
||||
<html>&employName.label;</html>
|
||||
<description>&employName.label;</description>
|
||||
<menulist id="business.companyname" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -67,7 +63,7 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&employTitle.label;</html>
|
||||
<description>&employTitle.label;</description>
|
||||
<menulist id="business.jobtitle" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -77,7 +73,7 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&employDepartment.label;</html>
|
||||
<description>&employDepartment.label;</description>
|
||||
<menulist id="business.department" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -90,5 +86,4 @@
|
|||
|
||||
</grid>
|
||||
</groupbox>
|
||||
|
||||
</window>
|
||||
</page>
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
-->
|
||||
|
||||
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
||||
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE window [
|
||||
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
|
||||
|
@ -30,11 +29,8 @@
|
|||
%walletviewerDTD;
|
||||
]>
|
||||
|
||||
<window debug="false" xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
class="color-dialog"
|
||||
orient="vertical"
|
||||
onload="parent.initPanel();">
|
||||
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="parent.initPanel();">
|
||||
|
||||
<script type="application/x-javascript">
|
||||
<![CDATA[
|
||||
|
@ -48,7 +44,7 @@
|
|||
<script type="application/x-javascript"
|
||||
src="chrome://communicator/content/wallet/WalletViewer.js"/>
|
||||
|
||||
<groupbox class="tabpanel" autostretch="never">
|
||||
<groupbox align="start">
|
||||
<caption label="&misc.title;"/>
|
||||
<grid class="indent" flex="1">
|
||||
|
||||
|
@ -60,7 +56,7 @@
|
|||
<rows>
|
||||
|
||||
<row align="center">
|
||||
<html>&miscSS.label;</html>
|
||||
<description>&miscSS.label;</description>
|
||||
<hbox>
|
||||
<menulist id="socsec.prefix" editable="true" autoSelectMenuitem="false" flex="33%" width="0"
|
||||
onchange="Append(this)">
|
||||
|
@ -68,14 +64,14 @@
|
|||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value="__"/>
|
||||
<label value="__"/>
|
||||
<menulist id="socsec.middle" editable="true" autoSelectMenuitem="false" flex="24%" width="0"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value="__"/>
|
||||
<label value="__"/>
|
||||
<menulist id="socsec.suffix" editable="true" autoSelectMenuitem="false" flex="43%" width="0"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -86,7 +82,7 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&miscLicense.label;</html>
|
||||
<description>&miscLicense.label;</description>
|
||||
<hbox align="center">
|
||||
<menulist id="license.number" editable="true" autoSelectMenuitem="false" flex="70" width="0"
|
||||
onchange="Append(this)">
|
||||
|
@ -95,7 +91,7 @@
|
|||
</menupopup>
|
||||
</menulist>
|
||||
<spacer style="width: 5px;"/>
|
||||
<text value="&miscLicenseState.label;" />
|
||||
<label value="&miscLicenseState.label;" />
|
||||
<menulist id="license.state" editable="true" autoSelectMenuitem="false" flex="30" width="0"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -106,7 +102,7 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&miscMaiden.label;</html>
|
||||
<description>&miscMaiden.label;</description>
|
||||
<menulist id="mothersmaidenname" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -116,23 +112,23 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&miscBirthday.label;</html>
|
||||
<description>&miscBirthday.label;</description>
|
||||
<hbox align="center">
|
||||
<text value="&miscBirthdayMonth.label;" />
|
||||
<label value="&miscBirthdayMonth.label;" />
|
||||
<menulist id="bdate.month" editable="true" autoSelectMenuitem="false" flex="40%" width="0"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value="&miscBirthdayDay.label;" />
|
||||
<label value="&miscBirthdayDay.label;" />
|
||||
<menulist id="bdate.day" editable="true" autoSelectMenuitem="false" flex="20%" width="0"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value="&miscBirthdayYear.label;" />
|
||||
<label value="&miscBirthdayYear.label;" />
|
||||
<menulist id="bdate.year" editable="true" autoSelectMenuitem="false" flex="40%" width="0"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -143,23 +139,23 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&miscAnniv.label;</html>
|
||||
<description>&miscAnniv.label;</description>
|
||||
<hbox align="center">
|
||||
<text value="&miscAnnivMonth.label;" />
|
||||
<label value="&miscAnnivMonth.label;" />
|
||||
<menulist id="anniv.month" editable="true" autoSelectMenuitem="false" flex="40%" width="0"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value="&miscAnnivDay.label;" />
|
||||
<label value="&miscAnnivDay.label;" />
|
||||
<menulist id="anniv.day" editable="true" autoSelectMenuitem="false" flex="20%" width="0"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value="&miscAnnivYear.label;" />
|
||||
<label value="&miscAnnivYear.label;" />
|
||||
<menulist id="anniv.year" editable="true" autoSelectMenuitem="false" flex="40%" width="0"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -173,5 +169,4 @@
|
|||
|
||||
</grid>
|
||||
</groupbox>
|
||||
|
||||
</window>
|
||||
</page>
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
-->
|
||||
|
||||
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
||||
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE window [
|
||||
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
|
||||
|
@ -30,11 +29,8 @@
|
|||
%walletviewerDTD;
|
||||
]>
|
||||
|
||||
<window debug="false" xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
class="color-dialog"
|
||||
orient="vertical"
|
||||
onload="parent.initPanel();">
|
||||
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="parent.initPanel();">
|
||||
|
||||
<script type="application/x-javascript">
|
||||
<![CDATA[
|
||||
|
@ -46,7 +42,7 @@
|
|||
<script type="application/x-javascript"
|
||||
src="chrome://communicator/content/wallet/WalletViewer.js"/>
|
||||
|
||||
<groupbox class="tabpanel" autostretch="never">
|
||||
<groupbox align="start">
|
||||
<caption label="&name.title;"/>
|
||||
<grid class="indent" flex="1">
|
||||
|
||||
|
@ -58,7 +54,7 @@
|
|||
<rows>
|
||||
|
||||
<row align="center">
|
||||
<html>&namePrefix.label;</html>
|
||||
<description>&namePrefix.label;</description>
|
||||
<menulist id="name.prefix" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -68,7 +64,7 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&nameFirst.label;</html>
|
||||
<description>&nameFirst.label;</description>
|
||||
<menulist id="name.first" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -78,7 +74,7 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&nameMiddle.label;</html>
|
||||
<description>&nameMiddle.label;</description>
|
||||
<menulist id="name.middle" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -88,7 +84,7 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&nameLast.label;</html>
|
||||
<description>&nameLast.label;</description>
|
||||
<menulist id="name.last" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -98,7 +94,7 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&nameSuffix.label;</html>
|
||||
<description>&nameSuffix.label;</description>
|
||||
<menulist id="name.suffix" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
|
||||
|
@ -112,5 +108,4 @@
|
|||
|
||||
</grid>
|
||||
</groupbox>
|
||||
|
||||
</window>
|
||||
</page>
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
-->
|
||||
|
||||
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
||||
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE window [
|
||||
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
|
||||
|
@ -30,11 +29,8 @@
|
|||
%walletviewerDTD;
|
||||
]>
|
||||
|
||||
<window debug="false" xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
class="color-dialog"
|
||||
orient="vertical"
|
||||
onload="parent.initPanel();">
|
||||
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="parent.initPanel();">
|
||||
|
||||
<script type="application/x-javascript">
|
||||
<![CDATA[
|
||||
|
@ -44,6 +40,5 @@
|
|||
|
||||
<script type="application/x-javascript"
|
||||
src="chrome://communicator/content/wallet/WalletViewer.js"/>
|
||||
|
||||
|
||||
</window>
|
||||
</page>
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
-->
|
||||
|
||||
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
||||
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE window [
|
||||
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
|
||||
|
@ -30,11 +29,8 @@
|
|||
%walletviewerDTD;
|
||||
]>
|
||||
|
||||
<window debug="false" xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
class="color-dialog"
|
||||
orient="vertical"
|
||||
onload="parent.initPanel();">
|
||||
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="parent.initPanel();">
|
||||
|
||||
<script type="application/x-javascript">
|
||||
<![CDATA[
|
||||
|
@ -49,7 +45,7 @@
|
|||
<script type="application/x-javascript"
|
||||
src="chrome://communicator/content/wallet/WalletViewer.js"/>
|
||||
|
||||
<groupbox class="tabpanel" autostretch="never">
|
||||
<groupbox align="start">
|
||||
<caption label="&phone.title;"/>
|
||||
<grid class="indent" flex="1">
|
||||
|
||||
|
@ -68,29 +64,29 @@
|
|||
<rows>
|
||||
|
||||
<row align="center">
|
||||
<html>&phoneDay.label;</html>
|
||||
<text value="("/>
|
||||
<description>&phoneDay.label;</description>
|
||||
<label value="("/>
|
||||
<menulist id="phone.loccode" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value=")"/>
|
||||
<label value=")"/>
|
||||
<menulist id="phone.number.prefix" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value="__"/>
|
||||
<label value="__"/>
|
||||
<menulist id="phone.number.suffix" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value="&phoneDayExt.label;" />
|
||||
<label value="&phoneDayExt.label;" />
|
||||
<menulist id="phone.extension" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -100,29 +96,29 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&phoneEve.label;</html>
|
||||
<text value="("/>
|
||||
<description>&phoneEve.label;</description>
|
||||
<label value="("/>
|
||||
<menulist id="altphone.loccode" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value=")"/>
|
||||
<label value=")"/>
|
||||
<menulist id="altphone.number.prefix" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value="__"/>
|
||||
<label value="__"/>
|
||||
<menulist id="altphone.number.suffix" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value="&phoneEveExt.label;" />
|
||||
<label value="&phoneEveExt.label;" />
|
||||
<menulist id="altphone.extension" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -132,22 +128,22 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&phoneFax.label;</html>
|
||||
<text value="("/>
|
||||
<description>&phoneFax.label;</description>
|
||||
<label value="("/>
|
||||
<menulist id="fax.loccode" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value=")"/>
|
||||
<label value=")"/>
|
||||
<menulist id="fax.number.prefix" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value="__"/>
|
||||
<label value="__"/>
|
||||
<menulist id="fax.number.suffix" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -157,22 +153,22 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&phoneCell.label;</html>
|
||||
<text value="("/>
|
||||
<description>&phoneCell.label;</description>
|
||||
<label value="("/>
|
||||
<menulist id="mobile.loccode" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value=")"/>
|
||||
<label value=")"/>
|
||||
<menulist id="mobile.number.prefix" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value="__"/>
|
||||
<label value="__"/>
|
||||
<menulist id="mobile.number.suffix" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -182,22 +178,22 @@
|
|||
</row>
|
||||
|
||||
<row align="center">
|
||||
<html>&phonePager.label;</html>
|
||||
<text value="("/>
|
||||
<description>&phonePager.label;</description>
|
||||
<label value="("/>
|
||||
<menulist id="pager.loccode" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value=")"/>
|
||||
<label value=")"/>
|
||||
<menulist id="pager.number.prefix" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
<menuitem label="" len="0"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<text value="__"/>
|
||||
<label value="__"/>
|
||||
<menulist id="pager.number.suffix" editable="true" autoSelectMenuitem="false"
|
||||
onchange="Append(this)">
|
||||
<menupopup onpopupshowing="Append(this.parentNode)">
|
||||
|
@ -210,5 +206,4 @@
|
|||
|
||||
</grid>
|
||||
</groupbox>
|
||||
|
||||
</window>
|
||||
</page>
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
-->
|
||||
|
||||
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
||||
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE window [
|
||||
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
|
||||
|
@ -30,11 +29,8 @@
|
|||
%walletviewerDTD;
|
||||
]>
|
||||
|
||||
<window debug="false" xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
class="color-dialog"
|
||||
orient="vertical"
|
||||
onload="parent.initPanel();">
|
||||
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="parent.initPanel();">
|
||||
|
||||
<script type="application/x-javascript">
|
||||
<![CDATA[
|
||||
|
@ -45,5 +41,4 @@
|
|||
<script type="application/x-javascript"
|
||||
src="chrome://communicator/content/wallet/WalletViewer.js"/>
|
||||
|
||||
|
||||
</window>
|
||||
</page>
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
-->
|
||||
|
||||
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
||||
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE window [
|
||||
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
|
||||
|
@ -30,11 +29,8 @@
|
|||
%walletviewerDTD;
|
||||
]>
|
||||
|
||||
<window debug="false" xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
class="color-dialog"
|
||||
orient="vertical"
|
||||
onload="parent.initPanel();">
|
||||
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="parent.initPanel();">
|
||||
|
||||
<script type="application/x-javascript">
|
||||
<![CDATA[
|
||||
|
@ -45,5 +41,4 @@
|
|||
<script type="application/x-javascript"
|
||||
src="chrome://communicator/content/wallet/WalletViewer.js"/>
|
||||
|
||||
|
||||
</window>
|
||||
</page>
|
||||
|
|
|
@ -27,8 +27,7 @@
|
|||
<!DOCTYPE window SYSTEM "chrome://communicator/locale/wallet/WalletViewer.dtd">
|
||||
|
||||
<overlay id="prefTreeOverlay"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
<script>
|
||||
<![CDATA[
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
-->
|
||||
|
||||
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
||||
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE window [
|
||||
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
|
||||
|
@ -30,11 +29,8 @@
|
|||
%walletviewerDTD;
|
||||
]>
|
||||
|
||||
<window debug="false" xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
class="color-dialog"
|
||||
orient="vertical"
|
||||
onload="generate();">
|
||||
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="generate();">
|
||||
|
||||
<script type="application/x-javascript">
|
||||
<![CDATA[
|
||||
|
@ -84,7 +80,7 @@
|
|||
<script type="application/x-javascript"
|
||||
src="chrome://communicator/content/wallet/WalletViewer.js"/>
|
||||
|
||||
<groupbox class="tabpanel" autostretch="never" orient="vertical">
|
||||
<groupbox align="start">
|
||||
<caption label="&urlspecific.title;"/>
|
||||
|
||||
<grid class="indent">
|
||||
|
@ -95,9 +91,9 @@
|
|||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<text value="&urlspecificUrl.label;"/>
|
||||
<text value="&urlspecificField.label;"/>
|
||||
<text value="&urlspecificValue.label;"/>
|
||||
<label value="&urlspecificUrl.label;"/>
|
||||
<label value="&urlspecificField.label;"/>
|
||||
<label value="&urlspecificValue.label;"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
|
|
|
@ -7,11 +7,9 @@
|
|||
<!DOCTYPE window SYSTEM "chrome://communicator/locale/wallet/WalletViewer.dtd" >
|
||||
|
||||
<window id="walletViewer"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
title="&windowtitle.label;"
|
||||
orient="vertical"
|
||||
class="dialog"
|
||||
persist="screenX screenY width height"
|
||||
screenX="24" screenY="24"
|
||||
|
@ -51,7 +49,7 @@
|
|||
<hbox flex="1">
|
||||
<!-- tree sidebar -->
|
||||
<vbox style="width: 0px" flex="3">
|
||||
<tree class="inset" id="panelTree" style="width: 0px" flex="3"/>
|
||||
<tree id="panelTree" style="width: 0px" flex="3"/>
|
||||
<button id="clearButton" label="&removeall.label;" oncommand="ClearAll()"/>
|
||||
</vbox>
|
||||
<iframe id="panelFrame" name="panelFrame" style="width:0px" flex="7"/>
|
||||
|
|
|
@ -28,11 +28,8 @@
|
|||
<!ENTITY % prefWalletDTD SYSTEM "chrome://wallet/locale/pref-passwords.dtd" >
|
||||
%prefWalletDTD;
|
||||
]>
|
||||
<window xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
class="color-dialog"
|
||||
orient="vertical"
|
||||
onload="parent.initPanel('chrome://wallet/content/pref-passwords.xul');">
|
||||
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="parent.initPanel('chrome://wallet/content/pref-passwords.xul');">
|
||||
|
||||
<script type="application/x-javascript">
|
||||
<![CDATA[
|
||||
|
@ -68,31 +65,30 @@
|
|||
|
||||
<hbox class="box-smallheader" title="&lHeader;"/>
|
||||
|
||||
<groupbox orient="vertical">
|
||||
<groupbox>
|
||||
<caption label="&signonHeader.label;"/>
|
||||
<html flex="1">&signonDescription.label;</html>
|
||||
<hbox autostretch="never">
|
||||
<description flex="1">&signonDescription.label;</description>
|
||||
<hbox align="start">
|
||||
<checkbox id="signonRememberSignons" label="&signonEnabled.label;" accesskey="&signonEnabled.accesskey;"
|
||||
pref="true" preftype="bool" prefstring="signon.rememberSignons"
|
||||
prefattribute="checked"/>
|
||||
prefstring="signon.rememberSignons"/>
|
||||
</hbox>
|
||||
<hbox pack="end">
|
||||
<button class="dialog" label="&viewSignons.label;" accesskey="&viewSignons.accesskey;"
|
||||
<button label="&viewSignons.label;" accesskey="&viewSignons.accesskey;"
|
||||
oncommand="viewSignons();"
|
||||
id="viewStoredPassword" pref="true" preftype="bool"
|
||||
prefstring="pref.advanced.password.disable_button.view_stored_password" prefattribute="disabled"/>
|
||||
id="viewStoredPassword"
|
||||
prefstring="pref.advanced.password.disable_button.view_stored_password"/>
|
||||
</hbox>
|
||||
</groupbox>
|
||||
|
||||
<groupbox orient="vertical">
|
||||
<groupbox>
|
||||
<caption label="&encryptHeader.label;"/>
|
||||
<html flex="1">&encryptDescription.label;</html>
|
||||
<vbox autostretch="never">
|
||||
<description flex="1">&encryptDescription.label;</description>
|
||||
<vbox align="start">
|
||||
<checkbox id="encryptEnabled" label="&encryptEnabled.label;" accesskey="&encryptEnabled.accesskey;"
|
||||
pref="true" preftype="bool" prefstring="wallet.crypto"
|
||||
prefattribute="checked" oncommand="initReencryptCallback();"/>
|
||||
prefstring="wallet.crypto"
|
||||
oncommand="initReencryptCallback();"/>
|
||||
</vbox>
|
||||
|
||||
</groupbox>
|
||||
|
||||
</window>
|
||||
</page>
|
||||
|
|
|
@ -28,11 +28,8 @@
|
|||
<!ENTITY % prefWalletDTD SYSTEM "chrome://wallet/locale/pref-wallet.dtd" >
|
||||
%prefWalletDTD;
|
||||
]>
|
||||
<window xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
class="color-dialog"
|
||||
orient="vertical"
|
||||
onload="parent.initPanel('chrome://wallet/content/pref-wallet.xul');">
|
||||
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="parent.initPanel('chrome://wallet/content/pref-wallet.xul');">
|
||||
|
||||
<script type="application/x-javascript" src="chrome://wallet/content/walletOverlay.js"/>
|
||||
|
||||
|
@ -56,46 +53,36 @@
|
|||
|
||||
<hbox class="box-smallheader" title="&lHeader;"/>
|
||||
|
||||
<groupbox orient="vertical">
|
||||
<groupbox>
|
||||
<caption label="&walletHeader.label;"/>
|
||||
<html>&walletDescription.label;</html>
|
||||
<description>&walletDescription.label;</description>
|
||||
<!--
|
||||
<hbox autostretch="never">
|
||||
<text class="label"
|
||||
for="walletServer"
|
||||
<hbox align="center">
|
||||
<label control="walletServer"
|
||||
value="&walletServer.label;"
|
||||
accesskey="&walletServer.accesskey;"/>
|
||||
<textbox id="walletServer"
|
||||
flex="1"
|
||||
pref="true"
|
||||
preftype="localizedstring"
|
||||
prefstring="wallet.Server"
|
||||
prefattribute="value"/>
|
||||
preftype="localizedstring"
|
||||
prefstring="wallet.Server"/>
|
||||
</hbox>
|
||||
-->
|
||||
<hbox autostretch="never">
|
||||
<hbox align="center">
|
||||
<checkbox id="walletCaptureForms"
|
||||
label="&walletEnabled.label;"
|
||||
accesskey="&walletEnabled.accesskey;"
|
||||
pref="true"
|
||||
preftype="bool"
|
||||
prefstring="wallet.captureForms"
|
||||
prefattribute="checked"/>
|
||||
prefstring="wallet.captureForms"/>
|
||||
</hbox>
|
||||
<hbox pack="end">
|
||||
<button class="dialog"
|
||||
label="&viewWallet.label;"
|
||||
<button label="&viewWallet.label;"
|
||||
accesskey="&viewWallet.accesskey;"
|
||||
oncommand="formShow();"
|
||||
id="viewFormButton" pref="true" preftype="bool"
|
||||
prefstring="pref.advanced.form.disable_button.view_form" prefattribute="disabled"/>
|
||||
<button class="dialog"
|
||||
label="&viewWalletSites.label;"
|
||||
id="viewFormButton"
|
||||
prefstring="pref.advanced.form.disable_button.view_form"/>
|
||||
<button label="&viewWalletSites.label;"
|
||||
accesskey="&viewWalletSites.accesskey;"
|
||||
oncommand="viewWalletSites();"
|
||||
id="viewSiteButton" pref="true" preftype="bool"
|
||||
prefstring="pref.advanced.form.disable_button.view_sites" prefattribute="disabled"/>
|
||||
id="viewSiteButton"
|
||||
prefstring="pref.advanced.form.disable_button.view_sites"/>
|
||||
</hbox>
|
||||
</groupbox>
|
||||
|
||||
</window>
|
||||
</page>
|
||||
|
|
|
@ -141,7 +141,6 @@
|
|||
style="display:none;">
|
||||
<button class="button-toolbar-4"
|
||||
id="formPrefill"
|
||||
crop="right"
|
||||
oncommand="formPrefill();"
|
||||
label=" &formPrefill.label; "
|
||||
tooltip="aTooltip"
|
||||
|
@ -149,7 +148,6 @@
|
|||
<toolbarseparator/>
|
||||
<button class="button-toolbar-4"
|
||||
id="formCapture"
|
||||
crop="right"
|
||||
oncommand="formCapture();"
|
||||
label=" &formCapture.label; "
|
||||
tooltip="aTooltip"
|
||||
|
@ -157,7 +155,6 @@
|
|||
<toolbarseparator/>
|
||||
<button class="button-toolbar-4"
|
||||
id="formShow"
|
||||
crop="right"
|
||||
oncommand="formShow(); initToolbarItems();"
|
||||
label=" &formView.label; "
|
||||
tooltip="aTooltip"
|
||||
|
|
|
@ -54,8 +54,6 @@ function Startup()
|
|||
passwordmanager = Components.classes["@mozilla.org/passwordmanager;1"].getService();
|
||||
passwordmanager = passwordmanager.QueryInterface(Components.interfaces.nsIPasswordManager);
|
||||
|
||||
doSetOKCancel(onOK, null); // init ok event handler
|
||||
|
||||
// remove wallet functions (unless overruled by the "wallet.enabled" pref)
|
||||
try {
|
||||
pref = Components.classes["@mozilla.org/preferences-service;1"]
|
||||
|
@ -391,9 +389,9 @@ function DeleteAllNocaptures() {
|
|||
|
||||
/*** =================== GENERAL CODE =================== ***/
|
||||
|
||||
// function : <SignonViewer>::onOK()
|
||||
// function : <SignonViewer>::onAccept()
|
||||
// purpose : dialog confirm & tidy up.
|
||||
function onOK()
|
||||
function onAccept()
|
||||
{
|
||||
var deletedSignons = [];
|
||||
deletedSignons = goneSS.split(",");
|
||||
|
|
|
@ -29,20 +29,17 @@
|
|||
<!-- CHANGE THIS WHEN MOVING FILES -->
|
||||
<!DOCTYPE window SYSTEM "chrome://communicator/locale/wallet/SignonViewer.dtd" >
|
||||
|
||||
<window id="signonviewer"
|
||||
<dialog id="signonviewer"
|
||||
title="&windowtitle.label;"
|
||||
alttitle="&windowalttitle.label;"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
orient="vertical" style="width: 30em!important;"
|
||||
class="dialog"
|
||||
onload="Startup()">
|
||||
style="width: 30em!important;"
|
||||
onload="Startup()"
|
||||
ondialogaccept="return onAccept();">
|
||||
|
||||
<script src="chrome://communicator/content/wallet/SignonViewer.js"/>
|
||||
<script src="chrome://global/content/strres.js"/>
|
||||
<script src="chrome://communicator/content/wallet/nsWalletTreeUtils.js"/>
|
||||
|
||||
<keyset id="dialogKeys"/>
|
||||
|
||||
<tabbox id="signonTabbox" flex="1">
|
||||
<tabs>
|
||||
|
@ -54,9 +51,9 @@
|
|||
<tabpanels id="panel" flex="1">
|
||||
<!-- saved signons -->
|
||||
<vbox id="savedsignons" flex="1">
|
||||
<html>&spiel.signonsstored.label;</html>
|
||||
<description>&spiel.signonsstored.label;</description>
|
||||
<separator class="thin"/>
|
||||
<tree id="signonstree" class="inset" style="height: 20em;"
|
||||
<tree id="signonstree" style="height: 20em;"
|
||||
onclick="HandleEvent(event);" flex="1"
|
||||
multiple="true" onkeypress="HandleEvent(event,0)">
|
||||
<treecolgroup>
|
||||
|
@ -78,18 +75,18 @@
|
|||
</tree>
|
||||
<separator class="thin"/>
|
||||
<hbox>
|
||||
<button id="removeSignon" disabled="true" class="dialog push"
|
||||
<button id="removeSignon" disabled="true"
|
||||
label="&remove.label;" oncommand="DeleteSignon();"/>
|
||||
<button id="removeAllSignons" class="dialog push"
|
||||
<button id="removeAllSignons"
|
||||
label="&removeall.label;"
|
||||
oncommand="DeleteAllSignons();"/>
|
||||
</hbox>
|
||||
</vbox>
|
||||
<!-- ignored signon sites -->
|
||||
<vbox id="ignoredsites" flex="1">
|
||||
<html>&spiel.signonsnotstored.label;</html>
|
||||
<description>&spiel.signonsnotstored.label;</description>
|
||||
<separator class="thin"/>
|
||||
<tree id="ignoretree" class="inset" style="height: 20em;"
|
||||
<tree id="ignoretree" style="height: 20em;"
|
||||
onclick="HandleEvent(event);" flex="1"
|
||||
multiple="true" onkeypress="HandleEvent(event,1)">
|
||||
<treecolgroup>
|
||||
|
@ -106,18 +103,18 @@
|
|||
</tree>
|
||||
<separator class="thin"/>
|
||||
<hbox>
|
||||
<button id="removeIgnoredSite" disabled="true" class="dialog push"
|
||||
<button id="removeIgnoredSite" disabled="true"
|
||||
label="&remove.label;" oncommand="DeleteIgnoredSite();"/>
|
||||
<button id="removeAllSites" class="dialog push"
|
||||
<button id="removeAllSites"
|
||||
label="&removeall.label;"
|
||||
oncommand="DeleteAllSites();"/>
|
||||
</hbox>
|
||||
</vbox>
|
||||
<!-- do not preview panel -->
|
||||
<vbox class="tabpanel" id="nopreviewforms" flex="1">
|
||||
<html>&spiel.nopreview.label;</html>
|
||||
<vbox id="nopreviewforms" flex="1">
|
||||
<description>&spiel.nopreview.label;</description>
|
||||
<separator class="thin"/>
|
||||
<tree id="nopreviewtree" class="inset" style="height: 20em;"
|
||||
<tree id="nopreviewtree" style="height: 20em;"
|
||||
onclick="HandleEvent(event);" flex="1"
|
||||
multiple="true" onkeypress="HandleEvent(event,2)">
|
||||
<treecolgroup>
|
||||
|
@ -135,18 +132,18 @@
|
|||
</tree>
|
||||
<separator class="thin"/>
|
||||
<hbox>
|
||||
<button id="removeNoPreview" disabled="true" class="dialog push"
|
||||
<button id="removeNoPreview" disabled="true"
|
||||
label="&remove.label;" oncommand="DeleteNoPreviewForm();"/>
|
||||
<button id="removeAllNopreviews" class="dialog push"
|
||||
<button id="removeAllNopreviews"
|
||||
label="&removeall.label;"
|
||||
oncommand="DeleteAllNopreviews();"/>
|
||||
</hbox>
|
||||
</vbox>
|
||||
<!-- do not capture panel -->
|
||||
<vbox class="tabpanel" id="nocaptureforms" flex="1">
|
||||
<html>&spiel.nocapture.label;</html>
|
||||
<vbox id="nocaptureforms" flex="1">
|
||||
<description>&spiel.nocapture.label;</description>
|
||||
<separator class="thin"/>
|
||||
<tree id="nocapturetree" class="inset" style="height: 20em;"
|
||||
<tree id="nocapturetree" style="height: 20em;"
|
||||
onclick="HandleEvent(event);" flex="1"
|
||||
multiple="true" onkeypress="HandleEvent(event,3)">
|
||||
<treecolgroup>
|
||||
|
@ -163,18 +160,13 @@
|
|||
</tree>
|
||||
<separator class="thin"/>
|
||||
<hbox>
|
||||
<button id="removeNoCapture" disabled="true" class="dialog push"
|
||||
<button id="removeNoCapture" disabled="true"
|
||||
label="&remove.label;" oncommand="DeleteNoCaptureForm();"/>
|
||||
<button id="removeAllNocaptures" class="dialog push"
|
||||
<button id="removeAllNocaptures"
|
||||
label="&removeall.label;"
|
||||
oncommand="DeleteAllNocaptures();"/>
|
||||
</hbox>
|
||||
</vbox>
|
||||
</tabpanels>
|
||||
</tabbox>
|
||||
|
||||
<separator class="thin"/>
|
||||
|
||||
<hbox id="okCancelButtonsRight"/>
|
||||
|
||||
</window>
|
||||
</tabbox>
|
||||
</dialog>
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
<!DOCTYPE window SYSTEM "chrome://communicator/locale/wallet/WalletPreview.dtd" >
|
||||
|
||||
<window title="&windowtitle.label;"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
orient="vertical" class="dialog" onload="Startup()">
|
||||
|
||||
|
@ -42,7 +41,7 @@
|
|||
|
||||
<spacer/>
|
||||
|
||||
<hbox class="tabpanel inset" flex="1" style="overflow: auto;">
|
||||
<hbox class="inset" flex="1">
|
||||
<grid class="indent" flex="1">
|
||||
<columns flex="1">
|
||||
<column flex="1" crop="right"/>
|
||||
|
|
|
@ -4,10 +4,8 @@
|
|||
|
||||
<!DOCTYPE window SYSTEM "chrome://messenger/locale/addressbook/pref-addressing.dtd">
|
||||
|
||||
<page xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="onLoad();"
|
||||
orient="vertical">
|
||||
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="onLoad();">
|
||||
|
||||
<script type="application/x-javascript" src="chrome://messenger/content/addressbook/pref-directory.js"/>
|
||||
<script type="application/x-javascript">
|
||||
|
@ -30,66 +28,54 @@
|
|||
|
||||
<hbox class="box-smallheader" title="&pane.title;"/>
|
||||
|
||||
<groupbox orient="vertical" class="small-margin">
|
||||
<groupbox>
|
||||
<caption label="&emailCollectiontitle.label;"/>
|
||||
<html class="small-margin">&emailCollectiontext.label;</html>
|
||||
<vbox autostretch="never" class="indent">
|
||||
<checkbox class="small-margin" id="emailCollectionIncoming" label="&emailCollectionIncomingEnable.label;"
|
||||
pref="true" preftype="bool" prefstring="mail.collect_email_address_incoming"
|
||||
prefattribute="checked"/>
|
||||
<checkbox class="small-margin" id="emailCollectionOutgoing" label="&emailCollectionOutgoingEnable.label;"
|
||||
pref="true" preftype="bool" prefstring="mail.collect_email_address_outgoing"
|
||||
prefattribute="checked"/>
|
||||
<checkbox class="small-margin" id="emailCollectionNewsgroup" label="&emailCollectionNewsgroupEnable.label;"
|
||||
pref="true" preftype="bool" prefstring="mail.collect_email_address_newsgroup"
|
||||
prefattribute="checked"/>
|
||||
<description>&emailCollectiontext.label;</description>
|
||||
<vbox align="start" class="indent">
|
||||
<checkbox id="emailCollectionIncoming" label="&emailCollectionIncomingEnable.label;"
|
||||
prefstring="mail.collect_email_address_incoming"/>
|
||||
<checkbox id="emailCollectionOutgoing" label="&emailCollectionOutgoingEnable.label;"
|
||||
prefstring="mail.collect_email_address_outgoing"/>
|
||||
<checkbox id="emailCollectionNewsgroup" label="&emailCollectionNewsgroupEnable.label;"
|
||||
prefstring="mail.collect_email_address_newsgroup"/>
|
||||
</vbox>
|
||||
<hbox autostretch="never" align="center">
|
||||
<checkbox class="small-margin" id="enableCABsizeLimit" label="&useCABSizelimitPart1.label;"
|
||||
pref="true" preftype="bool" prefstring="mail.collect_email_address_enable_size_limit"
|
||||
prefattribute="checked"/>
|
||||
<textbox class="small-margin" id="CABsizeLimit" size="6" pref="true" preftype="int"
|
||||
prefstring="mail.collect_email_address_size_limit" prefattribute="value"/>
|
||||
<text id="useCABSizelimitPart2" class="label small-margin" value="&useCABSizelimitPart2.label;"/>
|
||||
<hbox align="center">
|
||||
<checkbox id="enableCABsizeLimit" label="&useCABSizelimitPart1.label;"
|
||||
prefstring="mail.collect_email_address_enable_size_limit"/>
|
||||
<textbox id="CABsizeLimit" size="6" preftype="int"
|
||||
prefstring="mail.collect_email_address_size_limit"/>
|
||||
<label id="useCABSizelimitPart2" class="small-margin" value="&useCABSizelimitPart2.label;"/>
|
||||
</hbox>
|
||||
</groupbox>
|
||||
|
||||
<groupbox class="small-margin" orient="vertical" id="addressAutocompletion">
|
||||
<groupbox id="addressAutocompletion">
|
||||
<caption label="&addressingTitle.label;"/>
|
||||
<html class="small-margin">&autocompleteText.label;</html>
|
||||
<hbox autostretch="never">
|
||||
<checkbox class="small-margin" id="addressingAutocomplete" label="&addressingEnable.label;"
|
||||
pref="true" preftype="bool" prefstring="mail.enable_autocomplete"
|
||||
prefattribute="checked"/>
|
||||
<description>&autocompleteText.label;</description>
|
||||
<hbox align="center">
|
||||
<checkbox id="addressingAutocomplete" label="&addressingEnable.label;"
|
||||
prefstring="mail.enable_autocomplete"/>
|
||||
</hbox>
|
||||
<hbox autostretch="never">
|
||||
<checkbox class="small-margin" id="autocompleteLDAP" label="&directories.label;"
|
||||
pref="true" preftype="bool"
|
||||
<hbox align="center">
|
||||
<checkbox id="autocompleteLDAP" label="&directories.label;"
|
||||
prefstring="ldap_2.autoComplete.useDirectory"
|
||||
prefattribute="checked"
|
||||
oncommand="enableAutocomplete();"/>
|
||||
<menulist class="small-margin" id="directoriesList" flex="1"
|
||||
pref="true" preftype="string"
|
||||
prefstring="ldap_2.autoComplete.directoryServer"
|
||||
prefattribute="value">
|
||||
<menulist id="directoriesList" flex="1"
|
||||
preftype="string"
|
||||
prefstring="ldap_2.autoComplete.directoryServer">
|
||||
<menupopup id="directoriesListPopup"
|
||||
onpopupshowing="createDirectoriesList(true);">
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<button class="small-margin" id="editButton" label="&editDirectories.label;"
|
||||
pref="true" preftype="bool"
|
||||
<button id="editButton" label="&editDirectories.label;"
|
||||
prefstring="pref.ldap.disable_button.edit_directories"
|
||||
prefattribute="disabled"
|
||||
oncommand="onEditDirectories();"/>
|
||||
</hbox>
|
||||
<!--
|
||||
<html class="small-margin">&matchText.label;</html>
|
||||
<hbox autostretch="never">
|
||||
<checkbox class="small-margin" id="autocompleteSkipDirectory"
|
||||
<description>&matchText.label;</description>
|
||||
<hbox align="center">
|
||||
<checkbox id="autocompleteSkipDirectory"
|
||||
label="&skipDirectory.label;"
|
||||
pref="true" preftype="bool"
|
||||
prefstring="ldap_2.autoComplete.skipDirectoryIfLocalMatchFound"
|
||||
prefattribute="checked"/>
|
||||
prefstring="ldap_2.autoComplete.skipDirectoryIfLocalMatchFound"/>
|
||||
</hbox>
|
||||
-->
|
||||
</groupbox>
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
|
||||
<window id="addDirectory"
|
||||
class="dialog" style="width: 30em"
|
||||
orient="vertical"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
title="&newDirectoryTitle.label;"
|
||||
onload="Startup();">
|
||||
|
@ -106,8 +105,8 @@
|
|||
<row>
|
||||
<label value="&scope.label;" control="scope"/>
|
||||
<radiogroup id="scope" orient="horizontal">
|
||||
<radio group="scope" id="one" value="1" label="&scopeOneLevel.label;"/>
|
||||
<radio group="scope" id="sub" value="2" label="&scopeSubtree.label;"/>
|
||||
<radio id="one" value="1" label="&scopeOneLevel.label;"/>
|
||||
<radio id="sub" value="2" label="&scopeSubtree.label;"/>
|
||||
</radiogroup>
|
||||
</row>
|
||||
<row>
|
||||
|
|
|
@ -292,7 +292,6 @@ function onInitEditDirectories()
|
|||
if (directoriesTree_root) {
|
||||
LoadDirectoriesTree(directoriesTree_root);
|
||||
}
|
||||
doSetOKCancel(onOK, cancel);
|
||||
}
|
||||
|
||||
function LoadDirectoriesTree(tree)
|
||||
|
@ -430,7 +429,7 @@ function removeDirectory()
|
|||
// remove all the directories that are selected for deletion from preferences
|
||||
// check if the deleted directory is selected for autocompletion in global
|
||||
// or identity prefs. If so change the pref to ""
|
||||
function onOK()
|
||||
function onAccept()
|
||||
{
|
||||
var len = gDeletedDirectories.length;
|
||||
if (len) {
|
||||
|
@ -472,10 +471,5 @@ function onOK()
|
|||
}
|
||||
}
|
||||
window.opener.gRefresh = true;
|
||||
window.close();
|
||||
}
|
||||
|
||||
function cancel()
|
||||
{
|
||||
window.close();
|
||||
}
|
||||
return true;
|
||||
}
|
|
@ -21,22 +21,19 @@ Rights Reserved.
|
|||
|
||||
<?xml-stylesheet href="chrome://messenger/skin/prefPanels.css" type="text/css"?>
|
||||
|
||||
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE window SYSTEM "chrome://messenger/locale/addressbook/pref-directory.dtd">
|
||||
|
||||
<page xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
style="-moz-user-focus: ignore;"
|
||||
title="&window.title;" orient="vertical"
|
||||
onload="onInitEditDirectories();">
|
||||
<dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
title="&window.title;"
|
||||
onload="onInitEditDirectories();"
|
||||
ondialogaccept="return onAccept();">
|
||||
|
||||
<script type="application/x-javascript" src="chrome://messenger/content/addressbook/pref-directory.js"/>
|
||||
|
||||
<html>&directoriesText.label;</html>
|
||||
<description>&directoriesText.label;</description>
|
||||
<hbox flex="1">
|
||||
<tree class="inset" id="directoriesTree" flex="1"
|
||||
<tree id="directoriesTree" flex="1"
|
||||
datasources="rdf:null" onselect="selectDirectory();">
|
||||
<treecolgroup>
|
||||
<treecol flex="1"/>
|
||||
|
@ -49,5 +46,4 @@ Rights Reserved.
|
|||
<button id="removeButton" label="&deleteDirectory.label;" oncommand="removeDirectory();" disabled="true"/>
|
||||
</vbox>
|
||||
</hbox>
|
||||
<hbox id="okCancelButtonsRight"/>
|
||||
</page>
|
||||
</dialog>
|
||||
|
|
|
@ -28,7 +28,6 @@ Rights Reserved.
|
|||
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
title="&title.label;"
|
||||
orient="vertical"
|
||||
class="dialog"
|
||||
onload="abNameOnLoad()"
|
||||
style="padding:10px">
|
||||
|
@ -41,7 +40,7 @@ Rights Reserved.
|
|||
|
||||
<spacer flex="1"/>
|
||||
|
||||
<text for="name" style="margin-bottom:.3em" value="&name.label;"/>
|
||||
<label control="name" style="margin-bottom:.3em" value="&name.label;"/>
|
||||
|
||||
<textbox tabindex="0" id="name" style="width: 100%"/>
|
||||
|
||||
|
|
|
@ -46,34 +46,34 @@ Rights Reserved.
|
|||
<!-- ** Name Tab ** -->
|
||||
<vbox index="name" flex="1">
|
||||
|
||||
<groupbox orient="vertical" flex="1">
|
||||
<groupbox flex="1">
|
||||
<caption label="&Name.box;"/>
|
||||
|
||||
<vbox style="width:100%">
|
||||
<hbox>
|
||||
<spacer flex="1"/>
|
||||
<text for="FirstName" value="&FirstName.label;" class="CardEditLabel"/>
|
||||
<label control="FirstName" value="&FirstName.label;" class="CardEditLabel"/>
|
||||
<hbox class="CardEditWidth">
|
||||
<textbox id="FirstName" flex="1" oninput="GenerateDisplayName()"/>
|
||||
</hbox>
|
||||
</hbox>
|
||||
<hbox>
|
||||
<spacer flex="1"/>
|
||||
<text for="LastName" value="&LastName.label;" class="CardEditLabel"/>
|
||||
<label control="LastName" value="&LastName.label;" class="CardEditLabel"/>
|
||||
<hbox class="CardEditWidth">
|
||||
<textbox id="LastName" flex="1" oninput="GenerateDisplayName()"/>
|
||||
</hbox>
|
||||
</hbox>
|
||||
<hbox>
|
||||
<spacer flex="1"/>
|
||||
<text for="DisplayName" value="&DisplayName.label;" class="CardEditLabel"/>
|
||||
<label control="DisplayName" value="&DisplayName.label;" class="CardEditLabel"/>
|
||||
<hbox class="CardEditWidth">
|
||||
<textbox id="DisplayName" flex="1" oninput="DisplayNameChanged()"/>
|
||||
</hbox>
|
||||
</hbox>
|
||||
<hbox>
|
||||
<spacer flex="1"/>
|
||||
<text for="NickName" value="&NickName.label;" class="CardEditLabel"/>
|
||||
<label control="NickName" value="&NickName.label;" class="CardEditLabel"/>
|
||||
<hbox class="CardEditWidth">
|
||||
<textbox id="NickName" flex="1"/>
|
||||
</hbox>
|
||||
|
@ -81,27 +81,27 @@ Rights Reserved.
|
|||
</vbox>
|
||||
</groupbox>
|
||||
|
||||
<groupbox orient="vertical" flex="1">
|
||||
<groupbox flex="1">
|
||||
<caption label="&Internet.box;"/>
|
||||
|
||||
<vbox style="width:100%">
|
||||
<hbox>
|
||||
<spacer flex="1"/>
|
||||
<text for="PrimaryEmail" value="&PrimaryEmail.label;" class="CardEditLabel"/>
|
||||
<label control="PrimaryEmail" value="&PrimaryEmail.label;" class="CardEditLabel"/>
|
||||
<hbox class="CardEditWidth">
|
||||
<textbox id="PrimaryEmail" flex="1"/>
|
||||
</hbox>
|
||||
</hbox>
|
||||
<hbox>
|
||||
<spacer flex="1"/>
|
||||
<text for="SecondEmail" value="&SecondEmail.label;" class="CardEditLabel"/>
|
||||
<label control="SecondEmail" value="&SecondEmail.label;" class="CardEditLabel"/>
|
||||
<hbox class="CardEditWidth">
|
||||
<textbox id="SecondEmail" flex="1"/>
|
||||
</hbox>
|
||||
</hbox>
|
||||
<hbox>
|
||||
<vbox valign="middle">
|
||||
<text for="PreferMailFormatPopup" value="&PreferMailFormat.label;"/>
|
||||
<label control="PreferMailFormatPopup" value="&PreferMailFormat.label;"/>
|
||||
</vbox>
|
||||
<menulist id="PreferMailFormatPopup">
|
||||
<menupopup>
|
||||
|
@ -114,41 +114,41 @@ Rights Reserved.
|
|||
</vbox>
|
||||
</groupbox>
|
||||
|
||||
<groupbox orient="vertical" flex="1">
|
||||
<groupbox flex="1">
|
||||
<caption label="&Phones.box;"/>
|
||||
|
||||
<vbox style="width:100%">
|
||||
<hbox>
|
||||
<spacer flex="1"/>
|
||||
<text for="WorkPhone" value="&WorkPhone.label;" class="CardEditLabel"/>
|
||||
<label control="WorkPhone" value="&WorkPhone.label;" class="CardEditLabel"/>
|
||||
<hbox class="CardEditWidth">
|
||||
<textbox id="WorkPhone" flex="1"/>
|
||||
</hbox>
|
||||
</hbox>
|
||||
<hbox>
|
||||
<spacer flex="1"/>
|
||||
<text for="HomePhone" value="&HomePhone.label;" class="CardEditLabel"/>
|
||||
<label control="HomePhone" value="&HomePhone.label;" class="CardEditLabel"/>
|
||||
<hbox class="CardEditWidth">
|
||||
<textbox id="HomePhone" flex="1"/>
|
||||
</hbox>
|
||||
</hbox>
|
||||
<hbox>
|
||||
<spacer flex="1"/>
|
||||
<text for="FaxNumber" value="&FaxNumber.label;" class="CardEditLabel"/>
|
||||
<label control="FaxNumber" value="&FaxNumber.label;" class="CardEditLabel"/>
|
||||
<hbox class="CardEditWidth">
|
||||
<textbox id="FaxNumber" flex="1"/>
|
||||
</hbox>
|
||||
</hbox>
|
||||
<hbox>
|
||||
<spacer flex="1"/>
|
||||
<text for="PagerNumber" value="&PagerNumber.label;" class="CardEditLabel"/>
|
||||
<label control="PagerNumber" value="&PagerNumber.label;" class="CardEditLabel"/>
|
||||
<hbox class="CardEditWidth">
|
||||
<textbox id="PagerNumber" flex="1"/>
|
||||
</hbox>
|
||||
</hbox>
|
||||
<hbox>
|
||||
<spacer flex="1"/>
|
||||
<text for="CellularNumber" value="&CellularNumber.label;" class="CardEditLabel"/>
|
||||
<label control="CellularNumber" value="&CellularNumber.label;" class="CardEditLabel"/>
|
||||
<hbox class="CardEditWidth">
|
||||
<textbox id="CellularNumber" flex="1"/>
|
||||
</hbox>
|
||||
|
@ -160,52 +160,52 @@ Rights Reserved.
|
|||
<!-- ** Address Tab ** -->
|
||||
<vbox index="address" flex="1">
|
||||
|
||||
<groupbox orient="vertical" flex="1">
|
||||
<groupbox flex="1">
|
||||
<caption label="&Home.box;"/>
|
||||
|
||||
<vbox style="width:100%">
|
||||
|
||||
<hbox>
|
||||
<spacer flex="1"/>
|
||||
<text for="HomeAddress" value="&HomeAddress.label;" class="CardEditLabel"/>
|
||||
<label control="HomeAddress" value="&HomeAddress.label;" class="CardEditLabel"/>
|
||||
<hbox class="CardEditWidth">
|
||||
<textbox id="HomeAddress" flex="1"/>
|
||||
</hbox>
|
||||
</hbox>
|
||||
<hbox>
|
||||
<spacer flex="1"/>
|
||||
<text for="HomeAddress2" value="&HomeAddress2.label;" class="CardEditLabel"/>
|
||||
<label control="HomeAddress2" value="&HomeAddress2.label;" class="CardEditLabel"/>
|
||||
<hbox class="CardEditWidth">
|
||||
<textbox id="HomeAddress2" flex="1"/>
|
||||
</hbox>
|
||||
</hbox>
|
||||
<hbox>
|
||||
<spacer flex="1"/>
|
||||
<text for="HomeCity" value="&HomeCity.label;" class="CardEditLabel"/>
|
||||
<label control="HomeCity" value="&HomeCity.label;" class="CardEditLabel"/>
|
||||
<hbox class="CardEditWidth">
|
||||
<textbox id="HomeCity" flex="1"/>
|
||||
</hbox>
|
||||
</hbox>
|
||||
<hbox>
|
||||
<spacer flex="1"/>
|
||||
<text for="HomeState" value="&HomeState.label;" class="CardEditLabel"/>
|
||||
<label control="HomeState" value="&HomeState.label;" class="CardEditLabel"/>
|
||||
<hbox class="CardEditWidth">
|
||||
<textbox id="HomeState" flex="1"/>
|
||||
<spacer class="stateZipSpacer"/>
|
||||
<text for="HomeZipCode" value="&HomeZipCode.label;" class="CardEditLabel"/>
|
||||
<label control="HomeZipCode" value="&HomeZipCode.label;" class="CardEditLabel"/>
|
||||
<textbox id="HomeZipCode" flex="1"/>
|
||||
</hbox>
|
||||
</hbox>
|
||||
<hbox>
|
||||
<spacer flex="1"/>
|
||||
<text for="HomeCountry" value="&HomeCountry.label;" class="CardEditLabel"/>
|
||||
<label control="HomeCountry" value="&HomeCountry.label;" class="CardEditLabel"/>
|
||||
<hbox class="CardEditWidth">
|
||||
<textbox id="HomeCountry" flex="1"/>
|
||||
</hbox>
|
||||
</hbox>
|
||||
<hbox>
|
||||
<spacer flex="1"/>
|
||||
<text for="WebPage2" value="&HomeWebPage.label;" class="CardEditLabel"/>
|
||||
<label control="WebPage2" value="&HomeWebPage.label;" class="CardEditLabel"/>
|
||||
<hbox class="CardEditWidth">
|
||||
<textbox id="WebPage2" flex="1"/>
|
||||
</hbox>
|
||||
|
@ -213,73 +213,73 @@ Rights Reserved.
|
|||
</vbox>
|
||||
</groupbox>
|
||||
|
||||
<groupbox orient="vertical" style="width:100%">
|
||||
<groupbox style="width:100%">
|
||||
<caption label="&Work.box;"/>
|
||||
|
||||
<vbox style="width:100%">
|
||||
|
||||
<hbox>
|
||||
<spacer flex="1"/>
|
||||
<text for="JobTitle" value="&JobTitle.label;" class="CardEditLabel"/>
|
||||
<label control="JobTitle" value="&JobTitle.label;" class="CardEditLabel"/>
|
||||
<hbox class="CardEditWidth">
|
||||
<textbox id="JobTitle" flex="1"/>
|
||||
</hbox>
|
||||
</hbox>
|
||||
<hbox>
|
||||
<spacer flex="1"/>
|
||||
<text for="Department" value="&Department.label;" class="CardEditLabel"/>
|
||||
<label control="Department" value="&Department.label;" class="CardEditLabel"/>
|
||||
<hbox class="CardEditWidth">
|
||||
<textbox id="Department" flex="1"/>
|
||||
</hbox>
|
||||
</hbox>
|
||||
<hbox>
|
||||
<spacer flex="1"/>
|
||||
<text for="Company" value="&Company.label;" class="CardEditLabel"/>
|
||||
<label control="Company" value="&Company.label;" class="CardEditLabel"/>
|
||||
<hbox class="CardEditWidth">
|
||||
<textbox id="Company" flex="1"/>
|
||||
</hbox>
|
||||
</hbox>
|
||||
<hbox>
|
||||
<spacer flex="1"/>
|
||||
<text for="WorkAddress" value="&WorkAddress.label;" class="CardEditLabel"/>
|
||||
<label control="WorkAddress" value="&WorkAddress.label;" class="CardEditLabel"/>
|
||||
<hbox class="CardEditWidth">
|
||||
<textbox id="WorkAddress" flex="1"/>
|
||||
</hbox>
|
||||
</hbox>
|
||||
<hbox>
|
||||
<spacer flex="1"/>
|
||||
<text for="WorkAddress2" value="&WorkAddress2.label;" class="CardEditLabel"/>
|
||||
<label control="WorkAddress2" value="&WorkAddress2.label;" class="CardEditLabel"/>
|
||||
<hbox class="CardEditWidth">
|
||||
<textbox id="WorkAddress2" flex="1"/>
|
||||
</hbox>
|
||||
</hbox>
|
||||
<hbox>
|
||||
<spacer flex="1"/>
|
||||
<text for="WorkCity" value="&WorkCity.label;" class="CardEditLabel"/>
|
||||
<label control="WorkCity" value="&WorkCity.label;" class="CardEditLabel"/>
|
||||
<hbox class="CardEditWidth">
|
||||
<textbox id="WorkCity" flex="1"/>
|
||||
</hbox>
|
||||
</hbox>
|
||||
<hbox>
|
||||
<spacer flex="1"/>
|
||||
<text for="WorkState" value="&WorkState.label;" class="CardEditLabel"/>
|
||||
<label control="WorkState" value="&WorkState.label;" class="CardEditLabel"/>
|
||||
<hbox class="CardEditWidth">
|
||||
<textbox id="WorkState" flex="1"/>
|
||||
<spacer class="stateZipSpacer"/>
|
||||
<text for="WorkZipCode" value="&WorkZipCode.label;" class="CardEditLabel"/>
|
||||
<label control="WorkZipCode" value="&WorkZipCode.label;" class="CardEditLabel"/>
|
||||
<textbox id="WorkZipCode" flex="1"/>
|
||||
</hbox>
|
||||
</hbox>
|
||||
<hbox>
|
||||
<spacer flex="1"/>
|
||||
<text for="WorkCountry" value="&WorkCountry.label;" class="CardEditLabel"/>
|
||||
<label control="WorkCountry" value="&WorkCountry.label;" class="CardEditLabel"/>
|
||||
<hbox class="CardEditWidth">
|
||||
<textbox id="WorkCountry" flex="1"/>
|
||||
</hbox>
|
||||
</hbox>
|
||||
<hbox>
|
||||
<spacer flex="1"/>
|
||||
<text for="WebPage1" value="&WorkWebPage.label;" class="CardEditLabel"/>
|
||||
<label control="WebPage1" value="&WorkWebPage.label;" class="CardEditLabel"/>
|
||||
<hbox class="CardEditWidth">
|
||||
<textbox id="WebPage1" flex="1"/>
|
||||
</hbox>
|
||||
|
@ -294,24 +294,24 @@ Rights Reserved.
|
|||
|
||||
<vbox class="alignBoxWithFieldset">
|
||||
<hbox flex="1">
|
||||
<text for="Custom1" value="&Custom1.label;" class="CardEditLabel"/>
|
||||
<label control="Custom1" value="&Custom1.label;" class="CardEditLabel"/>
|
||||
<textbox id="Custom1" flex="1"/>
|
||||
</hbox>
|
||||
<hbox flex="1">
|
||||
<text for="Custom2" value="&Custom2.label;" class="CardEditLabel"/>
|
||||
<label control="Custom2" value="&Custom2.label;" class="CardEditLabel"/>
|
||||
<textbox id="Custom2" flex="1"/>
|
||||
</hbox>
|
||||
<hbox flex="1">
|
||||
<text for="Custom3" value="&Custom3.label;" class="CardEditLabel"/>
|
||||
<label control="Custom3" value="&Custom3.label;" class="CardEditLabel"/>
|
||||
<textbox id="Custom3" flex="1"/>
|
||||
</hbox>
|
||||
<hbox flex="1">
|
||||
<text for="Custom4" value="&Custom4.label;" class="CardEditLabel"/>
|
||||
<label control="Custom4" value="&Custom4.label;" class="CardEditLabel"/>
|
||||
<textbox id="Custom4" flex="1"/>
|
||||
</hbox>
|
||||
</vbox>
|
||||
|
||||
<groupbox orient="vertical" style="width:100%">
|
||||
<groupbox style="width:100%">
|
||||
<caption label="&Notes.box;"/>
|
||||
|
||||
<vbox style="width:100%">
|
||||
|
|
|
@ -31,41 +31,41 @@ Rights Reserved.
|
|||
|
||||
<vbox id="CardViewInnerBox" flex="1">
|
||||
|
||||
<html hide="true" id="CardTitle"/>
|
||||
<description hide="true" id="CardTitle"/>
|
||||
|
||||
<hbox style="width:100%" flex="1">
|
||||
|
||||
<vbox flex="1" style="width:200px">
|
||||
<vbox id="cvbName" class="cardViewGroup">
|
||||
<html class="CardViewHeading" hide="true" id="cvhName"/>
|
||||
<html class="CardViewText" hide="true" id="cvDisplayName"/>
|
||||
<html class="CardViewText" hide="true" id="cvNickname"/>
|
||||
<html class="CardViewLink" hide="true" id="cvEmail1Box">
|
||||
<description class="CardViewHeading" hide="true" id="cvhName"/>
|
||||
<description class="CardViewText" hide="true" id="cvDisplayName"/>
|
||||
<description class="CardViewText" hide="true" id="cvNickname"/>
|
||||
<description class="CardViewLink" hide="true" id="cvEmail1Box">
|
||||
<html:p><html:a href="" id="cvEmail1"/>
|
||||
</html:p></html>
|
||||
<html class="CardViewLink" hide="true" id="cvEmail2Box">
|
||||
<description class="CardViewLink" hide="true" id="cvEmail2Box">
|
||||
<html:p><html:a href="" id="cvEmail2"/>
|
||||
</html:p></html>
|
||||
</html:p></description>
|
||||
</vbox>
|
||||
|
||||
<vbox id="cvbHome" class="cardViewGroup">
|
||||
<html class="CardViewHeading" hide="true" id="cvhHome">&home.heading;</html>
|
||||
<html class="CardViewText" hide="true" id="cvHomeAddress"/>
|
||||
<html class="CardViewText" hide="true" id="cvHomeAddress2"/>
|
||||
<html class="CardViewText" hide="true" id="cvHomeCityStZip"/>
|
||||
<html class="CardViewText" hide="true" id="cvHomeCountry"/>
|
||||
<html class="CardViewLink" hide="true" id="cvHomeWebPageBox">
|
||||
<description class="CardViewHeading" hide="true" id="cvhHome">&home.heading;</description>
|
||||
<description class="CardViewText" hide="true" id="cvHomeAddress"/>
|
||||
<description class="CardViewText" hide="true" id="cvHomeAddress2"/>
|
||||
<description class="CardViewText" hide="true" id="cvHomeCityStZip"/>
|
||||
<description class="CardViewText" hide="true" id="cvHomeCountry"/>
|
||||
<description class="CardViewText" hide="true" id="cvHomeWebPageBox">
|
||||
<html:p><html:a onclick="return openLink('cvHomeWebPage');" href="" id="cvHomeWebPage"/>
|
||||
</html:p></html>
|
||||
</html:p></description>
|
||||
</vbox>
|
||||
|
||||
<vbox id="cvbOther" class="cardViewGroup">
|
||||
<html class="CardViewHeading" hide="true" id="cvhOther">&other.heading;</html>
|
||||
<html class="CardViewText" hide="true" id="cvCustom1"/>
|
||||
<html class="CardViewText" hide="true" id="cvCustom2"/>
|
||||
<html class="CardViewText" hide="true" id="cvCustom3"/>
|
||||
<html class="CardViewText" hide="true" id="cvCustom4"/>
|
||||
<html class="CardViewText" hide="true" id="cvNotes"/>
|
||||
<description class="CardViewHeading" hide="true" id="cvhOther">&other.heading;</description>
|
||||
<description class="CardViewText" hide="true" id="cvCustom1"/>
|
||||
<description class="CardViewText" hide="true" id="cvCustom2"/>
|
||||
<description class="CardViewText" hide="true" id="cvCustom3"/>
|
||||
<description class="CardViewText" hide="true" id="cvCustom4"/>
|
||||
<description class="CardViewText" hide="true" id="cvNotes"/>
|
||||
</vbox>
|
||||
</vbox>
|
||||
|
||||
|
@ -73,26 +73,26 @@ Rights Reserved.
|
|||
|
||||
<vbox flex="1" style="width:200px">
|
||||
<vbox id="cvbPhone" class="cardViewGroup">
|
||||
<html class="CardViewHeading" hide="true" id="cvhPhone">&phone.heading;</html>
|
||||
<html class="CardViewText" hide="true" id="cvPhWork"/>
|
||||
<html class="CardViewText" hide="true" id="cvPhHome"/>
|
||||
<html class="CardViewText" hide="true" id="cvPhFax"/>
|
||||
<html class="CardViewText" hide="true" id="cvPhCellular"/>
|
||||
<html class="CardViewText" hide="true" id="cvPhPager"/>
|
||||
<description class="CardViewHeading" hide="true" id="cvhPhone">&phone.heading;</description>
|
||||
<description class="CardViewText" hide="true" id="cvPhWork"/>
|
||||
<description class="CardViewText" hide="true" id="cvPhHome"/>
|
||||
<description class="CardViewText" hide="true" id="cvPhFax"/>
|
||||
<description class="CardViewText" hide="true" id="cvPhCellular"/>
|
||||
<description class="CardViewText" hide="true" id="cvPhPager"/>
|
||||
</vbox>
|
||||
|
||||
<vbox id="cvbWork" class="cardViewGroup">
|
||||
<html class="CardViewHeading" hide="true" id="cvhWork">&work.heading;</html>
|
||||
<html class="CardViewText" hide="true" id="cvJobTitle"/>
|
||||
<html class="CardViewText" hide="true" id="cvDepartment"/>
|
||||
<html class="CardViewText" hide="true" id="cvCompany"/>
|
||||
<html class="CardViewText" hide="true" id="cvWorkAddress"/>
|
||||
<html class="CardViewText" hide="true" id="cvWorkAddress2"/>
|
||||
<html class="CardViewText" hide="true" id="cvWorkCityStZip"/>
|
||||
<html class="CardViewText" hide="true" id="cvWorkCountry"/>
|
||||
<html class="CardViewLink" hide="true" id="cvWorkWebPageBox">
|
||||
<description class="CardViewHeading" hide="true" id="cvhWork">&work.heading;</html>
|
||||
<description class="CardViewText" hide="true" id="cvJobTitle"/>
|
||||
<description class="CardViewText" hide="true" id="cvDepartment"/>
|
||||
<description class="CardViewText" hide="true" id="cvCompany"/>
|
||||
<description class="CardViewText" hide="true" id="cvWorkAddress"/>
|
||||
<description class="CardViewText" hide="true" id="cvWorkAddress2"/>
|
||||
<description class="CardViewText" hide="true" id="cvWorkCityStZip"/>
|
||||
<description class="CardViewText" hide="true" id="cvWorkCountry"/>
|
||||
<description class="CardViewLink" hide="true" id="cvWorkWebPageBox">
|
||||
<html:p><html:a onclick="return openLink('cvWorkWebPage');" href="" id="cvWorkWebPage"/>
|
||||
</html:p></html>
|
||||
</html:p></description>
|
||||
</vbox>
|
||||
</vbox>
|
||||
|
||||
|
|
|
@ -25,19 +25,12 @@ Rights Reserved.
|
|||
<?xul-overlay href="chrome://messenger/content/addressbook/abCardOverlay.xul"?>
|
||||
|
||||
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
id="abcardWindow"
|
||||
onload="OnLoadEditCard()"
|
||||
class="dialog"
|
||||
orient="vertical">
|
||||
<dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
id="abcardWindow"
|
||||
onload="OnLoadEditCard()">
|
||||
|
||||
<stringbundleset id="stringbundleset"/>
|
||||
<vbox id="editcard"/>
|
||||
|
||||
<keyset id="dialogKeys"/>
|
||||
|
||||
<vbox id="editcard"/>
|
||||
|
||||
<hbox id="okCancelButtons"/>
|
||||
|
||||
</window>
|
||||
</dialog>
|
||||
|
||||
|
|
|
@ -21,28 +21,18 @@ Rights Reserved.
|
|||
|
||||
<?xml-stylesheet href="chrome://messenger/skin/dialogs.css" type="text/css"?>
|
||||
|
||||
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
||||
<?xul-overlay href="chrome://messenger/content/addressbook/abListOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE window SYSTEM "chrome://messenger/locale/addressbook/abMailListDialog.dtd">
|
||||
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
title="&mailListWindow.title;"
|
||||
class="dialog"
|
||||
onload="OnLoadEditList()"
|
||||
<dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
title="&mailListWindow.title;"
|
||||
onload="OnLoadEditList()"
|
||||
ondialogaccept="return EditListOKButton();"
|
||||
ondragover="return DragOverTree(event);"
|
||||
ondragdrop="return DropOnAddressListTree(event);"
|
||||
orient="vertical">
|
||||
ondragdrop="return DropOnAddressListTree(event);">
|
||||
|
||||
<stringbundleset id="stringbundleset"/>
|
||||
|
||||
<keyset id="dialogKeys"/>
|
||||
|
||||
<vbox id="editlist"/>
|
||||
|
||||
<spacer style="height:1em"/>
|
||||
|
||||
<hbox id="okCancelButtons"/>
|
||||
|
||||
</window>
|
||||
<vbox id="editlist"/>
|
||||
</dialog>
|
||||
|
|
|
@ -64,7 +64,7 @@ Rights Reserved.
|
|||
<spacer style="height:0.1em"/>
|
||||
<hbox flex="100%">
|
||||
<vbox flex="80%">
|
||||
<tree id="addressListTree" class="inset"
|
||||
<tree id="addressListTree"
|
||||
rows="8"
|
||||
onclick="awClickEmptySpace(event.target, true)">
|
||||
|
||||
|
|
|
@ -185,8 +185,6 @@ function OnLoadMailList()
|
|||
{
|
||||
//XXX: gAddressBookBundle is set in 2 places because of different callers
|
||||
gAddressBookBundle = document.getElementById("bundle_addressBook");
|
||||
doSetOKCancel(MailListOKButton, 0);
|
||||
|
||||
var selectedAB;
|
||||
if (window.arguments && window.arguments[0])
|
||||
{
|
||||
|
@ -246,7 +244,6 @@ function OnLoadEditList()
|
|||
{
|
||||
//XXX: gAddressBookBundle is set in 2 places because of different callers
|
||||
gAddressBookBundle = document.getElementById("bundle_addressBook");
|
||||
doSetOKCancel(EditListOKButton, 0);
|
||||
|
||||
parentURI = window.arguments[0].abURI;
|
||||
var listUri = window.arguments[0].listURI;
|
||||
|
|
|
@ -26,21 +26,18 @@ Rights Reserved.
|
|||
|
||||
<!DOCTYPE window SYSTEM "chrome://messenger/locale/addressbook/abMailListDialog.dtd">
|
||||
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
<dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:nc="http://home.netscape.com/NC-rdf#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
title="&mailListWindow.title;"
|
||||
class="dialog"
|
||||
ondialogaccept="return MailListOKButton();"
|
||||
onload="OnLoadMailList()"
|
||||
ondragover="return DragOverTree(event);"
|
||||
ondragdrop="return DropOnAddressListTree(event);"
|
||||
orient="vertical">
|
||||
ondragover="return DragOverTree(event);"
|
||||
ondragdrop="return DropOnAddressListTree(event);">
|
||||
|
||||
<stringbundleset id="stringbundleset"/>
|
||||
|
||||
<keyset id="dialogKeys"/>
|
||||
|
||||
<hbox autostretch="never" valign="center">
|
||||
<hbox align="center" valign="center">
|
||||
<label control="abPopup" value="&addToAddressBook.label;" accesskey="&addToAddressBook.accesskey;"/>
|
||||
<menulist id="abPopup">
|
||||
<menupopup id="abPopup-menupopup" ref="moz-abdirectory://" datasources="rdf:addressdirectory">
|
||||
|
@ -58,9 +55,5 @@ Rights Reserved.
|
|||
<spacer style="height:1em"/>
|
||||
|
||||
<vbox id="editlist"/>
|
||||
|
||||
<spacer style="height:1em"/>
|
||||
|
||||
<hbox id="okCancelButtons"/>
|
||||
|
||||
</window>
|
||||
</dialog>
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче