Index: WAeUP_SRP/trunk/skins/waeup_default/import_form.pt
===================================================================
--- WAeUP_SRP/trunk/skins/waeup_default/import_form.pt	(revision 1758)
+++ WAeUP_SRP/trunk/skins/waeup_default/import_form.pt	(revision 1759)
@@ -9,5 +9,5 @@
     <metal:block use-macro="here/waeup_content_master/macros/master">
       <metal:block fill-slot="main">
-      <h3>Import Data</h3>
+      <h3>Import Data!</h3>
       <br />      
         <form action="" id="editForm" method="post" 
@@ -18,5 +18,5 @@
           <br />
           <input type="submit" class="standalone" 
-                 name="import" value="import"
+                 name="import" value="Import"
                  tal:attributes="value button"
                  tal:condition="not:creation" />
Index: WAeUP_SRP/trunk/skins/waeup_utilities/setCurrentSession.py
===================================================================
--- WAeUP_SRP/trunk/skins/waeup_utilities/setCurrentSession.py	(revision 1759)
+++ WAeUP_SRP/trunk/skins/waeup_utilities/setCurrentSession.py	(revision 1759)
@@ -0,0 +1,66 @@
+## Script (Python) "setCurrentSession"
+##bind container=container
+##bind context=context
+##bind namespace=
+##bind script=script
+##bind subpath=traverse_subpath
+##parameters=REQUEST
+##title=
+##
+# $Id: set_current_session.py 1757 2007-05-08 17:22:45Z joachim $
+"""
+set current_session of all students
+"""
+import logging
+logger = logging.getLogger('Skins.set_current_session')
+
+request = REQUEST
+response = request.RESPONSE
+try:
+    from Products.zdb import set_trace
+except:
+    def set_trace():
+        pass
+
+def rwrite(s):
+    response.setHeader('Content-type','text/html; charset=ISO-8859-15')
+    #response.setHeader('Content-length','%d' % (len(s)))
+    #response.setStatus('OK')
+    response.write("%s <br/>\n\r" % s)
+    return
+
+mtool = context.portal_membership
+member = mtool.getAuthenticatedMember()
+students_catalog = context.students_catalog
+students_folder = context.portal_url.getPortalObject().campus.students
+
+#rwrite("start")
+if str(member) not in ('admin','joachim'):
+    return
+all = students_catalog()
+logger.info('%s starts to set %s ' % (member,len(all)))
+c = 0
+count = 0
+not_count = 0
+#set_trace()
+for student in all:
+    c += 1
+    if c > 1000:
+        logger.info('%s set %d not_found %d ' % (member,count,not_count))
+        c = 0
+        context.waeup_tool.doCommit()
+    if not student.session:
+        try:
+            study_course_doc = getattr(getattr(students_folder,student.id),'study_course').getContent()
+            study_course_doc.edit(mapping = {'current_session': '06'})
+            count += 1
+            data = {'session':'06'}
+            data['id'] = student.id
+            students_catalog.modifyRecord(**data)
+        except:
+            not_count += 1
+            #rwrite("%s/study_course not found" % student.id)
+
+logger.info('%s finished to set %d of %d ' % (member,count,len(all)))
+return
+
Index: WAeUP_SRP/trunk/skins/waeup_utilities/set_current_session.py
===================================================================
--- WAeUP_SRP/trunk/skins/waeup_utilities/set_current_session.py	(revision 1758)
+++ 	(revision )
@@ -1,66 +1,0 @@
-## Script (Python) "set_current_session"
-##bind container=container
-##bind context=context
-##bind namespace=
-##bind script=script
-##bind subpath=traverse_subpath
-##parameters=REQUEST
-##title=
-##
-# $Id$
-"""
-set current_session of all students
-"""
-import logging
-logger = logging.getLogger('Skins.set_current_session')
-
-request = REQUEST
-response = request.RESPONSE
-try:
-    from Products.zdb import set_trace
-except:
-    def set_trace():
-        pass
-
-def rwrite(s):
-    response.setHeader('Content-type','text/html; charset=ISO-8859-15')
-    #response.setHeader('Content-length','%d' % (len(s)))
-    #response.setStatus('OK')
-    response.write("%s <br/>\n\r" % s)
-    return
-
-mtool = context.portal_membership
-member = mtool.getAuthenticatedMember()
-students_catalog = context.students_catalog
-students_folder = context.portal_url.getPortalObject().campus.students
-
-#rwrite("start")
-if str(member) not in ('admin','joachim'):
-    return
-all = students_catalog()
-logger.info('%s starts to set %s ' % (member,len(all)))
-c = 0
-count = 0
-not_count = 0
-#set_trace()
-for student in all:
-    c += 1
-    if c > 1000:
-        logger.info('%s set %d not_found %d ' % (member,count,not_count))
-        c = 0
-        context.waeup_tool.doCommit()
-    if not student.session:
-        try:
-            study_course_doc = getattr(getattr(students_folder,student.id),'study_course').getContent()
-            study_course_doc.edit(mapping = {'current_session': '06'})
-            count += 1
-            data = {'session':'06'}
-            data['id'] = student.id
-            students_catalog.modifyRecord(**data)
-        except:
-            not_count += 1
-            #rwrite("%s/study_course not found" % student.id)
-
-logger.info('%s finished to set %d of %d ' % (member,count,len(all)))
-return
-
