Update of /var/cvs/contributions/didactor2/src/core/metainf/tags/di/core
In directory james.mmbase.org:/tmp/cvs-serv9194/tags/di/core

Modified Files:
        head.tagx html.tagx may.tagx 
Added Files:
        menuitem.tagx 
Log Message:
added a 'menuitem' tag which can simplyf bar implementations (and overrides..)


See also: 
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/core/metainf/tags/di/core


menuitem.tagx is new



Index: head.tagx
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/core/metainf/tags/di/core/head.tagx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- head.tagx   11 Jan 2008 12:49:34 -0000      1.1
+++ head.tagx   18 Jan 2008 15:25:41 -0000      1.2
@@ -14,8 +14,8 @@
     <mm:link page="/education/js/browser_version.js">
       <script src="${_}"><!-- Help IE --></script>
     </mm:link>
-    <jsp:doBody />
     <link rel="stylesheet" type="text/css" 
href="${mm:treelink('/css/base.css',includePath)}" />
+    <jsp:doBody />
   </head>
 </jsp:root>
 


Index: html.tagx
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/core/metainf/tags/di/core/html.tagx,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- html.tagx   17 Jan 2008 12:17:37 -0000      1.4
+++ html.tagx   18 Jan 2008 15:25:41 -0000      1.5
@@ -36,6 +36,13 @@
                 <link rel="stylesheet" type="text/css" href="${_}" />
               </mm:link>
             </mm:haspage>
+            <mm:node referid="education">
+              <mm:field name="intro">
+                <mm:isnotempty>
+                  <meta name="description" content="${_}" />
+                </mm:isnotempty>
+              </mm:field>
+            </mm:node>
           </c:if>
         </di:head>
         <body class="${styleClass}">
@@ -47,6 +54,7 @@
               <jsp:doBody />
             </div>
           </div>
+          <di:include page="/cockpit/footer.jspx" />
         </body>
       </html>
     </mm:cloud>


Index: may.tagx
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/core/metainf/tags/di/core/may.tagx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- may.tagx    17 Jan 2008 12:17:37 -0000      1.1
+++ may.tagx    18 Jan 2008 15:25:41 -0000      1.2
@@ -8,6 +8,7 @@
   <jsp:directive.attribute name="has"      />
   <jsp:directive.attribute name="inverse"  />
   <mm:import id="has_integer" vartype="integer">${has eq 'rwd' ? 3 : has eq 
'rw' ? 2 : has eq 'ro' ? 1 : 0}</mm:import>
+  <mm:isnotempty referid="user">
   <mm:node referid="user">
     <mm:relatedcontainer path="related,roles,posrel,editcontexts">
       <mm:constraint field="editcontexts.name" value="${role}" />
@@ -17,5 +18,6 @@
       </mm:related>
     </mm:relatedcontainer>
   </mm:node>
+  </mm:isnotempty>
 </jsp:root>
 
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to