--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/component/gallery/zmi/interfaces.py Thu Oct 08 13:37:29 2015 +0200
@@ -0,0 +1,41 @@
+#
+# Copyright (c) 2008-2015 Thierry Florac <tflorac AT ulthar.net>
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+
+__docformat__ = 'restructuredtext'
+
+
+# import standard library
+
+# import interfaces
+
+# import packages
+from pyams_file.schema import FileField
+from pyams_i18n.schema import I18nTextField
+from zope.interface import Interface
+from zope.schema import TextLine
+
+from pyams_content import _
+
+
+class IGalleryImageAddFields(Interface):
+ """Gallery image add fields"""
+
+ author = TextLine(title=_("Author"),
+ required=False)
+
+ author_comments = I18nTextField(title=_("Author comments"),
+ description=_("Comments relatives to author's rights management"),
+ required=False)
+
+ images_data = FileField(title=_("Images data"),
+ description=_("You can upload a single file or choose to upload a whole ZIP archive"),
+ required=False)