Update of 
/var/cvs/contributions/didactor2/src/education/templates/education/wizards/new
In directory james.mmbase.org:/tmp/cvs-serv28873/new

Modified Files:
        flashpages.jspx htmlpages.jspx pages.jspx xmlcontent.jspx 
Log Message:
tidying up


See also: 
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/education/templates/education/wizards/new


Index: flashpages.jspx
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/education/templates/education/wizards/new/flashpages.jspx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- flashpages.jspx     29 Feb 2008 09:24:12 -0000      1.2
+++ flashpages.jspx     3 Mar 2008 12:44:13 -0000       1.3
@@ -4,15 +4,15 @@
           xmlns:mm="http://www.mmbase.org/mmbase-taglib-2.0";
           xmlns:di="http://www.didactor.nl/ditaglib_1.0";>
   <jsp:output omit-xml-declaration="yes" />
+  <mm:import externid="branchPath" />
   <mm:import externid="wizardjsp" from="request" />
-
-  <mm:import externid="depth"><mm:depth /></mm:import>
+  <mm:import  externid="b" from="request" />
 
   <di:leaf styleClass="newflashpages"
-             depth="${depth + 1}">
-
-
-    <mm:nodeinfo id="guitype" nodetype="flashpages" type="guitype" 
write="false" />>
+             branch="${b}"
+             branchOffset="1"
+             branchPath="${branchPath} ">
+    <mm:nodeinfo id="guitype" nodetype="flashpages" type="guitype" 
write="false" />
 
     <mm:link referid="wizardjsp" referids="[EMAIL PROTECTED]">
       <mm:param name="wizard">config/flashpages/flashpages-origin</mm:param>


Index: htmlpages.jspx
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/education/templates/education/wizards/new/htmlpages.jspx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- htmlpages.jspx      29 Feb 2008 09:24:12 -0000      1.2
+++ htmlpages.jspx      3 Mar 2008 12:44:13 -0000       1.3
@@ -4,12 +4,14 @@
           xmlns:mm="http://www.mmbase.org/mmbase-taglib-2.0";
           xmlns:di="http://www.didactor.nl/ditaglib_1.0";>
   <jsp:output omit-xml-declaration="yes" />
-  <mm:import externid="depth"><mm:depth /></mm:import>
-
+  <mm:import externid="branchPath" />
+  <mm:import  externid="b" from="request" />
   <mm:import externid="wizardjsp" from="request" />
 
-  <di:leaf styleClass="newhtmlpages" depth="${depth + 1}">
-
+  <di:leaf styleClass="newhtmlpages"
+             branch="${b}"
+             branchOffset="1"
+             branchPath="${branchPath} ">
     <mm:link referid="wizardjsp" referids="[EMAIL PROTECTED]">
       <mm:param name="wizard">config/htmlpages/htmlpages-origin</mm:param>
       <mm:param name="objectnumber">new</mm:param>


Index: pages.jspx
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/education/templates/education/wizards/new/pages.jspx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- pages.jspx  29 Feb 2008 09:24:12 -0000      1.2
+++ pages.jspx  3 Mar 2008 12:44:13 -0000       1.3
@@ -5,7 +5,7 @@
   <jsp:output omit-xml-declaration="yes" />
   <mm:import externid="wizardjsp" from="request" />
   <mm:import externid="branchPath" />
-  <mm:import  externid="b" from="request" required="true" />
+  <mm:import  externid="b" from="request" />
 
   <di:leaf styleClass="neweducation"
              branch="${b}"


Index: xmlcontent.jspx
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/education/templates/education/wizards/new/xmlcontent.jspx,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- xmlcontent.jspx     29 Feb 2008 14:11:55 -0000      1.4
+++ xmlcontent.jspx     3 Mar 2008 12:44:13 -0000       1.5
@@ -13,6 +13,7 @@
            branch="${b}"
            branchOffset="1"
            branchPath="${branchPath} ">
+    <mm:hasnodemanager name="xmlcontent">
     <mm:nodeinfo id="guitype" nodetype="xmlcontent" type="guitype" 
write="false" />
 
     <mm:link page="/mmbase/kupu/mmbase" referids="[EMAIL 
PROTECTED],referrer,kupu_back">
@@ -23,6 +24,10 @@
          title="${di:translate('education.new')} ${guitype}"
          target="text"><di:translate key="education.new" /> ${guitype}</a>
     </mm:link>
+    </mm:hasnodemanager>
+    <mm:hasnodemanager name="xmlcontent" inverse="true">
+      No nodemanager 'xmlcontent'
+    </mm:hasnodemanager>
   </di:leaf>
 
 </jsp:root>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to