* Standardeinrichtung CCMcoreXinhaConfig.js angepaßt: SmartReplace entfernt
 * XinhaEditor.xsl für Heirloom und Fallback angepaßt

git-svn-id: https://svn.libreccm.org/ccm/trunk@1406 8810af33-2d31-482b-a856-94f89814c4df
master
quasi 2011-12-28 08:51:38 +00:00
parent cfc341c617
commit d29337b7f1
3 changed files with 29 additions and 23 deletions

View File

@ -13,7 +13,7 @@ xinha_init=xinha_init?xinha_init:function(){
xinha_editors=xinha_editors?xinha_editors:["myTextArea","anotherOne"];
xinha_plugins=xinha_plugins?xinha_plugins:["CharacterMap","CharCounter",
"ContextMenu","DefinitionList","FindReplace","ListType","QuickTag",
"SmartReplace","Stylist","TableOperations","UnFormat"];
"Stylist","TableOperations","UnFormat"];
if(!Xinha.loadPlugins(xinha_plugins,xinha_init)){
return;
}

View File

@ -6,8 +6,6 @@
version="1.0">
<xsl:output method="html" indent="yes"/>
<!-- This is a backport from Mandalay v0.9 to support Xinha editor with the -->
<!-- generic theme. Xinha is the follow-up of the discontinued HTMLArea. -->
@ -24,12 +22,11 @@
<script type="text/javascript">
_editor_url = "<xsl:value-of select="@editor_url"/>";
<!-- There is no $lang variable in the original theme, so this is hardcodes to english -->
_editor_lang ="<xsl:value-of select="en"/>";
_editor_lang = "en";
<!-- _editor_skin = "silva";-->
<!-- DE Definiere, welche Textareas zu Xinha-Editoren werden sollen -->
<!-- EN Define all textares which should become xinha editors -->
xinha_editors = [
<xsl:for-each select="//bebop:xinha">
'ta_<xsl:value-of select="@name"/>'<xsl:if test="position() != last()">, </xsl:if>
@ -48,13 +45,20 @@
</xsl:if>
</script>
<!-- DE Lade die externe JavaScript-Datei fuer Xinha -->
<!-- DE Lade die externe JavaScript-Datei für Xinha -->
<script type="text/javascript" src="{@editor_src}"/>
<!-- DE Lade die angegebene Konfiguration -->
<script type="text/javascript">
<xsl:attribute name="src">
<xsl:choose>
<xsl:when test="bebop:config[@name='XinhaConfig']">
<xsl:value-of select="bebop:config[@name='XinhaConfig']/@path"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="bebop:config[@name='Xinha.Config']/@path"/>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
</script>
@ -64,5 +68,4 @@
<xsl:value-of disable-output-escaping="no" select="text()"/>
</textarea>
</xsl:template>
</xsl:stylesheet>

View File

@ -6,8 +6,6 @@
version="1.0">
<xsl:output method="html" indent="yes"/>
<!-- This is a backport from Mandalay v0.9 to support Xinha editor with the -->
<!-- generic theme. Xinha is the follow-up of the discontinued HTMLArea. -->
@ -24,12 +22,11 @@
<script type="text/javascript">
_editor_url = "<xsl:value-of select="@editor_url"/>";
<!-- There is no $lang variable in the original theme, so this is hardcodes to english -->
_editor_lang ="<xsl:value-of select="en"/>";
_editor_lang = "en";
<!-- _editor_skin = "silva";-->
<!-- DE Definiere, welche Textareas zu Xinha-Editoren werden sollen -->
<!-- EN Define all textares which should become xinha editors -->
xinha_editors = [
<xsl:for-each select="//bebop:xinha">
'ta_<xsl:value-of select="@name"/>'<xsl:if test="position() != last()">, </xsl:if>
@ -48,13 +45,20 @@
</xsl:if>
</script>
<!-- DE Lade die externe JavaScript-Datei fuer Xinha -->
<!-- DE Lade die externe JavaScript-Datei für Xinha -->
<script type="text/javascript" src="{@editor_src}"/>
<!-- DE Lade die angegebene Konfiguration -->
<script type="text/javascript">
<xsl:attribute name="src">
<xsl:choose>
<xsl:when test="bebop:config[@name='XinhaConfig']">
<xsl:value-of select="bebop:config[@name='XinhaConfig']/@path"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="bebop:config[@name='Xinha.Config']/@path"/>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
</script>
@ -64,5 +68,4 @@
<xsl:value-of disable-output-escaping="no" select="text()"/>
</textarea>
</xsl:template>
</xsl:stylesheet>