Annotation of kupuMPIWG/plone/toolbar.kupu, revision 1.1

1.1     ! dwinter     1: <kupu:feature
        !             2:     name="toolbar"
        !             3:     implementation="plone"
        !             4:     xmlns="http://www.w3.org/1999/xhtml"
        !             5:     xmlns:kupu="http://kupu.oscom.org/namespaces/dist"
        !             6:     xmlns:i18n="http://xml.zope.org/namespaces/i18n"
        !             7:     xmlns:tal="http://xml.zope.org/namespaces/tal"
        !             8:     >
        !             9: <kupu:id>$Id: toolbar.kupu 15693 2005-08-05 14:14:33Z duncan $</kupu:id>
        !            10: 
        !            11:   <kupu:part name="logo">
        !            12:     <span class="kupu-tb-buttongroup kupu-logo" style="float: right">
        !            13:       <button type="button" class="kupu-logo" title="Kupu 1.3 rc2" accesskey="k" id="kupu-logo-button"
        !            14:               onclick="window.open('http://kupu.oscom.org');"
        !            15:               tal:attributes="tabindex python:tabindex+1;">&#160;</button>
        !            16:     </span>
        !            17:   </kupu:part>
        !            18: 
        !            19:   <kupu:part name="select-styles">
        !            20:     <select class="kupu-tb-styles">
        !            21:       <option value="p" i18n:translate="">Normal</option>
        !            22:       <tal:block condition="here/kupu_library_tool/getParagraphStyles|nothing"
        !            23:         repeat="style here/kupu_library_tool/getParagraphStyles">
        !            24:         <option i18n:translate=""
        !            25:                 tal:define="parts python:style.split('|',1)+['','']"
        !            26:                 tal:attributes="value python:parts[1]" tal:content="python:parts[0]"/>
        !            27:       </tal:block>
        !            28:       <tal:block tal:condition="field/widget/parastyles|nothing">
        !            29:         <option
        !            30:             tal:condition="field/widget/parastyles"
        !            31:             tal:repeat="style field/widget/parastyles"
        !            32:             tal:attributes="value python:style[0]"
        !            33:             tal:content="python:style[1]"
        !            34:             />
        !            35:       </tal:block>
        !            36:     </select>
        !            37:   </kupu:part>
        !            38: </kupu:feature>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>