Author: bpapez
Date: Thu Sep 13 15:58:50 2007
New Revision: 1237

URL: https://svndev.jahia.net/websvn/listing.php?sc=3D1&rev=3D1237&repname=
=3Dcorporate_portal_templates
Log:
http://www.jahia.net/jira/browse/JAHIA-2065

* more features to link CSS files and the styles-XML file to the editor bas=
ed on the context

Added:
    branches/JAHIA-5-0-SP-BRANCH/src/view/jsp/blog_css.xml
    branches/JAHIA-5-0-SP-BRANCH/src/view/jsp/web_css.xml
Modified:
    branches/JAHIA-5-0-SP-BRANCH/src/view/jsp/include/blog_definitions.inc

Added: branches/JAHIA-5-0-SP-BRANCH/src/view/jsp/blog_css.xml
URL: https://svndev.jahia.net/websvn/filedetails.php?path=3D/branches/JAHIA=
-5-0-SP-BRANCH/src/view/jsp/blog_css.xml&rev=3D1237&repname=3Dcorporate_por=
tal_templates
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/JAHIA-5-0-SP-BRANCH/src/view/jsp/blog_css.xml (added)
+++ branches/JAHIA-5-0-SP-BRANCH/src/view/jsp/blog_css.xml Thu Sep 13 15:58=
:50 2007
@@ -0,0 +1,31 @@
+<?xml version=3D"1.0" encoding=3D"utf-8" ?>
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ * =

+ * =3D=3D BEGIN LICENSE =3D=3D
+ * =

+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ * =

+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * =3D=3D END LICENSE =3D=3D
+ * =

+ *     This is the sample style definitions file. It makes the styles combo
+ *     completely customizable.
+ *
+ *     See FCKConfig.StylesXmlPath in the configuration file.
+-->
+<Styles>
+       <Style name=3D"Header" element=3D"h3">
+               <Attribute name=3D"class" value=3D"blog" />
+       </Style>                =

+</Styles>
\ No newline at end of file

Modified: branches/JAHIA-5-0-SP-BRANCH/src/view/jsp/include/blog_definition=
s.inc
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/branches/JAHIA-5-0-SP=
-BRANCH/src/view/jsp/include/blog_definitions.inc&rev=3D1237&repname=3Dcorp=
orate_portal_templates
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/JAHIA-5-0-SP-BRANCH/src/view/jsp/include/blog_definitions.inc =
(original)
+++ branches/JAHIA-5-0-SP-BRANCH/src/view/jsp/include/blog_definitions.inc =
Thu Sep 13 15:58:50 2007
@@ -14,7 +14,15 @@
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
---%><content:declareContainerList name=3D"blogEntries" title=3D"List of en=
tries"
+--%>
+<[EMAIL PROTECTED] 
import=3D"org.jahia.data.fields.JahiaFieldDefinitionProperties"%>
+<%
+jData.containers().declareFieldDefProp("blogBody",
+       JahiaFieldDefinitionProperties.FIELD_STYLESHEET_ID_PROP,
+       "corpv2_blog");
+%>
+
+<content:declareContainerList name=3D"blogEntries" title=3D"List of entrie=
s"
     containerBeanName=3D"jahiatemplates.org.jahia.corporateportal.validati=
on.beans.BlogValidationBean"
     validatorKey=3D"blogValidationBean">
 <content:declareContainer>

Added: branches/JAHIA-5-0-SP-BRANCH/src/view/jsp/web_css.xml
URL: https://svndev.jahia.net/websvn/filedetails.php?path=3D/branches/JAHIA=
-5-0-SP-BRANCH/src/view/jsp/web_css.xml&rev=3D1237&repname=3Dcorporate_port=
al_templates
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/JAHIA-5-0-SP-BRANCH/src/view/jsp/web_css.xml (added)
+++ branches/JAHIA-5-0-SP-BRANCH/src/view/jsp/web_css.xml Thu Sep 13 15:58:=
50 2007
@@ -0,0 +1,34 @@
+<?xml version=3D"1.0" encoding=3D"utf-8" ?>
+<!--
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ * =

+ * =3D=3D BEGIN LICENSE =3D=3D
+ * =

+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ * =

+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * =3D=3D END LICENSE =3D=3D
+ * =

+ *     This is the sample style definitions file. It makes the styles combo
+ *     completely customizable.
+ *
+ *     See FCKConfig.StylesXmlPath in the configuration file.
+-->
+<Styles>
+       <Style name=3D"Title H1" element=3D"h1" />
+       <Style name=3D"Title H2" element=3D"h2" />
+       <Style name=3D"Title H3" element=3D"h3" />      =

+       <Style name=3D"List" element=3D"div">
+               <Attribute name=3D"class" value=3D"dotted" />
+       </Style>        =

+</Styles>
\ No newline at end of file

_______________________________________________
cvs_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/cvs_list

Reply via email to