Le thème créé pour realis est reconverti en thème « photo » pour Plinn core.
[Plinn.git] / skins / photo_theme / member_albums.py
diff --git a/skins/photo_theme/member_albums.py b/skins/photo_theme/member_albums.py
new file mode 100755 (executable)
index 0000000..9425f2b
--- /dev/null
@@ -0,0 +1,6 @@
+##parameters=
+
+from Products.realis.utils import searchContentsWithLocalRolesForAuthenticatedUser as search
+
+results = search(context, portal_type='Portfolio')
+return context.member_albums_template(results = results)
\ No newline at end of file