<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- $Id: config.xml,v 1.14 2004/02/20 15:06:48 chregu Exp $ -->
<config>
    <files>
        <input>
            <!-- The XML-document with the actual data -->
            <file name="BX_xmlfile" isConfigParam="true">xmlfile</file>
           <!-- The xhtml with the appropriate div tag (e.g. <div bxe_xpath="/xhtml:html/lenya:meta/dc:title" />)
                 An xhtml file can be used instead of an xsl to provide the page layout of the non-editable part -->
            <file name="BX_xhtmlfile" isConfigParam="true">xhtmlfile</file>

            <!-- The XSL-document which transforms the xml to the output format -->
            
            <!-- The RelaxNG (XML Schema) -->
            <!--<file name="BX_validationfile"><webroot/>admin/bxe/doctypes/schemas/dreispalt-merged.rng</file>-->
            <file name="BX_validationfile">
                <webroot/>admin/bxe/doctypes/schemas/bxe.rng</file>
        </input>
        <output>
            <file name="BX_exitdestination" isConfigParam="true">exit</file>

        </output>
        
        <!-- You can't provide a different "method" than http.get for the following files -->
        <css>
            <!-- Document specific css, which you should adjust.  -->
            <file>
                <webroot/>webinc/bxe/css/editor.css</file>
            <file>
                <webroot/>webinc/bxe/css/kupudrawerstyles.css</file>
            <file>
                <webroot/>themes/<theme/>/css/<themeCss/>
            </file>
            <file>
                <webroot/>themes/<theme/>/css/bxe-additions.css</file>
        </css>

        <scripts>
        <!-- These are the to be included js files 
        the important .js files are included by bxeLoader.js, but you should
        not have to worry about them. 
        You can also add your own js-files here.
        -->

            <file>js/bxehtmltb.js</file>
            <file>js/table.js</file>
            <file>mozile/jsdav.js</file>
            <file>mozile/td/webdav.js</file>
            <file>mozile/mozilekb.js</file>
            <file>relaxng/AttributeVDOM.js</file>
            <file>relaxng/NodeVDOM.js</file>
            <file>relaxng/DocumentVDOM.js</file>
            <file>relaxng/ElementVDOM.js</file>
            <file>relaxng/DocumentVAL.js</file>
            <file>relaxng/NodeVAL.js</file>
            <file>relaxng/ElementVAL.js</file>
            <file>relaxng/RelaxNG.js</file>
            <file>../bxecms/bxcms.js</file>
        </scripts>


    </files>

    <buttons>

        <dimension width="120" height="140" buttonwidth="20" buttonheight="20"/>
        <button name="b" col="1" row="1" action="ToggleTextClass" ns="http://www.w3.org/1999/xhtml"/>
        <button name="i" col="0" row="1" action="ToggleTextClass" ns="http://www.w3.org/1999/xhtml"/>

        <button name="sub" col="4" row="1" action="ToggleTextClass" ns="http://www.w3.org/1999/xhtml"/>
        <button name="sup" col="5" row="1" action="ToggleTextClass" ns="http://www.w3.org/1999/xhtml"/>
        <button name="clean_inline" col="0" row="6" action="CleanInline"/>
        <button name="link" col="0" row="5" action="InsertLink"/>
        <button name="unlink" col="1" row="5" action="DeleteLink"/>
        
        <button name="link_resource" col="3" row="4" type="insertElement" ns="http://www.w3.org/1999/xhtml">a</button>
        <button name="Image" col="3" row="5" type="insertElement" ns="http://www.w3.org/1999/xhtml">img</button>

        <button name="create_table" col="2" row="5" action="InsertTable"/>
        <button name="Unordered_List" col="3" row="2" action="UnorderedList"/>
        <button name="Ordered_List" col="2" row="2" action="OrderedList"/>

        <button name="Copy" col="0" row="4" action="ClipboardCopy"/>
        <button name="Cut" col="1" row="4" action="ClipboardCut"/>
        <button name="Paste" col="2" row="4" action="ClipboardPaste"/>
        <button name="PasteDialog" col="4" row="4" action="ClipboardPasteDialog"/>

        
        <button name="Save" col="1" row="6" action="DocumentSave"/>
        <button name="Undo" col="3" row="6" action="Undo"/>
        <button name="Redo" col="4" row="6" action="Redo"/>
        <button name="Asset" col="2" row="6" action="ShowAssetDrawer"/>

    </buttons>
    <callbacks>
        <!--
        <element name="object" ns="http://www.w3.org/1999/xhtml" type="popup">?lenya.usecase=bxeng&amp;lenya.step=image-upload-show</element>
        -->
        <element name="a" ns="http://www.w3.org/1999/xhtml" type="function">BxeFCKBrowser_Open</element>
        <element name="img" ns="http://www.w3.org/1999/xhtml" type="function">bxe_showImageDrawer</element>

        <element name="table" ns="http://www.w3.org/1999/xhtml" type="function">bxe_InsertTableCallback</element>
       <!-- <element name="a" ns="http://www.w3.org/1999/xhtml" type="popup">?lenya.usecase=bxeng&amp;lenya.step=link-show</element>-->
    </callbacks>
    <context type="dontShow">
        <!-- don't show on blocklevel elements for appending (and element chooser on top left) -->

        <element name="a" ns="http://www.w3.org/1999/xhtml" blockLevelOnly="true"/>
        <element name="b" ns="http://www.w3.org/1999/xhtml" blockLevelOnly="true"/>
        <element name="i" ns="http://www.w3.org/1999/xhtml" blockLevelOnly="true"/>
        <element name="em" ns="http://www.w3.org/1999/xhtml" blockLevelOnly="true"/>
        <element name="strong" ns="http://www.w3.org/1999/xhtml" blockLevelOnly="true"/>
        <element name="sup" ns="http://www.w3.org/1999/xhtml" blockLevelOnly="true"/>
        <element name="sub" ns="http://www.w3.org/1999/xhtml" blockLevelOnly="true"/>
        <element name="code" ns="http://www.w3.org/1999/xhtml" blockLevelOnly="true"/>
        <element name="span" ns="http://www.w3.org/1999/xhtml" blockLevelOnly="true"/>
        <element name="br" ns="http://www.w3.org/1999/xhtml" blockLevelOnly="true"/>

        <element name="text" ns="http://apache.org/cocoon/i18n/2.1" blockLevelOnly="true"/>
        <element name="asset" ns="http://bitflux.org/doctypes/bx" blockLevelOnly="true"/>
        <element name="include" ns="http://www.w3.org/2001/XInclude" blockLevelOnly="true"/>
        
    <!-- inline elements -->
        <element name="abbr" ns="http://www.w3.org/1999/xhtml"/>
        <element name="acronym" ns="http://www.w3.org/1999/xhtml"/>
        <element name="big" ns="http://www.w3.org/1999/xhtml"/>
        <element name="button" ns="http://www.w3.org/1999/xhtml"/>
        <element name="dfn" ns="http://www.w3.org/1999/xhtml"/>
        <element name="input" ns="http://www.w3.org/1999/xhtml"/>
        <element name="kbd" ns="http://www.w3.org/1999/xhtml"/>
        <element name="label" ns="http://www.w3.org/1999/xhtml"/>
        <element name="q" ns="http://www.w3.org/1999/xhtml"/>
        <element name="samp" ns="http://www.w3.org/1999/xhtml"/>
        <element name="select" ns="http://www.w3.org/1999/xhtml"/>
        <element name="small" ns="http://www.w3.org/1999/xhtml"/>
        <element name="textarea" ns="http://www.w3.org/1999/xhtml"/>

        <element name="tt" ns="http://www.w3.org/1999/xhtml"/>
        <element name="unizh:important" ns="http://www.w3.org/1999/xhtml"/>
        <element name="var" ns="http://www.w3.org/1999/xhtml"/>
         <!-- block elements -->
        <element name="address" ns="http://www.w3.org/1999/xhtml"/>
<!--        <element name="blockquote" ns="http://www.w3.org/1999/xhtml"/>-->
         <!-- <element name="div" ns="http://www.w3.org/1999/xhtml"/>-->
        <element name="dl" ns="http://www.w3.org/1999/xhtml"/>
        <element name="fieldset" ns="http://www.w3.org/1999/xhtml"/>

        <element name="form" ns="http://www.w3.org/1999/xhtml"/>
        <element name="cite" ns="http://www.w3.org/1999/xhtml"/>
        <element name="formwizard" ns="http://bitflux.org/forms"/>
        <element name="span" ns="http://bitflux.org/doctypes/bx"/>
        <element name="lead" ns="http://bitflux.org/doctypes/bx"/>
        <element name="subtitle" ns="http://bitflux.org/doctypes/bx"/>
        <element name="pre" ns="http://www.w3.org/1999/xhtml"/>
        <element name="table" ns="http://www.w3.org/1999/xhtml"/>
        <element name="ol" ns="http://www.w3.org/1999/xhtml"/>
        <element name="ul" ns="http://www.w3.org/1999/xhtml"/>
        <element name="hr" ns="http://www.w3.org/1999/xhtml"/>
        <element name="String" ns="http://php-tools.net/patForms/1.0"/>
        <element name="Switch" ns="http://php-tools.net/patForms/1.0"/>
        <element name="Text" ns="http://php-tools.net/patForms/1.0"/>
        <element name="errors" ns="http://bitflux.org/forms"/>
        <element name="form" ns="http://bitflux.org/forms"/>
         <!-- attributes -->
        <attribute name="style"/>
        <attribute name="xml:lang"/>
        <attribute name="id"/>
        <attribute name="charset"/>
        <attribute name="type"/>
        <attribute name="hreflang"/>
        <attribute name="rev"/>
        <attribute name="tabindex"/>
        <attribute name="onmouseover"/>
        <attribute name="onmouseout"/>
        <attribute name="onclick"/>
        <attribute name="abbr"/>
        <attribute name="axis"/>
        <attribute name="headers"/>
        <attribute name="scope"/>
        <attribute name="fieldErrorID"/>
    </context>
    <plugins>
        <plugin name="Drawer">
            <option name="imageLibrariesURI">/admin/navi/kupu/?drawer=image</option>
            <option name="linkLibrariesURI">/admin/navi/kupu/?drawer=library</option>
            <option name="assetLibrariesURI">/admin/navi/kupu/?drawer=asset</option>
        </plugin>
        <plugin name="XMLSnippets">
            <option name="downloads">
                <div xmlns="http://www.w3.org/1999/xhtml" id="downloads">
                    <bx:asset xmlns:bx="http://bitflux.org/doctypes/bx" src="/files/downloads/some.pdf" type="application/octet-stream">
        Some Download</bx:asset>&#160;
       </div>
            </option>

            <option name="links">
                <div xmlns="http://www.w3.org/1999/xhtml" id="links">
                    <a href="http://example.org">Example Link</a>&#160;
</div>
            </option>
        </plugin>
        <plugin name="ClipboardPasteDialog"></plugin>

        <plugin name="FCKBrowser">
            <option name="webroot"><webroot/></option>

        </plugin>
    

    </plugins>
    <options>
        <option name="defaultTableClass">projekt</option>
        <option name="onSaveFileCreated">bxe_onSaveFileCreated(bxe_config.xmlfile)</option>
        <option name="ExternalXhtmlReplaceBodyChildren">false</option>
        <option name="autoParaElementName">p</option>
        <option name="autoParaElementNamespace">http://www.w3.org/1999/xhtml</option>
    </options>


</config>
