Refactoring.
[Portfolio.git] / __init__.py
1 # -*- coding: utf-8 -*-
2 ############################################################
3 # Copyright © 2005-2008 Benoît PIN <benoit.pin@ensmp.fr> #
4 # Plinn - http://plinn.org #
5 # #
6 # This program is free software; you can redistribute it #
7 # and/or modify it under the terms of the Creative Commons #
8 # "Attribution-Noncommercial 2.0 Generic" #
9 # http://creativecommons.org/licenses/by-nc/2.0/ #
10 ############################################################
11 """ Image manipulation and presentation for CMF
12 """
13
14 from Products.CMFCore import utils as cmfutils
15 from Products.CMFCore.permissions import AddPortalContent
16 import Portfolio
17 import lightbox
18 import ImageManipulationTool
19 import Extensions
20 import utils
21
22 tools = (ImageManipulationTool.ImageManipulationTool,)
23
24 def initialize(registrar) :
25 cmfutils.ToolInit('Portfolio Tool',
26 tools = tools,
27 icon = 'tool.gif'
28 ).initialize(registrar)