Changeset 1594 for WAeUP_SRP/trunk


Ignore:
Timestamp:
19 Mar 2007, 20:05:00 (18 years ago)
Author:
joachim
Message:

cosmetic changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/Students.py

    r1577 r1594  
    8181    portal_type = meta_type
    8282    security = ClassSecurityInfo()
    83 
    84 
    8583
    8684    security.declareProtected(ModifyPortalContent,"createDEStudents")###(
     
    11141112    ###)
    11151113
    1116 
    1117 
    1118     security.declareProtected(View,"fixOwnership")
     1114    security.declareProtected(View,"fixOwnership") ###(
    11191115    def fixOwnership(self):
    11201116        """fix Ownership"""
     
    11251121            student.application.manage_setLocalRoles(sid, ['Owner',])
    11261122            student.personal.manage_setLocalRoles(sid, ['Owner',])
    1127 
    1128     security.declareProtected(View,"Title")
     1123    ###)
     1124
     1125    security.declareProtected(View,"Title") ###(
    11291126    def Title(self):
    11301127        """compose title"""
    11311128        return "Student Section"
     1129    ###)
    11321130
    11331131    def generateStudentId(self,letter): ###(
     
    11461144InitializeClass(StudentsFolder)
    11471145
    1148 def addStudentsFolder(container, id, REQUEST=None, **kw):
     1146def addStudentsFolder(container, id, REQUEST=None, **kw): ###(
    11491147    """Add a Student."""
    11501148    ob = StudentsFolder(id, **kw)
    11511149    return CPSBase_adder(container, ob, REQUEST=REQUEST)
     1150    ###)
     1151
    11521152###)
     1153
    11531154
    11541155class Student(CPSDocument): ###(
Note: See TracChangeset for help on using the changeset viewer.