X-Git-Url: https://scm.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/fc88da985fa899368c49003162f7f38c4346f0d5..c1ce0412563763e2afff6b023d934b9db389fea6:/profiles/photo/various.py?ds=inline diff --git a/profiles/photo/various.py b/profiles/photo/various.py index 18f9953..efe3039 100644 --- a/profiles/photo/various.py +++ b/profiles/photo/various.py @@ -27,7 +27,7 @@ for m in misc : except : pass if site.acl_users.Users.acl_users.encrypt_passwords : - site.acl_users.Users.acl_users.manage_setUserFolderProperties(encrypt_passwords=False) + site.acl_users.Users.acl_users.manage_setUserFolderProperties(encrypt_passwords=True) # configure mosaicTool @@ -70,7 +70,7 @@ doActionForOrSkip(site.index_html, 'direct_publish') # default folders constructOrSkip('Huge Plinn Folder', site, 'Members', title = translate('Members')) -#constructOrSkip('Plinn Folder', site, 'global_settings', title = translate('Portlets')) +#constructOrSkip('Huge Plinn Folder', site, 'global_settings', title = translate('Portlets')) if not hasattr(site, 'global_settings') : site.manage_addProduct['OFSP'].manage_addFolder('global_settings') if not site.global_settings.hasProperty('noIndex'): @@ -80,7 +80,7 @@ if not site.global_settings.hasProperty('noIndex'): constructOrSkip('Mosaic Document', site.global_settings, 'left_boxes', title=translate('Left boxes')) lb = site.global_settings.left_boxes addBlockOrSkip(lb, 'Tree Box Block', 0, id='nav_tree') -lb.nav_tree.saveBlock(filteredMetaTypes={'text' : ['Plinn Folder', 'Portfolio', 'Topic']}) +lb.nav_tree.saveBlock(filteredMetaTypes={'text' : ['Huge Plinn Folder', 'Portfolio', 'Topic']}) doActionForOrSkip(lb, 'direct_publish') # right boxes @@ -97,8 +97,8 @@ mtool = getToolByName(site, 'portal_membership') mtool.setMemberAreaPortalType('Huge Plinn Folder') gtool = getToolByName(site, 'portal_groups') -gtool.setGroupWorkspaceContainerType('Plinn Folder') -gtool.setGroupWorkspaceType('Plinn Folder') +gtool.setGroupWorkspaceContainerType('Huge Plinn Folder') +gtool.setGroupWorkspaceType('Huge Plinn Folder') caltool = getToolByName(site, 'portal_calendar') caltool.configureTool(['created', 'modified', 'DateTimeOriginal'], [9, 18])