[ Index ]
 

Code source de Kupu-1.3.5

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/default/ -> toolbar.kupu (source)

   1  <?xml version="1.0" ?>
   2  <kupu:feature
   3      name="toolbar"
   4      implementation="default"
   5      xmlns="http://www.w3.org/1999/xhtml"
   6      xmlns:kupu="http://kupu.oscom.org/namespaces/dist"
   7      xmlns:i18n="http://xml.zope.org/namespaces/i18n"
   8      i18n:domain="kupu"
   9      >
  10    <kupu:id>$Id: toolbar.kupu 22958 2006-02-02 13:52:44Z guido $</kupu:id>
  11  
  12    <kupu:part name="toolbar">
  13      <div class="kupu-tb" id="toolbar">
  14        <kupu:define-slot name="toolbar" />
  15      </div>
  16    </kupu:part>
  17  
  18    <kupu:part name="buttons">
  19      <span id="kupu-tb-buttons" class="kupu-tb-buttons">
  20        <kupu:define-slot name="toolbar-buttons" />
  21      </span>
  22    </kupu:part>
  23  
  24    <kupu:part name="liststyles">
  25      <select id="kupu-ulstyles" class="kupu-ulstyles">
  26        <option value="disc" i18n:translate="list-disc">&#9679;</option>
  27        <option value="square" i18n:translate="list-square">&#9632;</option>
  28        <option value="circle" i18n:translate="list-circle">&#9675;</option>
  29        <option value="none" i18n:translate="list-nobullet">no bullet</option>
  30      </select>
  31      <select id="kupu-olstyles" class="kupu-olstyles">
  32        <option value="decimal" 
  33                i18n:translate="list-decimal">1</option>
  34        <option value="upper-roman" 
  35                i18n:translate="list-upperroman">I</option>
  36        <option value="lower-roman" 
  37                i18n:translate="list-lowerroman">i</option>
  38        <option value="upper-alpha" 
  39                i18n:translate="list-upperalpha">A</option>
  40        <option value="lower-alpha" 
  41                i18n:translate="list-loweralpha">a</option>
  42      </select>
  43    </kupu:part>
  44  
  45    <kupu:part name="zoom">
  46      <span class="kupu-tb-buttongroup" style="float: right" id="kupu-zoom">
  47        <button type="button" class="kupu-zoom" id="kupu-zoom-button"
  48                  i18n:attributes="title"
  49                  title="zoom: alt-x" accesskey="x">&#160;</button>
  50      </span>
  51    </kupu:part>
  52  
  53    <kupu:part name="logo">
  54      <span class="kupu-tb-buttongroup kupu-logo" style="float: right" id="kupu-logo">
  55        <button type="button" class="kupu-logo" title="Kupu 1.3.5" 
  56                i18n:attributes="title" accesskey="k"
  57                onclick="window.open('http://kupu.oscom.org');">&#160;</button>
  58      </span>
  59    </kupu:part>
  60  
  61    <kupu:part name="select-styles">
  62      <select id="kupu-tb-styles">
  63        <option value="P" i18n:translate="">
  64          Normal
  65        </option>
  66        <option value="H1">
  67          <span i18n:translate="">Heading 1</span>
  68        </option>
  69        <option value="H2">
  70          <span i18n:translate="">Heading 2</span>
  71        </option>
  72        <option value="H3">
  73          <span i18n:translate="">Heading 3</span>
  74        </option>
  75        <option value="H4">
  76          <span i18n:translate="">Heading 4</span>
  77        </option>
  78        <option value="H5">
  79          <span i18n:translate="">Heading 5</span>
  80        </option>
  81        <option value="H6">
  82          <span i18n:translate="">Heading 6</span>
  83        </option>
  84        <option value="PRE" i18n:translate="">
  85          Formatted
  86        </option>
  87      </select>
  88    </kupu:part>
  89  
  90    <kupu:part name="buttongroup-basicmarkup">
  91      <span class="kupu-tb-buttongroup" id="kupu-bg-basicmarkup">
  92        <button type="button" class="kupu-bold" id="kupu-bold-button" title="bold: alt-b"
  93                i18n:attributes="title" accesskey="b">&#160;</button>
  94        <button type="button" class="kupu-italic" id="kupu-italic-button" title="italic: alt-i"
  95                i18n:attributes="title" accesskey="i">&#160;</button>
  96        <button type="button" class="kupu-underline" id="kupu-underline-button" title="underline: alt-u"
  97                i18n:attributes="title" accesskey="u">&#160;</button>
  98      </span>
  99    </kupu:part>
 100  
 101    <kupu:part name="buttongroup-subsuper">
 102      <span class="kupu-tb-buttongroup" id="kupu-bg-subsuper">
 103        <button type="button" class="kupu-subscript" id="kupu-subscript-button" title="subscript: alt--"
 104                i18n:attributes="title" accesskey="-">&#160;</button>
 105        <button type="button" class="kupu-superscript" id="kupu-superscript-button" title="superscript: alt-+"
 106                i18n:attributes="title" accesskey="+">&#160;</button>
 107      </span>
 108    </kupu:part>
 109  
 110    <kupu:part name="buttongroup-justify">
 111      <span class="kupu-tb-buttongroup" id="kupu-bg-justify">
 112        <button type="button" class="kupu-justifyleft" id="kupu-justifyleft-button" 
 113                title="left justify: alt-l" i18n:attributes="title"
 114                accesskey="l">&#160;</button>
 115        <button type="button" class="kupu-justifycenter" 
 116                id="kupu-justifycenter-button" title="center justify: alt-c" 
 117                i18n:attributes="title" accesskey="c">&#160;</button>
 118        <button type="button" class="kupu-justifyright" 
 119                id="kupu-justifyright-button" title="right justify: alt-r"
 120                i18n:attributes="title" accesskey="r">&#160;</button>
 121      </span>
 122    </kupu:part>
 123  
 124    <kupu:part name="buttongroup-list">
 125                <span class="kupu-tb-buttongroup" id="kupu-bg-list">
 126        <!-- list button events are set on the list tool -->
 127        <button type="button" class="kupu-insertorderedlist" 
 128                title="numbered list: alt-#" id="kupu-list-ol-addbutton" 
 129                i18n:attributes="title" accesskey="#">&#160;</button>
 130        <button type="button" class="kupu-insertunorderedlist" 
 131                title="unordered list: alt-*" id="kupu-list-ul-addbutton" 
 132                i18n:attributes="title" accesskey="*">&#160;</button>
 133                </span>
 134    </kupu:part>
 135  
 136    <kupu:part name="buttongroup-definitionlist">
 137      <span class="kupu-tb-buttongroup" id="kupu-bg-definitionlist">
 138        <!-- list button events are set on the list tool -->
 139        <button type="button" class="kupu-insertdefinitionlist" 
 140                title="definition list: alt-=" id="kupu-list-dl-addbutton" 
 141                i18n:attributes="title" accesskey="=">&#160;</button>
 142      </span>
 143    </kupu:part>
 144  
 145    <kupu:part name="buttongroup-indent">
 146      <span class="kupu-tb-buttongroup" id="kupu-bg-indent">
 147        <button type="button" class="kupu-outdent" 
 148                id="kupu-outdent-button" title="outdent: alt-&lt;"
 149                i18n:attributes="title" accesskey="&lt;">&#160;</button>
 150        <button type="button" class="kupu-indent" 
 151                id="kupu-indent-button" title="indent: alt-&gt;"
 152                i18n:attributes="title" accesskey="&gt;">&#160;</button>
 153      </span>
 154    </kupu:part>
 155  
 156    <kupu:part name="buttongroup-undo">
 157      <span class="kupu-tb-buttongroup" id="kupu-bg-undo">
 158        <button type="button" class="kupu-undo" 
 159                id="kupu-undo-button" title="undo: alt-z"
 160                i18n:attributes="title" accesskey="z">&#160;</button>
 161        <button type="button" class="kupu-redo" 
 162                id="kupu-redo-button" title="redo: alt-y"
 163                i18n:attributes="title" accesskey="y">&#160;</button>
 164      </span>
 165    </kupu:part>
 166  
 167    <kupu:part name="buttongroup-remove">
 168      <span class="kupu-tb-buttongroup" id="kupu-bg-remove">
 169        <button type="button" class="kupu-removeimage invisible"
 170                id="kupu-removeimage-button" title="Remove image"
 171                i18n:attributes="title">&#160;</button>
 172        <button type="button" class="kupu-removelink invisible"
 173                id="kupu-removelink-button" title="Remove link"
 174                i18n:attributes="title">&#160;</button>
 175      </span>
 176    </kupu:part>
 177  
 178    <!-- We will have the button tool configuration here, too, once we
 179         do tool definitions in XML config. -->
 180  
 181  </kupu:feature>


Généré le : Sun Feb 25 15:30:41 2007 par Balluche grâce à PHPXref 0.7