Update of /var/cvs/contributions/didactor2/src/core/templates/login
In directory james.mmbase.org:/tmp/cvs-serv29944

Modified Files:
        index.jspx loginbox.jsp 
Added Files:
        content.jspx educationbar.jspx firstcontent.jsp 
Log Message:
split up in more file for easier overriding


See also: 
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/core/templates/login


content.jspx is new



educationbar.jspx is new



firstcontent.jsp is new



Index: index.jspx
===================================================================
RCS file: /var/cvs/contributions/didactor2/src/core/templates/login/index.jspx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- index.jspx  20 Mar 2008 11:12:40 -0000      1.1
+++ index.jspx  20 Mar 2008 11:23:32 -0000      1.2
@@ -6,6 +6,7 @@
     css="/css/loginpage.css"
     type="text/html"
     rank="anonymous">
+
   <!--
 
       The login page is the page which you see when the education is already 
determined (which
@@ -16,48 +17,9 @@
       This pages contains odd logic, which depending on certain installed 
components makes itself render differently
   -->
 
-    <div class="educationMenubarCockpit" style="white-space: nowrap">
-      <!-- sigh -->
-      <mm:hasnode number="component.faq">
-        <mm:include page="/faq/cockpit/general.jsp" />
-      </mm:hasnode>
-
-      <mm:hasnode number="component.cmshelp">
-        <di:include page="/cmshelp/cockpit/general.jsp" />
-      </mm:hasnode>
-
-    </div>
-
-    <div class="columns">
-      <div class="columnLeft">
-
-        <img src="${mm:treelink('/gfx/logo_didactor.gif',  includePath)}"
-             width="100%" height="106" border="0" title="Didactor logo" 
alt="Didactor logo" />
-
-
-        <mm:hasnode number="component.portalpages">
-          <di:include page="/portalpages/frontoffice/index.jsp" />
-        </mm:hasnode>
-        <mm:hasnode number="component.portalpages" inverse="true">
-          <!--  show login box on the left -->
-          <div class="ListLeft">
-            <mm:include page="loginbox.jsp" />
-          </div>
-        </mm:hasnode>
-      </div>
-      <div class="columnMiddle">
-        <div id="contentFrame">
-          <mm:import externid="object" />
-          <mm:notpresent referid="object">
-            <di:include page="/firstcontent.jsp" />
-          </mm:notpresent>
-          <mm:present referid="object">
-            <mm:include page="/content/" />
-          </mm:present>
-        </div>
-      </div>
-      <di:include page="/login/rightcolumn.jsp" />
-    </div>
-  </di:html>
+  <di:include page="/login/educationbar.jspx" />
+  <di:include page="/login/content.jspx" />
+
+</di:html>
 
 


Index: loginbox.jsp
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/core/templates/login/loginbox.jsp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- loginbox.jsp        20 Mar 2008 11:12:40 -0000      1.1
+++ loginbox.jsp        20 Mar 2008 11:23:32 -0000      1.2
@@ -3,6 +3,7 @@
     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";>
+
   <mm:content>
     <mm:cloud method="asis">
       <mm:import externid="newusername"/>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to