You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2009/04/30 17:56:24 UTC
svn commit: r770303 - in
/lenya/branches/BRANCH_2_0_X/src/modules/tinymce/config: menu.xml menu.xsp
Author: andreas
Date: Thu Apr 30 15:56:24 2009
New Revision: 770303
URL: http://svn.apache.org/viewvc?rev=770303&view=rev
Log:
Replacing menu.xsp with menu.xml.
Added:
lenya/branches/BRANCH_2_0_X/src/modules/tinymce/config/menu.xml
- copied, changed from r765572, lenya/branches/BRANCH_2_0_X/src/modules/tinymce/config/menu.xsp
Removed:
lenya/branches/BRANCH_2_0_X/src/modules/tinymce/config/menu.xsp
Copied: lenya/branches/BRANCH_2_0_X/src/modules/tinymce/config/menu.xml (from r765572, lenya/branches/BRANCH_2_0_X/src/modules/tinymce/config/menu.xsp)
URL: http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_0_X/src/modules/tinymce/config/menu.xml?p2=lenya/branches/BRANCH_2_0_X/src/modules/tinymce/config/menu.xml&p1=lenya/branches/BRANCH_2_0_X/src/modules/tinymce/config/menu.xsp&r1=765572&r2=770303&rev=770303&view=diff
==============================================================================
--- lenya/branches/BRANCH_2_0_X/src/modules/tinymce/config/menu.xsp (original)
+++ lenya/branches/BRANCH_2_0_X/src/modules/tinymce/config/menu.xml Thu Apr 30 15:56:24 2009
@@ -6,9 +6,9 @@
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -16,31 +16,17 @@
limitations under the License.
-->
-<xsp:page
- language="java"
- xmlns:xsp="http://apache.org/xsp"
- xmlns:xsp-request="http://apache.org/xsp/request/2.0"
- xmlns:input="http://apache.org/cocoon/xsp/input/1.0"
- xmlns:i18n="http://apache.org/cocoon/i18n/2.1"
- xmlns:wf="http://apache.org/cocoon/lenya/workflow/1.0"
- xmlns:uc="http://apache.org/cocoon/lenya/usecase/1.0"
- xmlns="http://apache.org/cocoon/lenya/menubar/1.0"
->
-
- <menu>
- <menus>
- <menu i18n:attr="name" name="Edit">
- <xsp:logic>
- String doctype = <input:get-attribute module="page-envelope" as="string" name="document-type"/>;
- if ("xhtml".equals(doctype) || "homepage".equals(doctype)) {
- <block info="false">
- <item wf:event="edit" uc:usecase="tinymce.edit" href="?"><i18n:text>With TinyMCE</i18n:text></item>
- </block>
- }
- </xsp:logic>
- </menu>
-
- </menus>
+<menu xmlns:i18n="http://apache.org/cocoon/i18n/2.1"
+ xmlns:uc="http://apache.org/cocoon/lenya/usecase/1.0"
+ xmlns:wf="http://apache.org/cocoon/lenya/workflow/1.0"
+ xmlns="http://apache.org/cocoon/lenya/menubar/1.0">
+ <menus>
+ <menu i18n:attr="name" name="Edit">
+ <block info="false" resourceTypes="xhtml homepage">
+ <item wf:event="edit" uc:usecase="tinymce.edit" href="?"><i18n:text>With TinyMCE</i18n:text></item>
+ </block>
+ </menu>
- </menu>
-</xsp:page>
+ </menus>
+
+</menu>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org