Update of /var/cvs/contributions/didactor2/src/education/templates/education/wizards/new In directory james.mmbase.org:/tmp/cvs-serv544/new
Modified Files: learnblocks.jspx Log Message: readded support for max_depth setting See also: http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/education/templates/education/wizards/new Index: learnblocks.jspx =================================================================== RCS file: /var/cvs/contributions/didactor2/src/education/templates/education/wizards/new/learnblocks.jspx,v retrieving revision 1.9 retrieving revision 1.10 diff -u -b -r1.9 -r1.10 --- learnblocks.jspx 15 Jan 2009 13:04:09 -0000 1.9 +++ learnblocks.jspx 15 Jan 2009 13:30:16 -0000 1.10 @@ -1,11 +1,16 @@ -<jsp:root version="2.0" +<jsp:root + version="2.0" + xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:jsp="http://java.sun.com/JSP/Page" 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="wizardjsp" from="request" /> - <mm:import externid="branchPath" /> - <mm:import externid="b" from="request" /> + + + + <c:if test="${requestScope['org.mmbase.taglib.includeLevel'] - 3 lt di:setting('education', 'max_depth')}"> + <di:icon name="new_education" /> <mm:listrelations role="posrel" type="learnobjects" max="1" orderby="pos" directions="down"> @@ -32,5 +37,6 @@ <di:translate key="education.aanmaken" /> </a> </mm:link> + </c:if> </jsp:root> _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs