~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/editor/ui/composer/content/pref-toolbars.xul

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<!-- ***** BEGIN LICENSE BLOCK *****
 
3
   - Version: MPL 1.1/GPL 2.0/LGPL 2.1
 
4
   -
 
5
   - The contents of this file are subject to the Mozilla Public License Version
 
6
   - 1.1 (the "License"); you may not use this file except in compliance with
 
7
   - the License. You may obtain a copy of the License at
 
8
   - http://www.mozilla.org/MPL/
 
9
   -
 
10
   - Software distributed under the License is distributed on an "AS IS" basis,
 
11
   - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 
12
   - for the specific language governing rights and limitations under the
 
13
   - License.
 
14
   -
 
15
   - The Original Code is Editor Toolbar Preferences.
 
16
   -
 
17
   - The Initial Developer of the Original Code is
 
18
   - Neil Rashbrook.
 
19
   - Portions created by the Initial Developer are Copyright (C) 2003
 
20
   - the Initial Developer. All Rights Reserved.
 
21
   -
 
22
   - Contributor(s): Neil Rashbrook <neil@parkwaycc.co.uk>
 
23
   -
 
24
   - Alternatively, the contents of this file may be used under the terms of
 
25
   - either the GNU General Public License Version 2 or later (the "GPL"), or
 
26
   - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 
27
   - in which case the provisions of the GPL or the LGPL are applicable instead
 
28
   - of those above. If you wish to allow use of your version of this file only
 
29
   - under the terms of either the GPL or the LGPL, and not to allow others to
 
30
   - use your version of this file under the terms of the MPL, indicate your
 
31
   - decision by deleting the provisions above and replace them with the notice
 
32
   - and other provisions required by the LGPL or the GPL. If you do not delete
 
33
   - the provisions above, a recipient may use your version of this file under
 
34
   - the terms of any one of the MPL, the GPL or the LGPL.
 
35
   -
 
36
   - ***** END LICENSE BLOCK ***** -->
 
37
 
 
38
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
 
39
 
 
40
<!DOCTYPE page SYSTEM "chrome://editor/locale/pref-toolbars.dtd">
 
41
 
 
42
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
 
43
      onload="parent.initPanel('chrome://editor/content/pref-toolbars.xul');"
 
44
      headertitle="&header.title;">
 
45
 
 
46
  <script type="application/x-javascript">
 
47
  <![CDATA[
 
48
    var _elementIDs = [
 
49
      "showNew", "showOpen", "showSave", "showPublish", "showPreview", "showSmaller", "showLarger", "showBold",
 
50
      "showCut", "showCopy", "showPaste", "showPrint", "showFind", "showBullets", "showNumbers", "showItalic",
 
51
      "showImage", "showHline", "showTable", "showLink", "showAnchor", "showOutdent", "showIndent", "showUnderline",
 
52
      "showAbsolutePosition", "showDecreaseZIndex", "showIncreaseZIndex" ];
 
53
  ]]>
 
54
  </script>        
 
55
 
 
56
  <groupbox orient="horizontal">
 
57
    <caption label="&composition.caption;"/>
 
58
    <vbox flex="1">
 
59
      <checkbox label="&new.label;"       id="showNew"
 
60
                prefstring="editor.toolbars.showbutton.new"/>
 
61
      <checkbox label="&open.label;"      id="showOpen"
 
62
                prefstring="editor.toolbars.showbutton.open"/>
 
63
      <checkbox label="&save.label;"      id="showSave"
 
64
                prefstring="editor.toolbars.showbutton.save"/>
 
65
      <checkbox label="&publish.label;"   id="showPublish"
 
66
                prefstring="editor.toolbars.showbutton.publish"/>
 
67
      <checkbox label="&preview.label;"   id="showPreview"
 
68
                prefstring="editor.toolbars.showbutton.preview"/>
 
69
    </vbox>
 
70
    <vbox flex="1">
 
71
      <checkbox label="&cut.label;"       id="showCut"
 
72
                prefstring="editor.toolbars.showbutton.cut"/>
 
73
      <checkbox label="&copy.label;"      id="showCopy"
 
74
                prefstring="editor.toolbars.showbutton.copy"/>
 
75
      <checkbox label="&paste.label;"     id="showPaste"
 
76
                prefstring="editor.toolbars.showbutton.paste"/>
 
77
      <checkbox label="&print.label;"     id="showPrint"
 
78
                prefstring="editor.toolbars.showbutton.print"/>
 
79
      <checkbox label="&find.label;"      id="showFind"
 
80
                prefstring="editor.toolbars.showbutton.find"/>
 
81
    </vbox>
 
82
    <vbox flex="1">
 
83
      <checkbox label="&image.label;"     id="showImage"
 
84
                prefstring="editor.toolbars.showbutton.image"/>
 
85
      <checkbox label="&hline.label;"     id="showHline"
 
86
                prefstring="editor.toolbars.showbutton.hline"/>
 
87
      <checkbox label="&table.label;"     id="showTable"
 
88
                prefstring="editor.toolbars.showbutton.table"/>
 
89
      <checkbox label="&link.label;"      id="showLink"
 
90
                prefstring="editor.toolbars.showbutton.link"/>
 
91
      <checkbox label="&anchor.label;"    id="showAnchor"
 
92
                prefstring="editor.toolbars.showbutton.namedAnchor"/>
 
93
    </vbox>
 
94
  </groupbox>
 
95
 
 
96
  <groupbox orient="horizontal">
 
97
    <caption label="&formatting.caption;"/>
 
98
    <vbox flex="1">
 
99
      <checkbox label="&smaller.label;"   id="showSmaller"
 
100
                prefstring="editor.toolbars.showbutton.DecreaseFontSize"/>
 
101
      <checkbox label="&larger.label;"    id="showLarger"
 
102
                prefstring="editor.toolbars.showbutton.IncreaseFontSize"/>
 
103
      <checkbox label="&bold.label;"      id="showBold"
 
104
                prefstring="editor.toolbars.showbutton.bold"/>
 
105
      <checkbox label="&absolutePosition.label;" id="showAbsolutePosition"
 
106
                prefstring="editor.toolbars.showbutton.absolutePosition"/>
 
107
    </vbox>
 
108
    <vbox flex="1">
 
109
      <checkbox label="&bullets.label;"   id="showBullets"
 
110
                prefstring="editor.toolbars.showbutton.ul"/>
 
111
      <checkbox label="&numbers.label;"   id="showNumbers"
 
112
                prefstring="editor.toolbars.showbutton.ol"/>
 
113
      <checkbox label="&italic.label;"    id="showItalic"
 
114
                prefstring="editor.toolbars.showbutton.italic"/>
 
115
      <checkbox label="&decreaseZIndex.label;" id="showDecreaseZIndex"
 
116
                prefstring="editor.toolbars.showbutton.decreaseZIndex"/>
 
117
    </vbox>
 
118
    <vbox flex="1">
 
119
      <checkbox label="&outdent.label;"   id="showOutdent"
 
120
                prefstring="editor.toolbars.showbutton.outdent"/>
 
121
      <checkbox label="&indent.label;"    id="showIndent"
 
122
                prefstring="editor.toolbars.showbutton.indent"/>
 
123
      <checkbox label="&underline.label;" id="showUnderline"
 
124
                prefstring="editor.toolbars.showbutton.underline"/>
 
125
      <checkbox label="&increaseZIndex.label;" id="showIncreaseZIndex"
 
126
                prefstring="editor.toolbars.showbutton.increaseZIndex"/>
 
127
    </vbox>
 
128
  </groupbox>
 
129
</page>