uses Firebird/Thunderbird's toolkit
customizable main toolbar
Orbit 3+1 buttons
Form button
limited dependencies to other Moz App Suite module
Calendar smart widget
This commit is contained in:
daniel%glazman.org 2003-10-19 13:24:52 +00:00
Родитель 234194db01
Коммит 5e08f7bdac
29 изменённых файлов: 4493 добавлений и 396 удалений

Просмотреть файл

@ -1,23 +1,39 @@
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# 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/
# The contents of this file are subject to the Mozilla 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/MPL/
#
# 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.
# 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.org code.
# The Original Code is Mozilla.org
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
# The Initial Developer of the Original Code is
# Netscape Communications Corporation.
# Portions created by the Initial Developer are Copyright (C) 2003
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
# Contributor(s):
# Daniel Glazman (daniel@glazman.org), on behalf of Lindows.com
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
DEPTH = ..
topsrcdir = @top_srcdir@

Просмотреть файл

@ -19,7 +19,8 @@
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
# Brian Ryner <bryner@brianryner.com>
# Brian Ryner <bryner@brianryner.com>
# Daniel Glazman (daniel@glazman.org), on behalf of Lindows.com
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
@ -60,7 +61,7 @@ REQUIRES = \
xpcom \
xulapp \
xpinstall \
appshell \
appshell \
$(NULL)
CPPSRCS = nsComposerApp.cpp
@ -109,7 +110,8 @@ include $(topsrcdir)/config/rules.mk
$(PROGRAM): $(DIST)/lib/$(LIB_PREFIX)xulapp_s.$(LIB_SUFFIX)
DESKTOP_ICONS := \
editorWindow.ico \
editorWindow.xpm \
editorWindow16.xpm \
$(NULL)
libs:: $(DESKTOP_ICONS)
@ -134,6 +136,19 @@ install:: composer
GARBAGE += composer
endif
ifneq (,$(filter gtk gtk2,$(MOZ_WIDGET_TOOLKIT)))
ICON_FILES = \
$(srcdir)/mozicon50.xpm \
$(srcdir)/mozicon16.xpm \
$(NULL)
libs::
$(INSTALL) $(ICON_FILES) $(DIST)/bin/icons
install::
$(SYSINSTALL) $(IFLAGS1) $(ICON_FILES) $(DESTDIR)$(mozappdir)/icons
endif
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
ifdef MOZ_DEBUG

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

@ -21,7 +21,7 @@
*
* Contributor(s):
* Brian Ryner <bryner@brianryner.com>
* Daniel Glazman <glazman@netscape.com>
* Daniel Glazman <daniel@glazman.org>, on behalf of Lindows.com
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or

Просмотреть файл

@ -48,8 +48,8 @@ pref("keyword.URL", "http://keyword.netscape.com/keyword/");
pref("keyword.enabled", false);
pref("general.useragent.locale", "chrome://navigator/locale/navigator.properties");
pref("general.useragent.contentlocale", "chrome://navigator-region/locale/region.properties");
pref("general.useragent.vendor", "Thunderbird");
pref("general.useragent.vendorSub", "0.1a");
pref("general.useragent.vendor", "Mozilla (standalone) Composer");
pref("general.useragent.vendorSub", "0.0.1");
pref("general.startup.browser", false);
pref("general.startup.mail", false);
@ -92,6 +92,7 @@ pref("browser.display.force_inline_alttext", false); // true = force ALT text fo
pref("browser.display.normal_lineheight_calc_control", 2);
pref("browser.display.show_image_placeholders", true); // true = show image placeholders while image is loaded and when image is broken
pref("browser.anchor_color", "#0000EE");
pref("browser.active_color", "#EE0000");
pref("browser.visited_color", "#551A8B");
pref("browser.underline_anchors", true);
pref("browser.blink_allowed", true);

Просмотреть файл

@ -1,23 +1,39 @@
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# 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/
# The contents of this file are subject to the Mozilla 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/MPL/
#
# 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.
# 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.org code.
# The Original Code is Mozilla.org
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
# The Initial Developer of the Original Code is
# Netscape Communications Corporation.
# Portions created by the Initial Developer are Copyright (C) 2003
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
# Contributor(s):
# Daniel Glazman (daniel@glazman.org), on behalf of Lindows.com
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
DEPTH = ../..
topsrcdir = @top_srcdir@

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

@ -0,0 +1,98 @@
<?xml version="1.0"?>
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla 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/MPL/
#
# 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.org
#
# The Initial Developer of the Original Code is
# David Hyatt.
# Portions created by the Initial Developer are Copyright (C) 2002
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
# David Hyatt (hyatt@apple.com)
# Blake Ross (blaker@netscape.com)
# Daniel Glazman (daniel@glazman.org), on behalf of Lindows.com
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
<!DOCTYPE dialog [
<!ENTITY % customizeToolbarDTD SYSTEM "chrome://global/locale/customizeToolbar.dtd">
%customizeToolbarDTD;
]>
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://global/content/customizeToolbar.css" type="text/css"?>
<?xml-stylesheet href="chrome://global/skin/customizeToolbar.css" type="text/css"?>
<?xml-stylesheet href="chrome://editor/skin/editorPrimaryToolbar.css" type="text/css"?>
<window id="CustomizeToolbarWindow"
title="&dialog.title;"
onload="onLoad();"
onunload="onUnload();"
onclose="onAccept(); return false;"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/x-javascript" src="chrome://global/content/customizeToolbar.js"/>
<script type="application/x-javascript" src="chrome://global/content/nsDragAndDrop.js"/>
<script type="application/x-javascript" src="chrome://global/content/nsTransferable.js"/>
<stringbundle id="stringBundle" src="chrome://global/locale/customizeToolbar.properties"/>
<vbox id="main-box" flex="1" collapsed="true">
<description id="instructions">
&instructions.description;
</description>
<vbox flex="1" id="palette-box"
ondraggesture="gDraggingFromPalette = true; nsDragAndDrop.startDrag(event, dragStartObserver);"
ondragover="nsDragAndDrop.dragOver(event, paletteDNDObserver);"
ondragdrop="nsDragAndDrop.drop(event, paletteDNDObserver);"/>
<box align="center">
<label value="&show.label;"/>
<menulist id="modelist" value="icons" oncommand="updateToolbarMode(this.value);">
<menupopup>
<menuitem value="full" label="&iconsAndText.label;"/>
<menuitem value="icons" label="&icons.label;"/>
<menuitem value="text" label="&text.label;"/>
</menupopup>
</menulist>
<!--checkbox id="smallicons" oncommand="updateIconSize(this.checked);" label="&useSmallIcons.label;"/-->
<spacer flex="1"/>
<button label="&restoreDefaultSet.label;" oncommand="restoreDefaultSet();"/>
</box>
<separator class="groove"/>
<hbox align="center" pack="end">
<button label="&saveChanges.label;" oncommand="onAccept();" default="true"/>
</hbox>
</vbox>
</window>

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -1,295 +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-2000 Netscape Communications Corporation. All
- Rights Reserved.
-
- Contributor(s):
- Ben Goodger
- Michael Lowe
- Sammy Ford
-->
<?xml-stylesheet href="chrome://editor/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://editor/skin/editorPrimaryToolbar.css" type="text/css"?>
<?xml-stylesheet href="chrome://editor/skin/editorFormatToolbar.css" type="text/css"?>
<?xml-stylesheet href="chrome://editor/skin/editorModeToolbar.css" type="text/css"?>
<?xul-overlay href="chrome://editor/content/editorOverlay.xul"?>
<?xul-overlay href="chrome://editor/content/composerOverlay.xul"?>
<?xul-overlay href="chrome://editor/content/EditorContextMenuOverlay.xul"?>
<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
<?xul-overlay href="chrome://global/content/charsetOverlay.xul"?>
<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
<?xul-overlay href="chrome://communicator/content/tasksOverlay.xul"?>
<?xul-overlay href="chrome://communicator/content/contentAreaContextOverlay.xul"?>
<?xul-overlay href="chrome://communicator/content/sidebar/sidebarOverlay.xul"?>
<?xul-overlay href="chrome://communicator/content/communicatorOverlay.xul"?>
<!DOCTYPE window [
<!ENTITY % editorDTD SYSTEM "chrome://editor/locale/editor.dtd" >
%editorDTD;
<!ENTITY % editorOverlayDTD SYSTEM "chrome://editor/locale/editorOverlay.dtd" >
%editorOverlayDTD;
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
%brandDTD;
]>
<window id="editorWindow"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="EditorOnLoad()"
onunload="EditorShutdown()"
onclose="return EditorCanClose()"
onfocus="EditorOnFocus()"
contenttitlesetting="true"
titlemodifier="&editorWindow.titlemodifier;"
titlemenuseparator="&editorWindow.titlemodifiermenuseparator;"
windowtype="composer:html"
width="640" height="480"
screenX="10" screenY="10"
persist="screenX screenY width height sizemode">
<script type="application/x-javascript" src="chrome://editor/content/editor.js"/>
<script type="application/x-javascript" src="chrome://editor/content/EditorCommandsDebug.js"/>
<script type="application/x-javascript" src="chrome://editor/content/EditorContextMenu.js"/>
<script type="application/x-javascript" src="chrome://editor/content/StructBarContextMenu.js"/>
<script type="application/x-javascript" src="chrome://editor/content/editorApplicationOverlay.js"/>
<script type="application/x-javascript" src="chrome://editor/content/publishprefs.js"/>
<script type="application/x-javascript" src="chrome://communicator/content/contentAreaDD.js"/>
<script type="application/x-javascript" src="chrome://communicator/content/contentAreaClick.js"/>
<script type="application/x-javascript" src="chrome://communicator/content/printing.js"/>
<script type="application/x-javascript" src="chrome://global/content/nsTransferable.js"/>
<script type="application/x-javascript" src="chrome://global/content/nsDragAndDrop.js"/>
<popupset id="editorContentContextSet"/>
<popup id="sidebarPopup"/>
<commandset id="tasksCommands">
<commandset id="globalEditMenuItems"/>
<commandset id="selectEditMenuItems"/>
<commandset id="undoEditMenuItems"/>
<commandset id="clipboardEditMenuItems"/>
<commandset id="commonEditorMenuItems"/>
<commandset id="composerMenuItems"/>
<commandset id="composerEditMenuItems"/>
<commandset id="composerSaveMenuItems"/>
<commandset id="composerStyleMenuItems"/>
<commandset id="composerTableMenuItems"/>
<commandset id="composerListMenuItems"/>
<command id="toggleSidebar"/>
</commandset>
<tooltip id="aHTMLTooltip" onpopupshowing="return FillInHTMLTooltip(this);"/>
<broadcaster id="args" value="about:blank"/>
<broadcaster id="canPrint"/>
<!-- Interim hack to transition from nsIXULWindowCallbacks/ShowWindowWithArgs
<broadcaster id="dialog.start" ready="false"/>
<observes element="dialog.start" attribute="ready" onbroadcast="EditorStartup('html')"/>
-->
<broadcasterset id="broadcasterset">
<broadcaster id="Editor:Throbber" busy="false"/>
<broadcaster id="Communicator:WorkMode"/>
</broadcasterset>
<!-- keys are appended from the overlay -->
<keyset id="editorKeys">
<keyset id="tasksKeys"/>
<key id="showHideSidebar"/>
<!-- eat these tab events here to stop focus from moving -->
<key keycode="VK_TAB" oncommand="return true;"/>
<key keycode="VK_TAB" modifiers="shift" oncommand="return true;"/>
<key keycode="VK_TAB" modifiers="control" oncommand="return true;"/>
<key keycode="VK_TAB" modifiers="control,shift" oncommand="return true;"/>
</keyset>
<toolbox class="toolbox-top" id="EditorToolbox">
<menubar id="main-menubar" class="chromeclass-menubar" persist="collapsed" grippytooltiptext="&menuBar.tooltip;">
<menu id="fileMenu"/>
<menu id="editMenu"/>
<menu id="viewMenu" label="&viewMenu.label;" accesskey="&viewmenu.accesskey;">
<!-- id pulls in "Show Sidebar" item from sidebarOverlay -->
<menupopup id="menu_View_Popup">
<menu id="menu_Toolbars"/>
<menuseparator id="viewSep1"/>
<menuitem id="viewNormalMode" checked="true"/>
<menuitem id="viewAllTagsMode"/>
<menuitem id="viewSourceMode"/>
<menuitem id="viewPreviewMode"/>
<menuseparator id="viewSep1"/>
<menu id = "composerCharsetMenu" />
</menupopup>
</menu>
<menu id="insertMenu"/>
<menu id="formatMenu" label="&formatMenu.label;" accesskey="&formatmenu.accesskey;">
<menupopup id="formatMenuPopup">
<menuitem id="snapToGrid"/>
<menuseparator/>
<menuitem id="objectProperties"/>
<menuitem id="colorsAndBackground"/>
<menuitem id="pageProperties"/>
</menupopup>
</menu>
<menu id="tableMenu"/>
<!-- tasks menu filled from tasksOverlay -->
<menu id="tasksMenu">
<menupopup id="taskPopup">
<menuitem id="menu_validate" observes="cmd_validate"/>
<menuseparator id="sep_validate"/>
</menupopup>
</menu>
<!--menu id="windowMenu"/-->
<!-- DEBUG only -->
<menu id="debugMenu" />
<!-- end DEBUG only -->
<!-- help menu filled from globalOverlay -->
<menu id="menu_Help"/>
<spacer flex="1"/>
</menubar>
<!-- toolbar filled out from editorOverlay -->
<!-- add class="standard" for dark blue background (icons need rework first) -->
<toolbar class="chromeclass-toolbar toolbar-primary" id="EditToolbar" persist="collapsed"
tbalign="stretch" grippytooltiptext="&compositionToolbar.tooltip;">
<toolbarbutton id="newButton"/>
<toolbarbutton id="openButton"/>
<toolbarbutton id="saveButton"/>
<toolbarbutton id="publishButton"/>
<toolbarbutton id="previewButton"/>
<toolbarbutton id="cutButton"/>
<toolbarbutton id="copyButton"/>
<toolbarbutton id="pasteButton"/>
<toolbarbutton id="printButton"/>
<toolbarbutton id="findButton"/>
<toolbarseparator class="toolbarseparator-primary"/>
<toolbarbutton id="linkButton"/>
<toolbarbutton id="namedAnchorButton"/>
<toolbarbutton id="imageButton"/>
<toolbarbutton id="hlineButton"/>
<toolbarbutton id="tableButton"/>
<toolbarbutton id="spellingButton"/>
<spacer flex="1"/>
<hbox id="throbber-box" align="center">
<button id="navigator-throbber" oncommand="goClickThrobber('editor.throbber.url')" tooltiptext="&throbber.tooltip;">
<observes element="Editor:Throbber" attribute="busy"/>
</button>
</hbox>
</toolbar>
<toolbar class="chromeclass-toolbar" id="FormatToolbar" persist="collapsed" tbalign="center" grippytooltiptext="&formatToolbar.tooltip;">
<!-- from editorOverlay -->
<menulist id="ParagraphSelect"/>
<stack id="ColorButtons"/>
<toolbarbutton id="HighlightColorButton"/>
<toolbarseparator class="toolbarseparator-standard"/>
<toolbarbutton id="DecreaseFontSizeButton"/>
<toolbarbutton id="IncreaseFontSizeButton"/>
<toolbarseparator class="toolbarseparator-standard"/>
<toolbarbutton id="boldButton"/>
<toolbarbutton id="italicButton"/>
<toolbarbutton id="underlineButton"/>
<toolbarseparator class="toolbarseparator-standard"/>
<toolbarbutton id="ulButton"/>
<toolbarbutton id="olButton"/>
<toolbarbutton id="outdentButton"/>
<toolbarbutton id="indentButton"/>
<toolbarseparator class="toolbarseparator-standard"/>
<toolbarbutton id="align-left-button"/>
<toolbarbutton id="align-center-button"/>
<toolbarbutton id="align-right-button"/>
<toolbarbutton id="align-justify-button"/>
<toolbarbutton id="absolutePositionButton"/>
<toolbarbutton id="decreaseZIndexButton"/>
<toolbarbutton id="increaseZIndexButton"/>
<!-- TODO: Change to a menulist? -->
<!-- menu>
<button id="AlignPopupButton"/>
<menupopup id="AlignmentPopup"/>
</menu -->
<spacer flex="1"/>
</toolbar>
</toolbox>
<!-- sidebar/toolbar/content/status -->
<hbox id="sidebar-parent" flex="1">
<!-- From sidebarOverlay.xul -->
<vbox id="sidebar-box" class="chromeclass-extrachrome" hidden="true"/>
<splitter id="sidebar-splitter" class="chromeclass-extrachrome" hidden="true"/>
<vbox id="appcontent" flex="1">
<deck id="ContentWindowDeck" selectedIndex="0" flex="1">
<!-- KLUDGE: Temporary fix for bug 34414:
The current editor tag doesn't have a view,
which breaks deck frame-hiding mechanism
-->
<stack>
<editor editortype="html" type="content-primary" id="content-frame"
context="editorContentContext" flex="1" tooltip="aHTMLTooltip"/>
</stack>
<vbox>
<label id="doctype-text" crop="right"/>
<editor type="content" id="content-source" context="editorSourceContext" flex="1"/>
</vbox>
</deck>
<hbox id="EditModeToolbar" align="center" hidden="false" persist="collapsed">
<tabs id="EditModeTabs" class="tabs-bottom" flex="1">
<tab id="NormalModeButton"/>
<tab id="TagModeButton"/>
<tab id="SourceModeButton"/>
<tab id="PreviewModeButton"/>
</tabs>
</hbox>
</vbox> <!-- appcontent -->
</hbox><!-- sidebar-parent -->
<!-- Some of this is from globarOverlay.xul -->
<statusbar class="chromeclass-status" id="status-bar">
<!--statusbarpanel id="component-bar"/-->
<statusbarpanel id="structToolbar" flex="1" pack="end">
<label id="structSpacer" value="" flex="1"/>
</statusbarpanel>
<statusbarpanel class="statusbarpanel-iconic" id="offline-status"/>
</statusbar>
</window>

Просмотреть файл

@ -1,29 +1,45 @@
<?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.
-
<!-- ***** BEGIN LICENSE BLOCK *****
- Version: MPL 1.1/GPL 2.0/LGPL 2.1
-
- The contents of this file are subject to the Mozilla 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/MPL/
-
- 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.org.
-
- The Initial Developer of the Original Code is
- Netscape Communications Corporation.
- Portions created by the Initial Developer are Copyright (C) 1999
- the Initial Developer. All Rights Reserved.
-
- Contributor(s):
- Ryan Cassin (rcassin@supernova.org)
- Daniel Glazman (glazman@netscape.com)
- Aaron Kaluszka (ask@swva.net)
- Stephen Donner (technutz@netscape.net)
-->
- Ryan Cassin (rcassin@supernova.org)
- Daniel Glazman (glazman@netscape.com)
- Aaron Kaluszka (ask@swva.net)
- Stephen Donner (technutz@netscape.net)
- Daniel Glazman (daniel@glazman.org), on behalf of Lindows.com
-
- Alternatively, the contents of this file may be used under the terms of
- either the GNU General Public License Version 2 or later (the "GPL"), or
- the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- in which case the provisions of the GPL or the LGPL are applicable instead
- of those above. If you wish to allow use of your version of this file only
- under the terms of either the GPL or the LGPL, and not to allow others to
- use your version of this file under the terms of the MPL, indicate your
- decision by deleting the provisions above and replace them with the notice
- and other provisions required by the LGPL or the GPL. If you do not delete
- the provisions above, a recipient may use your version of this file under
- the terms of any one of the MPL, the GPL or the LGPL.
-
- ***** END LICENSE BLOCK ***** -->
<!DOCTYPE overlay SYSTEM "chrome://editor/locale/editorOverlay.dtd">
@ -33,6 +49,7 @@
<script type="application/x-javascript" src="chrome://editor/content/editorUtilities.js"/>
<script type="application/x-javascript" src="chrome://editor/content/ComposerCommands.js"/>
<script type="application/x-javascript" src="chrome://editor/content/calendarSmartWidgetOverlay.js"/>
<script type="application/x-javascript" src="chrome://editor/content/mainCore.js"/>
<keyset id="editorKeys">
<!-- defined in globalOverlay -->
@ -308,16 +325,15 @@
-->
<menu id="fileMenu" label="&fileMenu.label;" accesskey="&filemenu.accesskey;">
<menupopup id="menu_FilePopup" onpopupshowing="EditorInitFileMenu();">
<menu id="menu_New">
<menuitem id="menu_newBlankPage" label="&newBlankPageCmd.label;"
accesskey="&newBlankPage.accesskey;" key="key_newBlankPage"
command="cmd_newEditor"/>
<!--menu id="menu_New">
<menupopup id="menu_NewPopup">
<menuitem id="menu_newBlankPage" label="&newBlankPageCmd.label;"
accesskey="&newBlankPage.accesskey;" key="key_newBlankPage"
command="cmd_newEditor"/>
<menuseparator id="composerBeginGlobalNewItems"/>
<!-- From globalOverlay.xul -->
<menuitem id="menu_newNavigator" observes="cmd_newNavigator"/>
</menupopup>
</menu>
</menu-->
<menuitem accesskey="&fileopenremote.accesskey;" key="openremoteeditorkb" observes="cmd_openRemote"/>
<menuitem accesskey="&fileopen.accesskey;" key="openeditorkb" observes="cmd_open" label="&openFileCmd.label;"/>
<menu id="menu_RecentFiles" accesskey="&filerecentmenu.accesskey;" label="&fileRecentMenu.label;"
@ -393,6 +409,9 @@
<menuitem id="viewFormatToolbar" label="&formattingToolbarCmd.label;" type="checkbox" accesskey="&formattingtb.accesskey;" observes="cmd_viewFormatToolbar" />
<menuitem id="viewEditModeToolbar" label="&editmodeToolbarCmd.label;" type="checkbox" accesskey="&editmodetb.accesskey;" observes="cmd_viewEditModeToolbar" />
<menuitem id="viewTaskBar" label="&taskbarCmd.label;" type="checkbox" accesskey="&taskbarCmd.accesskey;" observes="cmd_viewtaskbar" />
<menuseparator />
<menuitem id="menu_customizeToolbar" oncommand="CustomizeMainToolbar('EditorToolbox');"
label="Customize toolbar" />
</menupopup>
</menu>
@ -408,6 +427,21 @@
<menupopup id="insertMenuPopup">
<menuitem id="insertImage" accesskey="&insertimage.accesskey;" observes="cmd_image" label="&insertImageCmd.label;"/>
<menuitem id="insertTable" accesskey="&inserttable.accesskey;" observes="cmd_InsertTable" label="&insertTableCmd.label;"/>
<menu accesskey="&insertformmenu.accesskey;" id="insertFormMenu" label="&insertFormMenu.label;">
<menupopup>
<menuitem accesskey="&insertform.accesskey;" command="cmd_form" label="&insertFormCmd.label;"/>
<menuseparator/>
<menuitem accesskey="&insertinputtag.accesskey;" command="cmd_inputtag" label="&insertInputTagCmd.label;"/>
<menuitem accesskey="&insertinputimage.accesskey;" command="cmd_inputimage" label="&insertInputImageCmd.label;"/>
<menuitem accesskey="&inserttextarea.accesskey;" command="cmd_textarea" label="&insertTextAreaCmd.label;"/>
<menuitem accesskey="&insertselect.accesskey;" command="cmd_select" label="&insertSelectCmd.label;"/>
<menuitem accesskey="&insertbutton.accesskey;" command="cmd_button" label="&insertButtonCmd.label;"/>
<menuitem accesskey="&insertlabel.accesskey;" command="cmd_label" label="&insertLabelCmd.label;"/>
<menuitem accesskey="&insertfieldset.accesskey;" command="cmd_fieldset" label="&insertFieldSetCmd.label;"/>
<menuseparator/>
<menuitem accesskey="&insertisindex.accesskey;" command="cmd_isindex" label="&insertIsIndexCmd.label;"/>
</menupopup>
</menu>
<menuitem id="insertLink" accesskey="&insertlink.accesskey;" observes="cmd_link" label="&insertLinkCmd.label;" key="insertlinkkb"/>
<menuitem id="insertAnchor" accesskey="&insertanchor.accesskey;" observes="cmd_anchor" label="&insertAnchorCmd.label;"/>
<menuitem id="insertHline" accesskey="&inserthline.accesskey;" observes="cmd_hline" label="&insertHLineCmd.label;"/>
@ -738,6 +772,27 @@
<toolbarbutton id="tableButton" class="toolbarbutton-1"
label="&tableToolbarCmd.label;" observes="cmd_table"
tooltiptext="&tableToolbarCmd.tooltip;"/>
<toolbarbutton id="formButton" class="toolbarbutton-1"
label="&formToolbarCmd.label;" type="menu-button" observes="cmd_form"
tooltiptext="&formToolbarCmd.tooltip;"
buttonaction="goDoCommand('cmd_form');">
<menupopup id="formMenu">
<menuitem accesskey="&insertform.accesskey;" command="cmd_form" label="&insertFormCmd.label;"
default="true"/>
<menuseparator/>
<menuitem accesskey="&insertinputtag.accesskey;" command="cmd_inputtag" label="&insertInputTagCmd.label;"/>
<menuitem accesskey="&insertinputimage.accesskey;" command="cmd_inputimage" label="&insertInputImageCmd.label;"/>
<menuitem accesskey="&inserttextarea.accesskey;" command="cmd_textarea" label="&insertTextAreaCmd.label;"/>
<menuitem accesskey="&insertselect.accesskey;" command="cmd_select" label="&insertSelectCmd.label;"/>
<menuitem accesskey="&insertbutton.accesskey;" command="cmd_button" label="&insertButtonCmd.label;"/>
<menuitem accesskey="&insertlabel.accesskey;" command="cmd_label" label="&insertLabelCmd.label;"/>
<menuitem accesskey="&insertfieldset.accesskey;" command="cmd_fieldset" label="&insertFieldSetCmd.label;"/>
<menuseparator/>
<menuitem accesskey="&insertisindex.accesskey;" command="cmd_isindex" label="&insertIsIndexCmd.label;"/>
</menupopup>
</toolbarbutton>
<toolbarbutton id="linkButton" class="toolbarbutton-1"
label="&linkToolbarCmd.label;" observes="cmd_link"
tooltiptext="&linkToolbarCmd.tooltip;"/>
@ -890,6 +945,20 @@
-->
<menuitem id="menu_pasteQuote" accesskey="&editpastequotation.accesskey;" observes="cmd_pasteQuote"/>
<menu label="Help" accesskey="H" id="helpMenu">
<menupopup id="menu_HelpPopup">
<menuitem accesskey="R" label="ReleaseNotes"
oncommand="loadThrobberUrl('mailnews.release_notes.url');"/>
<menuitem accesskey="H" label="Hint and Tips"
oncommand="loadThrobberUrl('mailnews.hints_and_tips.url');"/>
<menuseparator id="menu_HelpAboutSeparator"/>
<menuitem id="aboutName" accesskey="A"
label="About Composer"
oncommand="window.openDialog('chrome://editor/content/aboutDialog.xul', 'About', 'modal,centerscreen,chrome,resizable=no');"/>
</menupopup>
</menu>
<!-- DEBUG only -->
<menu id="debugMenu" label="&debugMenu.label;">
<menupopup>
@ -912,21 +981,6 @@
<menuitem id="menu_checkLinks" observes="cmd_checkLinks"
label="&checkLinksCmd.label;"/>
<menuseparator />
<menu accesskey="&insertformmenu.accesskey;" id="insertFormMenu" label="&insertFormMenu.label;">
<menupopup>
<menuitem accesskey="&insertform.accesskey;" command="cmd_form" label="&insertFormCmd.label;"/>
<menuseparator/>
<menuitem accesskey="&insertinputtag.accesskey;" command="cmd_inputtag" label="&insertInputTagCmd.label;"/>
<menuitem accesskey="&insertinputimage.accesskey;" command="cmd_inputimage" label="&insertInputImageCmd.label;"/>
<menuitem accesskey="&inserttextarea.accesskey;" command="cmd_textarea" label="&insertTextAreaCmd.label;"/>
<menuitem accesskey="&insertselect.accesskey;" command="cmd_select" label="&insertSelectCmd.label;"/>
<menuitem accesskey="&insertbutton.accesskey;" command="cmd_button" label="&insertButtonCmd.label;"/>
<menuitem accesskey="&insertlabel.accesskey;" command="cmd_label" label="&insertLabelCmd.label;"/>
<menuitem accesskey="&insertfieldset.accesskey;" command="cmd_fieldset" label="&insertFieldSetCmd.label;"/>
<menuseparator/>
<menuitem accesskey="&insertisindex.accesskey;" command="cmd_isindex" label="&insertIsIndexCmd.label;"/>
</menupopup>
</menu>
<menuitem label="&testSelectionCmd.label;"
oncommand="EditorTestSelection()"/>
<menuitem label="&testTableLayoutCmd.label;"

Просмотреть файл

Просмотреть файл

Просмотреть файл

@ -2,7 +2,82 @@ comm.jar:
+ content/editor/editor.xul (content/editor.xul)
+ content/editor/editorOverlay.xul (content/editorOverlay.xul)
+ content/editor/calendarSmartWidgetOverlay.js (content/calendarSmartWidgetOverlay.js)
+ content/editor/pref-toolbars.xul (content/pref-toolbars.xul)
+ content/editor/EditorContent.css (content/EditorContent.css)
+ content/editor/images/calendarSW.gif (images/calendarSW.gif)
*+ content/editor/aboutDialog.xul (content/aboutDialog.xul)
content/editor/about-composer.png (content/about-composer.png)
*+ content/editor/mainCore.js (content/mainCore.js)
+ content/editor/editor.js (content/editor.js)
en-US.jar:
+ locale/en-US/editor/editorOverlay.dtd (locale/en-US/editorOverlay.dtd)
+ locale/en-US/editor/editor.dtd (locale/en-US/editor.dtd)
+ locale/en-US/editor/pref-toolbars.dtd (locale/en-US/pref-toolbars.dtd)
locale/en-US/editor/aboutDialog.dtd (locale/en-US/aboutDialog.dtd)
classic.jar:
+ skin/classic/global/toolbarbutton.css (skin/toolbarbutton.css)
skin/classic/editor/editor.css (skin/editor.css)
+ skin/classic/communicator/brand/throbber-single.gif (skin/icons/throbber-single.gif)
skin/classic/editor/aboutDialog.css (skin/aboutDialog.css)
+ skin/classic/communicator/communicator.css (skin/communicator.css)
+ skin/classic/editor/editorPrimaryToolbar.css (skin/editorPrimaryToolbar.css)
+ skin/classic/editor/icons/btn1.gif (skin/icons/btn1.gif)
+ skin/classic/editor/icons/orbit-button2-anchor-active.png (skin/icons/orbit-button2-anchor-active.png)
+ skin/classic/editor/icons/orbit-button2-anchor-disabled.png (skin/icons/orbit-button2-anchor-disabled.png)
+ skin/classic/editor/icons/orbit-button2-anchor-hover.png (skin/icons/orbit-button2-anchor-hover.png)
+ skin/classic/editor/icons/orbit-button2-anchor.png (skin/icons/orbit-button2-anchor.png)
+ skin/classic/editor/icons/orbit-button2-ed-imap.png (skin/icons/orbit-button2-ed-imap.png)
+ skin/classic/editor/icons/orbit-button2-hline-active.png (skin/icons/orbit-button2-hline-active.png)
+ skin/classic/editor/icons/orbit-button2-hline-disabled.png (skin/icons/orbit-button2-hline-disabled.png)
+ skin/classic/editor/icons/orbit-button2-hline-hover.png (skin/icons/orbit-button2-hline-hover.png)
+ skin/classic/editor/icons/orbit-button2-hline.png (skin/icons/orbit-button2-hline.png)
+ skin/classic/editor/icons/orbit-button2-image-active.png (skin/icons/orbit-button2-image-active.png)
+ skin/classic/editor/icons/orbit-button2-image-disabled.png (skin/icons/orbit-button2-image-disabled.png)
+ skin/classic/editor/icons/orbit-button2-image-hover.png (skin/icons/orbit-button2-image-hover.png)
+ skin/classic/editor/icons/orbit-button2-image.png (skin/icons/orbit-button2-image.png)
+ skin/classic/editor/icons/orbit-button2-link-active.png (skin/icons/orbit-button2-link-active.png)
+ skin/classic/editor/icons/orbit-button2-link-disabled.png (skin/icons/orbit-button2-link-disabled.png)
+ skin/classic/editor/icons/orbit-button2-link-hover.png (skin/icons/orbit-button2-link-hover.png)
+ skin/classic/editor/icons/orbit-button2-link.png (skin/icons/orbit-button2-link.png)
+ skin/classic/editor/icons/orbit-button2-open-active.png (skin/icons/orbit-button2-open-active.png)
+ skin/classic/editor/icons/orbit-button2-open-disabled.png (skin/icons/orbit-button2-open-disabled.png)
+ skin/classic/editor/icons/orbit-button2-open-hover.png (skin/icons/orbit-button2-open-hover.png)
+ skin/classic/editor/icons/orbit-button2-open.png (skin/icons/orbit-button2-open.png)
+ skin/classic/editor/icons/orbit-button2-preview-active.png (skin/icons/orbit-button2-preview-active.png)
+ skin/classic/editor/icons/orbit-button2-preview-disabled.png (skin/icons/orbit-button2-preview-disabled.png)
+ skin/classic/editor/icons/orbit-button2-preview-hover.png (skin/icons/orbit-button2-preview-hover.png)
+ skin/classic/editor/icons/orbit-button2-preview.png (skin/icons/orbit-button2-preview.png)
+ skin/classic/editor/icons/orbit-button2-print-active.png (skin/icons/orbit-button2-print-active.png)
+ skin/classic/editor/icons/orbit-button2-print-disabled.png (skin/icons/orbit-button2-print-disabled.png)
+ skin/classic/editor/icons/orbit-button2-print-hover.png (skin/icons/orbit-button2-print-hover.png)
+ skin/classic/editor/icons/orbit-button2-print.png (skin/icons/orbit-button2-print.png)
+ skin/classic/editor/icons/orbit-button2-publish-active.png (skin/icons/orbit-button2-publish-active.png)
+ skin/classic/editor/icons/orbit-button2-publish-disabled.png (skin/icons/orbit-button2-publish-disabled.png)
+ skin/classic/editor/icons/orbit-button2-publish-hover.png (skin/icons/orbit-button2-publish-hover.png)
+ skin/classic/editor/icons/orbit-button2-publish.png (skin/icons/orbit-button2-publish.png)
+ skin/classic/editor/icons/orbit-button2-table-active.png (skin/icons/orbit-button2-table-active.png)
+ skin/classic/editor/icons/orbit-button2-table-disabled.png (skin/icons/orbit-button2-table-disabled.png)
+ skin/classic/editor/icons/orbit-button2-table-hover.png (skin/icons/orbit-button2-table-hover.png)
+ skin/classic/editor/icons/orbit-button2-table.png (skin/icons/orbit-button2-table.png)
+ skin/classic/editor/icons/orbit-button2-newmsg.png (skin/icons/orbit-button2-newmsg.png)
+ skin/classic/editor/icons/orbit-button2-newmsg-disabled.png (skin/icons/orbit-button2-newmsg-disabled.png)
+ skin/classic/editor/icons/orbit-button2-newmsg-active.png (skin/icons/orbit-button2-newmsg-active.png)
+ skin/classic/editor/icons/orbit-button2-newmsg-hover.png (skin/icons/orbit-button2-newmsg-hover.png)
+ skin/classic/editor/icons/orbit-button2-save.png (skin/icons/orbit-button2-save.png)
+ skin/classic/editor/icons/orbit-button2-save-disabled.png (skin/icons/orbit-button2-save-disabled.png)
+ skin/classic/editor/icons/orbit-button2-save-active.png (skin/icons/orbit-button2-save-active.png)
+ skin/classic/editor/icons/orbit-button2-save-hover.png (skin/icons/orbit-button2-save-hover.png)
+ skin/classic/editor/icons/orbit-button2-spell.png (skin/icons/orbit-button2-spell.png)
+ skin/classic/editor/icons/orbit-button2-spell-disabled.png (skin/icons/orbit-button2-spell-disabled.png)
+ skin/classic/editor/icons/orbit-button2-spell-active.png (skin/icons/orbit-button2-spell-active.png)
+ skin/classic/editor/icons/orbit-button2-spell-hover.png (skin/icons/orbit-button2-spell-hover.png)
+ skin/classic/editor/icons/orbit-button2-form.png (skin/icons/orbit-button2-form.png)
+ skin/classic/editor/icons/orbit-button2-form-disabled.png (skin/icons/orbit-button2-form-disabled.png)
+ skin/classic/editor/icons/orbit-button2-form-active.png (skin/icons/orbit-button2-form-active.png)
+ skin/classic/editor/icons/orbit-button2-form-hover.png (skin/icons/orbit-button2-form-hover.png)
toolkit.jar:
*+ content/global/customizeToolbar.xul (content/customizeToolbar.xul)
*+ content/global/customizeToolbar.js (content/customizeToolbar.js)

Просмотреть файл

Просмотреть файл

Просмотреть файл

@ -1,36 +1,52 @@
<!--
- 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.
-
<!-- ***** BEGIN LICENSE BLOCK *****
- Version: MPL 1.1/GPL 2.0/LGPL 2.1
-
- The contents of this file are subject to the Mozilla 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/MPL/
-
- 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-2000 Netscape Communications Corporation. All
- Rights Reserved.
-
-
- The Initial Developer of the Original Code is
- Netscape Communications Corporation.
- Portions created by the Initial Developer are Copyright (C) 1999
- the Initial Developer. All Rights Reserved.
-
- Contributor(s):
- Sammy Ford
- Blake Ross
- Ryan Cassin (rcassin@supernova.org)
- Daniel Glazman (glazman@netscape.com)
- Stephen Donner (technutz@netscape.net)
-->
- Daniel Glazman (daniel@glazman.org), on behalf of Lindows.com
-
- Alternatively, the contents of this file may be used under the terms of
- either the GNU General Public License Version 2 or later (the "GPL"), or
- the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- in which case the provisions of the GPL or the LGPL are applicable instead
- of those above. If you wish to allow use of your version of this file only
- under the terms of either the GPL or the LGPL, and not to allow others to
- use your version of this file under the terms of the MPL, indicate your
- decision by deleting the provisions above and replace them with the notice
- and other provisions required by the LGPL or the GPL. If you do not delete
- the provisions above, a recipient may use your version of this file under
- the terms of any one of the MPL, the GPL or the LGPL.
-
- ***** END LICENSE BLOCK ***** -->
<!-- Attn: Localization - some of the menus in this dialog directly affect mail also. -->
<!-- File menu items -->
<!ENTITY fileMenu.label "File">
<!ENTITY filemenu.accesskey "f">
<!ENTITY newBlankPageCmd.label "Composer Page">
<!ENTITY newBlankPageCmd.label "New Page">
<!ENTITY newBlankPage.accesskey "P" >
<!ENTITY newMenu.label "New">
<!ENTITY openFileCmd.label "Open File...">
@ -158,7 +174,7 @@
<!ENTITY inserthline.accesskey "o">
<!ENTITY insertTableCmd.label "Table...">
<!ENTITY inserttable.accesskey "t">
<!ENTITY insertFormMenu.label "Form">
<!ENTITY insertFormMenu.label "Form...">
<!ENTITY insertformmenu.accesskey "F">
<!ENTITY insertHTMLCmd.label "HTML...">
<!ENTITY insertHTMLCmd.accesskey "h">
@ -499,7 +515,7 @@
<!ENTITY menuBar.tooltip "Menu Bar">
<!ENTITY compositionToolbar.tooltip "Composition Toolbar">
<!ENTITY formatToolbar.tooltip "Formatting Toolbar">
<!ENTITY newToolbarCmd.tooltip "Create a new Composer page">
<!ENTITY newToolbarCmd.tooltip "Create a new page">
<!ENTITY openToolbarCmd.label "Open">
<!ENTITY openToolbarCmd.tooltip "Open a local file">
<!ENTITY saveToolbarCmd.tooltip "Save file to a local location">
@ -525,9 +541,12 @@
<!ENTITY textColorCaption.label "Text Color">
<!ENTITY TextColorButton.tooltip "Choose color for text">
<!ENTITY BackgroundColorButton.tooltip "Choose color for background">
<!ENTITY throbber.tooltip "Go to the &vendorShortName; home page">
<!ENTITY throbber.tooltip "This is Composer">
<!ENTITY HighlightColorButton.tooltip "Choose highlight color for text">
<!ENTITY formToolbarCmd.label "Form">
<!ENTITY formToolbarCmd.tooltip "Insert new form or edit selected form's properties">
<!-- Editor toolbar -->
<!ENTITY decreaseFontSizeToolbarCmd.tooltip "Smaller font size">
<!ENTITY increaseFontSizeToolbarCmd.tooltip "Larger font size">

Просмотреть файл

Просмотреть файл

Просмотреть файл

@ -0,0 +1,78 @@
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Joe Hewitt <hewitt@netscape.com>
* Daniel Glazman <daniel@glazman.org>, on behalf of Lindows.com
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
/* ==== communicator.css ====================================================
== Styles shared everywhere throughout the Communicator suite.
========================================================================== */
@import url("chrome://global/skin/");
@import url("chrome://communicator/content/communicator.css");
@import url("chrome://communicator/skin/formatting.css");
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
.toolbar-primary {
-moz-binding: url("chrome://global/content/widgets/toolbar.xml#toolbar");
}
/* ::::: throbber ::::: */
#navigator-throbber {
-moz-appearance: none;
-moz-user-focus: ignore;
margin: 0 !important;
border: none !important;
padding: 0px !important;
min-width: 0;
background-color: transparent;
list-style-image: url("chrome://editor/skin/icons/throbber-single.gif");
}
#navigator-throbber[busy="true"] {
list-style-image: url("chrome://editor/skin/icons/throbber-single.gif");
}
toolbar[iconsize="small"] #navigator-throbber,
toolbar[mode="text"] #navigator-throbber {
list-style-image: url("chrome://editor/skin/icons/throbber-small.png");
}
toolbar[iconsize="small"] #navigator-throbber[busy="true"],
toolbar[mode="text"] #navigator-throbber[busy="true"] {
list-style-image: url("chrome://editor/skin/icons/throbber-small.gif");
}

Просмотреть файл

@ -0,0 +1,44 @@
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998-1999
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Daniel Glazman <daniel@glazman.org>, on behalf of Lindows.com
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
@import url("chrome://editor/skin/");
@import url("chrome://editor/skin/editorPrimaryToolbar.css");
@import url("chrome://editor/skin/editorFormatToolbar.css");
@import url("chrome://editor/skin/editorModeToolbar.css");
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

Просмотреть файл

@ -0,0 +1,356 @@
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Joe Hewitt <hewitt@netscape.com>
* Daniel Glazman <daniel@glazman.org>, on behalf of Lindows.com
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* ::::: primary toolbar masthead ::::: */
#EditToolbar > .toolbar-holder > .toolbar-primary-icon {
background-image: url("chrome://editor/skin/icons/mast-editor.gif");
width: 57px;
}
.toolbar-primary-icon {
width: 57px;
}
/* ::::: primary toolbar buttons ::::: */
.toolbarbutton-1 {
-moz-box-orient: vertical;
}
.toolbarbutton-1[type="menu"] > .toolbarbutton-menu-dropmarker {
display: none;
}
toolbar[mode="icons"] .toolbarbutton-text {
display: none;
}
toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker,
toolbar[mode="text"] .toolbarbutton-icon {
display: none;
}
toolbar[mode="text"] .toolbarbutton-text {
padding: 0 !important;
margin: 3px 5px !important;
}
/* ::::: primary toolbar buttons ::::: */
.toolbarseparator-primary {
width: 9px !important;
}
#newButton {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-newmsg.png");
}
#newButton:hover {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-newmsg-hover.png");
}
#newButton:hover:active {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-newmsg-active.png");
}
#newButton[disabled="true"] {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-newmsg-disabled.png");
}
#openButton {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-open.png");
}
#openButton:hover {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-open-hover.png");
}
#openButton:hover:active {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-open-active.png");
}
#openButton[disabled="true"] {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-open-disabled.png");
}
#saveButton {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-save.png");
}
#saveButton:hover {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-save-hover.png");
}
#saveButton:hover:active {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-save-active.png");
}
#saveButton[disabled="true"] {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-save-disabled.png");
}
#publishButton {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-publish.png");
}
#publishButton:hover {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-publish-hover.png");
}
#publishButton:hover:active {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-publish-active.png");
}
#publishButton[disabled="true"] {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-publish-disabled.png");
}
#previewButton {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-preview.png");
}
#previewButton:hover {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-preview-hover.png");
}
#previewButton:hover:active {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-preview-active.png");
}
#previewButton[disabled="true"] {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-preview-disabled.png");
}
#copyButton {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-ed-imap.png");
-moz-image-region: rect(0 32px 32px 0);
}
#copyButton:hover {
-moz-image-region: rect(32px 32px 64px 0);
}
#copyButton:hover:active {
-moz-image-region: rect(64px 32px 96px 0);
}
#copyButton[disabled="true"] {
-moz-image-region: rect(96px 32px 128px 0);
}
#cutButton {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-ed-imap.png");
-moz-image-region: rect(0 64px 32px 32px);
}
#cutButton:hover {
-moz-image-region: rect(32px 64px 64px 32px);
}
#cutButton:hover:active {
-moz-image-region: rect(64px 64px 96px 32px);
}
#cutButton[disabled="true"] {
-moz-image-region: rect(96px 64px 128px 32px);
}
#findButton {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-ed-imap.png");
-moz-image-region: rect(0 128px 32px 96px);
}
#findButton:hover {
-moz-image-region: rect(32px 128px 64px 96px);
}
#findButton:hover:active {
-moz-image-region: rect(64px 128px 96px 96px);
}
#findButton[disabled="true"] {
-moz-image-region: rect(96px 128px 128px 96px);
}
#pasteButton {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-ed-imap.png");
-moz-image-region: rect(0 96px 32px 64px);
}
#pasteButton:hover {
-moz-image-region: rect(32px 96px 64px 64px);
}
#pasteButton:hover:active {
-moz-image-region: rect(64px 96px 96px 64px);
}
#pasteButton[disabled="true"] {
-moz-image-region: rect(96px 96px 128px 64px);
}
#printButton {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-print.png");
}
#printButton[buttonover="true"] {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-print-hover.png");
}
#printButton[buttondown="true"] {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-print-active.png");
}
#printButton[disabled="true"] {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-print-disabled.png");
}
#linkButton {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-link.png");
}
#linkButton:hover {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-link-hover.png");
}
#linkButton:hover:active {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-link-active.png");
}
#linkButton[disabled="true"] {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-link-disabled.png");
}
#imageButton {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-image.png");
}
#imageButton:hover {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-image-hover.png");
}
#imageButton:hover:active {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-image-active.png");
}
#imageButton[disabled="true"] {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-image-disabled.png");
}
#namedAnchorButton {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-anchor.png");
}
#namedAnchorButton:hover {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-anchor-hover.png");
}
#namedAnchorButton:hover:active {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-anchor-active.png");
}
#namedAnchorButton[disabled="true"] {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-anchor-disabled.png");
}
#hlineButton {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-hline.png");
}
#hlineButton:hover {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-hline-hover.png");
}
#hlineButton:hover:active {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-hline-active.png");
}
#hlineButton[disabled="true"] {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-hline-disabled.png");
}
#tableButton {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-table.png");
}
#tableButton:hover {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-table-hover.png");
}
#tableButton:hover:active {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-table-active.png");
}
#tableButton[disabled="true"] {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-table-disabled.png");
}
#spellingButton {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-spell.png");
}
#spellingButton:hover {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-spell-hover.png");
}
#spellingButton:hover:active {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-spell-active.png");
}
#spellingButton[disabled="true"] {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-spell-disabled.png");
}
#formButton {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-form.png");
}
#formButton:hover {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-form-hover.png");
}
#formButton:hover:active {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-form-active.png");
}
#formButton[disabled="true"] {
list-style-image: url("chrome://editor/skin/icons/orbit-button2-form-disabled.png");
}

Просмотреть файл

@ -0,0 +1,149 @@
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998-1999
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Joe Hewitt <hewitt@netscape.com>
* Daniel Glazman <daniel@glazman.org>, on behalf of Lindows.com
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
/* ===== toolbarbutton.css =====================================================
== Styles used by the XUL button element.
======================================================================= */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* ::::: toolbarbutton ::::: */
toolbarbutton {
-moz-appearance: toolbarbutton;
-moz-box-align: center;
-moz-box-pack: center;
margin: 0;
border: 1px solid transparent;
padding: 3px;
background-color: transparent;
color: -moz-DialogText;
}
.toolbarbutton-icon {
margin-right: 2px;
}
.toolbarbutton-text {
margin: 0 !important;
text-align: center;
}
toolbarbutton:hover,
toolbarbutton[buttonover="true"] {
border-color: ThreeDHighlight ThreeDShadow ThreeDShadow ThreeDHighlight;
}
toolbarbutton:hover:active,
toolbarbutton[open="true"] {
border-color: ThreeDShadow ThreeDHighlight ThreeDHighlight ThreeDShadow;
padding: 4px 2px 2px 4px;
}
toolbarbutton[disabled="true"],
toolbarbutton[disabled="true"]:hover,
toolbarbutton[disabled="true"]:hover:active,
toolbarbutton[disabled="true"][open="true"] {
border-color: transparent;
padding: 3px;
color: GrayText;
}
/* ..... checked state ..... */
toolbarbutton[checked="true"] {
border-color: ThreeDShadow ThreeDHighlight ThreeDHighlight ThreeDShadow !important;
padding: 4px 2px 2px 4px !important;
background-image: url("chrome://global/skin/toolbar/Lighten.png");
color: ButtonText !important;
}
/* ::::: toolbarbutton menu ::::: */
.toolbarbutton-menu-dropmarker {
list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
}
.toolbarbutton-menu-dropmarker[disabled="true"] {
list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif");
}
/* ::::: toolbarbutton menu-button ::::: */
toolbarbutton[type="menu-button"] {
-moz-box-align: stretch;
-moz-box-orient: horizontal !important;
-moz-appearance: dualbutton;
}
toolbarbutton[type="menu-button"],
toolbarbutton[type="menu-button"]:hover,
toolbarbutton[type="menu-button"]:hover:active,
toolbarbutton[type="menu-button"][open="true"],
toolbarbutton[type="menu-button"][disabled="true"],
toolbarbutton[type="menu-button"][disabled="true"]:hover,
toolbarbutton[type="menu-button"][disabled="true"]:hover:active {
border-style: none;
padding: 0;
}
.toolbarbutton-menubutton-button {
-moz-box-align: center;
-moz-box-pack: center;
-moz-box-orient: vertical;
}
/* .......... dropmarker .......... */
.toolbarbutton-menubutton-dropmarker {
-moz-box-align: center;
padding: 0 0 1px 0;
list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
-moz-appearance: dualbutton-dropdown;
}
.toolbarbutton-menubutton-dropmarker[disabled="true"] {
padding: 0 0 1px 0 !important;
list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif") !important;
}
toolbarbutton[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker,
toolbarbutton[type="menu-button"][buttondown="true"] > .toolbarbutton-menubutton-dropmarker {
padding: 1px 0 0 0;
}