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

Modified Files:
        content.jspx educationbar.jspx index.jspx loginbox.jsp 
Log Message:
cleaning


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


Index: content.jspx
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/core/templates/login/content.jspx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- content.jspx        20 Mar 2008 11:23:32 -0000      1.1
+++ content.jspx        20 Mar 2008 12:25:46 -0000      1.2
@@ -3,6 +3,7 @@
     xmlns:di="http://www.didactor.nl/ditaglib_1.0";
     xmlns:mm="http://www.mmbase.org/mmbase-taglib-2.0";
     class="columns">
+  <jsp:output omit-xml-declaration="true" />
   <div class="columnLeft">
     <img src="${mm:treelink('/gfx/logo_didactor.gif',  includePath)}"
          width="100%" height="106" border="0" title="Didactor logo" 
alt="Didactor logo" />


Index: educationbar.jspx
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/core/templates/login/educationbar.jspx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- educationbar.jspx   20 Mar 2008 11:23:32 -0000      1.1
+++ educationbar.jspx   20 Mar 2008 12:25:46 -0000      1.2
@@ -3,6 +3,7 @@
     xmlns:di="http://www.didactor.nl/ditaglib_1.0";
     xmlns:mm="http://www.mmbase.org/mmbase-taglib-2.0";
     class="educationMenubarCockpit" style="white-space: nowrap">
+  <jsp:output omit-xml-declaration="true" />
   <jsp:text> </jsp:text>
   <!-- sigh -->
   <mm:hasnode number="component.faq">


Index: index.jspx
===================================================================
RCS file: /var/cvs/contributions/didactor2/src/core/templates/login/index.jspx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- index.jspx  20 Mar 2008 11:23:32 -0000      1.2
+++ index.jspx  20 Mar 2008 12:25:46 -0000      1.3
@@ -4,7 +4,6 @@
     xmlns:di="http://www.didactor.nl/ditaglib_1.0";
     styleClass="login"
     css="/css/loginpage.css"
-    type="text/html"
     rank="anonymous">
 
   <!--
@@ -17,8 +16,8 @@
       This pages contains odd logic, which depending on certain installed 
components makes itself render differently
   -->
 
-  <di:include page="/login/educationbar.jspx" />
-  <di:include page="/login/content.jspx" />
+  <di:include debug="html" page="/login/educationbar.jspx" />
+  <di:include debug="html" 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.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- loginbox.jsp        20 Mar 2008 11:23:32 -0000      1.2
+++ loginbox.jsp        20 Mar 2008 12:25:46 -0000      1.3
@@ -23,16 +23,10 @@
         </mm:isnotempty>
       </div>
       <br />
-      <script>
-        function check_passwords(){
-        if((document.getElementById("loginUsername").value.length == 0) 
&amp;&amp; (document.getElementById("loginPassword").value.length == 0)) return 
false;
-        else return true;
-        }
-      </script>
       <mm:import externid="referrer">/index.jsp</mm:import>
 
 
-      <form method="post" action="${referrer}" name="loginForm" 
onSubmit="return(check_passwords())">
+      <form method="post" action="${referrer}" name="loginForm" 
onSubmit="return check_passwords()">
         ${referrer}
         <input type="hidden" name="authenticate"  value="plain"  />
         <input type="hidden" name="command" value="login" />
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to