Logo Search packages:      
Sourcecode: zope-exuserfolder version File versions

def zope-exuserfolder-0.50.0::MembershipSources::basicMemberSource::basicMemberSource::BasicMemberSource::manage_editMembershipSource (   self,
  REQUEST 
)

Edit a basic Membership Source 

Definition at line 254 of file basicMemberSource.py.

00254                                                     :
            """ Edit a basic Membership Source """
            if REQUEST.has_key('pvfeatures'):
                  self.pvFeatures=REQUEST['pvfeatures']
            else:
                  self.pvFeatures=[]
                  
            if REQUEST.has_key('minpasslength'):
                  self.minLength=REQUEST['minpasslength']

            if REQUEST.has_key('createhomedir'):
                  createHomeDir=1
            else:
                  createHomeDir=0

            if createHomeDir:
                  self.copyFilesFrom=REQUEST['copyfiles']
                  if self.copyFilesFrom:
                        self.findSkelRootObject()
                  else:
                        self.homeRoot=REQUEST['homeroot']
                  self.findHomeRootObject()
            
            if REQUEST.has_key('memberroles'):
                  self.defaultRoles=REQUEST['memberroles']
            if REQUEST.has_key('changepasswords'):
                  self.usersCanChangePasswords=1
            else:
                  self.usersCanChangePasswords=0

            self.postLogin=REQUEST['postlogin']
            if REQUEST.has_key('fixeddest'):
                  self.fixedDest=REQUEST['fixeddest']

            self.baseURL=REQUEST['baseurl']
            self.loginPage=REQUEST['loginpage']
            self.signupPage=REQUEST['signuppage']
            self.passwordPage=REQUEST['passwordpage']
            self.siteName=REQUEST['sitename']
            self.siteEmail=REQUEST['siteemail']
            return self.MessageDialog(self,
                        title  ='Updated!', 
                        message="Membership was Updated",
                        action ='manage_editMembershipSourceForm',
                        REQUEST=REQUEST)

            

      def forgotPassword(self, REQUEST):


Generated by  Doxygen 1.6.0   Back to index