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

Modified Files:
        content_metadata.jsp tests.jsp 
Log Message:
cleaning, using jquery-treeview


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


Index: content_metadata.jsp
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/education/templates/education/wizards/modes/content_metadata.jsp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- content_metadata.jsp        15 Jan 2009 11:46:24 -0000      1.12
+++ content_metadata.jsp        15 Jan 2009 12:09:28 -0000      1.13
@@ -12,7 +12,7 @@
       <jsp:directive.include file="../mode.include.jsp" />
 
       <di:has editcontext="contentelementen">
-        <nl class="filetree treeview">
+        <ul class="filetree treeview">
           <a title="${di:translate('education.educationmenucontentmetadata')}">
             <di:translate key="education.educationmenucontentmetadata" />
           </a>
@@ -80,7 +80,7 @@
               <mm:treeinclude debug="html" 
page="/news/backoffice/add_news.jsp" objectlist="" referids="listjsp,wizardjsp" 
/>
               </mm:hasnode>
           -->
-        </nl>
+        </ul>
       </di:has>
     </mm:cloud>
   </div>


Index: tests.jsp
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/education/templates/education/wizards/modes/tests.jsp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- tests.jsp   28 Mar 2008 12:24:50 -0000      1.7
+++ tests.jsp   15 Jan 2009 12:09:28 -0000      1.8
@@ -28,30 +28,26 @@
             <!-- ${forbidtemplate} ??-->
             <a href="${_}" target="text"><di:translate key="education.tests" 
/></a>
           </mm:link>
-          <br />
           <div id="tests_0" >
 
             <mm:listnodescontainer type="tests">
               <mm:size id="number_of_tests" write="false" />
             </mm:listnodescontainer>
-
-            <di:leaf icon="new_education"
-                     branchPath=". ">
+            <di:icon name="new_education" />
               <mm:link referid="wizardjsp">
                 <mm:param name="wizard">config/tests/tests</mm:param>
                 <mm:param name="objectnumber">new</mm:param>
                 <a href="${_}" 
title="${di:translate('education.createnewtestdescription')}"
                    target="text"><di:translate key="education.createnewtest" 
/></a>
               </mm:link>
-            </di:leaf>
 
+            <ul class="treeview filetree">
             <mm:listnodes type="tests" orderby="tests.name" varStatus="status">
               <mm:import id="testname" jspvar="testname" 
reset="true"><mm:field name="name"/></mm:import>
               <jsp:directive.include file="../whichimage.jsp" /> <!-- WTF -->
 
-              <di:leaf
-                  branchPath=".${status.last ? '.' : ' '}"
-                  click="${_node}">
+                <li>
+                  <span class="folder">
                 <mm:link referid="wizardjsp" referids="_n...@objectnumber">
                   <mm:param name="wizard">config/tests/tests</mm:param>
                   <mm:param name="path">${testname}</mm:param>
@@ -64,9 +60,8 @@
                     src="${imageName}" border="0" title="${sAltText}" 
alt="${sAltTex}" /></a>
                   </mm:link>
                 </mm:hasnode>
-              </di:leaf>
-              <div id="${_node}" style="display:none">
-
+                  </span>
+                  <ul>
                 <mm:include page="../newfromtree_tests.jsp" 
referids="wizardjsp,testname">
                   <!--
                       <jsp:param name="the_last_parent" 
value="${sTheLastParent}" />
@@ -100,9 +95,8 @@
                 </mm:field>
 
                 <mm:relatednodes role="posrel" type="questions" 
orderby="posrel.pos" varStatus="relstatus">
-                  <di:leaf
-                      icon="edit_learnobject"
-                      branchPath="..${relstatus.last ? '.' : ' '}">
+                      <li>
+                        bla bla
                     <mm:nodeinfo type="type" id="type_of_node" write="false">
 
                       <mm:compare value="mcquestions">
@@ -141,10 +135,12 @@
                         </mm:hasnodemanager>
                       </mm:compare>
                     </mm:nodeinfo>
-                  </di:leaf>
+                      </li>
                 </mm:relatednodes>
-              </div>
+                  </ul>
+                </li>
             </mm:listnodes>
+            </ul>
           </div>
         </di:has>
       </mm:cloud>
_______________________________________________
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to