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

Modified Files:
        content_metadata.jsp educations.jsp roles.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.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- content_metadata.jsp        9 Jan 2009 17:31:32 -0000       1.11
+++ content_metadata.jsp        15 Jan 2009 11:46:24 -0000      1.12
@@ -12,7 +12,7 @@
       <jsp:directive.include file="../mode.include.jsp" />
 
       <di:has editcontext="contentelementen">
-        <ul class="treeview">
+        <nl 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>
           -->
-        </ul>
+        </nl>
       </di:has>
     </mm:cloud>
   </div>


Index: educations.jsp
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/education/templates/education/wizards/modes/educations.jsp,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -b -r1.31 -r1.32
--- educations.jsp      9 Jan 2009 17:37:45 -0000       1.31
+++ educations.jsp      15 Jan 2009 11:46:24 -0000      1.32
@@ -25,9 +25,10 @@
               Educations come from here
           -->
           <di:has editcontext="opleidingen"><!-- TODO DUTCH. 'opleidingen' 
means 'educations' -->
-            <ul class="treeview">
+            <ul class="filetree treeview">
               <li>
-                <mm:link referid="listjsp${forbidtemplate}"
+                <span class="folder">
+                  <mm:link referid="listjsp"
                          referids="provider">
                   <mm:param 
name="wizard">config/education/educations</mm:param>
                   <mm:param name="nodepath">educations</mm:param>
@@ -38,6 +39,7 @@
                     <di:translate key="education.educationmenueducations" />
                   </a>
                 </mm:link>
+                </span>
                 <ul>
                   <mm:node number="$user">
                     <mm:hasrank value="administrator">
@@ -67,10 +69,11 @@
                   <mm:node number="${provider}">
                     <mm:relatednodes type="educations">
                       <li class="${_node eq e ? 'active' : 'inactive'}">
+                        <span class="folder">
                         <mm:link referid="wizardjsp" 
referids="_n...@objectnumber">
                           <mm:param 
name="wizard">config/education/educations</mm:param>
                           <mm:param name="title"><di:translate 
key="education.editeducation" /></mm:param>
-                          <a href="${_}" target="text"><mm:field name="name" 
/></a>
+                            <a href="${_}"><mm:field name="name" /></a>
                         </mm:link>
                         <mm:field id="eduname" write="false" name="name" />
                         <mm:write session="eduname" referid="eduname" />
@@ -78,24 +81,25 @@
                         <!-- WTF -->
                         <mm:present referid="pdfurl">
                           <mm:link page="${pdfurl}" referids="_n...@number">
-                            <a href="${_}" target="text"><img 
src='gfx/icpdf.gif' border='0' title='(PDF)' alt='(PDF)'/></a>
+                              <a href="${_}"><img src='gfx/icpdf.gif' 
border='0' title='(PDF)' alt='(PDF)'/></a>
                           </mm:link>
                         </mm:present>
                         <mm:hasnode number="component.metadata">
-                          <a href="metaedit.jsp?number=${educationId}" 
target="text">
+                            <a href="metaedit.jsp?number=${educationId}">
                             <img id="img_${educationId}" src="${imageName}"
                                  border="0" title="${sAltText}" 
alt="${sAltText}" /></a>
                         </mm:hasnode>
                         <mm:hasnode number="component.drm">
                           <mm:link referid="wizardjsp" 
referids="educatio...@objectnumber">
                             <mm:param name="wizard">educationlicense</mm:param>
-                            <a target="text" href="${_}"
+                              <a  href="${_}"
                                title="Bewerk licentie" style="font-size: 1em; 
text-decoration: none">??</a>
                           </mm:link>
                         </mm:hasnode>
                         <mm:hasnode number="component.versioning">
-                          <a href="versioning.jsp?nodeid=${educationId}" 
target="text"><img src="gfx/versions.gif" border="0" /></a>
+                            <a 
href="versioning.jsp?nodeid=${educationId}"><img src="gfx/versions.gif" 
border="0" /></a>
                         </mm:hasnode>
+                        </span>
                         <ul>
                           <mm:hasnode number="component.register">
                             <li>
@@ -103,8 +107,9 @@
                               <mm:treefile write="false" 
page="/register/wizards/register.jsp"
                                            referids="$referids,educationId"
                                            objectlist="$includePath">
-                                <a href="${_}" 
title="${di:translate('register.registrations')}"
-                                   target="text"><di:translate 
key="register.registrations" /></a>
+                                <a href="${_}" 
title="${di:translate('register.registrations')}">
+                                  <di:translate key="register.registrations" />
+                                </a>
                               </mm:treefile>
                             </li>
 
@@ -138,8 +143,9 @@
                                 <mm:param 
name="wizard">config/learnblocks/learnblocks-origin</mm:param>
                                 <mm:param name="objectnumber">new</mm:param>
                                 <mm:param name="newpos">${maxpos + 
1}</mm:param>
-                                <a href="${_}" 
title="${di:translate('education.createnewlearnblockdescription')}" 
target="text">
-                                <di:translate 
key="education.createnewlearnblock" /></a>
+                              <a href="${_}" 
title="${di:translate('education.createnewlearnblockdescription')}">
+                                <di:translate 
key="education.createnewlearnblock" />
+                              </a>
                               </mm:link>
                             </li>
 
@@ -184,10 +190,11 @@
                               </mm:compare>
 
                               <li>
+                              <span class="folder">
                                 <mm:import id="guitype" ><mm:nodeinfo 
type="guitype" escape="lowercase" /></mm:import>
                                 <mm:link referid="wizardjsp" 
referids="_n...@objectnumber">
                                   <mm:param name="wizard">config/<mm:nodeinfo 
type="type"/>/<mm:nodeinfo type="type" /></mm:param>
-                                  <a href="${_}" 
title="${di:translate('education.editexisting')} ${guitype}" target="text">
+                                  <a href="${_}" 
title="${di:translate('education.editexisting')} ${guitype}">
                                     <mm:field name="name" />
                                   </a>
                                 </mm:link>
@@ -212,6 +219,7 @@
                                     <a href="${_}" target="text"><img 
src="gfx/versions.gif" border="0" /></a>
                                   </mm:link>
                                 </mm:hasnode>
+                              </span>
                                 <ul>
                                   <mm:treeinclude
                                       debug="html"


Index: roles.jsp
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/education/templates/education/wizards/modes/roles.jsp,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- roles.jsp   9 Jan 2009 17:31:32 -0000       1.20
+++ roles.jsp   15 Jan 2009 11:46:24 -0000      1.21
@@ -12,7 +12,7 @@
         No rights
       </di:has>
       <di:has editcontext="rollen">
-        <ul class="treeview">
+        <ul class="filetree treeview">
           <!--
               edit people,rolerel, education
               doesn't work properly, so commented it out for the moment
@@ -29,8 +29,7 @@
             <di:translate key="education.personstab" />
             <ul>
               <li>
-                <di:icon name="learnblock" />
-                <span>
+                <span class="folder">
                   <mm:link referid="listjsp">
                     <mm:param name="wizard">config/people/people</mm:param>
                     <mm:param name="nodepath">people</mm:param>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to