X-Git-Url: https://scm.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/3c4367d8e03450e9a73e61f4247145d2b6c86a33..959d888c17d1403d2eeecc19bc4b5e2c8d1debf6:/skins/content/plinn_folder_view.py?ds=inline diff --git a/skins/content/plinn_folder_view.py b/skins/content/plinn_folder_view.py deleted file mode 100755 index 09af73d..0000000 --- a/skins/content/plinn_folder_view.py +++ /dev/null @@ -1,11 +0,0 @@ -##parameters=*arg, **kw -reqOther = context.REQUEST.other -if hasattr(context, 'index_html') : - homePath = context.index_html.getPhysicalPath() - folderPath = context.getPhysicalPath() - if len(homePath) == len(folderPath) + 1 and homePath[:-1] == folderPath: - reqOther['forceTab'] = 'view' - return context.index_html(*arg, **kw) - -reqOther['forceTab'] = 'folderContents' -return context.folder_contents(*arg, **kw) \ No newline at end of file