gecko-dev/editor/ui/composer/content/pref-toolbars.xul
2003-03-14 15:23:53 +00:00

127 lines
5.9 KiB
XML

<?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 Editor Toolbar Preferences.
-
- The Initial Developer of the Original Code is
- Neil Rashbrook.
- Portions created by the Initial Developer are Copyright (C) 2003
- the Initial Developer. All Rights Reserved.
-
- Contributor(s): Neil Rashbrook <neil@parkwaycc.co.uk>
-
- 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 ***** -->
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<!DOCTYPE page SYSTEM "chrome://editor/locale/pref-toolbars.dtd">
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="parent.initPanel('chrome://editor/content/pref-toolbars.xul');"
headertitle="&header.title;">
<script type="application/x-javascript">
<![CDATA[
var _elementIDs = [
"showNew", "showOpen", "showSave", "showPublish", "showPreview", "showSmaller", "showLarger", "showBold",
"showCut", "showCopy", "showPaste", "showPrint", "showFind", "showBullets", "showNumbers", "showItalic",
"showImage", "showHline", "showTable", "showLink", "showAnchor", "showOutdent", "showIndent", "showUnderline"];
]]>
</script>
<groupbox orient="horizontal">
<caption label="&composition.caption;"/>
<vbox flex="1">
<checkbox label="&new.label;" id="showNew"
prefstring="editor.toolbars.showbutton.new"/>
<checkbox label="&open.label;" id="showOpen"
prefstring="editor.toolbars.showbutton.open"/>
<checkbox label="&save.label;" id="showSave"
prefstring="editor.toolbars.showbutton.save"/>
<checkbox label="&publish.label;" id="showPublish"
prefstring="editor.toolbars.showbutton.publish"/>
<checkbox label="&preview.label;" id="showPreview"
prefstring="editor.toolbars.showbutton.preview"/>
</vbox>
<vbox flex="1">
<checkbox label="&cut.label;" id="showCut"
disabled="true"
prefstring="editor.toolbars.showbutton.cut"/>
<checkbox label="&copy.label;" id="showCopy"
disabled="true"
prefstring="editor.toolbars.showbutton.copy"/>
<checkbox label="&paste.label;" id="showPaste"
disabled="true"
prefstring="editor.toolbars.showbutton.paste"/>
<checkbox label="&print.label;" id="showPrint"
prefstring="editor.toolbars.showbutton.print"/>
<checkbox label="&find.label;" id="showFind"
disabled="true"
prefstring="editor.toolbars.showbutton.find"/>
</vbox>
<vbox flex="1">
<checkbox label="&image.label;" id="showImage"
prefstring="editor.toolbars.showbutton.image"/>
<checkbox label="&hline.label;" id="showHline"
prefstring="editor.toolbars.showbutton.hline"/>
<checkbox label="&table.label;" id="showTable"
prefstring="editor.toolbars.showbutton.table"/>
<checkbox label="&link.label;" id="showLink"
prefstring="editor.toolbars.showbutton.link"/>
<checkbox label="&anchor.label;" id="showAnchor"
prefstring="editor.toolbars.showbutton.namedAnchor"/>
</vbox>
</groupbox>
<groupbox orient="horizontal">
<caption label="&formatting.caption;"/>
<vbox flex="1">
<checkbox label="&smaller.label;" id="showSmaller"
prefstring="editor.toolbars.showbutton.DecreaseFontSize"/>
<checkbox label="&larger.label;" id="showLarger"
prefstring="editor.toolbars.showbutton.IncreaseFontSize"/>
<checkbox label="&bold.label;" id="showBold"
prefstring="editor.toolbars.showbutton.bold"/>
</vbox>
<vbox flex="1">
<checkbox label="&bullets.label;" id="showBullets"
prefstring="editor.toolbars.showbutton.ul"/>
<checkbox label="&numbers.label;" id="showNumbers"
prefstring="editor.toolbars.showbutton.ol"/>
<checkbox label="&italic.label;" id="showItalic"
prefstring="editor.toolbars.showbutton.italic"/>
</vbox>
<vbox flex="1">
<checkbox label="&outdent.label;" id="showOutdent"
prefstring="editor.toolbars.showbutton.outdent"/>
<checkbox label="&indent.label;" id="showIndent"
prefstring="editor.toolbars.showbutton.indent"/>
<checkbox label="&underline.label;" id="showUnderline"
prefstring="editor.toolbars.showbutton.underline"/>
</vbox>
</groupbox>
</page>