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

Modified Files:
        educations.jsp 
Log Message:
oops


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


Index: educations.jsp
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/education/templates/education/wizards/modes/educations.jsp,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- educations.jsp      28 Jan 2008 17:24:56 -0000      1.17
+++ educations.jsp      31 Jan 2008 10:24:06 -0000      1.18
@@ -39,7 +39,7 @@
           </span>
           <br /><!-- br's are silly -->
           <div id='node_0' style='display: none'>
-            <mm:node number="$user" jspvar="node">
+            <mm:node number="$user">
               <mm:hasrank value="administrator">
                 <mm:listnodes id="educations" type="educations" />
               </mm:hasrank>
@@ -78,20 +78,25 @@
 
             <mm:import id="educationId" externid="e">${education}</mm:import>
 
-
             <mm:isgreaterthan referid="number_of_educations" value="0">
               <!-- The Education starts from here -->
               <mm:node number="${educationId}">
                 <jsp:directive.include file="whichimage.jsp" />
                 <table border="0" cellpadding="0" cellspacing="0">
                   <tr>
-                    <td><img src="gfx/tree_spacer.gif" width="16px" 
height="16px" border="0" align="center" valign="middle"/></td>
+                    <td>
+                      <!-- spacer.gifs are _evil_, silly and cause noise. JSP 
is code _too_. -->
+                      <img src="gfx/tree_spacer.gif" width="16px" 
height="16px" border="0" align="center" valign="middle"/>
+                    </td>
                     <td>
                       <a href="javascript:clickNode('education_0')">
-                        <img src="gfx/tree_pluslast.gif" border="0" 
align="center" valign="middle" id="img_education_0"/>
+                        <img src="gfx/tree_pluslast.gif" border="0"
+                             align="center" valign="middle" 
id="img_education_0"/>
                       </a>
                     </td>
-                    <td><img src="gfx/folder_closed.gif" border="0" 
align="middle" id="img2_education_0"/></td>
+                    <td>
+                      <img src="gfx/folder_closed.gif" border="0" 
align="middle" id="img2_education_0"/>
+                    </td>
                     <td>
                       <nobr>
                         <mm:link referid="wizardjsp" referids="[EMAIL 
PROTECTED]">
@@ -133,7 +138,7 @@
                 </table>
 
                 <!--  We have to count all learnblocks.
-                     MM:I can see that. But why?
+                     MM: I can see that. But why?
                 -->
                 <mm:relatednodescontainer role="posrel" type="learnobjects" 
searchdirs="destination">
                   <mm:size id="number_of_learnblocks" write="false"/>
@@ -160,6 +165,7 @@
                         </mm:treefile>
                       </tr>
                     </table>
+                  </mm:hasnode>
 
 
                     <!-- I think it is hackery -->
@@ -317,7 +323,6 @@
                         </mm:treeinclude>
                       </div>
                     </mm:relatednodes>
-                  </mm:hasnode>
                 </div>
               </mm:node>
             </mm:isgreaterthan>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to