xlawrence 2005/05/27 13:39:20 CEST
Added files:
src/view/jsp/Global fckstyles.xml fcktemplates.xml
Log:
Added config files for the FCK editor
Revision Changes Path
1.1 +46 -0
corporate_portal_templates/src/view/jsp/Global/fckstyles.xml (new)
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/corporate_portal_templates/src/view/jsp/Global/fckstyles.xml?rev=1.1&content-type=text/plain
1.1 +78 -0
corporate_portal_templates/src/view/jsp/Global/fcktemplates.xml (new)
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/corporate_portal_templates/src/view/jsp/Global/fcktemplates.xml?rev=1.1&content-type=text/plain
Index: fckstyles.xml
====================================================================
<?xml version="1.0" encoding="utf-8" ?>
<!--
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2005 Frederico Caldeira Knabben
*
* Licensed under the terms of the GNU Lesser General Public License:
* http://www.opensource.org/licenses/lgpl-license.php
*
* For further information visit:
* http://www.fckeditor.net/
*
* File Name: fckstyles.xml
* This is the sample style definitions file. It makes the styles combo
* completely customizable.
* See FCKConfig.StylesXmlPath in the configuration file.
*
* File Authors:
* Frederico Caldeira Knabben ([EMAIL PROTECTED])
-->
<Styles>
<Style name="Image on Left" element="img">
<Attribute name="style" value="padding: 5px; margin-right: 5px"
/>
<Attribute name="border" value="2" />
<Attribute name="align" value="left" />
</Style>
<Style name="Image on Right" element="img">
<Attribute name="style" value="padding: 5px; margin-left: 5px"
/>
<Attribute name="border" value="2" />
<Attribute name="align" value="right" />
</Style>
<Style name="Custom Bold" element="span">
<Attribute name="style" value="font-weight: bold;" />
</Style>
<Style name="Custom Italic" element="em" />
<Style name="Title" element="span">
<Attribute name="class" value="Title" />
</Style>
<Style name="Code" element="span">
<Attribute name="class" value="Code" />
</Style>
<Style name="Title H3" element="h3" />
<Style name="Custom Ruler" element="hr">
<Attribute name="size" value="1" />
<Attribute name="color" value="#ff0000" />
</Style>
</Styles>
Index: fcktemplates.xml
====================================================================
<?xml version="1.0" encoding="utf-8" ?>
<Templates imagesBasePath="fck_template/images/">
<Template title="Image and Title" image="template1.gif">
<Description>One main image with a title and text that surround
the image.</Description>
<Html>
<![CDATA[
<img style="MARGIN-RIGHT: 10px" height="100"
alt="" width="100" align="left"/>
<h3>Type the title here</h3>
Type the text here
]]>
</Html>
</Template>
<Template title="Strange Template" image="template2.gif">
<Description>A template that defines two colums, each one with
a title, and some text.</Description>
<Html>
<![CDATA[
<table cellspacing="0" cellpadding="0"
width="100%" border="0">
<tbody>
<tr>
<td width="50%">
<h3>Title 1</h3>
</td>
<td> </td>
<td width="50%">
<h3>Title 2</h3>
</td>
</tr>
<tr>
<td>Text 1</td>
<td> </td>
<td>Text 2</td>
</tr>
</tbody>
</table>
More text goes here.
]]>
</Html>
</Template>
<Template title="Text and Table" image="template3.gif">
<Description>A title with some text and a table.</Description>
<Html>
<![CDATA[
<div style="WIDTH: 80%">
<h3>Title goes here</h3>
<p>
<table style="FLOAT: right" cellspacing="0"
cellpadding="0" width="150" border="1">
<tbody>
<tr>
<td align="center"
colspan="3"><strong>Table title</strong></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</tbody>
</table>
Type the text here</p>
</div>
]]>
</Html>
</Template>
</Templates>