]> CRI, Mines Paris - PSL - Plinn.git/blobdiff - skins/generic/searchableTypes.py
Déplacement pour eggification.
[Plinn.git] / skins / generic / searchableTypes.py
diff --git a/skins/generic/searchableTypes.py b/skins/generic/searchableTypes.py
deleted file mode 100644 (file)
index 276ed46..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-##parameters=
-folderishTypes = ['Huge Plinn Folder', 'Calendar', 'Portfolio']
-ttool = context.portal_types
-allFtis = ttool.listTypeInfo()
-
-ftis = []
-for ft in folderishTypes :
-       folderishFti = ttool.getTypeInfo(ft)
-
-       for fti in allFtis :
-               if folderishFti.allowType(fti.id) and fti not in ftis :
-                       ftis.append(fti)
-
-ftis.append(ttool['Discussion Item'])
-return ftis
\ No newline at end of file