7 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED |
7 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED |
8 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
8 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
9 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS |
9 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS |
10 # FOR A PARTICULAR PURPOSE. |
10 # FOR A PARTICULAR PURPOSE. |
11 # |
11 # |
|
12 |
|
13 __docformat__ = 'restructuredtext' |
|
14 |
|
15 from z3c.form import field |
12 from z3c.form.browser.checkbox import SingleCheckBoxFieldWidget |
16 from z3c.form.browser.checkbox import SingleCheckBoxFieldWidget |
13 |
|
14 |
|
15 __docformat__ = 'restructuredtext' |
|
16 |
|
17 from z3c.form import field |
|
18 from zope.interface import implementer |
17 from zope.interface import implementer |
19 |
18 |
|
19 from pyams_content import _ |
20 from pyams_content.component.association.interfaces import IAssociationContainer |
20 from pyams_content.component.association.interfaces import IAssociationContainer |
21 from pyams_content.component.association.zmi import AssociationItemAJAXAddForm, AssociationItemAJAXEditForm |
21 from pyams_content.component.association.zmi import AssociationItemAJAXAddForm, AssociationItemAJAXEditForm |
22 from pyams_content.component.association.zmi.interfaces import IAssociationsView |
22 from pyams_content.component.association.zmi.interfaces import IAssociationsView |
23 from pyams_content.component.links import ExternalLink, InternalLink, MailtoLink |
23 from pyams_content.component.links import ExternalLink, InternalLink, MailtoLink |
24 from pyams_content.component.links.interfaces import IExternalLink, IInternalLink, ILinkContainerTarget, IMailtoLink |
24 from pyams_content.component.links.interfaces import IExternalLink, IInternalLink, ILinkContainerTarget, IMailtoLink |
36 from pyams_utils.interfaces import VIEW_SYSTEM_PERMISSION |
36 from pyams_utils.interfaces import VIEW_SYSTEM_PERMISSION |
37 from pyams_viewlet.viewlet import viewlet_config |
37 from pyams_viewlet.viewlet import viewlet_config |
38 from pyams_zmi.form import AdminDialogAddForm, AdminDialogEditForm |
38 from pyams_zmi.form import AdminDialogAddForm, AdminDialogEditForm |
39 from pyams_zmi.interfaces import IPropertiesEditForm |
39 from pyams_zmi.interfaces import IPropertiesEditForm |
40 |
40 |
41 from pyams_content import _ |
|
42 |
|
43 |
41 |
44 # |
42 # |
45 # Internal links views |
43 # Internal links views |
46 # |
44 # |
47 |
45 |