Index: WAeUP_SRP/trunk/skins/waeup_student/getStudentBaseInfo.py
===================================================================
--- WAeUP_SRP/trunk/skins/waeup_student/getStudentBaseInfo.py	(revision 1369)
+++ WAeUP_SRP/trunk/skins/waeup_student/getStudentBaseInfo.py	(revision 1369)
@@ -0,0 +1,51 @@
+## Script (Python) "getStudentBaseInfo"
+##bind container=container
+##bind context=context
+##bind namespace=
+##bind script=script
+##bind subpath=traverse_subpath
+##parameters=
+##title=
+##
+# $Id: getTransferInfo.py 1339 2007-01-21 22:55:34Z henrik $
+"""
+return Info about the current Student
+"""
+import logging
+logger = logging.getLogger('Student.Base.Info')
+from DateTime import DateTime
+
+request = context.REQUEST
+mtool = context.portal_membership
+wf = context.portal_workflow
+member = mtool.getAuthenticatedMember()
+member_id = str(member)
+
+if mtool.isAnonymousUser():
+    return None
+info = {}
+#from Products.zdb import set_trace
+#set_trace()
+requested_id = context.getStudentId()
+if requested_id and not context.isStaff() and member_id != requested_id:
+    logger.info('"%s", "tried to access", "%s"' % (member_id,requested_id))
+    return None
+elif context.isStaff():
+    student_id = requested_id
+else:
+    student_id = member_id
+
+
+#students_object = context.portal_url.getPortalObject().campus.students
+#student = getattr(students_object,student_id)
+
+res = context.students_catalog(id = student_id)
+if len(res) != 1:
+    return None
+sbrain = res[0]
+info['id'] = student_id
+info['student'] = context.getFormattedStudentEntry(sbrain)
+#info['entry_mode'] = sbrain.entry_mode
+
+
+return info
Index: WAeUP_SRP/trunk/skins/waeup_student/mail_password_form.pt
===================================================================
--- WAeUP_SRP/trunk/skins/waeup_student/mail_password_form.pt	(revision 1368)
+++ WAeUP_SRP/trunk/skins/waeup_student/mail_password_form.pt	(revision 1369)
@@ -9,5 +9,5 @@
     
       <span tal:condition="info">
-      <h3>Mail Authentification Data</h3>
+      <h3>Send Mail to Student!</h3>
       <br />
 
