Merge default dev-dc
authorDamien Correia
Tue, 13 Nov 2018 14:05:02 +0100
branchdev-dc
changeset 1086 3d259e1718ef
parent 1079 a5e56749ca3d (current diff)
parent 1084 6b6a884fa28a (diff)
child 1087 978a2b9123b9
Merge default
src/pyams_content/component/association/interfaces/__init__.py
src/pyams_content/component/extfile/interfaces/__init__.py
src/pyams_content/component/gallery/interfaces/__init__.py
src/pyams_content/component/illustration/interfaces/__init__.py
src/pyams_content/component/keynumber/interfaces/__init__.py
src/pyams_content/component/keynumber/portlet/interfaces/__init__.py
src/pyams_content/component/links/interfaces/__init__.py
src/pyams_content/component/paragraph/portlet/interfaces/__init__.py
src/pyams_content/component/paragraph/zmi/preview.py
src/pyams_content/component/theme/interfaces/__init__.py
src/pyams_content/component/video/interfaces/__init__.py
src/pyams_content/features/footer/interfaces/__init__.py
src/pyams_content/features/footer/skin/__init__.py
src/pyams_content/features/header/interfaces/__init__.py
src/pyams_content/features/header/skin/__init__.py
src/pyams_content/features/header/skin/interfaces.py
src/pyams_content/features/menu/interfaces/__init__.py
src/pyams_content/features/redirect/interfaces/__init__.py
src/pyams_content/features/renderer/interfaces/__init__.py
src/pyams_content/features/renderer/skin/__init__.py
src/pyams_content/profile/interfaces/__init__.py
src/pyams_content/reference/interfaces/__init__.py
src/pyams_content/reference/pictograms/interfaces/__init__.py
src/pyams_content/root/interfaces/__init__.py
src/pyams_content/shared/blog/interfaces/__init__.py
src/pyams_content/shared/common/skin/__init__.py
src/pyams_content/shared/common/skin/oid.py
src/pyams_content/shared/common/skin/opengraph.py
src/pyams_content/shared/common/skin/url.py
src/pyams_content/shared/form/interfaces/__init__.py
src/pyams_content/shared/form/zmi/render.py
src/pyams_content/shared/imagemap/interfaces/__init__.py
src/pyams_content/shared/logo/interfaces/__init__.py
src/pyams_content/shared/news/interfaces/__init__.py
src/pyams_content/shared/site/interfaces/__init__.py
src/pyams_content/shared/site/skin/__init__.py
src/pyams_content/shared/site/skin/breadcrumb.py
src/pyams_content/shared/topic/interfaces/__init__.py
src/pyams_content/shared/view/interfaces/__init__.py
src/pyams_content/site.py
src/pyams_content/skin/__init__.py
src/pyams_content/skin/resources/css/pyams_content.css
src/pyams_content/skin/resources/css/pyams_content.min.css
src/pyams_content/skin/resources/img/internal-link.png
src/pyams_content/skin/resources/js/jquery-canvasAreaDraw.js
src/pyams_content/skin/resources/js/jquery-canvasAreaDraw.min.js
src/pyams_content/skin/resources/js/jquery-imagemapster-1.2.10.js
src/pyams_content/skin/resources/js/jquery-imagemapster-1.2.10.min.js
src/pyams_content/skin/resources/js/pyams_content.js
src/pyams_content/skin/resources/js/pyams_content.min.js
src/pyams_content/skin/resources/js/tinymce/onflinks/langs/fr.js
src/pyams_content/skin/resources/js/tinymce/onflinks/langs/fr.min.js
src/pyams_content/skin/resources/js/tinymce/onflinks/plugin.js
src/pyams_content/skin/resources/js/tinymce/onflinks/plugin.min.js
src/pyams_content/skin/resources/less/pyams_content.less
src/pyams_content/skin/routes.py
src/pyams_content/skin/zmi/__init__.py
src/pyams_content/skin/zmi/interfaces/__init__.py
src/pyams_content/skin/zmi/tinymce.py
src/pyams_content/skin/zmi/viewlet/__init__.py
src/pyams_content/skin/zmi/viewlet/toplinks/__init__.py
src/pyams_content/skin/zmi/viewlet/toplinks/templates/user-addings.pt
--- a/.hgtags	Fri Oct 12 14:33:03 2018 +0200
+++ b/.hgtags	Tue Nov 13 14:05:02 2018 +0100
@@ -30,3 +30,7 @@
 0ca2b4efb1589f728f5d6b65cef339d357f5e08f 0.1.21
 0ca2b4efb1589f728f5d6b65cef339d357f5e08f 0.1.21
 9b87a68986bf0b3c9b210707f7abf156ce799e5b 0.1.21
+56cbd405769f11a6861e7fc8dcc696aafaf0307a 0.1.22
+b371683a9aa7df8e45566023574607672467f555 0.1.23
+18aaa69eee31629d77a23466cec72cfdad9f5bd8 0.1.24
+5df53dbacc2e03f12d8bad9909d336b69f591adb 0.1.25
--- a/buildout.cfg	Fri Oct 12 14:33:03 2018 +0200
+++ b/buildout.cfg	Tue Nov 13 14:05:02 2018 +0100
@@ -86,4 +86,4 @@
 eggs = pyams_content [test]
 
 [versions]
-pyams_content = 0.1.21
+pyams_content = 0.1.26
--- a/docs/HISTORY.txt	Fri Oct 12 14:33:03 2018 +0200
+++ b/docs/HISTORY.txt	Tue Nov 13 14:05:02 2018 +0100
@@ -1,6 +1,33 @@
 History
 =======
 
+0.1.25
+------
+ - added pictograms manager to handle empty pictograms list
+ - keep order when updating container's object URL's
+ - updated permission to access properties view
+ - corrected OpenGraph locale tags
+
+0.1.24
+------
+ - updated public title of attachments
+ - check view's context before using it's content type
+ - get view's internal references into given order
+
+0.1.23
+------
+ - added check in text with prefix widgets
+ - updated attachment public title
+
+0.1.22
+------
+ - sort pictograms in manager settings form
+ - use request hostname in portlets cache key
+ - added attributes, methods and portlet related to site navigation
+ - added settings to add prefix to all external files download links
+ - added sitemap and "robots.txt" views
+ - updated videos renderers
+
 0.1.21
 ------
  - updated cancel button's type in paragraphs inner edit forms
--- a/setup.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/setup.py	Tue Nov 13 14:05:02 2018 +0100
@@ -24,7 +24,7 @@
 README = os.path.join(DOCS, 'README.txt')
 HISTORY = os.path.join(DOCS, 'HISTORY.txt')
 
-version = '0.1.21'
+version = '0.1.26'
 long_description = open(README).read() + '\n\n' + open(HISTORY).read()
 
 tests_require = []
@@ -105,7 +105,7 @@
               'pyams_index = pyams_content.scripts.index:index_site'
           ],
           'fanstatic.libraries': [
-              'pyams_content = pyams_content.skin:library'
+              'pyams_content = pyams_content.zmi:library'
           ],
           'zodbupdate': [
               'renames = pyams_content.generations:RENAMED_CLASSES'
--- a/src/pyams_content.egg-info/PKG-INFO	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content.egg-info/PKG-INFO	Tue Nov 13 14:05:02 2018 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: pyams-content
-Version: 0.1.21
+Version: 0.1.25
 Summary: PyAMS base content interfaces and classes
 Home-page: http://hg.ztfy.org/pyams/pyams_content
 Author: Thierry Florac
@@ -72,6 +72,33 @@
         History
         =======
         
+        0.1.25
+        ------
+         - added pictograms manager to handle empty pictograms list
+         - keep order when updating container's object URL's
+         - updated permission to access properties view
+         - corrected OpenGraph locale tags
+        
+        0.1.24
+        ------
+         - updated public title of attachments
+         - check view's context before using it's content type
+         - get view's internal references into given order
+        
+        0.1.23
+        ------
+         - added check in text with prefix widgets
+         - updated attachment public title
+        
+        0.1.22
+        ------
+         - sort pictograms in manager settings form
+         - use request hostname in portlets cache key
+         - added attributes, methods and portlet related to site navigation
+         - added settings to add prefix to all external files download links
+         - added sitemap and "robots.txt" views
+         - updated videos renderers
+        
         0.1.21
         ------
          - updated cancel button's type in paragraphs inner edit forms
--- a/src/pyams_content.egg-info/SOURCES.txt	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content.egg-info/SOURCES.txt	Tue Nov 13 14:05:02 2018 +0100
@@ -24,9 +24,14 @@
 src/pyams_content/component/association/zmi/interfaces.py
 src/pyams_content/component/association/zmi/paragraph.py
 src/pyams_content/component/extfile/__init__.py
+src/pyams_content/component/extfile/manager.py
 src/pyams_content/component/extfile/interfaces/__init__.py
 src/pyams_content/component/extfile/zmi/__init__.py
 src/pyams_content/component/extfile/zmi/container.py
+src/pyams_content/component/extfile/zmi/manager.py
+src/pyams_content/component/extfile/zmi/widget.py
+src/pyams_content/component/extfile/zmi/templates/extfile-title-display.pt
+src/pyams_content/component/extfile/zmi/templates/extfile-title-input.pt
 src/pyams_content/component/file/__init__.py
 src/pyams_content/component/gallery/__init__.py
 src/pyams_content/component/gallery/file.py
@@ -196,6 +201,12 @@
 src/pyams_content/features/review/zmi/templates/review-comments-json.pt
 src/pyams_content/features/review/zmi/templates/review-comments.pt
 src/pyams_content/features/review/zmi/templates/review-notification.pt
+src/pyams_content/features/sitemap/__init__.py
+src/pyams_content/features/sitemap/skin/__init__.py
+src/pyams_content/features/sitemap/skin/templates/humans.pt
+src/pyams_content/features/sitemap/skin/templates/robots.pt
+src/pyams_content/features/sitemap/skin/templates/root-sitemap.pt
+src/pyams_content/features/sitemap/skin/templates/tool-sitemap.pt
 src/pyams_content/generations/__init__.py
 src/pyams_content/interfaces/__init__.py
 src/pyams_content/interfaces/container.py
@@ -336,8 +347,14 @@
 src/pyams_content/shared/site/link.py
 src/pyams_content/shared/site/manager.py
 src/pyams_content/shared/site/interfaces/__init__.py
+src/pyams_content/shared/site/portlet/__init__.py
+src/pyams_content/shared/site/portlet/interfaces.py
+src/pyams_content/shared/site/portlet/zmi/__init__.py
+src/pyams_content/shared/site/portlet/zmi/templates/site-summary-preview.pt
 src/pyams_content/shared/site/skin/__init__.py
 src/pyams_content/shared/site/skin/breadcrumb.py
+src/pyams_content/shared/site/skin/folder.py
+src/pyams_content/shared/site/skin/link.py
 src/pyams_content/shared/site/zmi/__init__.py
 src/pyams_content/shared/site/zmi/container.py
 src/pyams_content/shared/site/zmi/folder.py
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/component/association/interfaces.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,103 @@
+#
+# 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
+from pyams_content.component.paragraph.interfaces import IBaseParagraph
+from zope.annotation.interfaces import IAttributeAnnotatable
+from zope.container.interfaces import IOrderedContainer
+
+# import packages
+from zope.container.constraints import containers, contains
+from zope.interface import Interface, Attribute
+from zope.schema import Bool, Choice
+
+from pyams_content import _
+
+
+ASSOCIATION_CONTAINER_KEY = 'pyams_content.associations'
+
+
+class IAssociationItem(IAttributeAnnotatable):
+    """Base association item interface"""
+
+    containers('.IAssociationContainer')
+
+    icon_class = Attribute("Icon class in associations list")
+    icon_hint = Attribute("Icon hint in associations list")
+
+    visible = Bool(title=_("Visible?"),
+                   description=_("Is this item visible in front-office?"),
+                   required=True,
+                   default=True)
+
+    def is_visible(self, request=None):
+        """Is association item published?"""
+
+    def get_url(self, request=None, view_name=None):
+        """Get link URL"""
+
+
+class IAssociationInfo(Interface):
+    """Association information interface"""
+
+    pictogram = Attribute("Association pictogram")
+
+    user_title = Attribute("Association title proposed on public site")
+
+    user_icon = Attribute("Iocn associated with user title")
+
+    inner_title = Attribute("Inner content, if available")
+
+    human_size = Attribute("Content size, if available")
+
+
+class IAssociationContainer(IOrderedContainer):
+    """Associations container interface"""
+
+    contains(IAssociationItem)
+
+    def append(self, value, notify=True):
+        """Append given value to container"""
+
+    def get_visible_items(self, request=None):
+        """Get list of visible items"""
+
+
+class IAssociationContainerTarget(IAttributeAnnotatable):
+    """Associations container target interface"""
+
+
+class IAssociationRenderer(Interface):
+    """Association renderer adapter interface"""
+
+
+#
+# Associations paragraph
+#
+
+ASSOCIATION_PARAGRAPH_TYPE = 'Associations'
+ASSOCIATION_PARAGRAPH_NAME = _("Associations")
+ASSOCIATION_PARAGRAPH_RENDERERS = 'PyAMS.associations.renderers'
+
+
+class IAssociationParagraph(IBaseParagraph):
+    """Associations paragraph interface"""
+
+    renderer = Choice(title=_("Associations template"),
+                      description=_("Presentation template used for associations"),
+                      vocabulary=ASSOCIATION_PARAGRAPH_RENDERERS,
+                      default='default')
--- a/src/pyams_content/component/association/interfaces/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,103 +0,0 @@
-#
-# 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
-from pyams_content.component.paragraph.interfaces import IBaseParagraph
-from zope.annotation.interfaces import IAttributeAnnotatable
-from zope.container.interfaces import IOrderedContainer
-
-# import packages
-from zope.container.constraints import containers, contains
-from zope.interface import Interface, Attribute
-from zope.schema import Bool, Choice
-
-from pyams_content import _
-
-
-ASSOCIATION_CONTAINER_KEY = 'pyams_content.associations'
-
-
-class IAssociationItem(IAttributeAnnotatable):
-    """Base association item interface"""
-
-    containers('.IAssociationContainer')
-
-    icon_class = Attribute("Icon class in associations list")
-    icon_hint = Attribute("Icon hint in associations list")
-
-    visible = Bool(title=_("Visible?"),
-                   description=_("Is this item visible in front-office?"),
-                   required=True,
-                   default=True)
-
-    def is_visible(self, request=None):
-        """Is association item published?"""
-
-    def get_url(self, request=None, view_name=None):
-        """Get link URL"""
-
-
-class IAssociationInfo(Interface):
-    """Association information interface"""
-
-    pictogram = Attribute("Association pictogram")
-
-    user_title = Attribute("Association title proposed on public site")
-
-    user_icon = Attribute("Iocn associated with user title")
-
-    inner_title = Attribute("Inner content, if available")
-
-    human_size = Attribute("Content size, if available")
-
-
-class IAssociationContainer(IOrderedContainer):
-    """Associations container interface"""
-
-    contains(IAssociationItem)
-
-    def append(self, value, notify=True):
-        """Append given value to container"""
-
-    def get_visible_items(self, request=None):
-        """Get list of visible items"""
-
-
-class IAssociationContainerTarget(IAttributeAnnotatable):
-    """Associations container target interface"""
-
-
-class IAssociationRenderer(Interface):
-    """Association renderer adapter interface"""
-
-
-#
-# Associations paragraph
-#
-
-ASSOCIATION_PARAGRAPH_TYPE = 'Associations'
-ASSOCIATION_PARAGRAPH_NAME = _("Associations")
-ASSOCIATION_PARAGRAPH_RENDERERS = 'PyAMS.associations.renderers'
-
-
-class IAssociationParagraph(IBaseParagraph):
-    """Associations paragraph interface"""
-
-    renderer = Choice(title=_("Associations template"),
-                      description=_("Presentation template used for associations"),
-                      vocabulary=ASSOCIATION_PARAGRAPH_RENDERERS,
-                      default='default')
--- a/src/pyams_content/component/extfile/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/component/extfile/__init__.py	Tue Nov 13 14:05:02 2018 +0100
@@ -12,37 +12,33 @@
 
 __docformat__ = 'restructuredtext'
 
-
-# import standard library
 import os
 
-# import interfaces
-from pyams_content.component.association.interfaces import IAssociationInfo
-from pyams_content.component.extfile.interfaces import IBaseExtFile, IExtFile, IExtImage, IExtVideo, IExtAudio, \
-    IExtMedia
-from pyams_content.features.checker.interfaces import IContentChecker, MISSING_VALUE, MISSING_LANG_VALUE
-from pyams_content.shared.common.interfaces import IWfSharedContent
-from pyams_file.interfaces import IFileInfo, IImage, IResponsiveImage
-from pyams_i18n.interfaces import II18n, INegotiator, II18nManager
+from pyramid.events import subscriber
+from pyramid.threadlocal import get_current_registry
+from zope.interface import alsoProvides, implementer
+from zope.lifecycleevent import ObjectModifiedEvent
 from zope.lifecycleevent.interfaces import IObjectAddedEvent, IObjectModifiedEvent, IObjectRemovedEvent
+from zope.schema.fieldproperty import FieldProperty
+from zope.schema.vocabulary import SimpleTerm, SimpleVocabulary
 
-# import packages
 from pyams_content.component.association import AssociationItem
+from pyams_content.component.association.interfaces import IAssociationInfo
+from pyams_content.component.extfile.interfaces import IBaseExtFile, IExtAudio, IExtFile, IExtFileManagerInfo, \
+    IExtImage, IExtMedia, IExtVideo
 from pyams_content.features.checker import BaseContentChecker
+from pyams_content.features.checker.interfaces import IContentChecker, MISSING_LANG_VALUE, MISSING_VALUE
+from pyams_content.shared.common.interfaces import IWfSharedContent
 from pyams_file.file import EXTENSIONS_THUMBNAILS
+from pyams_file.interfaces import IFileInfo, IImage, IResponsiveImage
+from pyams_i18n.interfaces import II18n, II18nManager, INegotiator
 from pyams_i18n.property import I18nFileProperty
-from pyams_utils.adapter import adapter_config, ContextAdapter
-from pyams_utils.registry import query_utility, get_utility
+from pyams_utils.adapter import ContextAdapter, adapter_config
+from pyams_utils.registry import get_utility, query_utility
 from pyams_utils.request import check_request
 from pyams_utils.size import get_human_size
 from pyams_utils.traversing import get_parent
 from pyams_utils.vocabulary import vocabulary_config
-from pyramid.events import subscriber
-from pyramid.threadlocal import get_current_registry
-from zope.interface import implementer, alsoProvides
-from zope.lifecycleevent import ObjectModifiedEvent
-from zope.schema.fieldproperty import FieldProperty
-from zope.schema.vocabulary import SimpleVocabulary, SimpleTerm
 
 from pyams_content import _
 
@@ -87,10 +83,15 @@
 
     @property
     def user_title(self):
+        request = check_request()
+        manager_info = IExtFileManagerInfo(request.root)
         title = II18n(self.context).query_attribute('title')
         if not title:
             title = self.context.filename
-        return title
+            if '.' in title:
+                title, extension = title.rsplit('.', 1)
+        return '{0} {1}'.format(II18n(manager_info).query_attribute('default_title_prefix', request=request) or '',
+                                title)
 
     @property
     def user_icon(self):
@@ -173,6 +174,7 @@
 
     data = I18nFileProperty(IExtFile['data'])
 
+
 register_file_factory('file', ExtFile, _("Standard file"))
 
 
@@ -185,7 +187,7 @@
         request = check_request()
         translate = request.localizer.translate
         return II18n(self.context).query_attribute('title', request) or \
-            '({0})'.format(translate(self.context.icon_hint).lower())
+               '({0})'.format(translate(self.context.icon_hint).lower())
 
     interface = IExtFile
 
@@ -197,7 +199,7 @@
             langs = manager.get_languages()
         else:
             negotiator = get_utility(INegotiator)
-            langs = (negotiator.server_language, )
+            langs = (negotiator.server_language,)
         i18n = II18n(self.context)
         for attr in ('title', 'data'):
             for lang in langs:
@@ -235,6 +237,7 @@
             if IImage.providedBy(data):
                 alsoProvides(data, IResponsiveImage)
 
+
 register_file_factory('image', ExtImage, _("Image"))
 
 
@@ -254,6 +257,7 @@
 
     data = I18nFileProperty(IExtVideo['data'])
 
+
 register_file_factory('video', ExtVideo, _("Video"))
 
 
@@ -273,6 +277,7 @@
 
     data = I18nFileProperty(IExtAudio['data'])
 
+
 register_file_factory('audio', ExtAudio, _("Audio file"))
 
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/component/extfile/interfaces.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,107 @@
+#
+# 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'
+
+from zope.interface import Interface
+from zope.schema import Choice, TextLine
+
+from pyams_content.component.association.interfaces import IAssociationContainerTarget, IAssociationItem
+from pyams_i18n.schema import I18nAudioField, I18nFileField, I18nTextField, I18nTextLineField, I18nThumbnailImageField, \
+    I18nVideoField
+
+from pyams_content import _
+
+
+EXTFILE_CONTAINER_KEY = 'pyams_content.extfile'
+EXTFILE_LINKS_CONTAINER_KEY = 'pyams_content.extfile.links'
+
+
+class IBaseExtFile(IAssociationItem):
+    """Base external file interface"""
+
+    title = I18nTextLineField(title=_("Download link label"),
+                              description=_("Label of download link, as shown in front-office"),
+                              required=False)
+
+    description = I18nTextField(title=_("Description"),
+                                description=_("File description displayed by front-office template"),
+                                required=False)
+
+    author = TextLine(title=_("Author"),
+                      description=_("Name of document's author"),
+                      required=False)
+
+    language = Choice(title=_("Language"),
+                      description=_("File's content language"),
+                      vocabulary="PyAMS base languages",
+                      required=False)
+
+    filename = TextLine(title=_("Save file as..."),
+                        description=_("Name under which the file will be saved"),
+                        required=False)
+
+
+class IExtFile(IBaseExtFile):
+    """Generic external file interface"""
+
+    data = I18nFileField(title=_("File data"),
+                         description=_("File content"),
+                         required=True)
+
+
+class IExtMedia(IExtFile):
+    """External media file interface"""
+
+
+class IExtImage(IExtMedia):
+    """External image file interface"""
+
+    data = I18nThumbnailImageField(title=_("Image data"),
+                                   description=_("Image content"),
+                                   required=True)
+
+
+class IExtVideo(IExtMedia):
+    """External video file interface"""
+
+    data = I18nVideoField(title=_("Video data"),
+                          description=_("Video content"),
+                          required=True)
+
+
+class IExtAudio(IExtMedia):
+    """External audio file interface"""
+
+    data = I18nAudioField(title=_("Audio data"),
+                          description=_("Audio file content"),
+                          required=True)
+
+
+class IExtFileContainerTarget(IAssociationContainerTarget):
+    """External files container marker interface"""
+
+
+#
+# External files management
+#
+
+EXTFILE_MANAGER_INFO_KEY = 'pyams_content.extfile.manager'
+
+
+class IExtFileManagerInfo(Interface):
+    """External file manager interface"""
+
+    default_title_prefix = I18nTextLineField(title=_("Default title prefix"),
+                                             description=_("If used, this prefix will be automatically added to "
+                                                           "download link's label of all files"),
+                                             required=False)
--- a/src/pyams_content/component/extfile/interfaces/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,95 +0,0 @@
-#
-# 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
-from pyams_content.component.association.interfaces import IAssociationItem, IAssociationContainerTarget
-
-# import packages
-from pyams_i18n.schema import I18nTextLineField, I18nTextField, I18nFileField, I18nThumbnailImageField, \
-    I18nVideoField, I18nAudioField
-from zope.schema import TextLine, Choice
-
-from pyams_content import _
-
-
-EXTFILE_CONTAINER_KEY = 'pyams_content.extfile'
-EXTFILE_LINKS_CONTAINER_KEY = 'pyams_content.extfile.links'
-
-
-class IBaseExtFile(IAssociationItem):
-    """Base external file interface"""
-
-    title = I18nTextLineField(title=_("Alternate title"),
-                              description=_("File title, as shown in front-office"),
-                              required=False)
-
-    description = I18nTextField(title=_("Description"),
-                                description=_("File description displayed by front-office template"),
-                                required=False)
-
-    author = TextLine(title=_("Author"),
-                      description=_("Name of document's author"),
-                      required=False)
-
-    language = Choice(title=_("Language"),
-                      description=_("File's content language"),
-                      vocabulary="PyAMS base languages",
-                      required=False)
-
-    filename = TextLine(title=_("Save file as..."),
-                        description=_("Name under which the file will be saved"),
-                        required=False)
-
-
-class IExtFile(IBaseExtFile):
-    """Generic external file interface"""
-
-    data = I18nFileField(title=_("File data"),
-                         description=_("File content"),
-                         required=True)
-
-
-class IExtMedia(IExtFile):
-    """External media file interface"""
-
-
-class IExtImage(IExtMedia):
-    """External image file interface"""
-
-    data = I18nThumbnailImageField(title=_("Image data"),
-                                   description=_("Image content"),
-                                   required=True)
-
-
-class IExtVideo(IExtMedia):
-    """External video file interface"""
-
-    data = I18nVideoField(title=_("Video data"),
-                          description=_("Video content"),
-                          required=True)
-
-
-class IExtAudio(IExtMedia):
-    """External audio file interface"""
-
-    data = I18nAudioField(title=_("Audio data"),
-                          description=_("Audio file content"),
-                          required=True)
-
-
-class IExtFileContainerTarget(IAssociationContainerTarget):
-    """External files container marker interface"""
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/component/extfile/manager.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,33 @@
+#
+# Copyright (c) 2008-2018 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'
+
+from persistent import Persistent
+from zope.interface import implementer
+from zope.schema.fieldproperty import FieldProperty
+
+from pyams_content.component.extfile.interfaces import EXTFILE_MANAGER_INFO_KEY, IExtFileManagerInfo
+from pyams_content.root import ISiteRoot
+from pyams_utils.adapter import adapter_config, get_annotation_adapter
+
+
+@implementer(IExtFileManagerInfo)
+class ExtFileManagerInfo(Persistent):
+    """external files manager settings"""
+
+    default_title_prefix = FieldProperty(IExtFileManagerInfo['default_title_prefix'])
+
+
+@adapter_config(context=ISiteRoot, provides=IExtFileManagerInfo)
+def site_root_extfile_manager_info_factory(context):
+    return get_annotation_adapter(context, EXTFILE_MANAGER_INFO_KEY, ExtFileManagerInfo)
--- a/src/pyams_content/component/extfile/zmi/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/component/extfile/zmi/__init__.py	Tue Nov 13 14:05:02 2018 +0100
@@ -22,6 +22,7 @@
 from pyams_content.component.extfile import EXTERNAL_FILES_FACTORIES
 from pyams_content.component.extfile.interfaces import IExtAudio, IExtFile, IExtFileContainerTarget, IExtImage, \
     IExtMedia, IExtVideo
+from pyams_content.component.extfile.zmi.widget import I18nExtFileTitleFieldWidget
 from pyams_content.component.paragraph.zmi import get_json_paragraph_markers_refresh_event
 from pyams_content.component.paragraph.zmi.container import ParagraphContainerCounterBase
 from pyams_content.component.paragraph.zmi.interfaces import IParagraphContainerTable, IParagraphTitleToolbar
@@ -99,6 +100,8 @@
     icon_css_class = 'fa fa-fw fa-file-text-o'
 
     fields = field.Fields(IExtFile).select('data', 'filename', 'title', 'description', 'author', 'language')
+    fields['title'].widgetFactory = I18nExtFileTitleFieldWidget
+
     edit_permission = MANAGE_CONTENT_PERMISSION
 
     def create(self, data):
@@ -130,6 +133,8 @@
     dialog_class = 'modal-large'
 
     fields = field.Fields(IExtFile).select('data', 'filename', 'title', 'description', 'author', 'language')
+    fields['title'].widgetFactory = I18nExtFileTitleFieldWidget
+
     edit_permission = MANAGE_CONTENT_PERMISSION
 
     def get_ajax_output(self, changes):
@@ -184,6 +189,7 @@
     icon_css_class = 'fa fa-fw fa-file-image-o'
 
     fields = field.Fields(IExtImage).select('data', 'filename', 'title', 'description', 'author')
+    fields['title'].widgetFactory = I18nExtFileTitleFieldWidget
 
     def updateWidgets(self, prefix=None):
         super(ExtImageAddForm, self).updateWidgets(prefix)
@@ -215,6 +221,7 @@
     icon_css_class = 'fa fa-fw fa-file-image-o'
 
     fields = field.Fields(IExtImage).select('data', 'filename', 'title', 'description', 'author')
+    fields['title'].widgetFactory = I18nExtFileTitleFieldWidget
 
     def updateWidgets(self, prefix=None):
         super(ExtImagePropertiesEditForm, self).updateWidgets(prefix)
@@ -275,6 +282,7 @@
     icon_css_class = 'fa fa-fw fa-file-video-o'
 
     fields = field.Fields(IExtVideo).select('data', 'filename', 'title', 'description', 'author', 'language')
+    fields['title'].widgetFactory = I18nExtFileTitleFieldWidget
 
     def create(self, data):
         factory = EXTERNAL_FILES_FACTORIES.get('video')
@@ -299,6 +307,7 @@
     icon_css_class = 'fa fa-fw fa-file-video-o'
 
     fields = field.Fields(IExtVideo).select('data', 'filename', 'title', 'description', 'author', 'language')
+    fields['title'].widgetFactory = I18nExtFileTitleFieldWidget
 
     def get_ajax_output(self, changes):
         if changes:
@@ -352,6 +361,7 @@
     icon_css_class = 'fa fa-fw fa-file-audio-o'
 
     fields = field.Fields(IExtAudio).select('data', 'filename', 'title', 'description', 'author', 'language')
+    fields['title'].widgetFactory = I18nExtFileTitleFieldWidget
 
     def create(self, data):
         factory = EXTERNAL_FILES_FACTORIES.get('audio')
@@ -376,6 +386,7 @@
     icon_css_class = 'fa fa-fw fa-file-audio-o'
 
     fields = field.Fields(IExtAudio).select('data', 'filename', 'title', 'description', 'author', 'language')
+    fields['title'].widgetFactory = I18nExtFileTitleFieldWidget
 
     def get_ajax_output(self, changes):
         if changes:
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/component/extfile/zmi/manager.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,57 @@
+#
+# Copyright (c) 2008-2018 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'
+
+from z3c.form import field
+
+from pyams_content.component.extfile.interfaces import IExtFileManagerInfo
+from pyams_content.interfaces import MANAGE_SITE_ROOT_PERMISSION
+from pyams_content.root import ISiteRoot
+from pyams_form.form import ajax_config
+from pyams_pagelet.pagelet import pagelet_config
+from pyams_skin.layer import IPyAMSLayer
+from pyams_skin.viewlet.menu import MenuItem
+from pyams_viewlet.viewlet import viewlet_config
+from pyams_zmi.form import AdminDialogEditForm
+from pyams_zmi.interfaces.menu import IPropertiesMenu
+from pyams_zmi.layer import IAdminLayer
+
+from pyams_content import _
+
+
+@viewlet_config(name='extfiles-manager.menu', context=ISiteRoot, layer=IAdminLayer,
+                manager=IPropertiesMenu, permission=MANAGE_SITE_ROOT_PERMISSION, weight=80)
+class ExtFileManagerMenu(MenuItem):
+    """External files manager menu"""
+
+    label = _("External files...")
+    icon_class = 'fa-file-o'
+    url = 'extfiles-manager.html'
+    modal_target = True
+
+
+@pagelet_config(name='extfiles-manager.html', context=ISiteRoot, layer=IPyAMSLayer,
+                permission=MANAGE_SITE_ROOT_PERMISSION)
+@ajax_config(name='extfiles-manager.json', context=ISiteRoot, layer=IPyAMSLayer)
+class ExtFileManagerInfoEditForm(AdminDialogEditForm):
+    """External files manager properties edit form"""
+
+    prefix = 'extfiles_manager_info.'
+
+    legend = _("External files properties")
+
+    fields = field.Fields(IExtFileManagerInfo)
+    edit_permission = MANAGE_SITE_ROOT_PERMISSION
+
+    def getContent(self):
+        return IExtFileManagerInfo(self.context)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/component/extfile/zmi/templates/extfile-title-display.pt	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,20 @@
+<div class="field-with-prefix">
+	<span class="prefix">${view/prefix}</span>
+	<input type="text" readonly
+		   tal:attributes="id view/id;
+						   class string:${view/klass} border-0;
+						   style view/style;
+						   title view/title;
+						   lang view/lang;
+						   onclick view/onclick;
+						   ondblclick view/ondblclick;
+						   onmousedown view/onmousedown;
+						   onmouseup view/onmouseup;
+						   onmouseover view/onmouseover;
+						   onmousemove view/onmousemove;
+						   onmouseout view/onmouseout;
+						   onkeypress view/onkeypress;
+						   onkeydown view/onkeydown;
+						   onkeyup view/onkeyup;
+						   value view/value" />
+</div>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/component/extfile/zmi/templates/extfile-title-input.pt	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,37 @@
+<div class="field-with-prefix">
+	<span class="prefix">${view/prefix}</span>
+	<input id="" name="" class="" title="" lang="" disabled=""
+		   readonly="" alt="" tabindex="" accesskey="" size="" maxlength=""
+		   style="" value="" type="text"
+			tal:attributes="id view/id;
+							name view/name;
+							class view/klass;
+							style view/style;
+							title view/title;
+							lang view/lang;
+							onclick view/onclick;
+							ondblclick view/ondblclick;
+							onmousedown view/onmousedown;
+							onmouseup view/onmouseup;
+							onmouseover view/onmouseover;
+							onmousemove view/onmousemove;
+							onmouseout view/onmouseout;
+							onkeypress view/onkeypress;
+							onkeydown view/onkeydown;
+							onkeyup view/onkeyup;
+							value view/value;
+							disabled view/disabled;
+							tabindex view/tabindex;
+							onfocus view/onfocus;
+							onblur view/onblur;
+							onchange view/onchange;
+							readonly view/readonly;
+							alt view/alt;
+							accesskey view/accesskey;
+							onselect view/onselect;
+							size view/size;
+							maxlength view/maxlength;
+							placeholder view/placeholder;
+							autocapitalize view/autocapitalize;
+							data-ams-data tales:object_data(view);" />
+</div>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/component/extfile/zmi/widget.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,77 @@
+#
+# Copyright (c) 2008-2018 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'
+
+from z3c.form.browser.text import TextWidget
+from z3c.form.interfaces import DISPLAY_MODE, INPUT_MODE, ITextWidget
+from z3c.form.widget import FieldWidget
+from zope.interface import implementer_only
+
+from pyams_content.component.extfile.interfaces import IExtFileManagerInfo
+from pyams_form.interfaces import IFormLayer
+from pyams_form.widget import widgettemplate_config
+from pyams_i18n.interfaces import II18n
+from pyams_i18n.interfaces.widget import II18nTextLineWidget
+from pyams_i18n.widget import I18nTextLineWidget
+
+
+#
+# External file title field widget
+#
+
+class IExtFileTitleWidget(ITextWidget):
+    """External file title field widget interface"""
+
+
+@widgettemplate_config(mode=INPUT_MODE, template='templates/extfile-title-input.pt', layer=IFormLayer)
+@widgettemplate_config(mode=DISPLAY_MODE, template='templates/extfile-title-display.pt', layer=IFormLayer)
+@implementer_only(IExtFileTitleWidget)
+class ExtFileTitleWidget(TextWidget):
+    """External file title widget"""
+
+    @property
+    def prefix(self):
+        manager_info = IExtFileManagerInfo(self.request.root, None)
+        if manager_info is not None:
+            lang = getattr(self, 'lang', None)  # I18n widget
+            if lang is not None:
+                return (manager_info.default_title_prefix or {}).get(lang, '') or ''
+            else:
+                return II18n(manager_info).query_attribute('default_title_prefix', request=self.request) or ''
+        else:
+            return ''
+
+
+def ExtFileTitleFieldWidget(field, request):
+    """External file title widget factory"""
+    return FieldWidget(field, ExtFileTitleWidget(request))
+
+
+#
+# I18n external file title field widget
+#
+
+class II18nExtFileTitleWidget(II18nTextLineWidget):
+    """I18n external file title field widget interface"""
+
+
+@implementer_only(II18nExtFileTitleWidget)
+class I18nExtFileTitleWidget(I18nTextLineWidget):
+    """I18n external file title widget"""
+
+
+def I18nExtFileTitleFieldWidget(field, request):
+    """I18n external file title widget factory"""
+    widget = I18nExtFileTitleWidget(request)
+    widget.widget_factory = ExtFileTitleFieldWidget
+    return FieldWidget(field, widget)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/component/gallery/interfaces.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,124 @@
+#
+# 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'
+
+from zope.annotation.interfaces import IAttributeAnnotatable
+from zope.container.constraints import containers, contains
+from zope.container.interfaces import IOrderedContainer
+from zope.interface import Interface
+from zope.schema import Bool, Choice, TextLine
+
+from pyams_content.component.paragraph.interfaces import IBaseParagraph
+from pyams_content.features.renderer.interfaces import IRenderedContent
+from pyams_file.schema import AudioField, MediaField
+from pyams_i18n.schema import I18nTextField, I18nTextLineField
+
+from pyams_content import _
+
+
+GALLERY_CONTAINER_KEY = 'pyams_content.gallery'
+GALLERY_RENDERERS = 'PyAMS.gallery.renderers'
+
+
+class IGalleryItem(Interface):
+    """Gallery item base interface"""
+
+    containers('.IGallery')
+
+
+class IGalleryFile(IGalleryItem):
+    """Gallery file marker interface"""
+
+    data = MediaField(title=_("Image or video data"),
+                      description=_("Image or video content"),
+                      required=True)
+
+    title = I18nTextLineField(title=_("Legend"),
+                              required=False)
+
+    alt_title = I18nTextLineField(title=_("Accessibility title"),
+                                  description=_("Alternate title used to describe media content"),
+                                  required=False)
+
+    description = I18nTextField(title=_("Description"),
+                                required=False)
+
+    author = TextLine(title=_("Author"),
+                      description=_("Name of document's author"),
+                      required=True)
+
+    sound = AudioField(title=_("Audio data"),
+                       description=_("Sound file associated with the current media"),
+                       required=False)
+
+    sound_title = I18nTextLineField(title=_("Sound title"),
+                                    description=_("Title of associated sound file"),
+                                    required=False)
+
+    sound_description = I18nTextField(title=_("Sound description"),
+                                      description=_("Short description of associated sound file"),
+                                      required=False)
+
+    visible = Bool(title=_("Visible media?"),
+                   description=_("If 'no', this media won't be displayed in front office"),
+                   required=True,
+                   default=True)
+
+
+GALLERY_FILE_HIDDEN_FIELDS = ('__parent__', '__name__', 'visible')
+
+
+class IBaseGallery(IOrderedContainer, IAttributeAnnotatable, IRenderedContent):
+    """Base gallery interface"""
+
+    renderer = Choice(title=_("Gallery template"),
+                      description=_("Presentation template used for this gallery"),
+                      vocabulary=GALLERY_RENDERERS,
+                      default='default')
+
+    def append(self, value, notify=True):
+        """Append new file to gallery
+
+        @param value: the media object to append
+        @param boolean notify: if 'False', the given value object is pre-located so that
+            adding events are not notified
+        """
+
+    def get_visible_medias(self):
+        """Get iterator over visible medias"""
+
+
+class IGallery(IBaseGallery):
+    """Gallery interface"""
+
+    contains(IGalleryItem)
+
+    title = I18nTextLineField(title=_("Title"),
+                              description=_("Gallery title, as shown in front-office"),
+                              required=False)
+
+    description = I18nTextField(title=_("Description"),
+                                description=_("Gallery description displayed by front-office template"),
+                                required=False)
+
+
+class IGalleryTarget(IAttributeAnnotatable):
+    """Gallery container target marker interface"""
+
+
+GALLERY_PARAGRAPH_TYPE = 'Gallery'
+GALLERY_PARAGRAPH_NAME = _("Medias gallery")
+
+
+class IGalleryParagraph(IBaseGallery, IBaseParagraph):
+    """Gallery paragraph"""
--- a/src/pyams_content/component/gallery/interfaces/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,124 +0,0 @@
-#
-# 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'
-
-from zope.annotation.interfaces import IAttributeAnnotatable
-from zope.container.constraints import containers, contains
-from zope.container.interfaces import IOrderedContainer
-from zope.interface import Interface
-from zope.schema import Bool, Choice, TextLine
-
-from pyams_content.component.paragraph.interfaces import IBaseParagraph
-from pyams_content.features.renderer.interfaces import IRenderedContent
-from pyams_file.schema import AudioField, MediaField
-from pyams_i18n.schema import I18nTextField, I18nTextLineField
-
-from pyams_content import _
-
-
-GALLERY_CONTAINER_KEY = 'pyams_content.gallery'
-GALLERY_RENDERERS = 'PyAMS.gallery.renderers'
-
-
-class IGalleryItem(Interface):
-    """Gallery item base interface"""
-
-    containers('.IGallery')
-
-
-class IGalleryFile(IGalleryItem):
-    """Gallery file marker interface"""
-
-    data = MediaField(title=_("Image or video data"),
-                      description=_("Image or video content"),
-                      required=True)
-
-    title = I18nTextLineField(title=_("Legend"),
-                              required=False)
-
-    alt_title = I18nTextLineField(title=_("Accessibility title"),
-                                  description=_("Alternate title used to describe media content"),
-                                  required=False)
-
-    description = I18nTextField(title=_("Description"),
-                                required=False)
-
-    author = TextLine(title=_("Author"),
-                      description=_("Name of document's author"),
-                      required=True)
-
-    sound = AudioField(title=_("Audio data"),
-                       description=_("Sound file associated with the current media"),
-                       required=False)
-
-    sound_title = I18nTextLineField(title=_("Sound title"),
-                                    description=_("Title of associated sound file"),
-                                    required=False)
-
-    sound_description = I18nTextField(title=_("Sound description"),
-                                      description=_("Short description of associated sound file"),
-                                      required=False)
-
-    visible = Bool(title=_("Visible media?"),
-                   description=_("If 'no', this media won't be displayed in front office"),
-                   required=True,
-                   default=True)
-
-
-GALLERY_FILE_HIDDEN_FIELDS = ('__parent__', '__name__', 'visible')
-
-
-class IBaseGallery(IOrderedContainer, IAttributeAnnotatable, IRenderedContent):
-    """Base gallery interface"""
-
-    renderer = Choice(title=_("Gallery template"),
-                      description=_("Presentation template used for this gallery"),
-                      vocabulary=GALLERY_RENDERERS,
-                      default='default')
-
-    def append(self, value, notify=True):
-        """Append new file to gallery
-
-        @param value: the media object to append
-        @param boolean notify: if 'False', the given value object is pre-located so that
-            adding events are not notified
-        """
-
-    def get_visible_medias(self):
-        """Get iterator over visible medias"""
-
-
-class IGallery(IBaseGallery):
-    """Gallery interface"""
-
-    contains(IGalleryItem)
-
-    title = I18nTextLineField(title=_("Title"),
-                              description=_("Gallery title, as shown in front-office"),
-                              required=False)
-
-    description = I18nTextField(title=_("Description"),
-                                description=_("Gallery description displayed by front-office template"),
-                                required=False)
-
-
-class IGalleryTarget(IAttributeAnnotatable):
-    """Gallery container target marker interface"""
-
-
-GALLERY_PARAGRAPH_TYPE = 'Gallery'
-GALLERY_PARAGRAPH_NAME = _("Medias gallery")
-
-
-class IGalleryParagraph(IBaseGallery, IBaseParagraph):
-    """Gallery paragraph"""
--- a/src/pyams_content/component/gallery/zmi/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/component/gallery/zmi/__init__.py	Tue Nov 13 14:05:02 2018 +0100
@@ -9,6 +9,10 @@
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE.
 #
+from pyams_content.component.gallery.zmi.paragraph import ParagraphContainerGalleryMarker, GalleryInnerEditForm
+from pyams_content.component.paragraph import IBaseParagraph
+from pyams_content.component.paragraph.zmi import get_json_paragraph_markers_refresh_event
+
 
 __docformat__ = 'restructuredtext'
 
@@ -140,7 +144,18 @@
     if media is None:
         raise NotFound()
     media.visible = not media.visible
-    return {'visible': media.visible}
+    result = {'visible': media.visible}
+    if IBaseParagraph.providedBy(gallery):
+        form = GalleryInnerEditForm(gallery, request)
+        form.update()
+        result.update({
+            'status': 'success',
+            'handle_json': True,
+            'events': [
+                get_json_paragraph_markers_refresh_event(gallery, request, form, ParagraphContainerGalleryMarker)
+            ]
+        })
+    return result
 
 
 #
--- a/src/pyams_content/component/gallery/zmi/paragraph.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/component/gallery/zmi/paragraph.py	Tue Nov 13 14:05:02 2018 +0100
@@ -20,6 +20,7 @@
 from z3c.form.interfaces import INPUT_MODE
 from zope.interface import Interface, implementer
 
+from pyams_content.component.gallery import IBaseGallery
 from pyams_content.component.gallery.interfaces import GALLERY_PARAGRAPH_TYPE, IGalleryParagraph
 from pyams_content.component.gallery.paragraph import Gallery
 from pyams_content.component.gallery.zmi.file import GalleryMediaAddForm
@@ -27,9 +28,10 @@
 from pyams_content.component.paragraph.interfaces import IParagraphContainer, IParagraphContainerTarget
 from pyams_content.component.paragraph.zmi import BaseParagraphAJAXAddForm, BaseParagraphAJAXEditForm, \
     BaseParagraphAddMenu, BaseParagraphPropertiesEditForm, IParagraphInnerEditFormButtons, ParagraphContainerTable, \
-    get_json_paragraph_refresh_event
-from pyams_content.component.paragraph.zmi.interfaces import IParagraphContainerView, IParagraphInnerEditor, \
-    IParagraphTitleValue
+    get_json_paragraph_refresh_event, get_json_paragraph_markers_refresh_event
+from pyams_content.component.paragraph.zmi.container import ParagraphContainerCounterBase
+from pyams_content.component.paragraph.zmi.interfaces import IParagraphContainerTable, IParagraphContainerView, \
+    IParagraphInnerEditor, IParagraphTitleToolbar
 from pyams_content.features.renderer.zmi.widget import RendererFieldWidget
 from pyams_content.interfaces import MANAGE_CONTENT_PERMISSION
 from pyams_content.shared.common.zmi import WfSharedContentPermissionMixin
@@ -44,7 +46,7 @@
 from pyams_skin.viewlet.toolbar import ToolbarAction
 from pyams_template.template import template_config
 from pyams_utils.adapter import adapter_config
-from pyams_utils.interfaces import ICacheKeyValue
+from pyams_utils.interfaces import ICacheKeyValue, VIEW_SYSTEM_PERMISSION
 from pyams_utils.traversing import get_parent
 from pyams_utils.url import absolute_url
 from pyams_viewlet.viewlet import viewlet_config
@@ -74,7 +76,7 @@
     legend = _("Add new gallery")
     icon_css_class = 'fa fa-fw fa-picture-o'
 
-    fields = field.Fields(IGalleryParagraph).select('renderer')
+    fields = field.Fields(IGalleryParagraph).select('title', 'renderer')
     edit_permission = MANAGE_CONTENT_PERMISSION
 
     def create(self, data):
@@ -84,20 +86,6 @@
         IParagraphContainer(self.context).append(object)
 
 
-@adapter_config(context=(IGalleryParagraph, IPyAMSLayer), provides=IParagraphTitleValue)
-def gallery_paragraph_title_adapter(context, request):
-    """Gallery paragraph title adapter"""
-    translate = request.localizer.translate
-    nb_medias = len(context)
-    if nb_medias > 1:
-        title = translate(_("(gallery contains {0} medias)")).format(nb_medias)
-    elif nb_medias == 1:
-        title = translate(_("(gallery contains 1 media)"))
-    else:
-        title = translate(_("(empty gallery)"))
-    return '<i>{0}</i>'.format(title)
-
-
 @pagelet_config(name='properties.html', context=IGalleryParagraph, layer=IPyAMSLayer,
                 permission=MANAGE_CONTENT_PERMISSION)
 @ajax_config(name='properties.json', context=IGalleryParagraph, layer=IPyAMSLayer,
@@ -110,7 +98,7 @@
     legend = _("Edit gallery properties")
     icon_css_class = 'fa fa-fw fa-picture-o'
 
-    fields = field.Fields(IGalleryParagraph).select('renderer')
+    fields = field.Fields(IGalleryParagraph).select('title', 'renderer')
     fields['renderer'].widgetFactory = RendererFieldWidget
 
     edit_permission = MANAGE_CONTENT_PERMISSION
@@ -132,6 +120,27 @@
 
 
 #
+# Paragraph container gallery marker
+#
+
+@viewlet_config(name='gallery', context=IBaseGallery, layer=IPyAMSLayer, view=IParagraphContainerTable,
+                manager=IParagraphTitleToolbar, permission=VIEW_SYSTEM_PERMISSION, weight=5)
+class ParagraphContainerGalleryMarker(ParagraphContainerCounterBase):
+    """Paragraph container gallery marker column"""
+
+    weight = 6
+    action_class = 'action gallery-medias nowrap width-40'
+    icon_class = 'fa fa-fw fa-picture-o'
+    icon_hint = _("Visible medias")
+
+    marker_type = 'gallery-medias'
+
+    @property
+    def count(self):
+        return len(tuple(self.context.get_visible_medias()))
+
+
+#
 # Gallery contents view
 #
 
@@ -183,6 +192,8 @@
             'status': 'success',
             'message': self.request.localizer.translate(_("Media(s) successfully added")),
             'events': [
+                get_json_paragraph_markers_refresh_event(self.context, self.request,
+                                                         self, ParagraphContainerGalleryMarker),
                 get_json_paragraph_refresh_event(self.context, self.request)
             ],
             'callback': 'PyAMS_content.galleries.addMediaCallback',
@@ -202,9 +213,13 @@
     """Delete media from container"""
     result = delete_container_element(request, IGalleryParagraph)
     if result.get('status') == 'success':
+        form = GalleryInnerEditForm(request.context, request)
+        form.update()
         result.update({
             'handle_json': True,
             'events': [
+                get_json_paragraph_markers_refresh_event(request.context, request,
+                                                         form, ParagraphContainerGalleryMarker),
                 get_json_paragraph_refresh_event(request.context, request)
             ]
         })
--- a/src/pyams_content/component/gallery/zmi/templates/gallery-medias.pt	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/component/gallery/zmi/templates/gallery-medias.pt	Tue Nov 13 14:05:02 2018 +0100
@@ -1,8 +1,8 @@
 <div class="form-group" i18n:domain="pyams_content"
 	 data-ams-plugins="pyams_content"
 	 tal:define="gallery_images context.values()"
-	 tal:attributes="data-ams-plugin-pyams_content-src tales:resource_path('pyams_content.skin:pyams_content');
-					 data-ams-plugin-pyams_content-css tales:resource_path('pyams_content.skin:pyams_content_css');
+	 tal:attributes="data-ams-plugin-pyams_content-src tales:resource_path('pyams_content.zmi:pyams_content');
+					 data-ams-plugin-pyams_content-css tales:resource_path('pyams_content.zmi:pyams_content_css');
 					 id string:gallery_medias_${context.__name__};"
 	 data-ams-plugin-pyams_content-async="false">
 	<fieldset class="margin-top-10 padding-top-5 padding-bottom-0">
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/component/gallery/zmi/templates/paragraph-gallery-icon.pt	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,8 @@
+<div tal:attributes="class string:${view.action_class} pull-left;
+					 data-weight view.weight;">
+	<i tal:attributes="class string:${view.icon_class} hint opaque align-base;
+					   title view.icon_hint;"
+	   data-ams-hint-gravity="se"
+	   data-ams-hint-offset="3"
+	   i18n:attributes="title"></i>
+</div>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/component/illustration/interfaces.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,105 @@
+#
+# 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'
+
+from zope.annotation.interfaces import IAttributeAnnotatable
+from zope.interface import Interface
+from zope.schema import Choice, TextLine
+
+from pyams_content import _
+from pyams_content.component.paragraph.interfaces import IBaseParagraph
+from pyams_content.features.renderer.interfaces import IRenderedContent
+from pyams_i18n.schema import I18nTextField, I18nTextLineField, I18nThumbnailMediaField
+
+
+#
+# Illustration
+#
+
+BASIC_ILLUSTRATION_KEY = 'pyams_content.illustration.base'
+
+ILLUSTRATION_KEY = 'pyams_content.illustration'
+ILLUSTRATION_RENDERERS = 'PyAMS.illustration.renderers'
+
+LINK_ILLUSTRATION_KEY = '{0}::link'.format(ILLUSTRATION_KEY)
+
+
+class IBasicIllustration(Interface):
+    """Basic illustration interface"""
+
+    data = I18nThumbnailMediaField(title=_("Image or video data"),
+                                   description=_("Image or video content"),
+                                   required=False)
+
+    def has_data(self):
+        """Check if data is provided in any language"""
+
+    title = I18nTextLineField(title=_("Legend"),
+                              required=False)
+
+    alt_title = I18nTextLineField(title=_("Accessibility title"),
+                                  description=_("Alternate title used to describe image content"),
+                                  required=False)
+
+    author = TextLine(title=_("Author"),
+                      description=_("Name of picture's author"),
+                      required=False)
+
+
+class IIllustration(IBasicIllustration, IRenderedContent):
+    """Illustration paragraph"""
+
+    description = I18nTextField(title=_("Associated text"),
+                                description=_("Illustration description displayed in front-office templates"),
+                                required=False)
+
+    renderer = Choice(title=_("Illustration template"),
+                      description=_("Presentation template used for illustration"),
+                      vocabulary=ILLUSTRATION_RENDERERS,
+                      default='default')
+
+
+class ILinkIllustration(IBasicIllustration):
+    """Navigation link illustration interface"""
+
+
+class IIllustrationTargetBase(IAttributeAnnotatable):
+    """Illustration target base interface"""
+
+
+class IBasicIllustrationTarget(IIllustrationTargetBase):
+    """Basic illustration target marker interface"""
+
+
+class IIllustrationTarget(IBasicIllustrationTarget):
+    """Illustration target interface"""
+
+
+class ILinkIllustrationTarget(IIllustrationTargetBase):
+    """Link illustration target interface"""
+
+
+#
+# Illustration paragraph
+#
+
+ILLUSTRATION_PARAGRAPH_TYPE = 'Illustration'
+ILLUSTRATION_PARAGRAPH_NAME = _("Illustration")
+
+
+class IIllustrationParagraph(IIllustration, IBaseParagraph):
+    """Illustration paragraph"""
+
+    data = I18nThumbnailMediaField(title=_("Image or video data"),
+                                   description=_("Image or video content"),
+                                   required=True)
--- a/src/pyams_content/component/illustration/interfaces/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,105 +0,0 @@
-#
-# 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'
-
-from zope.annotation.interfaces import IAttributeAnnotatable
-from zope.interface import Interface
-from zope.schema import Choice, TextLine
-
-from pyams_content import _
-from pyams_content.component.paragraph.interfaces import IBaseParagraph
-from pyams_content.features.renderer.interfaces import IRenderedContent
-from pyams_i18n.schema import I18nTextField, I18nTextLineField, I18nThumbnailMediaField
-
-
-#
-# Illustration
-#
-
-BASIC_ILLUSTRATION_KEY = 'pyams_content.illustration.base'
-
-ILLUSTRATION_KEY = 'pyams_content.illustration'
-ILLUSTRATION_RENDERERS = 'PyAMS.illustration.renderers'
-
-LINK_ILLUSTRATION_KEY = '{0}::link'.format(ILLUSTRATION_KEY)
-
-
-class IBasicIllustration(Interface):
-    """Basic illustration interface"""
-
-    data = I18nThumbnailMediaField(title=_("Image or video data"),
-                                   description=_("Image or video content"),
-                                   required=False)
-
-    def has_data(self):
-        """Check if data is provided in any language"""
-
-    title = I18nTextLineField(title=_("Legend"),
-                              required=False)
-
-    alt_title = I18nTextLineField(title=_("Accessibility title"),
-                                  description=_("Alternate title used to describe image content"),
-                                  required=False)
-
-    author = TextLine(title=_("Author"),
-                      description=_("Name of picture's author"),
-                      required=False)
-
-
-class IIllustration(IBasicIllustration, IRenderedContent):
-    """Illustration paragraph"""
-
-    description = I18nTextField(title=_("Associated text"),
-                                description=_("Illustration description displayed in front-office templates"),
-                                required=False)
-
-    renderer = Choice(title=_("Illustration template"),
-                      description=_("Presentation template used for illustration"),
-                      vocabulary=ILLUSTRATION_RENDERERS,
-                      default='default')
-
-
-class ILinkIllustration(IBasicIllustration):
-    """Navigation link illustration interface"""
-
-
-class IIllustrationTargetBase(IAttributeAnnotatable):
-    """Illustration target base interface"""
-
-
-class IBasicIllustrationTarget(IIllustrationTargetBase):
-    """Basic illustration target marker interface"""
-
-
-class IIllustrationTarget(IBasicIllustrationTarget):
-    """Illustration target interface"""
-
-
-class ILinkIllustrationTarget(IIllustrationTargetBase):
-    """Link illustration target interface"""
-
-
-#
-# Illustration paragraph
-#
-
-ILLUSTRATION_PARAGRAPH_TYPE = 'Illustration'
-ILLUSTRATION_PARAGRAPH_NAME = _("Illustration")
-
-
-class IIllustrationParagraph(IIllustration, IBaseParagraph):
-    """Illustration paragraph"""
-
-    data = I18nThumbnailMediaField(title=_("Image or video data"),
-                                   description=_("Image or video content"),
-                                   required=True)
--- a/src/pyams_content/component/illustration/zmi/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/component/illustration/zmi/__init__.py	Tue Nov 13 14:05:02 2018 +0100
@@ -18,11 +18,11 @@
 
 from pyams_content.component.illustration.interfaces import IBasicIllustration, IBasicIllustrationTarget, \
     IIllustration, IIllustrationTarget, ILinkIllustrationTarget
-from pyams_content.component.illustration.zmi.paragraph import ParagraphContainerIllustrationMarker
+from pyams_content.component.illustration.zmi.paragraph import ParagraphIllustrationMarker
 from pyams_content.component.paragraph import IBaseParagraph
 from pyams_content.component.paragraph.zmi import get_json_paragraph_markers_refresh_event
 from pyams_content.features.renderer.zmi.widget import RendererFieldWidget
-from pyams_content.skin import pyams_content
+from pyams_content.zmi import pyams_content
 from pyams_form.interfaces.form import IInnerSubForm, IWidgetsPrefixViewletsManager
 from pyams_form.security import ProtectedFormObjectMixin
 from pyams_skin.event import get_json_form_refresh_event, get_json_widget_refresh_event
@@ -100,12 +100,12 @@
                 if self.getContent().data:
                     events.append(
                         get_json_paragraph_markers_refresh_event(self.context, self.request, self,
-                                                                 ParagraphContainerIllustrationMarker))
+                                                                 ParagraphIllustrationMarker))
                 else:
                     events.append(
                         get_json_paragraph_markers_refresh_event(self.context, self.request, self,
                                                                  EmptyViewlet,
-                                                                 ParagraphContainerIllustrationMarker.marker_type))
+                                                                 ParagraphIllustrationMarker.marker_type))
             events.append(get_json_form_refresh_event(self.context, self.request, self.__class__))
         return output
 
--- a/src/pyams_content/component/illustration/zmi/paragraph.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/component/illustration/zmi/paragraph.py	Tue Nov 13 14:05:02 2018 +0100
@@ -141,11 +141,13 @@
 # Paragraph container illustration marker
 #
 
+@viewlet_config(name='illustration', context=IIllustrationParagraph, layer=IPyAMSLayer, view=IParagraphContainerTable,
+                manager=IParagraphTitleToolbar, permission=VIEW_SYSTEM_PERMISSION, weight=5)
 @viewlet_config(name='illustration', context=IBasicIllustrationTarget, layer=IPyAMSLayer, view=IParagraphContainerTable,
                 manager=IParagraphTitleToolbar, permission=VIEW_SYSTEM_PERMISSION, weight=5)
 @template_config(template='templates/paragraph-illustration-icon.pt', layer=IPyAMSLayer)
-class ParagraphContainerIllustrationMarker(Viewlet):
-    """Paragraph container illustration marker column"""
+class ParagraphIllustrationMarker(Viewlet):
+    """Paragraph illustration marker column"""
 
     weight = 5
     action_class = 'action illustration nowrap width-40'
@@ -159,5 +161,5 @@
         if illustration and illustration.data:
             for value in illustration.data.values():
                 if value:
-                    return super(ParagraphContainerIllustrationMarker, self).render()
+                    return super(ParagraphIllustrationMarker, self).render()
         return ''
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/component/keynumber/interfaces.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,97 @@
+#
+# Copyright (c) 2008-2018 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
+from pyams_content.component.paragraph.interfaces import IBaseParagraph
+from pyams_content.interfaces.container import IOrderedContainer
+from zope.annotation.interfaces import IAttributeAnnotatable
+
+# import packages
+from pyams_i18n.schema import I18nTextLineField
+from zope.container.constraints import containers, contains
+from zope.interface import Interface
+from zope.schema import Bool, TextLine, Choice
+
+from pyams_content import _
+
+
+KEYNUMBER_CONTAINER_KEY = 'pyams_content.keynumbers'
+
+
+class IKeyNumber(IAttributeAnnotatable):
+    """Base key number interface"""
+
+    containers('.IKeyNumberContainer')
+
+    visible = Bool(title=_("Visible?"),
+                   description=_("Is this key number visible in front-office?"),
+                   required=True,
+                   default=True)
+
+    label = I18nTextLineField(title=_('key-number-label', default="Header"),
+                              description=_("Small text to be displayed above number (according to selected "
+                                            "renderer)"),
+                              required=False)
+
+    number = TextLine(title=_("Number"),
+                      description=_("Key number value"),
+                      required=True)
+
+    unit = I18nTextLineField(title=_('key-number-unit', default="Unit"),
+                             description=_("Displayed unit"),
+                             required=False)
+
+    text = I18nTextLineField(title=_("Associated text"),
+                             description=_("The way this text will be rendered depends on presentation template"),
+                             required=False)
+
+
+KEYNUMBER_HIDDEN_FIELDS = ('__parent__', '__name__', 'visible')
+
+
+class IKeyNumberContainer(IOrderedContainer):
+    """Key numbers container interface"""
+
+    contains(IKeyNumber)
+
+    def append(self, value, notify=True):
+        """Append given key number to container"""
+
+    def get_visible_items(self):
+        """Get list of visible key numbers"""
+
+
+class IKeyNumberContainerTarget(Interface):
+    """Key numbers container target interface"""
+
+
+KEYNUMBER_PARAGRAPH_TYPE = 'KeyNumbers'
+KEYNUMBER_PARAGRAPH_NAME = _("Key numbers")
+KEYNUMBER_PARAGRAPH_RENDERERS = 'PyAMS.keynumbers.renderers'
+
+
+#
+# KeyNumber paragraph
+#
+
+class IKeyNumberParagraph(IKeyNumberContainerTarget, IBaseParagraph):
+    """Key numbers paragraph interface"""
+
+    renderer = Choice(title=_("Key numbers template"),
+                      description=_("Presentation template used for key numbers"),
+                      vocabulary=KEYNUMBER_PARAGRAPH_RENDERERS,
+                      default='default')
--- a/src/pyams_content/component/keynumber/interfaces/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,97 +0,0 @@
-#
-# Copyright (c) 2008-2018 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
-from pyams_content.component.paragraph.interfaces import IBaseParagraph
-from pyams_content.interfaces.container import IOrderedContainer
-from zope.annotation.interfaces import IAttributeAnnotatable
-
-# import packages
-from pyams_i18n.schema import I18nTextLineField
-from zope.container.constraints import containers, contains
-from zope.interface import Interface
-from zope.schema import Bool, TextLine, Choice
-
-from pyams_content import _
-
-
-KEYNUMBER_CONTAINER_KEY = 'pyams_content.keynumbers'
-
-
-class IKeyNumber(IAttributeAnnotatable):
-    """Base key number interface"""
-
-    containers('.IKeyNumberContainer')
-
-    visible = Bool(title=_("Visible?"),
-                   description=_("Is this key number visible in front-office?"),
-                   required=True,
-                   default=True)
-
-    label = I18nTextLineField(title=_('key-number-label', default="Header"),
-                              description=_("Small text to be displayed above number (according to selected "
-                                            "renderer)"),
-                              required=False)
-
-    number = TextLine(title=_("Number"),
-                      description=_("Key number value"),
-                      required=True)
-
-    unit = I18nTextLineField(title=_('key-number-unit', default="Unit"),
-                             description=_("Displayed unit"),
-                             required=False)
-
-    text = I18nTextLineField(title=_("Associated text"),
-                             description=_("The way this text will be rendered depends on presentation template"),
-                             required=False)
-
-
-KEYNUMBER_HIDDEN_FIELDS = ('__parent__', '__name__', 'visible')
-
-
-class IKeyNumberContainer(IOrderedContainer):
-    """Key numbers container interface"""
-
-    contains(IKeyNumber)
-
-    def append(self, value, notify=True):
-        """Append given key number to container"""
-
-    def get_visible_items(self):
-        """Get list of visible key numbers"""
-
-
-class IKeyNumberContainerTarget(Interface):
-    """Key numbers container target interface"""
-
-
-KEYNUMBER_PARAGRAPH_TYPE = 'KeyNumbers'
-KEYNUMBER_PARAGRAPH_NAME = _("Key numbers")
-KEYNUMBER_PARAGRAPH_RENDERERS = 'PyAMS.keynumbers.renderers'
-
-
-#
-# KeyNumber paragraph
-#
-
-class IKeyNumberParagraph(IKeyNumberContainerTarget, IBaseParagraph):
-    """Key numbers paragraph interface"""
-
-    renderer = Choice(title=_("Key numbers template"),
-                      description=_("Presentation template used for key numbers"),
-                      vocabulary=KEYNUMBER_PARAGRAPH_RENDERERS,
-                      default='default')
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/component/keynumber/portlet/interfaces.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,43 @@
+#
+# 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
+from pyams_portal.interfaces import IPortletSettings
+
+# import packages
+from pyams_i18n.schema import I18nTextLineField, I18nTextField
+from zope.interface import Attribute, Interface
+
+from pyams_content import _
+
+
+class IKeyNumberPortletSettings(IPortletSettings):
+    """Key numbers portlet settings interface"""
+
+    title = I18nTextLineField(title=_("Title"),
+                              description=_("Portlet title"),
+                              required=False)
+
+    teaser = I18nTextField(title=_("Teaser"),
+                           description=_("Short text displayed above key numbers"),
+                           required=False)
+
+    links = Attribute("Navigation links")
+
+
+class IKeyNumberPortletMenu(Interface):
+    """Key numbers portlet menu marker interface"""
--- a/src/pyams_content/component/keynumber/portlet/interfaces/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,43 +0,0 @@
-#
-# 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
-from pyams_portal.interfaces import IPortletSettings
-
-# import packages
-from pyams_i18n.schema import I18nTextLineField, I18nTextField
-from zope.interface import Attribute, Interface
-
-from pyams_content import _
-
-
-class IKeyNumberPortletSettings(IPortletSettings):
-    """Key numbers portlet settings interface"""
-
-    title = I18nTextLineField(title=_("Title"),
-                              description=_("Portlet title"),
-                              required=False)
-
-    teaser = I18nTextField(title=_("Teaser"),
-                           description=_("Short text displayed above key numbers"),
-                           required=False)
-
-    links = Attribute("Navigation links")
-
-
-class IKeyNumberPortletMenu(Interface):
-    """Key numbers portlet menu marker interface"""
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/component/links/interfaces.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,84 @@
+#
+# 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
+from pyams_content.component.association.interfaces import IAssociationContainerTarget, IAssociationItem
+from pyams_content.reference.pictograms.interfaces import SELECTED_PICTOGRAM_VOCABULARY
+from pyams_sequence.interfaces import IInternalReference
+
+# import packages
+from pyams_i18n.schema import I18nTextLineField, I18nTextField
+from pyams_utils.schema import MailAddressField
+from zope.interface import Attribute
+from zope.schema import Choice, TextLine, URI
+
+from pyams_content import _
+
+
+class IBaseLink(IAssociationItem):
+    """Base link interface"""
+
+    title = I18nTextLineField(title=_("Alternate title"),
+                              description=_("Link title, as shown in front-office"),
+                              required=False)
+
+    description = I18nTextField(title=_("Description"),
+                                description=_("Link description displayed by front-office template"),
+                                required=False)
+
+    pictogram_name = Choice(title=_("Pictogram"),
+                            description=_("Name of the pictogram associated with this link"),
+                            required=False,
+                            vocabulary=SELECTED_PICTOGRAM_VOCABULARY)
+
+    pictogram = Attribute("Selected pictogram object")
+
+    def get_editor_url(self):
+        """Get URL for use in HTML editor"""
+
+
+class IInternalLink(IBaseLink, IInternalReference):
+    """Internal link interface"""
+
+
+class IExternalLink(IBaseLink):
+    """External link interface"""
+
+    url = URI(title=_("Target URL"),
+              description=_("URL used to access external resource"),
+              required=True)
+
+    language = Choice(title=_("Language"),
+                      description=_("Language used in this remote resource"),
+                      vocabulary='PyAMS base languages',
+                      required=False)
+
+
+class IMailtoLink(IBaseLink):
+    """Mailto link interface"""
+
+    address = MailAddressField(title=_("Target address"),
+                               description=_("Target email address"),
+                               required=True)
+
+    address_name = TextLine(title=_("Address name"),
+                            description=_("Address as displayed in address book"),
+                            required=True)
+
+
+class ILinkContainerTarget(IAssociationContainerTarget):
+    """Links container marker interface"""
--- a/src/pyams_content/component/links/interfaces/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,84 +0,0 @@
-#
-# 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
-from pyams_content.component.association.interfaces import IAssociationContainerTarget, IAssociationItem
-from pyams_content.reference.pictograms.interfaces import SELECTED_PICTOGRAM_VOCABULARY
-from pyams_sequence.interfaces import IInternalReference
-
-# import packages
-from pyams_i18n.schema import I18nTextLineField, I18nTextField
-from pyams_utils.schema import MailAddressField
-from zope.interface import Attribute
-from zope.schema import Choice, TextLine, URI
-
-from pyams_content import _
-
-
-class IBaseLink(IAssociationItem):
-    """Base link interface"""
-
-    title = I18nTextLineField(title=_("Alternate title"),
-                              description=_("Link title, as shown in front-office"),
-                              required=False)
-
-    description = I18nTextField(title=_("Description"),
-                                description=_("Link description displayed by front-office template"),
-                                required=False)
-
-    pictogram_name = Choice(title=_("Pictogram"),
-                            description=_("Name of the pictogram associated with this link"),
-                            required=False,
-                            vocabulary=SELECTED_PICTOGRAM_VOCABULARY)
-
-    pictogram = Attribute("Selected pictogram object")
-
-    def get_editor_url(self):
-        """Get URL for use in HTML editor"""
-
-
-class IInternalLink(IBaseLink, IInternalReference):
-    """Internal link interface"""
-
-
-class IExternalLink(IBaseLink):
-    """External link interface"""
-
-    url = URI(title=_("Target URL"),
-              description=_("URL used to access external resource"),
-              required=True)
-
-    language = Choice(title=_("Language"),
-                      description=_("Language used in this remote resource"),
-                      vocabulary='PyAMS base languages',
-                      required=False)
-
-
-class IMailtoLink(IBaseLink):
-    """Mailto link interface"""
-
-    address = MailAddressField(title=_("Target address"),
-                               description=_("Target email address"),
-                               required=True)
-
-    address_name = TextLine(title=_("Address name"),
-                            description=_("Address as displayed in address book"),
-                            required=True)
-
-
-class ILinkContainerTarget(IAssociationContainerTarget):
-    """Links container marker interface"""
--- a/src/pyams_content/component/paragraph/frame.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/component/paragraph/frame.py	Tue Nov 13 14:05:02 2018 +0100
@@ -16,7 +16,7 @@
 from zope.schema.fieldproperty import FieldProperty
 
 from pyams_content.component.extfile.interfaces import IExtFileContainerTarget
-from pyams_content.component.illustration.interfaces import IBasicIllustrationTarget
+from pyams_content.component.illustration.interfaces import IIllustrationTarget
 from pyams_content.component.links.interfaces import ILinkContainerTarget
 from pyams_content.component.paragraph import BaseParagraph, BaseParagraphContentChecker, BaseParagraphFactory
 from pyams_content.component.paragraph.interfaces import IParagraphFactory
@@ -36,7 +36,7 @@
 # Frame paragraph
 #
 
-@implementer(IFrameParagraph, IBasicIllustrationTarget, IExtFileContainerTarget, ILinkContainerTarget)
+@implementer(IFrameParagraph, IIllustrationTarget, IExtFileContainerTarget, ILinkContainerTarget)
 @factory_config(provided=IFrameParagraph)
 class FrameParagraph(BaseParagraph):
     """Framed text paragraph"""
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/component/paragraph/portlet/interfaces.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,68 @@
+#
+# Copyright (c) 2008-2018 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 packages
+from zope.schema import Bool, Choice, List, Set
+
+from pyams_content import _
+# import interfaces
+from pyams_content.component.paragraph.interfaces import PARAGRAPH_FACTORIES_VOCABULARY
+from pyams_portal.interfaces import IPortletSettings
+
+
+class IParagraphContainerPortletSettings(IPortletSettings):
+    """Paragraphs container portlet settings interface"""
+
+    paragraphs = List(title=_("Selected paragraphs"),
+                      description=_("List of selected paragraphs; an empty selection means that "
+                                    "all paragraphs will be selectable by following filters; otherwise, "
+                                    "this selection will have priority"),
+                      value_type=Choice(vocabulary='PyAMS content paragraphs'),
+                      required=False)
+
+    factories = Set(title=_("Paragraph types"),
+                    description=_("Select list of paragraph types you want to include; an empty "
+                                  "selection means that all paragraphs types will be selected"),
+                    required=False,
+                    value_type=Choice(vocabulary=PARAGRAPH_FACTORIES_VOCABULARY))
+
+    anchors_only = Bool(title=_("Anchors only?"),
+                        description=_("If 'yes', only paragraphs set as 'anchors' will be selected"),
+                        required=True,
+                        default=False)
+
+
+class IParagraphNavigationPortletSettings(IPortletSettings):
+    """Paragraphs container navigation settings interface"""
+
+    paragraphs = List(title=_("Selected paragraphs"),
+                      description=_("List of paragraphs selected for navigation; an empty selection means that "
+                                    "all paragraphs will be selectable by following filters; otherwise, "
+                                    "this selection will have priority"),
+                      value_type=Choice(vocabulary='PyAMS content paragraphs'),
+                      required=False)
+
+    factories = Set(title=_("Paragraph types"),
+                    description=_("Select list of paragraph types you want to use for navigation; an empty "
+                                  "selection means that all paragraphs types will be selected"),
+                    required=False,
+                    value_type=Choice(vocabulary=PARAGRAPH_FACTORIES_VOCABULARY))
+
+    anchors_only = Bool(title=_("Anchors only?"),
+                        description=_("If 'no', all paragraphs will be used as navigation anchors"),
+                        required=True,
+                        default=True)
--- a/src/pyams_content/component/paragraph/portlet/interfaces/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,68 +0,0 @@
-#
-# Copyright (c) 2008-2018 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 packages
-from zope.schema import Bool, Choice, List, Set
-
-from pyams_content import _
-# import interfaces
-from pyams_content.component.paragraph.interfaces import PARAGRAPH_FACTORIES_VOCABULARY
-from pyams_portal.interfaces import IPortletSettings
-
-
-class IParagraphContainerPortletSettings(IPortletSettings):
-    """Paragraphs container portlet settings interface"""
-
-    paragraphs = List(title=_("Selected paragraphs"),
-                      description=_("List of selected paragraphs; an empty selection means that "
-                                    "all paragraphs will be selectable by following filters; otherwise, "
-                                    "this selection will have priority"),
-                      value_type=Choice(vocabulary='PyAMS content paragraphs'),
-                      required=False)
-
-    factories = Set(title=_("Paragraph types"),
-                    description=_("Select list of paragraph types you want to include; an empty "
-                                  "selection means that all paragraphs types will be selected"),
-                    required=False,
-                    value_type=Choice(vocabulary=PARAGRAPH_FACTORIES_VOCABULARY))
-
-    anchors_only = Bool(title=_("Anchors only?"),
-                        description=_("If 'yes', only paragraphs set as 'anchors' will be selected"),
-                        required=True,
-                        default=False)
-
-
-class IParagraphNavigationPortletSettings(IPortletSettings):
-    """Paragraphs container navigation settings interface"""
-
-    paragraphs = List(title=_("Selected paragraphs"),
-                      description=_("List of paragraphs selected for navigation; an empty selection means that "
-                                    "all paragraphs will be selectable by following filters; otherwise, "
-                                    "this selection will have priority"),
-                      value_type=Choice(vocabulary='PyAMS content paragraphs'),
-                      required=False)
-
-    factories = Set(title=_("Paragraph types"),
-                    description=_("Select list of paragraph types you want to use for navigation; an empty "
-                                  "selection means that all paragraphs types will be selected"),
-                    required=False,
-                    value_type=Choice(vocabulary=PARAGRAPH_FACTORIES_VOCABULARY))
-
-    anchors_only = Bool(title=_("Anchors only?"),
-                        description=_("If 'no', all paragraphs will be used as navigation anchors"),
-                        required=True,
-                        default=True)
--- a/src/pyams_content/component/paragraph/zmi/audio.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/component/paragraph/zmi/audio.py	Tue Nov 13 14:05:02 2018 +0100
@@ -48,7 +48,7 @@
     """Audio paragraph add menu"""
 
     label = _("Audio paragraph...")
-    label_css_class = 'fa fa-fw fa-volume-up'
+    label_css_class = 'fa fa-fw ' + AudioParagraph.icon_class
     url = 'add-audio-paragraph.html'
     paragraph_type = AUDIO_PARAGRAPH_TYPE
 
@@ -62,7 +62,7 @@
 
     legend = _("Add new audio paragraph")
     dialog_class = 'modal-large'
-    icon_css_class = 'fa fa-fw fa-volume-up'
+    icon_css_class = 'fa fa-fw ' + AudioParagraph.icon_class
 
     fields = field.Fields(IAudioParagraph).omit(*PARAGRAPH_HIDDEN_FIELDS)
     edit_permission = MANAGE_CONTENT_PERMISSION
@@ -84,7 +84,7 @@
 
     legend = _("Edit audio properties")
     dialog_class = 'modal-large'
-    icon_css_class = 'fa fa-fw fa-volume-up'
+    icon_css_class = 'fa fa-fw ' + AudioParagraph.icon_class
 
     fields = field.Fields(IAudioParagraph).omit(*PARAGRAPH_HIDDEN_FIELDS)
     fields['renderer'].widgetFactory = RendererFieldWidget
--- a/src/pyams_content/component/paragraph/zmi/contact.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/component/paragraph/zmi/contact.py	Tue Nov 13 14:05:02 2018 +0100
@@ -46,7 +46,7 @@
     """Contact paragraph add menu"""
 
     label = _("Contact card...")
-    label_css_class = 'fa fa-fw fa-id-card-o'
+    label_css_class = 'fa fa-fw ' + ContactParagraph.icon_class
     url = 'add-contact-paragraph.html'
     paragraph_type = CONTACT_PARAGRAPH_TYPE
 
@@ -60,7 +60,7 @@
 
     legend = _("Add new contact card")
     dialog_class = 'modal-large'
-    icon_css_class = 'fa fa-fw fa-id-card-o'
+    icon_css_class = 'fa fa-fw ' + ContactParagraph.icon_class
 
     fields = field.Fields(IContactParagraph).omit(*PARAGRAPH_HIDDEN_FIELDS)
     edit_permission = MANAGE_CONTENT_PERMISSION
@@ -82,7 +82,7 @@
     prefix = 'contact_properties.'
 
     legend = _("Edit contact card properties")
-    icon_css_class = 'fa fa-fw fa-id-card-o'
+    icon_css_class = 'fa fa-fw ' + ContactParagraph.icon_class
 
     fields = field.Fields(IContactParagraph).omit(*PARAGRAPH_HIDDEN_FIELDS)
     fields['renderer'].widgetFactory = RendererFieldWidget
--- a/src/pyams_content/component/paragraph/zmi/container.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/component/paragraph/zmi/container.py	Tue Nov 13 14:05:02 2018 +0100
@@ -32,7 +32,7 @@
     IParagraphInnerEditor, IParagraphTitleToolbar, IParagraphTitleValue
 from pyams_content.interfaces import MANAGE_CONTENT_PERMISSION
 from pyams_content.shared.common.zmi import WfModifiedContentColumnMixin
-from pyams_content.skin import pyams_content
+from pyams_content.zmi import pyams_content
 from pyams_form.interfaces.form import IFormSecurityContext, IInnerSubForm
 from pyams_form.security import ProtectedFormObjectMixin
 from pyams_i18n.interfaces import II18n
--- a/src/pyams_content/component/paragraph/zmi/frame.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/component/paragraph/zmi/frame.py	Tue Nov 13 14:05:02 2018 +0100
@@ -94,7 +94,7 @@
     """Framed text paragraph add menu"""
 
     label = _("Framed text...")
-    label_css_class = 'fa fa-fw fa-window-maximize'
+    label_css_class = 'fa fa-fw ' + FrameParagraph.icon_class
     url = 'add-frame-paragraph.html'
     paragraph_type = FRAME_PARAGRAPH_TYPE
 
@@ -109,7 +109,7 @@
 
     legend = _("Add new framed text paragraph")
     dialog_class = 'modal-large'
-    icon_css_class = 'fa fa-fw fa-window-maximize'
+    icon_css_class = 'fa fa-fw ' + FrameParagraph.icon_class
     label_css_class = 'control-label col-md-2'
     input_css_class = 'col-md-10'
 
@@ -135,7 +135,7 @@
 
     legend = _("Edit framed text paragraph properties")
     dialog_class = 'modal-large'
-    icon_css_class = 'fa fa-fw fa-window-maximize'
+    icon_css_class = 'fa fa-fw ' + FrameParagraph.icon_class
     label_css_class = 'control-label col-md-2'
     input_css_class = 'col-md-10'
 
--- a/src/pyams_content/component/paragraph/zmi/html.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/component/paragraph/zmi/html.py	Tue Nov 13 14:05:02 2018 +0100
@@ -72,7 +72,7 @@
     """Raw HTML paragraph add menu"""
 
     label = _("Raw HTML...")
-    label_css_class = 'fa fa-fw fa-code'
+    label_css_class = 'fa fa-fw ' + RawParagraph.icon_class
     url = 'add-raw-paragraph.html'
     paragraph_type = RAW_PARAGRAPH_TYPE
 
@@ -86,7 +86,7 @@
 
     legend = _("Add new raw HTML paragraph")
     dialog_class = 'modal-large'
-    icon_css_class = 'fa fa-fw fa-code'
+    icon_css_class = 'fa fa-fw ' + RawParagraph.icon_class
     label_css_class = 'control-label col-md-2'
     input_css_class = 'col-md-10'
 
@@ -115,7 +115,7 @@
     prefix = 'raw_properties.'
 
     legend = _("Edit raw HTML paragraph properties")
-    icon_css_class = 'fa fa-fw fa-code'
+    icon_css_class = 'fa fa-fw ' + RawParagraph.icon_class
 
     fields = field.Fields(IRawParagraph).omit(*PARAGRAPH_HIDDEN_FIELDS)
     fields['renderer'].widgetFactory = RendererFieldWidget
@@ -155,7 +155,7 @@
     """Rich text paragraph add menu"""
 
     label = _("Rich text...")
-    label_css_class = 'fa fa-fw fa-font'
+    label_css_class = 'fa fa-fw ' + HTMLParagraph.icon_class
     url = 'add-html-paragraph.html'
     paragraph_type = HTML_PARAGRAPH_TYPE
 
@@ -169,7 +169,7 @@
 
     legend = _("Add new rich text paragraph")
     dialog_class = 'modal-max'
-    icon_css_class = 'fa fa-fw fa-font'
+    icon_css_class = 'fa fa-fw ' + HTMLParagraph.icon_class
     label_css_class = 'control-label col-md-2'
     input_css_class = 'col-md-10'
 
@@ -206,7 +206,7 @@
 
     legend = _("Edit rich text paragraph properties")
     dialog_class = 'modal-max'
-    icon_css_class = 'fa fa-fw fa-font'
+    icon_css_class = 'fa fa-fw ' + HTMLParagraph.icon_class
     label_css_class = 'control-label col-md-2'
     input_css_class = 'col-md-10'
 
--- a/src/pyams_content/component/paragraph/zmi/keypoint.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/component/paragraph/zmi/keypoint.py	Tue Nov 13 14:05:02 2018 +0100
@@ -44,7 +44,7 @@
     """Key points paragraph add menu"""
 
     label = _("Key points...")
-    label_css_class = 'fa fa-fw fa-list-ol'
+    label_css_class = 'fa fa-fw ' + KeypointsParagraph.icon_class
     url = 'add-keypoints-paragraph.html'
     paragraph_type = KEYPOINTS_PARAGRAPH_TYPE
 
@@ -57,7 +57,7 @@
     """Key points paragraph add form"""
 
     legend = _("Add new key points paragraph")
-    icon_css_class = 'fa fa-fw fa-list-ol'
+    icon_css_class = 'fa fa-fw ' + KeypointsParagraph.icon_class
 
     fields = field.Fields(IKeypointsParagraph).omit(*PARAGRAPH_HIDDEN_FIELDS)
     edit_permission = MANAGE_CONTENT_PERMISSION
@@ -84,7 +84,7 @@
     prefix = 'keypoints_properties.'
 
     legend = _("Edit key points paragraph properties")
-    icon_css_class = 'fa fa-fw fa-list-ol'
+    icon_css_class = 'fa fa-fw ' + KeypointsParagraph.icon_class
 
     fields = field.Fields(IKeypointsParagraph).omit(*PARAGRAPH_HIDDEN_FIELDS)
     fields['renderer'].widgetFactory = RendererFieldWidget
--- a/src/pyams_content/component/paragraph/zmi/map.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/component/paragraph/zmi/map.py	Tue Nov 13 14:05:02 2018 +0100
@@ -48,7 +48,7 @@
         """Map paragraph add menu"""
 
         label = _("Location map...")
-        label_css_class = 'fa fa-fw fa-map-marker'
+        label_css_class = 'fa fa-fw ' + MapParagraph.icon_class
         url = 'add-map-paragraph.html'
         paragraph_type = MAP_PARAGRAPH_TYPE
 
@@ -62,7 +62,7 @@
 
         legend = _("Add new location map")
         dialog_class = 'modal-large'
-        icon_css_class = 'fa fa-fw fa-map-marker'
+        icon_css_class = 'fa fa-fw ' + MapParagraph.icon_class
 
         fields = field.Fields(IMapParagraph).omit(*PARAGRAPH_HIDDEN_FIELDS)
         edit_permission = MANAGE_CONTENT_PERMISSION
@@ -84,7 +84,7 @@
         prefix = 'map_properties.'
 
         legend = _("Edit location map properties")
-        icon_css_class = 'fa fa-fw fa-map-marker'
+        icon_css_class = 'fa fa-fw ' + MapParagraph.icon_class
 
         fields = field.Fields(IMapParagraph).omit(*PARAGRAPH_HIDDEN_FIELDS)
         fields['renderer'].widgetFactory = RendererFieldWidget
--- a/src/pyams_content/component/paragraph/zmi/milestone.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/component/paragraph/zmi/milestone.py	Tue Nov 13 14:05:02 2018 +0100
@@ -72,7 +72,7 @@
     """Milestone paragraph add menu"""
 
     label = _("Milestones...")
-    label_css_class = 'fa fa-fw fa-arrows-h'
+    label_css_class = 'fa fa-fw ' + MilestoneParagraph.icon_class
     url = 'add-milestone-paragraph.html'
     paragraph_type = MILESTONE_PARAGRAPH_TYPE
 
@@ -85,7 +85,7 @@
     """Milestone paragraph add form"""
 
     legend = _("Add new milestone paragraph")
-    icon_css_class = 'fa fa-fw fa-arrows-h'
+    icon_css_class = 'fa fa-fw ' + MilestoneParagraph.icon_class
 
     fields = field.Fields(IMilestoneParagraph).omit(*PARAGRAPH_HIDDEN_FIELDS)
     edit_permission = MANAGE_CONTENT_PERMISSION
@@ -112,7 +112,7 @@
         return II18n(content).query_attribute('title', request=self.request)
 
     legend = _("Edit milestone paragraph properties")
-    icon_css_class = 'fa fa-fw fa-arrows-h'
+    icon_css_class = 'fa fa-fw ' + MilestoneParagraph.icon_class
 
     fields = field.Fields(IMilestoneParagraph).omit(*PARAGRAPH_HIDDEN_FIELDS)
     fields['renderer'].widgetFactory = RendererFieldWidget
--- a/src/pyams_content/component/paragraph/zmi/pictogram.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/component/paragraph/zmi/pictogram.py	Tue Nov 13 14:05:02 2018 +0100
@@ -77,7 +77,7 @@
     """Pictogram paragraph add menu"""
 
     label = _("Pictograms...")
-    label_css_class = 'fa fa-fw fa-linode'
+    label_css_class = 'fa fa-fw ' + PictogramParagraph.icon_class
     url = 'add-pictogram-paragraph.html'
     paragraph_type = PICTOGRAM_PARAGRAPH_TYPE
 
@@ -90,7 +90,7 @@
     """Pictogram paragraph add form"""
 
     legend = _("Add new pictogram paragraph")
-    icon_css_class = 'fa fa-fw fa-linode'
+    icon_css_class = 'fa fa-fw ' + PictogramParagraph.icon_class
 
     fields = field.Fields(IPictogramParagraph).omit(*PARAGRAPH_HIDDEN_FIELDS)
     edit_permission = MANAGE_CONTENT_PERMISSION
@@ -117,7 +117,7 @@
         return II18n(content).query_attribute('title', request=self.request)
 
     legend = _("Edit pictogram paragraph properties")
-    icon_css_class = 'fa fa-fw fa-linode'
+    icon_css_class = 'fa fa-fw ' + PictogramParagraph.icon_class
 
     fields = field.Fields(IPictogramParagraph).omit(*PARAGRAPH_HIDDEN_FIELDS)
     fields['renderer'].widgetFactory = RendererFieldWidget
--- a/src/pyams_content/component/paragraph/zmi/preview.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,56 +0,0 @@
-#
-# 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
-from pyams_content.component.paragraph.interfaces import IParagraphContainerTarget, IParagraphContainer, \
-    IParagraphRenderer
-from pyams_content.features.renderer.interfaces import ISharedContentRenderer
-from pyams_skin.layer import IPyAMSLayer
-
-# import packages
-from pyams_content.features.renderer.skin import BaseContentRenderer
-from pyams_utils.adapter import adapter_config
-
-
-@adapter_config(name='paragraphs-render', context=(IParagraphContainerTarget, IPyAMSLayer),
-                provides=ISharedContentRenderer)
-class ParagraphsContainerRenderer(BaseContentRenderer):
-    """Paragraphs container renderer"""
-
-    weight = 10
-
-    def __init__(self, context, request):
-        super(ParagraphsContainerRenderer, self).__init__(context, request)
-        paragraphs = [para for para in IParagraphContainer(self.context).values()
-                      if para.visible]
-        registry = self.request.registry
-        self.renderers = [registry.queryMultiAdapter((paragraph, self.request), IParagraphRenderer)
-                          for paragraph in paragraphs]
-
-    def update(self):
-        super(ParagraphsContainerRenderer, self).update()
-        for renderer in self.renderers:
-            if renderer is not None:
-                renderer.language = self.language
-                renderer.update()
-
-    def render(self):
-        result = ''
-        for renderer in self.renderers:
-            if renderer is not None:
-                result += renderer.render()
-        return result
--- a/src/pyams_content/component/paragraph/zmi/verbatim.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/component/paragraph/zmi/verbatim.py	Tue Nov 13 14:05:02 2018 +0100
@@ -9,8 +9,6 @@
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE.
 #
-from pyams_content.component.paragraph import IBaseParagraph
-
 
 __docformat__ = 'restructuredtext'
 
@@ -19,6 +17,7 @@
 from zope.interface import implementer
 
 from pyams_content.component.association.zmi.interfaces import IAssociationsParentForm
+from pyams_content.component.paragraph import IBaseParagraph
 from pyams_content.component.paragraph.interfaces import IParagraphContainer, IParagraphContainerTarget, \
     PARAGRAPH_HIDDEN_FIELDS
 from pyams_content.component.paragraph.interfaces.verbatim import IVerbatimParagraph, VERBATIM_PARAGRAPH_TYPE
@@ -33,7 +32,6 @@
 from pyams_form.interfaces.form import IInnerForm
 from pyams_i18n.interfaces import II18n
 from pyams_pagelet.pagelet import pagelet_config
-from pyams_skin.event import get_json_widget_refresh_event
 from pyams_skin.interfaces.viewlet import IToolbarAddingMenu
 from pyams_skin.layer import IPyAMSLayer
 from pyams_utils.adapter import adapter_config
@@ -55,7 +53,7 @@
     """Verbatim paragraph add menu"""
 
     label = _("Verbatim...")
-    label_css_class = 'fa fa-fw fa-quote-right'
+    label_css_class = 'fa fa-fw ' + VerbatimParagraph.icon_class
     url = 'add-verbatim-paragraph.html'
     paragraph_type = VERBATIM_PARAGRAPH_TYPE
 
@@ -68,7 +66,7 @@
     """Verbatim paragraph add form"""
 
     legend = _("Add new verbatim paragraph")
-    icon_css_class = 'fa fa-fw fa-quote-right'
+    icon_css_class = 'fa fa-fw ' + VerbatimParagraph.icon_class
 
     fields = field.Fields(IVerbatimParagraph).omit(*PARAGRAPH_HIDDEN_FIELDS)
     edit_permission = MANAGE_CONTENT_PERMISSION
@@ -107,13 +105,18 @@
     prefix = 'verbatim_properties.'
 
     legend = _("Edit verbatim paragraph properties")
-    icon_css_class = 'fa fa-fw fa-quote-right'
+    icon_css_class = 'fa fa-fw ' + VerbatimParagraph.icon_class
 
     fields = field.Fields(IVerbatimParagraph).omit(*PARAGRAPH_HIDDEN_FIELDS)
     fields['renderer'].widgetFactory = RendererFieldWidget
 
     edit_permission = MANAGE_CONTENT_PERMISSION
 
+    def updateWidgets(self, prefix=None):
+        super(VerbatimParagraphPropertiesEditForm, self).updateWidgets(prefix)
+        if 'quote' in self.widgets:
+            self.widgets['quote'].widget_css_class = 'input height-200'
+
     def get_ajax_output(self, changes):
         output = super(self.__class__, self).get_ajax_output(changes)
         if 'quote' in changes.get(IVerbatimParagraph, ()):
--- a/src/pyams_content/component/paragraph/zmi/video.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/component/paragraph/zmi/video.py	Tue Nov 13 14:05:02 2018 +0100
@@ -48,7 +48,7 @@
     """Video paragraph add menu"""
 
     label = _("Video paragraph...")
-    label_css_class = 'fa fa-fw fa-film'
+    label_css_class = 'fa fa-fw ' + VideoParagraph.icon_class
     url = 'add-video-paragraph.html'
     paragraph_type = VIDEO_PARAGRAPH_TYPE
 
@@ -62,7 +62,7 @@
 
     legend = _("Add new video paragraph")
     dialog_class = 'modal-large'
-    icon_css_class = 'fa fa-fw fa-film'
+    icon_css_class = 'fa fa-fw ' + VideoParagraph.icon_class
 
     fields = field.Fields(IVideoParagraph).omit(*PARAGRAPH_HIDDEN_FIELDS)
     edit_permission = MANAGE_CONTENT_PERMISSION
@@ -85,7 +85,7 @@
 
     legend = _("Edit video properties")
     dialog_class = 'modal-large'
-    icon_css_class = 'fa fa-fw fa-film'
+    icon_css_class = 'fa fa-fw ' + VideoParagraph.icon_class
 
     fields = field.Fields(IVideoParagraph).omit(*PARAGRAPH_HIDDEN_FIELDS)
     fields['renderer'].widgetFactory = RendererFieldWidget
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/component/theme/interfaces.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,165 @@
+#
+# 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
+from pyams_thesaurus.interfaces.thesaurus import IThesaurusContextManager, IThesaurusContextManagerTarget
+
+# import packages
+from pyams_sequence.schema import InternalReferenceField
+from pyams_thesaurus.schema import ThesaurusTermsListField
+from zope.interface import Interface, invariant, Invalid
+from zope.schema import Bool
+
+from pyams_content import _
+
+
+#
+# Tags management
+#
+
+TAGS_MANAGER_KEY = 'pyams_content.tags.manager'
+TAGS_INFO_KEY = 'pyams_content.tags.info'
+
+
+class ITagsManager(IThesaurusContextManager):
+    """Tags manager interface"""
+
+    enable_tags_search = Bool(title=_("Enable search by tag?"),
+                              description=_("If 'yes', displayed tags will lead to a search engine "
+                                            "displaying contents matching given tag"),
+                              required=True,
+                              default=False)
+
+    tags_search_target = InternalReferenceField(title=_("Tags search target"),
+                                                description=_("Site or folder where tags search is displayed"),
+                                                required=False)
+
+    @invariant
+    def check_search_target(self):
+        if self.enable_tags_search and not self.tags_search_target:
+            raise Invalid(_("You must specify search target when activating search by tags!"))
+
+
+class ITagsManagerTarget(IThesaurusContextManagerTarget):
+    """Marker interface for tags manager"""
+
+
+class ITagsInfo(Interface):
+    """Tags information interface"""
+
+    tags = ThesaurusTermsListField(title=_("Tags"),
+                                   required=False)
+
+
+class ITagsTarget(Interface):
+    """Tags target interface"""
+
+
+PORTLET_SETTINGS_TAGS_KEY = 'pyams_content.portlet.tags.settings'
+
+
+class IPortletTagsSettings(Interface):
+    """Interface for portlet settings managing tags"""
+
+    tags = ThesaurusTermsListField(title=_("Tags"),
+                                   required=False)
+
+
+class IPortletTagsSettingsTarget(Interface):
+    """Marker interface for portlet settings managing tags"""
+
+
+#
+# Themes management
+#
+
+THEMES_MANAGER_KEY = 'pyams_content.themes.manager'
+THEMES_INFO_KEY = 'pyams_content.themes.info'
+
+
+class IThemesManager(IThesaurusContextManager):
+    """Themes manager interface"""
+
+
+class IThemesManagerTarget(IThesaurusContextManagerTarget):
+    """Marker interface for tools managing themes"""
+
+
+class IThemesInfo(Interface):
+    """Themes information interface"""
+
+    themes = ThesaurusTermsListField(title=_("Themes"),
+                                     required=False)
+
+
+class IThemesTarget(Interface):
+    """Themes target interface"""
+
+
+PORTLET_SETTINGS_THEMES_KEY = 'pyams_content.portlet.themes.settings'
+
+
+class IPortletThemesSettings(Interface):
+    """Interface for portlet settings managing themes"""
+
+    themes = ThesaurusTermsListField(title=_("Themes"),
+                                     required=False)
+
+
+class IPortletThemesSettingsTarget(Interface):
+    """Marker interface for portlet settings managing themes"""
+
+
+#
+# Collections management
+#
+
+COLLECTIONS_MANAGER_KEY = 'pyams_content.collections.manager'
+COLLECTIONS_INFO_KEY = 'pyams_content.collections.info'
+
+
+class ICollectionsManager(IThesaurusContextManager):
+    """Collections manager interface"""
+
+
+class ICollectionsManagerTarget(IThesaurusContextManagerTarget):
+    """Marker interface for tools managing collections"""
+
+
+class ICollectionsInfo(Interface):
+    """Collections information interface"""
+
+    collections = ThesaurusTermsListField(title=_("Collections"),
+                                          required=False)
+
+
+class ICollectionsTarget(Interface):
+    """Collections target interface"""
+
+
+PORTLET_SETTINGS_COLLECTIONS_KEY = 'pyams_content.portlet.collections.settings'
+
+
+class IPortletCollectionsSettings(Interface):
+    """Interface for portlet settings managing collections"""
+
+    collections = ThesaurusTermsListField(title=_("Collections"),
+                                          required=False)
+
+
+class IPortletCollectionsSettingsTarget(Interface):
+    """Marker interface for portlet settings managing collections"""
--- a/src/pyams_content/component/theme/interfaces/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,165 +0,0 @@
-#
-# 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
-from pyams_thesaurus.interfaces.thesaurus import IThesaurusContextManager, IThesaurusContextManagerTarget
-
-# import packages
-from pyams_sequence.schema import InternalReferenceField
-from pyams_thesaurus.schema import ThesaurusTermsListField
-from zope.interface import Interface, invariant, Invalid
-from zope.schema import Bool
-
-from pyams_content import _
-
-
-#
-# Tags management
-#
-
-TAGS_MANAGER_KEY = 'pyams_content.tags.manager'
-TAGS_INFO_KEY = 'pyams_content.tags.info'
-
-
-class ITagsManager(IThesaurusContextManager):
-    """Tags manager interface"""
-
-    enable_tags_search = Bool(title=_("Enable search by tag?"),
-                              description=_("If 'yes', displayed tags will lead to a search engine "
-                                            "displaying contents matching given tag"),
-                              required=True,
-                              default=False)
-
-    tags_search_target = InternalReferenceField(title=_("Tags search target"),
-                                                description=_("Site or folder where tags search is displayed"),
-                                                required=False)
-
-    @invariant
-    def check_search_target(self):
-        if self.enable_tags_search and not self.tags_search_target:
-            raise Invalid(_("You must specify search target when activating search by tags!"))
-
-
-class ITagsManagerTarget(IThesaurusContextManagerTarget):
-    """Marker interface for tags manager"""
-
-
-class ITagsInfo(Interface):
-    """Tags information interface"""
-
-    tags = ThesaurusTermsListField(title=_("Tags"),
-                                   required=False)
-
-
-class ITagsTarget(Interface):
-    """Tags target interface"""
-
-
-PORTLET_SETTINGS_TAGS_KEY = 'pyams_content.portlet.tags.settings'
-
-
-class IPortletTagsSettings(Interface):
-    """Interface for portlet settings managing tags"""
-
-    tags = ThesaurusTermsListField(title=_("Tags"),
-                                   required=False)
-
-
-class IPortletTagsSettingsTarget(Interface):
-    """Marker interface for portlet settings managing tags"""
-
-
-#
-# Themes management
-#
-
-THEMES_MANAGER_KEY = 'pyams_content.themes.manager'
-THEMES_INFO_KEY = 'pyams_content.themes.info'
-
-
-class IThemesManager(IThesaurusContextManager):
-    """Themes manager interface"""
-
-
-class IThemesManagerTarget(IThesaurusContextManagerTarget):
-    """Marker interface for tools managing themes"""
-
-
-class IThemesInfo(Interface):
-    """Themes information interface"""
-
-    themes = ThesaurusTermsListField(title=_("Themes"),
-                                     required=False)
-
-
-class IThemesTarget(Interface):
-    """Themes target interface"""
-
-
-PORTLET_SETTINGS_THEMES_KEY = 'pyams_content.portlet.themes.settings'
-
-
-class IPortletThemesSettings(Interface):
-    """Interface for portlet settings managing themes"""
-
-    themes = ThesaurusTermsListField(title=_("Themes"),
-                                     required=False)
-
-
-class IPortletThemesSettingsTarget(Interface):
-    """Marker interface for portlet settings managing themes"""
-
-
-#
-# Collections management
-#
-
-COLLECTIONS_MANAGER_KEY = 'pyams_content.collections.manager'
-COLLECTIONS_INFO_KEY = 'pyams_content.collections.info'
-
-
-class ICollectionsManager(IThesaurusContextManager):
-    """Collections manager interface"""
-
-
-class ICollectionsManagerTarget(IThesaurusContextManagerTarget):
-    """Marker interface for tools managing collections"""
-
-
-class ICollectionsInfo(Interface):
-    """Collections information interface"""
-
-    collections = ThesaurusTermsListField(title=_("Collections"),
-                                          required=False)
-
-
-class ICollectionsTarget(Interface):
-    """Collections target interface"""
-
-
-PORTLET_SETTINGS_COLLECTIONS_KEY = 'pyams_content.portlet.collections.settings'
-
-
-class IPortletCollectionsSettings(Interface):
-    """Interface for portlet settings managing collections"""
-
-    collections = ThesaurusTermsListField(title=_("Collections"),
-                                          required=False)
-
-
-class IPortletCollectionsSettingsTarget(Interface):
-    """Marker interface for portlet settings managing collections"""
--- a/src/pyams_content/component/theme/zmi/manager.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/component/theme/zmi/manager.py	Tue Nov 13 14:05:02 2018 +0100
@@ -27,7 +27,7 @@
 from pyams_zmi.layer import IAdminLayer
 
 # import packages
-from pyams_content.skin import pyams_content
+from pyams_content.zmi import pyams_content
 from pyams_form.form import ajax_config
 from pyams_pagelet.pagelet import pagelet_config
 from pyams_skin.viewlet.menu import MenuItem, MenuDivider
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/component/video/interfaces.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,79 @@
+#
+# 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'
+
+from zope.annotation import IAttributeAnnotatable
+from zope.contentprovider.interfaces import IContentProvider
+from zope.interface import Interface, Attribute
+from zope.schema import Choice, TextLine
+
+from pyams_content import _
+from pyams_content.component.paragraph.interfaces import IBaseParagraph
+from pyams_i18n.schema import I18nTextField, I18nTextLineField
+
+
+class IExternalVideoSettings(Interface):
+    """External video settings"""
+
+    video_id = Attribute("Video ID")
+
+
+class IExternalVideoProvider(Interface):
+    """External video provider"""
+
+    label = Attribute("Video provider label")
+    weight = Attribute("Video provider weight (used for ordering)")
+    settings_interface = Attribute("Video provider settings interface")
+
+
+class IExternalVideo(IAttributeAnnotatable):
+    """Base interface for external video integration"""
+
+    author = TextLine(title=_("Author"),
+                      description=_("Name of document's author"),
+                      required=True)
+
+    description = I18nTextField(title=_("Associated text"),
+                                description=_("Video description displayed by front-office template"),
+                                required=False)
+
+    provider_name = Choice(title=_("Video provider"),
+                           description=_("Name of external platform providing selected video"),
+                           required=False,
+                           vocabulary="PyAMS video providers")
+
+    def get_provider(self):
+        """Get external video provider utility"""
+
+    settings = Attribute("Video settings")
+
+
+EXTERNAL_VIDEO_PARAGRAPH_TYPE = 'External video'
+EXTERNAL_VIDEO_PARAGRAPH_NAME = _("External video")
+EXTERNAL_VIDEO_PARAGRAPH_RENDERERS = 'PyAMS.paragraph.video.renderers'
+
+
+class IExternalVideoParagraph(IExternalVideo, IBaseParagraph):
+    """External video paragraph"""
+
+    title = I18nTextLineField(title=_("Legend"),
+                              required=False)
+
+    renderer = Choice(title=_("Video template"),
+                      description=_("Presentation template used for this video"),
+                      vocabulary=EXTERNAL_VIDEO_PARAGRAPH_RENDERERS,
+                      default='default')
+
+
+class IExternalVideoRenderer(IContentProvider):
+    """External video renderer"""
--- a/src/pyams_content/component/video/interfaces/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,79 +0,0 @@
-#
-# 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'
-
-from zope.annotation import IAttributeAnnotatable
-from zope.contentprovider.interfaces import IContentProvider
-from zope.interface import Interface, Attribute
-from zope.schema import Choice, TextLine
-
-from pyams_content import _
-from pyams_content.component.paragraph.interfaces import IBaseParagraph
-from pyams_i18n.schema import I18nTextField, I18nTextLineField
-
-
-class IExternalVideoSettings(Interface):
-    """External video settings"""
-
-    video_id = Attribute("Video ID")
-
-
-class IExternalVideoProvider(Interface):
-    """External video provider"""
-
-    label = Attribute("Video provider label")
-    weight = Attribute("Video provider weight (used for ordering)")
-    settings_interface = Attribute("Video provider settings interface")
-
-
-class IExternalVideo(IAttributeAnnotatable):
-    """Base interface for external video integration"""
-
-    author = TextLine(title=_("Author"),
-                      description=_("Name of document's author"),
-                      required=True)
-
-    description = I18nTextField(title=_("Associated text"),
-                                description=_("Video description displayed by front-office template"),
-                                required=False)
-
-    provider_name = Choice(title=_("Video provider"),
-                           description=_("Name of external platform providing selected video"),
-                           required=False,
-                           vocabulary="PyAMS video providers")
-
-    def get_provider(self):
-        """Get external video provider utility"""
-
-    settings = Attribute("Video settings")
-
-
-EXTERNAL_VIDEO_PARAGRAPH_TYPE = 'External video'
-EXTERNAL_VIDEO_PARAGRAPH_NAME = _("External video")
-EXTERNAL_VIDEO_PARAGRAPH_RENDERERS = 'PyAMS.paragraph.video.renderers'
-
-
-class IExternalVideoParagraph(IExternalVideo, IBaseParagraph):
-    """External video paragraph"""
-
-    title = I18nTextLineField(title=_("Legend"),
-                              required=False)
-
-    renderer = Choice(title=_("Video template"),
-                      description=_("Presentation template used for this video"),
-                      vocabulary=EXTERNAL_VIDEO_PARAGRAPH_RENDERERS,
-                      default='default')
-
-
-class IExternalVideoRenderer(IContentProvider):
-    """External video renderer"""
--- a/src/pyams_content/component/video/provider/zmi/templates/custom-render.pt	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/component/video/provider/zmi/templates/custom-render.pt	Tue Nov 13 14:05:02 2018 +0100
@@ -1,3 +1,3 @@
-<div class="video-wrapper">
+<div class="embed-container video-wrapper">
 	<tal:var replace="structure context.integration_code">Integration code</tal:var>
 </div>
--- a/src/pyams_content/component/video/provider/zmi/templates/dailymotion-render.pt	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/component/video/provider/zmi/templates/dailymotion-render.pt	Tue Nov 13 14:05:02 2018 +0100
@@ -1,4 +1,4 @@
-<div class="video-wrapper">
+<div class="embed-container video-wrapper">
 	<iframe type="text/html" class="video" frameborder="0"
 			tal:attributes="src string:https://www.dailymotion.com/embed/video/${context.video_id}?${view.get_url_params()};
 							width context.width;
--- a/src/pyams_content/component/video/provider/zmi/templates/vimeo-render.pt	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/component/video/provider/zmi/templates/vimeo-render.pt	Tue Nov 13 14:05:02 2018 +0100
@@ -1,4 +1,4 @@
-<div class="video-wrapper">
+<div class="embed-container video-wrapper">
 	<iframe type="text/html" class="video" frameborder="0"
 			tal:attributes="src string:https://player.vimeo.com/video/${context.video_id}?${view.get_url_params()};
 							width context.width;
--- a/src/pyams_content/component/video/provider/zmi/templates/youtube-render.pt	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/component/video/provider/zmi/templates/youtube-render.pt	Tue Nov 13 14:05:02 2018 +0100
@@ -1,4 +1,4 @@
-<div class="video-wrapper">
+<div class="embed-container video-wrapper">
 	<iframe type="text/html" class="video" frameborder="0"
 			tal:attributes="src string:https://www.youtube.com/embed/${context.video_id}?${view.get_url_params()};
 							width context.width;
--- a/src/pyams_content/features/alert/zmi/container.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/features/alert/zmi/container.py	Tue Nov 13 14:05:02 2018 +0100
@@ -26,7 +26,7 @@
 from z3c.table.interfaces import IValues, IColumn
 
 # import packages
-from pyams_content.skin import pyams_content
+from pyams_content.zmi import pyams_content
 from pyams_i18n.column import I18nAttrColumn
 from pyams_pagelet.pagelet import pagelet_config
 from pyams_skin.page import DefaultPageHeaderAdapter
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/features/catalog/__init__.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,47 @@
+#
+# Copyright (c) 2008-2018 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 transaction
+from ZODB.interfaces import IBroken
+from hypatia.interfaces import ICatalog
+from zope.interface import Interface
+from zope.intid import IIntIds
+
+from pyams_utils.container import find_objects_providing
+from pyams_utils.registry import get_utility, set_local_registry
+from pyams_utils.site import site_factory
+
+
+def site_index(request):
+    """Index all site contents in internal catalog"""
+    application = site_factory(request)
+    if application is not None:
+        try:
+            set_local_registry(application.getSiteManager())
+            catalog = get_utility(ICatalog)
+            catalog.reset()
+            transaction.savepoint()
+            intids = get_utility(IIntIds)
+            for index, document in enumerate(find_objects_providing(application, Interface)):
+                if IBroken.providedBy(document):
+                    print("Skipping broken object: {0!r}".format(document))
+                else:
+                    print("Indexing: {0!r}".format(document))
+                    catalog.reindex_doc(intids.register(document), document)
+                    if not index % 100:
+                        transaction.savepoint()
+        finally:
+            set_local_registry(None)
+        transaction.commit()
+    return application
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/features/footer/interfaces.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,61 @@
+#
+# Copyright (c) 2008-2018 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
+from pyams_content.features.renderer.interfaces import IRenderedContent, IContentRenderer, IRendererSettings
+from pyams_utils.interfaces.inherit import IInheritInfo
+from zope.annotation.interfaces import IAttributeAnnotatable
+
+# import packages
+from zope.interface import Attribute
+from zope.schema import Choice
+
+from pyams_content import _
+
+
+FOOTER_SETTINGS_KEY = 'pyams_content.footer'
+FOOTER_RENDERER_SETTINGS_KEY = 'pyams_content.footer::{0}'
+
+FOOTER_RENDERERS = 'PyAMS.footer.renderers'
+
+
+class IFooterSettings(IInheritInfo, IRenderedContent):
+    """Footer settings interface"""
+
+    renderer = Choice(title=_("Footer template"),
+                      description=_("Presentation template used for this footer"),
+                      vocabulary=FOOTER_RENDERERS,
+                      required=False,
+                      default='hidden')
+
+    settings = Attribute("Renderer settings")
+
+
+class IFooterTarget(IAttributeAnnotatable):
+    """Footer target marker interface"""
+
+
+class IFooterRenderer(IContentRenderer):
+    """Footer renderer interface"""
+
+    name = Attribute("Renderer name")
+    settings_key = Attribute("Renderer settings key")
+    cache_key = Attribute("Renderer cache key")
+
+
+class IFooterRendererSettings(IRendererSettings):
+    """Footer renderer settings interface"""
--- a/src/pyams_content/features/footer/interfaces/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,61 +0,0 @@
-#
-# Copyright (c) 2008-2018 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
-from pyams_content.features.renderer.interfaces import IRenderedContent, IContentRenderer, IRendererSettings
-from pyams_utils.interfaces.inherit import IInheritInfo
-from zope.annotation.interfaces import IAttributeAnnotatable
-
-# import packages
-from zope.interface import Attribute
-from zope.schema import Choice
-
-from pyams_content import _
-
-
-FOOTER_SETTINGS_KEY = 'pyams_content.footer'
-FOOTER_RENDERER_SETTINGS_KEY = 'pyams_content.footer::{0}'
-
-FOOTER_RENDERERS = 'PyAMS.footer.renderers'
-
-
-class IFooterSettings(IInheritInfo, IRenderedContent):
-    """Footer settings interface"""
-
-    renderer = Choice(title=_("Footer template"),
-                      description=_("Presentation template used for this footer"),
-                      vocabulary=FOOTER_RENDERERS,
-                      required=False,
-                      default='hidden')
-
-    settings = Attribute("Renderer settings")
-
-
-class IFooterTarget(IAttributeAnnotatable):
-    """Footer target marker interface"""
-
-
-class IFooterRenderer(IContentRenderer):
-    """Footer renderer interface"""
-
-    name = Attribute("Renderer name")
-    settings_key = Attribute("Renderer settings key")
-    cache_key = Attribute("Renderer cache key")
-
-
-class IFooterRendererSettings(IRendererSettings):
-    """Footer renderer settings interface"""
--- a/src/pyams_content/features/footer/skin/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,98 +0,0 @@
-#
-# Copyright (c) 2008-2018 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 logging
-logger = logging.getLogger('PyAMS (content)')
-
-# import interfaces
-from pyams_content.features.footer.interfaces import IFooterTarget, IFooterRenderer, IFooterSettings
-from pyams_content.features.renderer.interfaces import HIDDEN_RENDERER_NAME
-from pyams_portal.interfaces import PREVIEW_MODE
-from pyams_skin.layer import IPyAMSLayer
-from pyams_utils.interfaces import ICacheKeyValue
-from pyams_utils.interfaces.url import DISPLAY_CONTEXT
-
-# import packages
-from pyams_cache.beaker import get_cache
-from pyams_content.features.renderer.skin import BaseContentRenderer
-from pyams_portal.portlet import PORTLETS_CACHE_REGION, PORTLETS_CACHE_NAME, PORTLETS_CACHE_KEY
-from pyams_utils.adapter import adapter_config
-from pyams_utils.traversing import get_parent
-from pyramid.decorator import reify
-from zope.interface import implementer
-
-from pyams_content import _
-
-
-@implementer(IFooterRenderer)
-class BaseFooterRenderer(BaseContentRenderer):
-    """Base footer renderer"""
-
-    name = None
-    settings_key = None
-
-    @reify
-    def settings_target(self):
-        context = self.request.annotations.get(DISPLAY_CONTEXT)
-        if context is None:
-            context = self.context
-        return get_parent(context, IFooterTarget)
-
-    @reify
-    def settings(self):
-        if self.settings_interface is None:
-            return None
-        target = self.settings_target
-        settings = IFooterSettings(target)
-        while settings.inherit:
-            settings = IFooterSettings(settings.parent)
-        return settings.settings
-
-    @reify
-    def cache_key(self):
-        return PORTLETS_CACHE_KEY.format(portlet=self.name,
-                                         context=ICacheKeyValue(self.settings_target),
-                                         lang=self.request.locale_name)
-
-    def render(self):
-        preview_mode = self.request.annotations.get(PREVIEW_MODE, False)
-        if preview_mode:
-            return super(BaseFooterRenderer, self).render()
-        else:
-            portlets_cache = get_cache(PORTLETS_CACHE_REGION, PORTLETS_CACHE_NAME)
-            cache_key = self.cache_key
-            if self.context is not self.request.context:  # display shared content
-                cache_key = '{0}::shared'.format(cache_key)
-            try:
-                result = portlets_cache.get_value(cache_key)
-                logger.debug("Retrieving footer content from cache key {0}".format(cache_key))
-            except KeyError:
-                result = super(BaseFooterRenderer, self).render()
-                portlets_cache.set_value(cache_key, result)
-                logger.debug("Storing footer content to cache key {0}".format(cache_key))
-            return result
-
-
-@adapter_config(name=HIDDEN_RENDERER_NAME, context=(IFooterTarget, IPyAMSLayer), provides=IFooterRenderer)
-class HiddenFooterRenderer(BaseFooterRenderer):
-    """Hidden footer renderer"""
-
-    name = HIDDEN_RENDERER_NAME
-    label = _("Hidden footer")
-    weight = -999
-
-    def render(self):
-        return ''
--- a/src/pyams_content/features/footer/zmi/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/features/footer/zmi/__init__.py	Tue Nov 13 14:05:02 2018 +0100
@@ -30,7 +30,7 @@
 from z3c.form.interfaces import INPUT_MODE
 
 # import packages
-from pyams_content.skin import pyams_content
+from pyams_content.zmi import pyams_content
 from pyams_form.form import AJAXEditForm
 from pyams_form.group import NamedWidgetsGroup
 from pyams_form.help import FormHelp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/features/header/interfaces.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,61 @@
+#
+# Copyright (c) 2008-2018 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
+from pyams_content.features.renderer import IContentRenderer, IRendererSettings, IRenderedContent
+from pyams_utils.interfaces.inherit import IInheritInfo
+from zope.annotation.interfaces import IAttributeAnnotatable
+
+# import packages
+from zope.interface import Attribute
+from zope.schema import Choice
+
+from pyams_content import _
+
+
+HEADER_SETTINGS_KEY = 'pyams_content.header'
+HEADER_RENDERER_SETTINGS_KEY = 'pyams_content.header::{0}'
+
+HEADER_RENDERERS = 'PyAMS.header.renderers'
+
+
+class IHeaderSettings(IInheritInfo, IRenderedContent):
+    """Header settings interface"""
+
+    renderer = Choice(title=_("Header template"),
+                      description=_("Presentation template used for this header"),
+                      vocabulary=HEADER_RENDERERS,
+                      required=False,
+                      default='hidden')
+
+    settings = Attribute("Renderer settings")
+
+
+class IHeaderTarget(IAttributeAnnotatable):
+    """Header target marker interface"""
+
+
+class IHeaderRenderer(IContentRenderer):
+    """Header renderer interface"""
+
+    name = Attribute("Renderer name")
+    settings_key = Attribute("Renderer settings key")
+    cache_key = Attribute("Renderer cache key")
+
+
+class IHeaderRendererSettings(IRendererSettings):
+    """Header renderer settings interface"""
--- a/src/pyams_content/features/header/interfaces/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,61 +0,0 @@
-#
-# Copyright (c) 2008-2018 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
-from pyams_content.features.renderer import IContentRenderer, IRendererSettings, IRenderedContent
-from pyams_utils.interfaces.inherit import IInheritInfo
-from zope.annotation.interfaces import IAttributeAnnotatable
-
-# import packages
-from zope.interface import Attribute
-from zope.schema import Choice
-
-from pyams_content import _
-
-
-HEADER_SETTINGS_KEY = 'pyams_content.header'
-HEADER_RENDERER_SETTINGS_KEY = 'pyams_content.header::{0}'
-
-HEADER_RENDERERS = 'PyAMS.header.renderers'
-
-
-class IHeaderSettings(IInheritInfo, IRenderedContent):
-    """Header settings interface"""
-
-    renderer = Choice(title=_("Header template"),
-                      description=_("Presentation template used for this header"),
-                      vocabulary=HEADER_RENDERERS,
-                      required=False,
-                      default='hidden')
-
-    settings = Attribute("Renderer settings")
-
-
-class IHeaderTarget(IAttributeAnnotatable):
-    """Header target marker interface"""
-
-
-class IHeaderRenderer(IContentRenderer):
-    """Header renderer interface"""
-
-    name = Attribute("Renderer name")
-    settings_key = Attribute("Renderer settings key")
-    cache_key = Attribute("Renderer cache key")
-
-
-class IHeaderRendererSettings(IRendererSettings):
-    """Header renderer settings interface"""
--- a/src/pyams_content/features/header/skin/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,104 +0,0 @@
-#
-# Copyright (c) 2008-2018 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 logging
-logger = logging.getLogger('PyAMS (content)')
-
-# import interfaces
-from pyams_content.features.header.interfaces import IHeaderTarget, IHeaderRenderer, IHeaderSettings
-from pyams_content.features.header.skin.interfaces import IHeaderClass
-from pyams_content.features.renderer.interfaces import HIDDEN_RENDERER_NAME
-from pyams_portal.interfaces import PREVIEW_MODE
-from pyams_skin.layer import IPyAMSLayer
-from pyams_utils.interfaces import ICacheKeyValue
-from pyams_utils.interfaces.url import DISPLAY_CONTEXT
-
-# import packages
-from pyams_cache.beaker import get_cache
-from pyams_content.features.renderer.skin import BaseContentRenderer
-from pyams_portal.portlet import PORTLETS_CACHE_REGION, PORTLETS_CACHE_NAME, PORTLETS_CACHE_KEY
-from pyams_utils.adapter import adapter_config
-from pyams_utils.traversing import get_parent
-from pyramid.decorator import reify
-from zope.interface import implementer
-
-from pyams_content import _
-
-
-@implementer(IHeaderRenderer)
-class BaseHeaderRenderer(BaseContentRenderer):
-    """Base header renderer"""
-
-    name = None
-    settings_key = None
-
-    @reify
-    def settings_target(self):
-        context = self.request.annotations.get(DISPLAY_CONTEXT)
-        if context is None:
-            context = self.context
-        return get_parent(context, IHeaderTarget)
-
-    @reify
-    def settings(self):
-        if self.settings_interface is None:
-            return None
-        target = self.settings_target
-        settings = IHeaderSettings(target)
-        while settings.inherit:
-            settings = IHeaderSettings(settings.parent)
-        return settings.settings
-
-    @reify
-    def cache_key(self):
-        return PORTLETS_CACHE_KEY.format(portlet=self.name,
-                                         context=ICacheKeyValue(self.settings_target),
-                                         lang=self.request.locale_name)
-
-    @property
-    def main_header_class(self):
-        request = self.request
-        return request.registry.queryMultiAdapter((request.context, request), IHeaderClass, default='')
-
-    def render(self):
-        preview_mode = self.request.annotations.get(PREVIEW_MODE, False)
-        if preview_mode:
-            return super(BaseHeaderRenderer, self).render()
-        else:
-            portlets_cache = get_cache(PORTLETS_CACHE_REGION, PORTLETS_CACHE_NAME)
-            cache_key = self.cache_key
-            if self.context is not self.request.context:  # display shared content
-                cache_key = '{0}::shared'.format(cache_key)
-            try:
-                result = portlets_cache.get_value(cache_key)
-                logger.debug("Retrieving header content from cache key {0}".format(cache_key))
-            except KeyError:
-                result = super(BaseHeaderRenderer, self).render()
-                portlets_cache.set_value(cache_key, result)
-                logger.debug("Storing header content to cache key {0}".format(cache_key))
-            return result
-
-
-@adapter_config(name=HIDDEN_RENDERER_NAME, context=(IHeaderTarget, IPyAMSLayer), provides=IHeaderRenderer)
-class HiddenHeaderRenderer(BaseHeaderRenderer):
-    """Hidden header renderer"""
-
-    name = HIDDEN_RENDERER_NAME
-    label = _("Hidden header")
-    weight = -999
-
-    def render(self):
-        return ''
--- a/src/pyams_content/features/header/skin/interfaces.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-#
-# Copyright (c) 2008-2018 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 zope.interface import Interface
-
-
-class IHeaderClass(Interface):
-    """Custom header CSS class"""
--- a/src/pyams_content/features/header/zmi/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/features/header/zmi/__init__.py	Tue Nov 13 14:05:02 2018 +0100
@@ -30,7 +30,7 @@
 from z3c.form.interfaces import INPUT_MODE
 
 # import packages
-from pyams_content.skin import pyams_content
+from pyams_content.zmi import pyams_content
 from pyams_form.form import AJAXEditForm
 from pyams_form.group import NamedWidgetsGroup
 from pyams_form.help import FormHelp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/features/menu/interfaces.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,83 @@
+#
+# Copyright (c) 2008-2018 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'
+
+from zope.container.constraints import containers, contains
+from zope.interface import Attribute, Interface
+from zope.schema import Bool, Choice
+
+from pyams_content.component.association.interfaces import IAssociationContainer, IAssociationContainerTarget
+from pyams_content.reference.pictograms.interfaces import SELECTED_PICTOGRAM_VOCABULARY
+from pyams_i18n.schema import I18nTextLineField
+from pyams_sequence.interfaces import IInternalReference
+from pyams_sequence.schema import InternalReferenceField
+
+from pyams_content import _
+
+
+class IMenuLink(Interface):
+    """Menu link marker interface"""
+
+
+class IMenuInternalLink(IMenuLink):
+    """Menu internal link marker interface"""
+
+
+class IMenuExternalLink(IMenuLink):
+    """Menu external link marker interface"""
+
+
+class IMenuLinksContainer(IAssociationContainer):
+    """Menu links container interface"""
+
+    contains(IMenuLink)
+
+
+class IMenuLinksContainerTarget(IAssociationContainerTarget):
+    """Menu links container marker interface"""
+
+
+class IMenu(IMenuLinksContainer, IInternalReference):
+    """Menu container interface"""
+
+    containers('.IMenusContainer')
+
+    visible = Bool(title=_("Visible?"),
+                   description=_("Is this item visible in front-office?"),
+                   required=True,
+                   default=True)
+
+    title = I18nTextLineField(title=_("Menu title"),
+                              description=_("Displayed menu label"),
+                              required=True)
+
+    reference = InternalReferenceField(title=_("Internal reference"),
+                                       description=_("Direct reference to menu target"),
+                                       required=False)
+
+    pictogram_name = Choice(title=_("Pictogram"),
+                            description=_("Name of the pictogram associated with this menu"),
+                            required=False,
+                            vocabulary=SELECTED_PICTOGRAM_VOCABULARY)
+
+    pictogram = Attribute("Pictogram object reference")
+
+
+class IMenusContainer(IAssociationContainer):
+    """Menus container interface"""
+
+    contains(IMenu)
+
+
+class IMenusContainerTarget(IAssociationContainerTarget):
+    """Menus container target marker interface"""
--- a/src/pyams_content/features/menu/interfaces/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,83 +0,0 @@
-#
-# Copyright (c) 2008-2018 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'
-
-from zope.container.constraints import containers, contains
-from zope.interface import Attribute, Interface
-from zope.schema import Bool, Choice
-
-from pyams_content.component.association.interfaces import IAssociationContainer, IAssociationContainerTarget
-from pyams_content.reference.pictograms.interfaces import SELECTED_PICTOGRAM_VOCABULARY
-from pyams_i18n.schema import I18nTextLineField
-from pyams_sequence.interfaces import IInternalReference
-from pyams_sequence.schema import InternalReferenceField
-
-from pyams_content import _
-
-
-class IMenuLink(Interface):
-    """Menu link marker interface"""
-
-
-class IMenuInternalLink(IMenuLink):
-    """Menu internal link marker interface"""
-
-
-class IMenuExternalLink(IMenuLink):
-    """Menu external link marker interface"""
-
-
-class IMenuLinksContainer(IAssociationContainer):
-    """Menu links container interface"""
-
-    contains(IMenuLink)
-
-
-class IMenuLinksContainerTarget(IAssociationContainerTarget):
-    """Menu links container marker interface"""
-
-
-class IMenu(IMenuLinksContainer, IInternalReference):
-    """Menu container interface"""
-
-    containers('.IMenusContainer')
-
-    visible = Bool(title=_("Visible?"),
-                   description=_("Is this item visible in front-office?"),
-                   required=True,
-                   default=True)
-
-    title = I18nTextLineField(title=_("Menu title"),
-                              description=_("Displayed menu label"),
-                              required=True)
-
-    reference = InternalReferenceField(title=_("Internal reference"),
-                                       description=_("Direct reference to menu target"),
-                                       required=False)
-
-    pictogram_name = Choice(title=_("Pictogram"),
-                            description=_("Name of the pictogram associated with this menu"),
-                            required=False,
-                            vocabulary=SELECTED_PICTOGRAM_VOCABULARY)
-
-    pictogram = Attribute("Pictogram object reference")
-
-
-class IMenusContainer(IAssociationContainer):
-    """Menus container interface"""
-
-    contains(IMenu)
-
-
-class IMenusContainerTarget(IAssociationContainerTarget):
-    """Menus container target marker interface"""
--- a/src/pyams_content/features/menu/portlet/navigation/double.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/features/menu/portlet/navigation/double.py	Tue Nov 13 14:05:02 2018 +0100
@@ -66,7 +66,7 @@
     name = DOUBLE_NAVIGATION_PORTLET_NAME
     label = _("Double navigation")
 
-    toolbar_css_class = 'fa fa-fw fa-2x fa-list-alt'
+    toolbar_css_class = 'fa fa-fw fa-2x fa-th-list'
 
     settings_factory = IDoubleNavigationPortletSettings
 
--- a/src/pyams_content/features/menu/zmi/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/features/menu/zmi/__init__.py	Tue Nov 13 14:05:02 2018 +0100
@@ -19,6 +19,7 @@
 from pyramid.renderers import render
 from pyramid.view import view_config
 from z3c.form import field
+from z3c.table.column import GetAttrColumn
 from z3c.table.interfaces import IColumn, IValues
 from zope.interface import Interface, alsoProvides, implementer
 
@@ -32,8 +33,10 @@
 from pyams_form.form import AJAXAddForm, AJAXEditForm, ajax_config
 from pyams_form.interfaces.form import IFormContextPermissionChecker
 from pyams_i18n.column import I18nAttrColumn
+from pyams_i18n.interfaces import II18n
 from pyams_pagelet.pagelet import pagelet_config
 from pyams_portal.interfaces import MANAGE_TEMPLATE_PERMISSION
+from pyams_sequence.interfaces import ISequentialIdInfo
 from pyams_skin.container import delete_container_element, switch_element_visibility
 from pyams_skin.event import get_json_switched_table_refresh_event, get_json_table_row_refresh_event
 from pyams_skin.interfaces.viewlet import IToolbarAddingMenu, IWidgetTitleViewletManager
@@ -220,6 +223,23 @@
         return render('templates/menu-name-cell.pt', {'context': item}, request=self.request)
 
 
+@adapter_config(name='reference', context=(IMenusContainerTarget, IPyAMSLayer, MenusTable), provides=IColumn)
+class MenusTableReferenceColumn(I18nColumn, GetAttrColumn):
+    """Menus table reference column"""
+
+    _header = _("Inner content")
+    weight = 15
+
+    def getValue(self, obj):
+        target = obj.target
+        if target is not None:
+            sequence = ISequentialIdInfo(target)
+            return '{0} ({1})'.format(II18n(target).query_attribute('title'),
+                                      sequence.get_short_oid())
+        else:
+            return '--'
+
+
 @adapter_config(name='trash', context=(IMenusContainerTarget, IPyAMSLayer, MenusTable), provides=IColumn)
 class MenusTableTrashColumn(TrashColumn):
     """Menus table trash column"""
@@ -455,6 +475,9 @@
 
     edit_permission = None  # managed by IFormContextPermissionChecker adapter
 
+    def get_ajax_output(self, changes):
+        return LinkPropertiesAJAXEditForm.get_ajax_output(self, changes)
+
 
 #
 # External links
@@ -494,3 +517,6 @@
     """Menu external link properties edit form"""
 
     edit_permission = None  # managed by IFormContextPermissionChecker adapter
+
+    def get_ajax_output(self, changes):
+        return LinkPropertiesAJAXEditForm.get_ajax_output(self, changes)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/features/redirect/interfaces.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,102 @@
+#
+# Copyright (c) 2008-2018 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
+from pyams_content.interfaces.container import IOrderedContainer
+from pyams_sequence.interfaces import IInternalReference
+
+# import packages
+from pyams_sequence.schema import InternalReferenceField
+from zope.container.constraints import contains, containers
+from zope.interface import Interface, Attribute, invariant, Invalid
+from zope.schema import Bool, TextLine
+
+from pyams_content import _
+
+
+REDIRECT_MANAGER_KEY = 'pyams_content.redirect'
+
+
+class IRedirectionRule(IInternalReference):
+    """Redirection rule interface"""
+
+    containers('.IRedirectManager')
+
+    active = Bool(title=_("Active rule?"),
+                  description=_("If 'no', selected rule is inactive"),
+                  required=True,
+                  default=False)
+
+    chained = Bool(title=_("Chained rule?"),
+                   description=_("If 'no', and if this rule is matching received request URL, the rule "
+                                 "returns a redirection response; otherwise, the rule just rewrites the "
+                                 "input URL which is forwarded to the next rule"),
+                   required=True,
+                   default=False)
+
+    permanent = Bool(title=_("Permanent redirect?"),
+                     description=_("Define if this redirection should be permanent or temporary"),
+                     required=True,
+                     default=True)
+
+    url_pattern = TextLine(title=_("URL pattern"),
+                           description=_("Regexp pattern of matching URLs for this redirection rule"),
+                           required=True)
+
+    pattern = Attribute("Compiled URL pattern")
+
+    reference = InternalReferenceField(title=_("Internal redirection target"),
+                                       description=_("Internal redirection reference. You can search a reference using "
+                                                     "'+' followed by internal number, of by entering text matching "
+                                                     "content title."),
+                                       required=False)
+
+    target_url = TextLine(title=_("Target URL"),
+                          description=_("URL to which source URL should be redirected"),
+                          required=False)
+
+    @invariant
+    def check_reference_and_target(self):
+        if self.reference and self.target_url:
+            raise Invalid(_("You can only provide an internal reference OR a target URL"))
+        elif not (self.reference or self.target_url):
+            raise Invalid(_("You must provide an internal reference OR a target URL"))
+
+    def match(self, source_url):
+        """Return regexp URL match on given URL"""
+
+    def rewrite(self, source_url, request):
+        """Rewrite given source URL"""
+
+
+class IRedirectionManager(IOrderedContainer):
+    """Redirection manager"""
+
+    contains(IRedirectionRule)
+
+    def get_active_items(self):
+        """Get iterator over active items"""
+
+    def get_response(self, request):
+        """Get new response for given request"""
+
+    def test_rules(self, source_url, request, check_inactive_rules=False):
+        """Test rules against given URL"""
+
+
+class IRedirectionManagerTarget(Interface):
+    """Redirection manager target marker interface"""
--- a/src/pyams_content/features/redirect/interfaces/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,102 +0,0 @@
-#
-# Copyright (c) 2008-2018 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
-from pyams_content.interfaces.container import IOrderedContainer
-from pyams_sequence.interfaces import IInternalReference
-
-# import packages
-from pyams_sequence.schema import InternalReferenceField
-from zope.container.constraints import contains, containers
-from zope.interface import Interface, Attribute, invariant, Invalid
-from zope.schema import Bool, TextLine
-
-from pyams_content import _
-
-
-REDIRECT_MANAGER_KEY = 'pyams_content.redirect'
-
-
-class IRedirectionRule(IInternalReference):
-    """Redirection rule interface"""
-
-    containers('.IRedirectManager')
-
-    active = Bool(title=_("Active rule?"),
-                  description=_("If 'no', selected rule is inactive"),
-                  required=True,
-                  default=False)
-
-    chained = Bool(title=_("Chained rule?"),
-                   description=_("If 'no', and if this rule is matching received request URL, the rule "
-                                 "returns a redirection response; otherwise, the rule just rewrites the "
-                                 "input URL which is forwarded to the next rule"),
-                   required=True,
-                   default=False)
-
-    permanent = Bool(title=_("Permanent redirect?"),
-                     description=_("Define if this redirection should be permanent or temporary"),
-                     required=True,
-                     default=True)
-
-    url_pattern = TextLine(title=_("URL pattern"),
-                           description=_("Regexp pattern of matching URLs for this redirection rule"),
-                           required=True)
-
-    pattern = Attribute("Compiled URL pattern")
-
-    reference = InternalReferenceField(title=_("Internal redirection target"),
-                                       description=_("Internal redirection reference. You can search a reference using "
-                                                     "'+' followed by internal number, of by entering text matching "
-                                                     "content title."),
-                                       required=False)
-
-    target_url = TextLine(title=_("Target URL"),
-                          description=_("URL to which source URL should be redirected"),
-                          required=False)
-
-    @invariant
-    def check_reference_and_target(self):
-        if self.reference and self.target_url:
-            raise Invalid(_("You can only provide an internal reference OR a target URL"))
-        elif not (self.reference or self.target_url):
-            raise Invalid(_("You must provide an internal reference OR a target URL"))
-
-    def match(self, source_url):
-        """Return regexp URL match on given URL"""
-
-    def rewrite(self, source_url, request):
-        """Rewrite given source URL"""
-
-
-class IRedirectionManager(IOrderedContainer):
-    """Redirection manager"""
-
-    contains(IRedirectionRule)
-
-    def get_active_items(self):
-        """Get iterator over active items"""
-
-    def get_response(self, request):
-        """Get new response for given request"""
-
-    def test_rules(self, source_url, request, check_inactive_rules=False):
-        """Test rules against given URL"""
-
-
-class IRedirectionManagerTarget(Interface):
-    """Redirection manager target marker interface"""
--- a/src/pyams_content/features/redirect/zmi/container.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/features/redirect/zmi/container.py	Tue Nov 13 14:05:02 2018 +0100
@@ -30,7 +30,7 @@
 from z3c.table.interfaces import IValues, IColumn
 
 # import packages
-from pyams_content.skin import pyams_content
+from pyams_content.zmi import pyams_content
 from pyams_form.form import AJAXAddForm
 from pyams_form.schema import CloseButton
 from pyams_pagelet.pagelet import pagelet_config
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/features/renderer/interfaces.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,51 @@
+#
+# 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'
+
+from zope.annotation import IAttributeAnnotatable
+from zope.contentprovider.interfaces import IContentProvider
+from zope.interface import Attribute, Interface
+
+
+HIDDEN_RENDERER_NAME = 'hidden'
+
+
+class IRenderedContent(IAttributeAnnotatable):
+    """Generic interface for any rendered content"""
+
+    renderer = Attribute("Selected renderer name")
+
+    def get_renderer(self, request=None):
+        """Get selected renderer implementation"""
+
+
+class IContentRenderer(IContentProvider):
+    """Content renderer interface"""
+
+    label = Attribute("Renderer label")
+    weight = Attribute("Renderer weight, used for ordering")
+
+    settings_interface = Attribute("Renderer settings interface")
+    resources = Attribute("Iterable of needed Fanstatic resources")
+
+    language = Attribute("Renderer language (if forced)")
+    context_attrs = Attribute("Context attributes defined into renderer")
+    i18n_context_attrs = Attribute("I18n context attributes defined into renderer")
+
+
+class ISharedContentRenderer(IContentRenderer):
+    """Shared content renderer interface"""
+
+
+class IRendererSettings(Interface):
+    """Base renderer settings interface"""
--- a/src/pyams_content/features/renderer/interfaces/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,57 +0,0 @@
-#
-# 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
-from zope.annotation import IAttributeAnnotatable
-from zope.contentprovider.interfaces import IContentProvider
-
-# import packages
-from zope.interface import Interface, Attribute
-
-
-HIDDEN_RENDERER_NAME = 'hidden'
-
-
-class IRenderedContent(IAttributeAnnotatable):
-    """Generic interface for any rendered content"""
-
-    renderer = Attribute("Selected renderer name")
-
-    def get_renderer(self, request=None):
-        """Get selected renderer implementation"""
-
-
-class IContentRenderer(IContentProvider):
-    """Content renderer interface"""
-
-    label = Attribute("Renderer label")
-    weight = Attribute("Renderer weight, used for ordering")
-
-    settings_interface = Attribute("Renderer settings interface")
-    resources = Attribute("Iterable of needed Fanstatic resources")
-
-    language = Attribute("Renderer language (if forced)")
-    context_attrs = Attribute("Context attributes defined into renderer")
-    i18n_context_attrs = Attribute("I18n context attributes defined into renderer")
-
-
-class ISharedContentRenderer(IContentRenderer):
-    """Shared content renderer interface"""
-
-
-class IRendererSettings(Interface):
-    """Base renderer settings interface"""
--- a/src/pyams_content/features/renderer/skin/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,70 +0,0 @@
-#
-# Copyright (c) 2008-2018 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'
-
-from pyramid.decorator import reify
-from zope.interface import implementer
-
-from pyams_content import _
-from pyams_content.features.renderer.interfaces import HIDDEN_RENDERER_NAME, IContentRenderer, IRenderedContent, \
-    IRendererSettings
-from pyams_i18n.interfaces import II18n
-from pyams_skin.layer import IPyAMSLayer
-from pyams_template.template import get_view_template
-from pyams_utils.adapter import ContextRequestAdapter, adapter_config
-
-
-@implementer(IContentRenderer)
-class BaseContentRenderer(ContextRequestAdapter):
-    """Base content renderer"""
-
-    label = None
-    weight = 0
-
-    settings_interface = None
-    resources = ()
-
-    language = None
-    context_attrs = ()
-    i18n_context_attrs = ()
-
-    @reify
-    def settings(self):
-        if self.settings_interface is None:
-            return None
-        return IRendererSettings(self.context)
-
-    def update(self):
-        for resource in self.resources:
-            resource.need()
-        for attr in self.context_attrs:
-            setattr(self, attr, getattr(self.context, attr, None))
-        if self.i18n_context_attrs:
-            i18n = II18n(self.context, None)
-            if i18n is not None:
-                for attr in self.i18n_context_attrs:
-                    setattr(self, attr, i18n.query_attribute(attr, lang=self.language, request=self.request))
-
-    render = get_view_template()
-
-
-@adapter_config(name=HIDDEN_RENDERER_NAME, context=(IRenderedContent, IPyAMSLayer), provides=IContentRenderer)
-class HiddenContentRenderer(BaseContentRenderer):
-    """Hidden content renderer"""
-
-    label = _("Hidden content")
-    weight = -999
-
-    @staticmethod
-    def render():
-        return ''
--- a/src/pyams_content/features/renderer/zmi/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/features/renderer/zmi/__init__.py	Tue Nov 13 14:05:02 2018 +0100
@@ -12,18 +12,12 @@
 
 __docformat__ = 'restructuredtext'
 
-
-# import standard library
-
 from pyramid.decorator import reify
 from z3c.form import field
 from zope.interface import Interface
 
-from pyams_content import _
-# import interfaces
-from pyams_content.features.renderer.interfaces import IRenderedContent, IContentRenderer, IRendererSettings
+from pyams_content.features.renderer.interfaces import IContentRenderer, IRenderedContent, IRendererSettings
 from pyams_content.interfaces import MANAGE_CONTENT_PERMISSION
-# import packages
 from pyams_form.form import ajax_config
 from pyams_form.interfaces.form import IFormManager
 from pyams_pagelet.pagelet import pagelet_config
@@ -31,6 +25,8 @@
 from pyams_viewlet.viewlet import BaseContentProvider
 from pyams_zmi.form import AdminDialogEditForm
 
+from pyams_content import _
+
 
 #
 # Base rendered content renderer
@@ -112,4 +108,3 @@
             self.manager.updateGroups()
         else:
             super(RendererPropertiesEditForm, self).updateGroups()
-
--- a/src/pyams_content/features/review/zmi/templates/review-comments.pt	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/features/review/zmi/templates/review-comments.pt	Tue Nov 13 14:05:02 2018 +0100
@@ -1,7 +1,7 @@
 <div class="ams-widget comments" i18n:domain="pyams_content"
 	 data-ams-plugins="pyams_content"
-	 tal:attributes="data-ams-plugin-pyams_content-src tales:resource_path('pyams_content.skin:pyams_content');
-					 data-ams-plugin-pyams_content-css tales:resource_path('pyams_content.skin:pyams_content_css');"
+	 tal:attributes="data-ams-plugin-pyams_content-src tales:resource_path('pyams_content.zmi:pyams_content');
+					 data-ams-plugin-pyams_content-css tales:resource_path('pyams_content.zmi:pyams_content_css');"
 	 data-ams-plugin-pyams_content-async="false"
 	 data-ams-callback="PyAMS_content.review.initComments">
 	<header>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/features/search/__init__.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,62 @@
+#
+# Copyright (c) 2008-2018 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'
+
+from zope.interface import implementer
+from zope.schema.fieldproperty import FieldProperty
+
+from pyams_content.component.illustration import IIllustrationTarget, ILinkIllustrationTarget
+from pyams_content.features.preview.interfaces import IPreviewTarget
+from pyams_content.features.search.interfaces import ISearchFolder, ISearchFolderRoles
+from pyams_content.interfaces import MANAGE_SITE_PERMISSION, MANAGER_ROLE, GUEST_ROLE
+from pyams_content.shared.view import WfView
+from pyams_form.interfaces.form import IFormContextPermissionChecker
+from pyams_portal.interfaces import IPortalContext, DESIGNER_ROLE
+from pyams_utils.adapter import ContextAdapter, adapter_config
+
+from pyams_content import _
+
+
+@implementer(ISearchFolder, ISearchFolderRoles, IIllustrationTarget, ILinkIllustrationTarget,
+             IPortalContext, IPreviewTarget)
+class SearchFolder(WfView):
+    """Search folder"""
+
+    __roles__ = (MANAGER_ROLE, DESIGNER_ROLE, GUEST_ROLE)
+    roles_interface = ISearchFolderRoles
+
+    content_name = _("Search folder")
+
+    handle_content_url = True
+    handle_header = True
+    handle_description = True
+
+    sequence_name = ''  # use default sequence generator
+    sequence_prefix = ''
+
+    selected_content_types = FieldProperty(ISearchFolder['selected_content_types'])
+    selected_datatypes = FieldProperty(ISearchFolder['selected_datatypes'])
+
+    visible_in_list = FieldProperty(ISearchFolder['visible_in_list'])
+    navigation_title = FieldProperty(ISearchFolder['navigation_title'])
+
+    @staticmethod
+    def is_deletable():
+        return True
+
+
+@adapter_config(context=ISearchFolder, provides=IFormContextPermissionChecker)
+class SearchFolderPermissionChecker(ContextAdapter):
+    """Search folder edit permission checker"""
+
+    edit_permission = MANAGE_SITE_PERMISSION
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/features/search/interfaces.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,74 @@
+#
+# Copyright (c) 2008-2018 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.
+#
+from zope.interface import Interface
+
+from pyams_content.interfaces import MANAGER_ROLE, GUEST_ROLE
+from pyams_i18n.schema import I18nTextLineField
+from pyams_portal.interfaces import DESIGNER_ROLE
+from pyams_security.schema import PrincipalsSet
+
+
+__docformat__ = 'restructuredtext'
+
+from zope.schema import Choice, Set, Bool
+
+from pyams_content.shared.common.interfaces import CONTENT_TYPES_VOCABULARY
+from pyams_content.shared.common.interfaces.types import ALL_DATA_TYPES_VOCABULARY
+from pyams_content.shared.site.interfaces import ISiteElement, IBaseSiteItem
+from pyams_content.shared.view import IWfView
+from pyams_sequence.interfaces import ISequentialIdTarget
+
+from pyams_content import _
+
+
+class ISearchFolderRoles(Interface):
+    """Search folder roles"""
+
+    managers = PrincipalsSet(title=_("Managers"),
+                             description=_("Managers can handle main operations in tool's workflow, like publish "
+                                           "or retire contents"),
+                             role_id=MANAGER_ROLE,
+                             required=False)
+
+    designers = PrincipalsSet(title=_("Designers"),
+                              description=_("Designers are users which are allowed to manage presentation templates"),
+                              role_id=DESIGNER_ROLE,
+                              required=False)
+
+    guests = PrincipalsSet(title=_("Guests"),
+                           description=_("Guests are users which are allowed to view contents with restricted access"),
+                           role_id=GUEST_ROLE,
+                           required=False)
+
+
+class ISearchFolder(IBaseSiteItem, ISiteElement, IWfView, ISequentialIdTarget):
+    """Search folder interface"""
+
+    visible_in_list = Bool(title=_("Visible in folders list"),
+                           description=_("If 'no', folder will not be displayed into folders list"),
+                           required=True,
+                           default=True)
+
+    navigation_title = I18nTextLineField(title=_("Navigation title"),
+                                         description=_("Folder's title displayed in navigation pages; "
+                                                       "original title will be used if none is specified"),
+                                         required=False)
+
+    selected_content_types = Set(title=_("Selected content types"),
+                                 description=_("Searched content types; leave empty for all"),
+                                 value_type=Choice(vocabulary=CONTENT_TYPES_VOCABULARY),
+                                 required=False)
+
+    selected_datatypes = Set(title=_("Selected data types"),
+                             description=_("Searched data types; leave empty for all"),
+                             value_type=Choice(vocabulary=ALL_DATA_TYPES_VOCABULARY),
+                             required=False)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/features/search/zmi/__init__.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,198 @@
+#
+# Copyright (c) 2008-2018 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'
+
+from z3c.form import field
+from zope.interface import Interface
+from zope.intid import IIntIds
+
+from pyams_content.features.search import ISearchFolder, SearchFolder
+from pyams_content.interfaces import MANAGE_SITE_PERMISSION
+from pyams_content.shared.common.zmi.summary import SharedContentDublinCoreSummary, SharedContentWorkflowHistorySummary, \
+    SharedContentWorkflowPublicationState
+from pyams_content.shared.site.interfaces import ISiteContainer
+from pyams_content.shared.site.zmi import SiteManagerFoldersSelectorFieldWidget
+from pyams_content.shared.site.zmi.folder import ISiteFolderAddFormFields
+from pyams_form.form import AJAXAddForm, ajax_config
+from pyams_form.interfaces.form import IInnerSubForm
+from pyams_i18n.interfaces import II18n, INegotiator
+from pyams_pagelet.pagelet import pagelet_config
+from pyams_security.zmi.interfaces import IObjectSecurityMenu
+from pyams_skin.interfaces import IContentTitle, IPageHeader
+from pyams_skin.interfaces.viewlet import IMenuHeader, IToolbarAddingMenu, IContextActions
+from pyams_skin.layer import IPyAMSLayer
+from pyams_skin.page import DefaultPageHeaderAdapter, HeaderContentProvider
+from pyams_skin.viewlet.toolbar import ToolbarMenuItem
+from pyams_utils.adapter import ContextRequestAdapter, ContextRequestViewAdapter, NullAdapter, adapter_config
+from pyams_utils.registry import get_utility
+from pyams_utils.unicode import translate_string
+from pyams_utils.url import absolute_url
+from pyams_viewlet.viewlet import contentprovider_config, viewlet_config
+from pyams_workflow.interfaces import IWorkflowPublicationInfo
+from pyams_zmi.form import AdminDialogAddForm
+from pyams_zmi.interfaces.menu import IContentManagementMenu
+from pyams_zmi.layer import IAdminLayer
+
+from pyams_content import _
+
+
+@adapter_config(context=(ISearchFolder, IPyAMSLayer, Interface), provides=IPageHeader)
+class SearchFolderPropertiesHeaderAdapter(DefaultPageHeaderAdapter):
+    """Search folder header adapter"""
+
+    back_url = '/admin#properties.html'
+    back_target = None
+
+    icon_class = 'fa fa-fw fa-edit'
+
+
+@adapter_config(context=(ISearchFolder, IContentManagementMenu), provides=IMenuHeader)
+class SearchFolderContentMenuHeader(ContextRequestAdapter):
+    """Search folder menu header adapter"""
+
+    header = _("This search folder")
+
+
+@adapter_config(context=(ISearchFolder, IPyAMSLayer, Interface), provides=IContentTitle)
+class SearchFolderTitleAdapter(ContextRequestViewAdapter):
+    """Search folder title adapter"""
+
+    @property
+    def title(self):
+        translate = self.request.localizer.translate
+        return translate(_("Search folder « {title} »")).format(
+            title=II18n(self.context).query_attribute('title', request=self.request))
+
+
+@viewlet_config(name='add-search-folder.menu', context=ISiteContainer, layer=IAdminLayer, view=Interface,
+                manager=IToolbarAddingMenu, permission=MANAGE_SITE_PERMISSION, weight=11)
+class SearchFolderAddMenu(ToolbarMenuItem):
+    """Search folder add menu"""
+
+    label = _("Add search folder...")
+    label_css_class = 'fa fa-fw fa-search'
+    url = 'add-search-folder.html'
+    modal_target = True
+
+
+@pagelet_config(name='add-search-folder.html', context=ISiteContainer, layer=IPyAMSLayer,
+                permission=MANAGE_SITE_PERMISSION)
+@ajax_config(name='add-search-folder.json', context=ISiteContainer, layer=IPyAMSLayer, base=AJAXAddForm)
+class SearchFolderAddForm(AdminDialogAddForm):
+    """Search folder add form"""
+
+    @property
+    def title(self):
+        return II18n(self.context).query_attribute('title', request=self.request)
+
+    legend = _("Add search folder")
+    icon_css_class = 'fa fa-fw fa-search'
+
+    fields = field.Fields(ISiteFolderAddFormFields)
+    fields['parent'].widgetFactory = SiteManagerFoldersSelectorFieldWidget
+
+    edit_permission = MANAGE_SITE_PERMISSION
+
+    def updateWidgets(self, prefix=None):
+        super(SearchFolderAddForm, self).updateWidgets(prefix)
+        if 'parent' in self.widgets:
+            self.widgets['parent'].permission = MANAGE_SITE_PERMISSION
+
+    def create(self, data):
+        return SearchFolder()
+
+    def update_content(self, content, data):
+        data = data.get(self, data)
+        # initialize
+        content.title = data['title']
+        content.short_name = data['title']
+        content.notepad = data['notepad']
+        intids = get_utility(IIntIds)
+        parent = intids.queryObject(data.get('parent'))
+        if parent is not None:
+            negotiator = get_utility(INegotiator)
+            title = II18n(content).get_attribute('title', lang=negotiator.server_language)
+            name = translate_string(title, force_lower=True, spaces='-')
+            if name in parent:
+                index = 1
+                new_name = '{name}-{index:02}'.format(name=name, index=index)
+                while new_name in parent:
+                    index += 1
+                    new_name = '{name}-{index:02}'.format(name=name, index=index)
+                name = new_name
+            parent[name] = content
+
+    def add(self, content):
+        pass
+
+    def nextURL(self):
+        return absolute_url(self.context, self.request, 'admin#site-tree.html')
+
+    def get_ajax_output(self, changes):
+        return {'status': 'reload'}
+
+
+#
+# Search folder content providers
+#
+
+@contentprovider_config(name='content_header', context=ISearchFolder, view=Interface, layer=IPyAMSLayer)
+class SearchFolderHeaderContentProvider(HeaderContentProvider):
+    """Search folder header content provider"""
+
+
+#
+# Custom search folders adapters
+#
+
+@adapter_config(name='workflow-publication-state',
+                context=(ISearchFolder, IPyAMSLayer, SharedContentDublinCoreSummary),
+                provides=IInnerSubForm)
+class SearchFolderWorkflowPublicationState(SharedContentWorkflowPublicationState):
+    """Search folder workflow publication state is disabled"""
+
+    fields = field.Fields(IWorkflowPublicationInfo).select('publication_effective_date',
+                                                           'publication_expiration_date')
+
+
+@adapter_config(name='workflow-history-summary',
+                context=(ISearchFolder, IPyAMSLayer, SharedContentDublinCoreSummary),
+                provides=IInnerSubForm)
+class SearchFolderWorkflowHistorySummary(SharedContentWorkflowHistorySummary):
+    """Search folder workflow history summary"""
+
+    fields = field.Fields(IWorkflowPublicationInfo).select('first_publication_date')
+
+
+@viewlet_config(name='change-owner.menu', context=ISearchFolder, layer=IPyAMSLayer,
+                view=Interface, manager=IObjectSecurityMenu, permission=MANAGE_SITE_PERMISSION, weight=10)
+class SearchFolderOwnerChangeMenu(NullAdapter):
+    """Search folder owner change menu is disabled"""
+
+
+@viewlet_config(name='duplication.divider', context=ISearchFolder, layer=IPyAMSLayer,
+                view=Interface, manager=IContextActions, permission=MANAGE_SITE_PERMISSION, weight=49)
+class SearchFolderDuplicationMenuDivider(NullAdapter):
+    """Search folder duplication menu divider is disabled"""
+
+
+@viewlet_config(name='duplication.menu', context=ISearchFolder, layer=IPyAMSLayer,
+                view=Interface, manager=IContextActions, permission=MANAGE_SITE_PERMISSION, weight=50)
+class SearchFolderDuplicateMenu(NullAdapter):
+    """Search folder duplication menu item is disabled"""
+
+
+@viewlet_config(name='ask-review.menu', context=ISearchFolder, layer=IPyAMSLayer,
+                view=Interface, manager=IContextActions, permission=MANAGE_SITE_PERMISSION, weight=10)
+class SearchFolderReviewMenu(NullAdapter):
+    """Search folder review menu is disabled"""
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/features/search/zmi/properties.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,75 @@
+#
+# Copyright (c) 2008-2018 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'
+
+from z3c.form import field
+
+from pyams_content.features.search import ISearchFolder
+from pyams_content.shared.common.zmi.properties import SharedContentPropertiesEditForm
+from pyams_content.shared.view.zmi.properties import ViewPropertiesEditForm
+from pyams_form.group import NamedWidgetsGroup
+from pyams_form.interfaces.form import IInnerSubForm
+from pyams_form.widget import HiddenSelect2FieldWidget
+from pyams_skin.layer import IPyAMSLayer
+from pyams_utils.adapter import adapter_config
+from pyams_zmi.form import InnerAdminEditForm
+
+from pyams_content import _
+
+
+@adapter_config(name='view-settings',
+                context=(ISearchFolder, IPyAMSLayer, SharedContentPropertiesEditForm),
+                provides=IInnerSubForm)
+class SearchFolderPropertiesEditForm(ViewPropertiesEditForm):
+    """Search folder properties edit form extension"""
+
+    legend = _("Main search settings")
+
+    fields = field.Fields(ISearchFolder).select('selected_content_types', 'selected_datatypes',
+                                                'order_by', 'reversed_order', 'limit')
+    fields['selected_datatypes'].widgetFactory = HiddenSelect2FieldWidget
+
+
+@adapter_config(name='navigation',
+                context=(ISearchFolder, IPyAMSLayer, SharedContentPropertiesEditForm),
+                provides=IInnerSubForm)
+class SearchFolderNavigationPropertiesEditForm(InnerAdminEditForm):
+    """Search folder navigation properties edit form"""
+
+    prefix = 'navigation_form.'
+
+    css_class = 'form-group'
+    padding_class = ''
+    fieldset_class = 'bordered margin-top-10 padding-y-5'
+
+    legend = None
+    main_group_legend = _("Navigation properties")
+    main_group_class = 'inner switcher no-y-padding'
+
+    fields = field.Fields(ISearchFolder).select('visible_in_list', 'navigation_title')
+
+    weight = 5
+
+    def check_mode(self):
+        if self.parent_form is not None:
+            self.mode = self.parent_form.mode
+
+    def updateGroups(self):
+        self.add_group(NamedWidgetsGroup(self, 'navigation', self.widgets,
+                                         ('visible_in_list', 'navigation_title'),
+                                         fieldset_class=self.fieldset_class,
+                                         legend=self.main_group_legend,
+                                         css_class=self.main_group_class,
+                                         switch=True,
+                                         display_mode='always'))
+        super(SearchFolderNavigationPropertiesEditForm, self).updateGroups()
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/features/search/zmi/reference.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,31 @@
+#
+# Copyright (c) 2008-2018 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'
+
+from pyams_content.features.search import ISearchFolder
+from pyams_content.interfaces import MANAGE_CONTENT_PERMISSION
+from pyams_content.shared.view.zmi.reference import ViewReferencesEditForm
+from pyams_form.form import ajax_config
+from pyams_pagelet.pagelet import pagelet_config
+from pyams_skin.layer import IPyAMSLayer
+from pyams_utils.interfaces import VIEW_SYSTEM_PERMISSION
+
+from pyams_content import _
+
+
+@pagelet_config(name='references.html', context=ISearchFolder, layer=IPyAMSLayer, permission=VIEW_SYSTEM_PERMISSION)
+@ajax_config(name='references.json', context=ISearchFolder, layer=IPyAMSLayer, permission=MANAGE_CONTENT_PERMISSION)
+class SearchFolderReferencesEditForm(ViewReferencesEditForm):
+    """View search folder references settings edit form"""
+
+    legend = _("Search folder internal references settings")
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/features/search/zmi/theme.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,75 @@
+#
+# Copyright (c) 2008-2018 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'
+
+from z3c.form import field
+
+from pyams_content.features.search import ISearchFolder
+from pyams_content.interfaces import MANAGE_CONTENT_PERMISSION
+from pyams_content.shared.view.interfaces import IViewTagsSettings, IViewThemesSettings, IViewCollectionsSettings
+from pyams_content.shared.view.zmi.theme import ViewTagsEditForm, ViewThemesEditForm, ViewCollectionsEditForm
+from pyams_form.form import ajax_config
+from pyams_pagelet.pagelet import pagelet_config
+from pyams_skin.layer import IPyAMSLayer
+from pyams_thesaurus.zmi.widget import ThesaurusTermsTreeFieldWidget
+from pyams_utils.interfaces import VIEW_SYSTEM_PERMISSION
+
+from pyams_content import _
+
+
+@pagelet_config(name='tags.html', context=ISearchFolder, layer=IPyAMSLayer, permission=VIEW_SYSTEM_PERMISSION)
+@ajax_config(name='tags.json', context=ISearchFolder, layer=IPyAMSLayer, permission=MANAGE_CONTENT_PERMISSION)
+class SearchFolderTagsEditForm(ViewTagsEditForm):
+    """Search folder tags settings edit form"""
+
+    legend = _("Search folder tags settings")
+
+    fields = field.Fields(IViewTagsSettings).select('tags')
+    fields['tags'].widgetFactory = ThesaurusTermsTreeFieldWidget
+
+    def updateWidgets(self, prefix=None):
+        super(SearchFolderTagsEditForm, self).updateWidgets(prefix)
+        if 'tags' in self.widgets:
+            self.widgets['tags'].label_css_class = 'hidden'
+
+
+@pagelet_config(name='themes.html', context=ISearchFolder, layer=IPyAMSLayer, permission=VIEW_SYSTEM_PERMISSION)
+@ajax_config(name='themes.json', context=ISearchFolder, layer=IPyAMSLayer, permission=MANAGE_CONTENT_PERMISSION)
+class SearchFolderThemesEditForm(ViewThemesEditForm):
+    """Search folder themes settings edit form"""
+
+    legend = _("Search folder themes settings")
+
+    fields = field.Fields(IViewThemesSettings).select('themes')
+    fields['themes'].widgetFactory = ThesaurusTermsTreeFieldWidget
+
+    def updateWidgets(self, prefix=None):
+        super(SearchFolderThemesEditForm, self).updateWidgets(prefix)
+        if 'themes' in self.widgets:
+            self.widgets['themes'].label_css_class = 'hidden'
+
+
+@pagelet_config(name='collections.html', context=ISearchFolder, layer=IPyAMSLayer, permission=VIEW_SYSTEM_PERMISSION)
+@ajax_config(name='collections.json', context=ISearchFolder, layer=IPyAMSLayer, permission=MANAGE_CONTENT_PERMISSION)
+class SearchFolderCollectionsEditForm(ViewCollectionsEditForm):
+    """Search folder collections settings edit form"""
+
+    legend = _("Search folder collections settings")
+
+    fields = field.Fields(IViewCollectionsSettings).select('collections')
+    fields['collections'].widgetFactory = ThesaurusTermsTreeFieldWidget
+
+    def updateWidgets(self, prefix=None):
+        super(SearchFolderCollectionsEditForm, self).updateWidgets(prefix)
+        if 'collections' in self.widgets:
+            self.widgets['collections'].label_css_class = 'hidden'
--- a/src/pyams_content/include.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/include.py	Tue Nov 13 14:05:02 2018 +0100
@@ -12,12 +12,8 @@
 
 __docformat__ = 'restructuredtext'
 
-
-# import standard library
+import re
 
-# import interfaces
-
-# import packages
 from pyramid.tweens import MAIN
 
 
@@ -30,14 +26,11 @@
     # add custom twwen
     config.add_tween('pyams_content.features.redirect.tween.redirect_tween_factory', over=MAIN)
 
-    # add custom routes
-    config.add_route('oid_access', '/+/{oid}*view')
-
     # load registry components
     try:
         import pyams_zmi
     except ImportError:
-        config.scan(ignore='pyams_content.zmi')
+        config.scan(ignore=[re.compile('zmi').search])
     else:
         config.scan()
 
Binary file src/pyams_content/locales/fr/LC_MESSAGES/pyams_content.mo has changed
--- a/src/pyams_content/locales/fr/LC_MESSAGES/pyams_content.po	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/locales/fr/LC_MESSAGES/pyams_content.po	Tue Nov 13 14:05:02 2018 +0100
@@ -5,7 +5,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE 1.0\n"
-"POT-Creation-Date: 2018-10-09 13:56+0200\n"
+"POT-Creation-Date: 2018-11-07 18:21+0100\n"
 "PO-Revision-Date: 2015-09-10 10:42+0200\n"
 "Last-Translator: Thierry Florac <tflorac@ulthar.net>\n"
 "Language-Team: French\n"
@@ -80,10 +80,394 @@
 msgid "Guest user (role)"
 msgstr "Invité (rôle)"
 
+#: src/pyams_content/reference/zmi/__init__.py:50
+msgid "References"
+msgstr "Tables de réf."
+
+#: src/pyams_content/reference/zmi/__init__.py:68
+#: src/pyams_content/reference/zmi/table.py:129
+msgid "References tables"
+msgstr "Tables de références"
+
+#: src/pyams_content/reference/zmi/table.py:73
+msgid "Contents"
+msgstr "Contenu"
+
+#: src/pyams_content/reference/zmi/table.py:83
+msgid "Table contents"
+msgstr "Contenu de la table"
+
+#: src/pyams_content/reference/zmi/table.py:143
+msgid "Properties..."
+msgstr "Propriétés"
+
+#: src/pyams_content/reference/zmi/table.py:157
+msgid "Edit table properties"
+msgstr "Propriétés de la table"
+
+#: src/pyams_content/reference/zmi/table.py:167
+msgid "Table management"
+msgstr "Gérer cette table"
+
+#: src/pyams_content/reference/pictograms/interfaces.py:44
+#: src/pyams_content/component/extfile/__init__.py:225
+#: src/pyams_content/component/extfile/__init__.py:241
+#: src/pyams_content/shared/imagemap/interfaces.py:67
+msgid "Image"
+msgstr "Image"
+
+#: src/pyams_content/reference/pictograms/interfaces.py:45
+msgid "Pictogram content"
+msgstr "Utilisez le bouton \"Parcourir\" pour modifier le contenu de l'image"
+
+#: src/pyams_content/reference/pictograms/interfaces.py:48
+#: src/pyams_content/component/gallery/interfaces.py:49
+#: src/pyams_content/component/illustration/interfaces.py:50
+msgid "Accessibility title"
+msgstr "Alternative (accessibilité)"
+
+#: src/pyams_content/reference/pictograms/interfaces.py:49
+#: src/pyams_content/component/illustration/interfaces.py:51
+msgid "Alternate title used to describe image content"
+msgstr ""
+"Ce texte est affiché lorsque le contenu ne peut être téléchargé ou affiché ; "
+"il est aussi utilisé par les navigateurs des personnes souffrant de "
+"déficiences visuelles. Il doit donc décrire le contenu, pour se conformer "
+"aux normes d'accessibilité."
+
+#. Default: Header
+#: src/pyams_content/reference/pictograms/interfaces.py:52
+msgid "pictogram-header"
+msgstr "En-tête par défaut"
+
+#: src/pyams_content/reference/pictograms/interfaces.py:53
+msgid "Default header associated with this pictogram"
+msgstr "En-tête par défaut associé à ce pictogramme"
+
+#: src/pyams_content/reference/pictograms/interfaces.py:73
+#: src/pyams_content/reference/pictograms/zmi/manager.py:60
+#: src/pyams_content/reference/pictograms/zmi/templates/manager-selection.pt:35
+msgid "Selected pictograms"
+msgstr "Pictogrammes sélectionnés"
+
+#: src/pyams_content/reference/pictograms/interfaces.py:74
+msgid "List of selected pictograms which will be available to shared contents"
+msgstr "Liste des pictogrammes proposés dans les contenus partagés"
+
+#: src/pyams_content/reference/pictograms/zmi/widget.py:36
+msgid "No selected pictogram"
+msgstr "Aucun pictogramme sélectionné"
+
+#: src/pyams_content/reference/pictograms/zmi/widget.py:55
+#: src/pyams_content/reference/pictograms/zmi/__init__.py:169
+msgid "Default header: --"
+msgstr "En-tête par défaut : --"
+
+#: src/pyams_content/reference/pictograms/zmi/manager.py:48
+msgid "Pictograms selection..."
+msgstr "Sélection de pictogrammes"
+
+#: src/pyams_content/reference/pictograms/zmi/__init__.py:59
+#: src/pyams_content/component/paragraph/zmi/pictogram.py:310
+msgid "Add pictogram"
+msgstr "Ajouter un pictogramme"
+
+#: src/pyams_content/reference/pictograms/zmi/__init__.py:71
+#: src/pyams_content/component/paragraph/zmi/pictogram.py:323
+msgid "Add new pictogram"
+msgstr "Ajout d'un pictogramme"
+
+#: src/pyams_content/reference/pictograms/zmi/__init__.py:95
+#: src/pyams_content/component/paragraph/zmi/pictogram.py:365
+msgid "Edit pictogram properties"
+msgstr "Propriétés du pictogramme"
+
+#: src/pyams_content/reference/pictograms/zmi/__init__.py:150
+#: src/pyams_content/component/keynumber/portlet/interfaces.py:31
+#: src/pyams_content/component/gallery/interfaces.py:106
+#: src/pyams_content/component/paragraph/interfaces/milestone.py:43
+#: src/pyams_content/component/paragraph/zmi/container.py:266
+#: src/pyams_content/component/paragraph/zmi/milestone.py:235
+#: src/pyams_content/interfaces/__init__.py:101
+#: src/pyams_content/features/menu/portlet/navigation/interfaces/simple.py:31
+#: src/pyams_content/features/menu/portlet/navigation/interfaces/double.py:31
+#: src/pyams_content/root/zmi/templates/advanced-search.pt:197
+#: src/pyams_content/shared/view/portlet/interfaces.py:56
+#: src/pyams_content/shared/common/zmi/dashboard.py:104
+#: src/pyams_content/shared/common/zmi/reverse.py:73
+#: src/pyams_content/shared/common/zmi/templates/advanced-search.pt:200
+#: src/pyams_content/shared/site/zmi/folder.py:66
+#: src/pyams_content/shared/imagemap/zmi/container.py:123
+#: src/pyams_content/shared/logo/interfaces.py:46
+msgid "Title"
+msgstr "Titre"
+
+#: src/pyams_content/reference/pictograms/zmi/templates/manager-selection.pt:7
+msgid "Available pictograms"
+msgstr "Pictogrammes disponibles"
+
+#: src/pyams_content/reference/pictograms/zmi/templates/manager-selection.pt:21
+#: src/pyams_content/reference/pictograms/zmi/templates/manager-selection.pt:49
+msgid "Display pictogram properties"
+msgstr "Propriétés du pictogramme"
+
+#: src/pyams_content/reference/pictograms/zmi/templates/pictogram-header.pt:6
+msgid "Default header: ${header}"
+msgstr "En-tête par défaut : ${header}"
+
+#: src/pyams_content/component/keynumber/__init__.py:189
+#: src/pyams_content/component/keynumber/interfaces.py:83
+#: src/pyams_content/component/keynumber/portlet/zmi/__init__.py:74
+#: src/pyams_content/component/keynumber/zmi/__init__.py:212
+msgid "Key numbers"
+msgstr "Chiffres-clés"
+
+#: src/pyams_content/component/keynumber/interfaces.py:40
+#: src/pyams_content/component/paragraph/interfaces/pictogram.py:41
+#: src/pyams_content/component/paragraph/interfaces/milestone.py:38
+#: src/pyams_content/component/paragraph/interfaces/__init__.py:42
+#: src/pyams_content/component/association/interfaces.py:42
+#: src/pyams_content/features/alert/interfaces.py:54
+#: src/pyams_content/features/menu/interfaces.py:55
+#: src/pyams_content/shared/form/interfaces.py:85
+#: src/pyams_content/shared/site/interfaces.py:170
+msgid "Visible?"
+msgstr "Visible ?"
+
+#: src/pyams_content/component/keynumber/interfaces.py:41
+msgid "Is this key number visible in front-office?"
+msgstr "Si 'non', ce chiffre-clé ne sera pas présenté aux internautes"
+
+#. Default: Header
+#: src/pyams_content/component/keynumber/interfaces.py:45
+#: src/pyams_content/component/keynumber/zmi/__init__.py:160
+msgid "key-number-label"
+msgstr "En-tête"
+
+#: src/pyams_content/component/keynumber/interfaces.py:46
+msgid ""
+"Small text to be displayed above number (according to selected renderer)"
+msgstr ""
+"Texte court affiché au-dessus du chiffre (selon le mode de rendu sélectionné)"
+
+#: src/pyams_content/component/keynumber/interfaces.py:50
+#: src/pyams_content/component/keynumber/zmi/__init__.py:172
+msgid "Number"
+msgstr "Chiffre"
+
+#: src/pyams_content/component/keynumber/interfaces.py:51
+msgid "Key number value"
+msgstr "Chiffre"
+
+#. Default: Unit
+#: src/pyams_content/component/keynumber/interfaces.py:54
+#: src/pyams_content/component/keynumber/zmi/__init__.py:181
+msgid "key-number-unit"
+msgstr "Unité"
+
+#: src/pyams_content/component/keynumber/interfaces.py:55
+msgid "Displayed unit"
+msgstr "Unité affichée"
+
+#: src/pyams_content/component/keynumber/interfaces.py:58
+#: src/pyams_content/component/keynumber/zmi/__init__.py:193
+#: src/pyams_content/component/video/interfaces.py:46
+#: src/pyams_content/component/paragraph/interfaces/video.py:50
+#: src/pyams_content/component/paragraph/interfaces/pictogram.py:58
+#: src/pyams_content/component/paragraph/interfaces/milestone.py:81
+#: src/pyams_content/component/paragraph/zmi/pictogram.py:273
+#: src/pyams_content/component/illustration/interfaces.py:62
+msgid "Associated text"
+msgstr "Texte associé"
+
+#: src/pyams_content/component/keynumber/interfaces.py:59
+msgid "The way this text will be rendered depends on presentation template"
+msgstr ""
+"La présentation de cette information peut varier en fonction du mode de "
+"rendu choisi"
+
+#: src/pyams_content/component/keynumber/interfaces.py:94
+msgid "Key numbers template"
+msgstr "Mode de rendu"
+
+#: src/pyams_content/component/keynumber/interfaces.py:95
+msgid "Presentation template used for key numbers"
+msgstr "Modèle de présentation utilisé par ce bloc de contenu"
+
+#: src/pyams_content/component/keynumber/portlet/__init__.py:71
+msgid "Key Numbers"
+msgstr "Chiffres-clés"
+
+#: src/pyams_content/component/keynumber/portlet/interfaces.py:32
+msgid "Portlet title"
+msgstr "Titre"
+
+#: src/pyams_content/component/keynumber/portlet/interfaces.py:35
+msgid "Teaser"
+msgstr "Accroche"
+
+#: src/pyams_content/component/keynumber/portlet/interfaces.py:36
+msgid "Short text displayed above key numbers"
+msgstr "Texte d'introduction des chiffres-clés"
+
+#: src/pyams_content/component/keynumber/portlet/zmi/__init__.py:97
+#: src/pyams_content/component/keynumber/portlet/zmi/templates/keynumber-preview.pt:26
+msgid "Associated links"
+msgstr "Liens associés"
+
+#: src/pyams_content/component/keynumber/portlet/zmi/templates/keynumber-preview.pt:31
+#: src/pyams_content/features/menu/portlet/navigation/zmi/templates/double-preview.pt:10
+#: src/pyams_content/features/menu/portlet/navigation/zmi/templates/simple-preview.pt:7
+msgid "Link target is not published!"
+msgstr "Le contenu ciblé n'est pas publié"
+
+#: src/pyams_content/component/keynumber/zmi/__init__.py:231
+msgid "Add keynumber"
+msgstr "Ajouter un chiffre-clé"
+
+#: src/pyams_content/component/keynumber/zmi/__init__.py:243
+msgid "Add new keynumber"
+msgstr "Ajout d'un chiffre-clé"
+
+#: src/pyams_content/component/keynumber/zmi/__init__.py:272
+msgid "Edit keynumber properties"
+msgstr "Propriétés du chiffre-clé"
+
+#: src/pyams_content/component/keynumber/zmi/__init__.py:258
+msgid "Key number was correctly added"
+msgstr "Le chiffre-clé a été ajouté."
+
+#: src/pyams_content/component/keynumber/zmi/paragraph.py:49
+msgid "Key numbers..."
+msgstr "Chiffres-clés"
+
+#: src/pyams_content/component/keynumber/zmi/paragraph.py:62
+msgid "Add new key number paragraph"
+msgstr "Ajout de chiffres-clés"
+
+#: src/pyams_content/component/keynumber/zmi/paragraph.py:90
+msgid "Edit key number paragraph properties"
+msgstr "Propriétés des chiffres-clés"
+
 #: src/pyams_content/component/gallery/__init__.py:155
 msgid "Gallery"
 msgstr "Galerie de médias"
 
+#: src/pyams_content/component/gallery/interfaces.py:120
+msgid "Medias gallery"
+msgstr "Galerie de médias"
+
+#: src/pyams_content/component/gallery/interfaces.py:42
+#: src/pyams_content/component/illustration/interfaces.py:40
+#: src/pyams_content/component/illustration/interfaces.py:103
+msgid "Image or video data"
+msgstr "Fichier"
+
+#: src/pyams_content/component/gallery/interfaces.py:43
+#: src/pyams_content/component/illustration/interfaces.py:41
+#: src/pyams_content/component/illustration/interfaces.py:104
+msgid "Image or video content"
+msgstr ""
+"Cliquez sur le bouton 'Parcourir...' pour sélectionner un nouveau contenu..."
+
+#: src/pyams_content/component/gallery/interfaces.py:46
+#: src/pyams_content/component/video/interfaces.py:69
+#: src/pyams_content/component/paragraph/interfaces/video.py:43
+#: src/pyams_content/component/paragraph/interfaces/audio.py:43
+#: src/pyams_content/component/illustration/interfaces.py:47
+msgid "Legend"
+msgstr "Légende"
+
+#: src/pyams_content/component/gallery/interfaces.py:50
+msgid "Alternate title used to describe media content"
+msgstr ""
+"Ce texte est affiché lorsque le média ne peut être téléchargé ou affiché ; "
+"il est aussi utilisé par les navigateurs des personnes souffrant de "
+"déficiences visuelles. Il doit donc décrire le contenu du média, pour se "
+"conformer aux normes d'accessibilité."
+
+#: src/pyams_content/component/gallery/interfaces.py:53
+#: src/pyams_content/component/gallery/interfaces.py:110
+#: src/pyams_content/component/links/interfaces.py:39
+#: src/pyams_content/component/paragraph/interfaces/audio.py:50
+#: src/pyams_content/component/extfile/interfaces.py:36
+#: src/pyams_content/shared/form/interfaces.py:64
+msgid "Description"
+msgstr "Description"
+
+#: src/pyams_content/component/gallery/interfaces.py:56
+#: src/pyams_content/component/gallery/zmi/interfaces.py:39
+#: src/pyams_content/component/video/interfaces.py:42
+#: src/pyams_content/component/paragraph/interfaces/video.py:46
+#: src/pyams_content/component/paragraph/interfaces/verbatim.py:44
+#: src/pyams_content/component/paragraph/interfaces/audio.py:46
+#: src/pyams_content/component/extfile/interfaces.py:40
+#: src/pyams_content/component/illustration/interfaces.py:54
+msgid "Author"
+msgstr "Auteur"
+
+#: src/pyams_content/component/gallery/interfaces.py:57
+#: src/pyams_content/component/gallery/zmi/interfaces.py:40
+#: src/pyams_content/component/video/interfaces.py:43
+#: src/pyams_content/component/paragraph/interfaces/video.py:47
+#: src/pyams_content/component/paragraph/interfaces/audio.py:47
+#: src/pyams_content/component/extfile/interfaces.py:41
+msgid "Name of document's author"
+msgstr "Sous la forme \"Prénom Nom / Organisme\""
+
+#: src/pyams_content/component/gallery/interfaces.py:60
+#: src/pyams_content/component/paragraph/interfaces/audio.py:39
+#: src/pyams_content/component/extfile/interfaces.py:85
+msgid "Audio data"
+msgstr "Fichier"
+
+#: src/pyams_content/component/gallery/interfaces.py:61
+msgid "Sound file associated with the current media"
+msgstr "Vous pouvez associer un fichier audio à ce média"
+
+#: src/pyams_content/component/gallery/interfaces.py:64
+msgid "Sound title"
+msgstr "Titre"
+
+#: src/pyams_content/component/gallery/interfaces.py:65
+msgid "Title of associated sound file"
+msgstr "Titre du fichier audio associé à ce média"
+
+#: src/pyams_content/component/gallery/interfaces.py:68
+msgid "Sound description"
+msgstr "Description"
+
+#: src/pyams_content/component/gallery/interfaces.py:69
+msgid "Short description of associated sound file"
+msgstr "Courte description du fichier audio associé à ce média"
+
+#: src/pyams_content/component/gallery/interfaces.py:72
+msgid "Visible media?"
+msgstr "Média visible ?"
+
+#: src/pyams_content/component/gallery/interfaces.py:73
+msgid "If 'no', this media won't be displayed in front office"
+msgstr "Si 'non', ce média ne sera pas présenté aux internautes"
+
+#: src/pyams_content/component/gallery/interfaces.py:84
+msgid "Gallery template"
+msgstr "Mode de rendu"
+
+#: src/pyams_content/component/gallery/interfaces.py:85
+msgid "Presentation template used for this gallery"
+msgstr ""
+"<span>Modèle de présentation utilisé par cette galerie.<br /"
+"><strong>ATTENTION :</strong> certains modes de rendu ne prennent en charge "
+"que certains types de médias !!</span>"
+
+#: src/pyams_content/component/gallery/interfaces.py:107
+msgid "Gallery title, as shown in front-office"
+msgstr "Titre de la galerie présenté aux internautes"
+
+#: src/pyams_content/component/gallery/interfaces.py:111
+msgid "Gallery description displayed by front-office template"
+msgstr "Description de la galerie de médias présentée aux internautes"
+
 #: src/pyams_content/component/gallery/zmi/file.py:57
 #: src/pyams_content/component/gallery/zmi/file.py:69
 #: src/pyams_content/component/gallery/zmi/paragraph.py:163
@@ -106,6 +490,24 @@
 msgid "Audio content"
 msgstr "Contenu audio associé"
 
+#: src/pyams_content/component/gallery/zmi/__init__.py:57
+msgid "Update gallery properties"
+msgstr "Propriétés de la galerie de médias"
+
+#: src/pyams_content/component/gallery/zmi/__init__.py:84
+msgid "Update gallery contents"
+msgstr "Contenu de la galerie de médias"
+
+#: src/pyams_content/component/gallery/zmi/interfaces.py:35
+msgid "Images or videos data"
+msgstr "Fichier"
+
+#: src/pyams_content/component/gallery/zmi/interfaces.py:36
+msgid "You can upload a single file or choose to upload a whole ZIP archive"
+msgstr ""
+"Vous pouvez déposer les médias un par un, ou en nombre en les réunissant au "
+"préalable dans un fichier ZIP"
+
 #: src/pyams_content/component/gallery/zmi/paragraph.py:61
 msgid "Medias gallery..."
 msgstr "Galerie de médias"
@@ -135,49 +537,6 @@
 msgid "(gallery contains {0} medias)"
 msgstr "({0} medias dans la galerie)"
 
-#: src/pyams_content/component/gallery/zmi/__init__.py:57
-msgid "Update gallery properties"
-msgstr "Propriétés de la galerie de médias"
-
-#: src/pyams_content/component/gallery/zmi/__init__.py:84
-msgid "Update gallery contents"
-msgstr "Contenu de la galerie de médias"
-
-#: src/pyams_content/component/gallery/zmi/interfaces.py:35
-msgid "Images or videos data"
-msgstr "Fichier"
-
-#: src/pyams_content/component/gallery/zmi/interfaces.py:36
-msgid "You can upload a single file or choose to upload a whole ZIP archive"
-msgstr ""
-"Vous pouvez déposer les médias un par un, ou en nombre en les réunissant au "
-"préalable dans un fichier ZIP"
-
-#: src/pyams_content/component/gallery/zmi/interfaces.py:39
-#: src/pyams_content/component/gallery/interfaces/__init__.py:56
-#: src/pyams_content/component/extfile/interfaces/__init__.py:44
-#: src/pyams_content/component/illustration/interfaces/__init__.py:54
-#: src/pyams_content/component/paragraph/interfaces/video.py:46
-#: src/pyams_content/component/paragraph/interfaces/audio.py:46
-#: src/pyams_content/component/paragraph/interfaces/verbatim.py:44
-#: src/pyams_content/component/video/interfaces/__init__.py:42
-msgid "Author"
-msgstr "Auteur"
-
-#: src/pyams_content/component/gallery/zmi/interfaces.py:40
-#: src/pyams_content/component/gallery/interfaces/__init__.py:57
-#: src/pyams_content/component/extfile/interfaces/__init__.py:45
-#: src/pyams_content/component/paragraph/interfaces/video.py:47
-#: src/pyams_content/component/paragraph/interfaces/audio.py:47
-#: src/pyams_content/component/video/interfaces/__init__.py:43
-msgid "Name of document's author"
-msgstr "Sous la forme \"Prénom Nom / Organisme\""
-
-#: src/pyams_content/component/gallery/zmi/templates/gallery-media.pt:9
-#: src/pyams_content/component/gallery/zmi/templates/gallery-medias.pt:42
-msgid "Zoom image"
-msgstr "Agrandir l'image"
-
 #: src/pyams_content/component/gallery/zmi/templates/gallery-medias.pt:12
 msgid "Gallery medias"
 msgstr "Contenu de la galerie"
@@ -186,1566 +545,49 @@
 msgid "Download medias"
 msgstr "Enregistrer tous les médias sous..."
 
-#: src/pyams_content/component/gallery/interfaces/__init__.py:120
-msgid "Medias gallery"
-msgstr "Galerie de médias"
-
-#: src/pyams_content/component/gallery/interfaces/__init__.py:42
-#: src/pyams_content/component/illustration/interfaces/__init__.py:40
-#: src/pyams_content/component/illustration/interfaces/__init__.py:103
-msgid "Image or video data"
-msgstr "Fichier"
-
-#: src/pyams_content/component/gallery/interfaces/__init__.py:43
-#: src/pyams_content/component/illustration/interfaces/__init__.py:41
-#: src/pyams_content/component/illustration/interfaces/__init__.py:104
-msgid "Image or video content"
-msgstr ""
-"Cliquez sur le bouton 'Parcourir...' pour sélectionner un nouveau contenu..."
-
-#: src/pyams_content/component/gallery/interfaces/__init__.py:46
-#: src/pyams_content/component/illustration/interfaces/__init__.py:47
-#: src/pyams_content/component/paragraph/interfaces/video.py:43
-#: src/pyams_content/component/paragraph/interfaces/audio.py:43
-#: src/pyams_content/component/video/interfaces/__init__.py:69
-msgid "Legend"
-msgstr "Légende"
-
-#: src/pyams_content/component/gallery/interfaces/__init__.py:49
-#: src/pyams_content/component/illustration/interfaces/__init__.py:50
-#: src/pyams_content/reference/pictograms/interfaces/__init__.py:48
-msgid "Accessibility title"
-msgstr "Alternative (accessibilité)"
-
-#: src/pyams_content/component/gallery/interfaces/__init__.py:50
-msgid "Alternate title used to describe media content"
-msgstr ""
-"Ce texte est affiché lorsque le média ne peut être téléchargé ou affiché ; "
-"il est aussi utilisé par les navigateurs des personnes souffrant de "
-"déficiences visuelles. Il doit donc décrire le contenu du média, pour se "
-"conformer aux normes d'accessibilité."
-
-#: src/pyams_content/component/gallery/interfaces/__init__.py:53
-#: src/pyams_content/component/gallery/interfaces/__init__.py:110
-#: src/pyams_content/component/extfile/interfaces/__init__.py:40
-#: src/pyams_content/component/paragraph/interfaces/audio.py:50
-#: src/pyams_content/component/links/interfaces/__init__.py:39
-#: src/pyams_content/shared/form/interfaces/__init__.py:64
-msgid "Description"
-msgstr "Description"
-
-#: src/pyams_content/component/gallery/interfaces/__init__.py:60
-#: src/pyams_content/component/extfile/interfaces/__init__.py:89
-#: src/pyams_content/component/paragraph/interfaces/audio.py:39
-msgid "Audio data"
-msgstr "Fichier"
-
-#: src/pyams_content/component/gallery/interfaces/__init__.py:61
-msgid "Sound file associated with the current media"
-msgstr "Vous pouvez associer un fichier audio à ce média"
-
-#: src/pyams_content/component/gallery/interfaces/__init__.py:64
-msgid "Sound title"
-msgstr "Titre"
-
-#: src/pyams_content/component/gallery/interfaces/__init__.py:65
-msgid "Title of associated sound file"
-msgstr "Titre du fichier audio associé à ce média"
-
-#: src/pyams_content/component/gallery/interfaces/__init__.py:68
-msgid "Sound description"
-msgstr "Description"
-
-#: src/pyams_content/component/gallery/interfaces/__init__.py:69
-msgid "Short description of associated sound file"
-msgstr "Courte description du fichier audio associé à ce média"
-
-#: src/pyams_content/component/gallery/interfaces/__init__.py:72
-msgid "Visible media?"
-msgstr "Média visible ?"
-
-#: src/pyams_content/component/gallery/interfaces/__init__.py:73
-msgid "If 'no', this media won't be displayed in front office"
-msgstr "Si 'non', ce média ne sera pas présenté aux internautes"
-
-#: src/pyams_content/component/gallery/interfaces/__init__.py:84
-msgid "Gallery template"
-msgstr "Mode de rendu"
-
-#: src/pyams_content/component/gallery/interfaces/__init__.py:85
-msgid "Presentation template used for this gallery"
-msgstr ""
-"<span>Modèle de présentation utilisé par cette galerie.<br /"
-"><strong>ATTENTION :</strong> certains modes de rendu ne prennent en charge "
-"que certains types de médias !!</span>"
-
-#: src/pyams_content/component/gallery/interfaces/__init__.py:106
-#: src/pyams_content/component/keynumber/portlet/interfaces/__init__.py:31
-#: src/pyams_content/component/paragraph/zmi/milestone.py:235
-#: src/pyams_content/component/paragraph/zmi/container.py:266
-#: src/pyams_content/component/paragraph/interfaces/milestone.py:43
-#: src/pyams_content/shared/common/zmi/reverse.py:73
-#: src/pyams_content/shared/common/zmi/dashboard.py:103
-#: src/pyams_content/shared/common/zmi/templates/advanced-search.pt:200
-#: src/pyams_content/shared/view/portlet/interfaces.py:56
-#: src/pyams_content/shared/imagemap/zmi/container.py:123
-#: src/pyams_content/shared/site/zmi/folder.py:66
-#: src/pyams_content/shared/logo/interfaces/__init__.py:46
-#: src/pyams_content/root/zmi/templates/advanced-search.pt:197
-#: src/pyams_content/interfaces/__init__.py:101
-#: src/pyams_content/reference/pictograms/zmi/__init__.py:150
-#: src/pyams_content/features/menu/portlet/navigation/interfaces/simple.py:31
-#: src/pyams_content/features/menu/portlet/navigation/interfaces/double.py:31
-msgid "Title"
-msgstr "Titre"
-
-#: src/pyams_content/component/gallery/interfaces/__init__.py:107
-msgid "Gallery title, as shown in front-office"
-msgstr "Titre de la galerie présenté aux internautes"
-
-#: src/pyams_content/component/gallery/interfaces/__init__.py:111
-msgid "Gallery description displayed by front-office template"
-msgstr "Description de la galerie de médias présentée aux internautes"
-
-#: src/pyams_content/component/extfile/__init__.py:172
-#: src/pyams_content/component/extfile/__init__.py:176
-msgid "Standard file"
-msgstr "Fichier"
-
-#: src/pyams_content/component/extfile/__init__.py:223
-#: src/pyams_content/component/extfile/__init__.py:238
-#: src/pyams_content/shared/imagemap/interfaces/__init__.py:67
-#: src/pyams_content/reference/pictograms/interfaces/__init__.py:44
-msgid "Image"
-msgstr "Image"
-
-#: src/pyams_content/component/extfile/__init__.py:253
-#: src/pyams_content/component/extfile/__init__.py:257
-#: src/pyams_content/component/paragraph/interfaces/video.py:32
-msgid "Video"
-msgstr "Vidéo"
-
-#: src/pyams_content/component/extfile/__init__.py:272
-#: src/pyams_content/component/extfile/__init__.py:276
-msgid "Audio file"
-msgstr "Fichier audio"
-
-#: src/pyams_content/component/extfile/zmi/__init__.py:69
-msgid "External files"
-msgstr "Fichiers"
-
-#: src/pyams_content/component/extfile/zmi/__init__.py:84
-msgid "Add external file"
-msgstr "Fichier"
-
-#: src/pyams_content/component/extfile/zmi/__init__.py:98
-msgid "Add new external file"
-msgstr "Ajout d'un fichier"
-
-#: src/pyams_content/component/extfile/zmi/__init__.py:128
-msgid "Update file properties"
-msgstr "Propriétés du fichier"
-
-#: src/pyams_content/component/extfile/zmi/__init__.py:154
-msgid "Images"
-msgstr "Images"
-
-#: src/pyams_content/component/extfile/zmi/__init__.py:169
-msgid "Add image"
-msgstr "Image téléchargeable"
-
-#: src/pyams_content/component/extfile/zmi/__init__.py:183
-msgid "Add new image"
-msgstr "Ajout d'une image téléchargeable"
-
-#: src/pyams_content/component/extfile/zmi/__init__.py:214
-msgid "Update image properties"
-msgstr "Propriétés de l'image téléchargeable"
-
-#: src/pyams_content/component/extfile/zmi/__init__.py:245
-msgid "Videos"
-msgstr "Vidéos"
-
-#: src/pyams_content/component/extfile/zmi/__init__.py:260
-msgid "Add video"
-msgstr "Vidéo téléchargeable"
-
-#: src/pyams_content/component/extfile/zmi/__init__.py:274
-msgid "Add new video"
-msgstr "Ajout d'une vidéo téléchargeable"
-
-#: src/pyams_content/component/extfile/zmi/__init__.py:298
-msgid "Update video properties"
-msgstr "Propriétés de la vidéo téléchargeable"
-
-#: src/pyams_content/component/extfile/zmi/__init__.py:322
-msgid "Audios files"
-msgstr "Fichiers audios"
-
-#: src/pyams_content/component/extfile/zmi/__init__.py:337
-msgid "Add audio file"
-msgstr "Bande son téléchargeable"
-
-#: src/pyams_content/component/extfile/zmi/__init__.py:351
-msgid "Add new audio file"
-msgstr "Ajout d'une bande son téléchargeable"
-
-#: src/pyams_content/component/extfile/zmi/__init__.py:375
-msgid "Update audio file properties"
-msgstr "Propriétés de la bande son téléchargeable"
-
-#: src/pyams_content/component/extfile/zmi/__init__.py:45
-msgid "External file type"
-msgstr "Type de fichier joint"
-
-#: src/pyams_content/component/extfile/interfaces/__init__.py:36
-#: src/pyams_content/component/links/interfaces/__init__.py:35
-#: src/pyams_content/shared/imagemap/interfaces/__init__.py:55
-msgid "Alternate title"
-msgstr "Titre de substitution"
-
-#: src/pyams_content/component/extfile/interfaces/__init__.py:37
-msgid "File title, as shown in front-office"
-msgstr "Titre présenté aux internautes"
-
-#: src/pyams_content/component/extfile/interfaces/__init__.py:41
-#: src/pyams_content/component/paragraph/interfaces/audio.py:51
-msgid "File description displayed by front-office template"
-msgstr "Description du fichier, présentée aux internautes"
-
-#: src/pyams_content/component/extfile/interfaces/__init__.py:48
-#: src/pyams_content/component/links/interfaces/__init__.py:65
-msgid "Language"
-msgstr "Langue"
-
-#: src/pyams_content/component/extfile/interfaces/__init__.py:49
-msgid "File's content language"
-msgstr "Langue du fichier"
-
-#: src/pyams_content/component/extfile/interfaces/__init__.py:53
-msgid "Save file as..."
-msgstr "Nom du fichier"
-
-#: src/pyams_content/component/extfile/interfaces/__init__.py:54
-msgid "Name under which the file will be saved"
-msgstr ""
-"Nom donné au fichier en cas de téléchargement ; il est donc important de "
-"veiller au sens de ce nom, sans oublier d'indiquer l'extension (« .pdf », « ."
-"doc »...) !"
-
-#: src/pyams_content/component/extfile/interfaces/__init__.py:61
-msgid "File data"
-msgstr "Fichier"
-
-#: src/pyams_content/component/extfile/interfaces/__init__.py:62
-msgid "File content"
-msgstr ""
-"Cliquez sur le bouton 'Parcourir...' pour sélectionner un nouveau contenu"
-
-#: src/pyams_content/component/extfile/interfaces/__init__.py:73
-#: src/pyams_content/shared/logo/interfaces/__init__.py:59
-msgid "Image data"
-msgstr "Fichier"
-
-#: src/pyams_content/component/extfile/interfaces/__init__.py:74
-msgid "Image content"
-msgstr ""
-"Cliquez sur le bouton 'Parcourir...' pour sélectionner un nouveau contenu..."
-
-#: src/pyams_content/component/extfile/interfaces/__init__.py:81
-#: src/pyams_content/component/paragraph/interfaces/video.py:39
-msgid "Video data"
-msgstr "Fichier"
-
-#: src/pyams_content/component/extfile/interfaces/__init__.py:82
-msgid "Video content"
-msgstr ""
-"Cliquez sur le bouton 'Parcourir...' pour sélectionner un nouveau contenu"
-
-#: src/pyams_content/component/extfile/interfaces/__init__.py:90
-#: src/pyams_content/component/paragraph/interfaces/audio.py:40
-msgid "Audio file content"
-msgstr ""
-"Cliquez sur le bouton 'Parcourir...' pour sélectionner un nouveau contenu"
-
-#: src/pyams_content/component/keynumber/__init__.py:189
-#: src/pyams_content/component/keynumber/zmi/__init__.py:212
-#: src/pyams_content/component/keynumber/portlet/zmi/__init__.py:74
-#: src/pyams_content/component/keynumber/interfaces/__init__.py:83
-msgid "Key numbers"
-msgstr "Chiffres-clés"
-
-#: src/pyams_content/component/keynumber/zmi/paragraph.py:49
-msgid "Key numbers..."
-msgstr "Chiffres-clés"
-
-#: src/pyams_content/component/keynumber/zmi/paragraph.py:62
-msgid "Add new key number paragraph"
-msgstr "Ajout de chiffres-clés"
-
-#: src/pyams_content/component/keynumber/zmi/paragraph.py:90
-msgid "Edit key number paragraph properties"
-msgstr "Propriétés des chiffres-clés"
-
-#. Default: Header
-#: src/pyams_content/component/keynumber/zmi/__init__.py:160
-#: src/pyams_content/component/keynumber/interfaces/__init__.py:45
-msgid "key-number-label"
-msgstr "En-tête"
-
-#: src/pyams_content/component/keynumber/zmi/__init__.py:172
-#: src/pyams_content/component/keynumber/interfaces/__init__.py:50
-msgid "Number"
-msgstr "Chiffre"
-
-#. Default: Unit
-#: src/pyams_content/component/keynumber/zmi/__init__.py:181
-#: src/pyams_content/component/keynumber/interfaces/__init__.py:54
-msgid "key-number-unit"
-msgstr "Unité"
-
-#: src/pyams_content/component/keynumber/zmi/__init__.py:193
-#: src/pyams_content/component/keynumber/interfaces/__init__.py:58
-#: src/pyams_content/component/illustration/interfaces/__init__.py:62
-#: src/pyams_content/component/paragraph/zmi/pictogram.py:273
-#: src/pyams_content/component/paragraph/interfaces/milestone.py:81
-#: src/pyams_content/component/paragraph/interfaces/video.py:50
-#: src/pyams_content/component/paragraph/interfaces/pictogram.py:58
-#: src/pyams_content/component/video/interfaces/__init__.py:46
-msgid "Associated text"
-msgstr "Texte associé"
-
-#: src/pyams_content/component/keynumber/zmi/__init__.py:231
-msgid "Add keynumber"
-msgstr "Ajouter un chiffre-clé"
-
-#: src/pyams_content/component/keynumber/zmi/__init__.py:243
-msgid "Add new keynumber"
-msgstr "Ajout d'un chiffre-clé"
-
-#: src/pyams_content/component/keynumber/zmi/__init__.py:272
-msgid "Edit keynumber properties"
-msgstr "Propriétés du chiffre-clé"
-
-#: src/pyams_content/component/keynumber/zmi/__init__.py:258
-msgid "Key number was correctly added"
-msgstr "Le chiffre-clé a été ajouté."
-
-#: src/pyams_content/component/keynumber/portlet/__init__.py:71
-msgid "Key Numbers"
-msgstr "Chiffres-clés"
-
-#: src/pyams_content/component/keynumber/portlet/zmi/__init__.py:97
-#: src/pyams_content/component/keynumber/portlet/zmi/templates/keynumber-preview.pt:26
-msgid "Associated links"
-msgstr "Liens associés"
-
-#: src/pyams_content/component/keynumber/portlet/zmi/templates/keynumber-preview.pt:31
-#: src/pyams_content/features/menu/portlet/navigation/zmi/templates/double-preview.pt:10
-#: src/pyams_content/features/menu/portlet/navigation/zmi/templates/simple-preview.pt:7
-msgid "Link target is not published!"
-msgstr "Le contenu ciblé n'est pas publié"
-
-#: src/pyams_content/component/keynumber/portlet/interfaces/__init__.py:32
-msgid "Portlet title"
-msgstr "Titre"
-
-#: src/pyams_content/component/keynumber/portlet/interfaces/__init__.py:35
-msgid "Teaser"
-msgstr "Accroche"
-
-#: src/pyams_content/component/keynumber/portlet/interfaces/__init__.py:36
-msgid "Short text displayed above key numbers"
-msgstr "Texte d'introduction des chiffres-clés"
-
-#: src/pyams_content/component/keynumber/interfaces/__init__.py:40
-#: src/pyams_content/component/paragraph/interfaces/milestone.py:38
-#: src/pyams_content/component/paragraph/interfaces/__init__.py:42
-#: src/pyams_content/component/paragraph/interfaces/pictogram.py:41
-#: src/pyams_content/component/association/interfaces/__init__.py:42
-#: src/pyams_content/shared/form/interfaces/__init__.py:85
-#: src/pyams_content/shared/site/interfaces/__init__.py:156
-#: src/pyams_content/features/alert/interfaces.py:54
-#: src/pyams_content/features/menu/interfaces/__init__.py:55
-msgid "Visible?"
-msgstr "Visible ?"
-
-#: src/pyams_content/component/keynumber/interfaces/__init__.py:41
-msgid "Is this key number visible in front-office?"
-msgstr "Si 'non', ce chiffre-clé ne sera pas présenté aux internautes"
-
-#: src/pyams_content/component/keynumber/interfaces/__init__.py:46
-msgid ""
-"Small text to be displayed above number (according to selected renderer)"
-msgstr ""
-"Texte court affiché au-dessus du chiffre (selon le mode de rendu sélectionné)"
-
-#: src/pyams_content/component/keynumber/interfaces/__init__.py:51
-msgid "Key number value"
-msgstr "Chiffre"
-
-#: src/pyams_content/component/keynumber/interfaces/__init__.py:55
-msgid "Displayed unit"
-msgstr "Unité affichée"
-
-#: src/pyams_content/component/keynumber/interfaces/__init__.py:59
-msgid "The way this text will be rendered depends on presentation template"
-msgstr ""
-"La présentation de cette information peut varier en fonction du mode de "
-"rendu choisi"
-
-#: src/pyams_content/component/keynumber/interfaces/__init__.py:94
-msgid "Key numbers template"
-msgstr "Mode de rendu"
-
-#: src/pyams_content/component/keynumber/interfaces/__init__.py:95
-msgid "Presentation template used for key numbers"
-msgstr "Modèle de présentation utilisé par ce bloc de contenu"
-
-#: src/pyams_content/component/illustration/__init__.py:171
-#: src/pyams_content/component/illustration/thesaurus.py:32
-#: src/pyams_content/component/illustration/zmi/paragraph.py:153
-#: src/pyams_content/component/illustration/zmi/__init__.py:57
-#: src/pyams_content/component/illustration/zmi/__init__.py:118
-#: src/pyams_content/component/illustration/interfaces/__init__.py:97
-msgid "Illustration"
-msgstr "Illustration"
-
-#: src/pyams_content/component/illustration/zmi/paragraph.py:55
-msgid "Illustration..."
-msgstr "Illustration"
-
-#: src/pyams_content/component/illustration/zmi/paragraph.py:68
-msgid "Add new illustration"
-msgstr "Ajout d'une illustration"
-
-#: src/pyams_content/component/illustration/zmi/paragraph.py:93
-#: src/pyams_content/component/illustration/zmi/thesaurus.py:42
-msgid "Edit illustration properties"
-msgstr "Propriétés de l'illustration"
-
-#: src/pyams_content/component/illustration/zmi/__init__.py:152
-msgid "Navigation link illustration"
-msgstr "Illustration de navigation"
-
-#: src/pyams_content/component/illustration/zmi/__init__.py:169
-msgid "Add illustration"
-msgstr "Ajouter une illustration"
-
-#: src/pyams_content/component/illustration/zmi/__init__.py:120
-msgid "Header illustration"
-msgstr "Illustration d'en-tête"
-
-#: src/pyams_content/component/illustration/interfaces/__init__.py:51
-#: src/pyams_content/reference/pictograms/interfaces/__init__.py:49
-msgid "Alternate title used to describe image content"
-msgstr ""
-"Ce texte est affiché lorsque le contenu ne peut être téléchargé ou affiché ; "
-"il est aussi utilisé par les navigateurs des personnes souffrant de "
-"déficiences visuelles. Il doit donc décrire le contenu, pour se conformer "
-"aux normes d'accessibilité."
-
-#: src/pyams_content/component/illustration/interfaces/__init__.py:55
-msgid "Name of picture's author"
-msgstr "Sous la forme \"Prénom Nom / Organisme\""
-
-#: src/pyams_content/component/illustration/interfaces/__init__.py:63
-msgid "Illustration description displayed in front-office templates"
-msgstr ""
-"Le texte accompagne l'illustration, en complément de la légende. Attention : "
-"sa présence et sa mise en forme dépendent du mode de rendu choisi."
-
-#: src/pyams_content/component/illustration/interfaces/__init__.py:66
-msgid "Illustration template"
-msgstr "Mode de rendu"
-
-#: src/pyams_content/component/illustration/interfaces/__init__.py:67
-msgid "Presentation template used for illustration"
-msgstr ""
-"<span>Modèle de présentation utilisé par cette illustration.<br /"
-"><strong>ATTENTION :</strong> certains modes de rendu ne prennent pas en "
-"compte tous les types de médias !</span>"
-
-#: src/pyams_content/component/paragraph/milestone.py:138
-msgid "Selected paragraph is missing"
-msgstr "le bloc sélectionné est introuvable"
-
-#: src/pyams_content/component/paragraph/milestone.py:141
-msgid "Selected paragraph is not visible"
-msgstr "le bloc sélectionné n'est pas visible"
-
-#: src/pyams_content/component/paragraph/container.py:94
-msgid "Paragraphs"
-msgstr "Blocs de contenu"
-
-#: src/pyams_content/component/paragraph/container.py:116
-msgid "no visible paragraph"
-msgstr "aucun bloc de contenu visible"
-
-#: src/pyams_content/component/paragraph/pictogram.py:130
-msgid "Selected pictogram is missing"
-msgstr "le pictogramme sélectionné est introuvable"
-
-#: src/pyams_content/component/paragraph/header.py:62
-msgid "This paragraph type is deprecated and should be removed!"
-msgstr "Ce type de paragraphe a été supprimé et ne doit plus être utilisé !"
-
-#: src/pyams_content/component/paragraph/zmi/milestone.py:74
-msgid "Milestones..."
-msgstr "Chronologie"
-
-#: src/pyams_content/component/paragraph/zmi/milestone.py:87
-msgid "Add new milestone paragraph"
-msgstr "Ajout d'une chronologie"
-
-#: src/pyams_content/component/paragraph/zmi/milestone.py:114
-msgid "Edit milestone paragraph properties"
-msgstr "Propriétés de la chronologie"
-
-#: src/pyams_content/component/paragraph/zmi/milestone.py:247
-#: src/pyams_content/component/paragraph/interfaces/milestone.py:47
-msgid "Associated label"
-msgstr "Information associée"
-
-#: src/pyams_content/component/paragraph/zmi/milestone.py:259
-#: src/pyams_content/component/paragraph/interfaces/milestone.py:51
-msgid "Anchor"
-msgstr "Ancre"
-
-#: src/pyams_content/component/paragraph/zmi/milestone.py:288
-#: src/pyams_content/component/paragraph/interfaces/milestone.py:74
-msgid "Milestones"
-msgstr "Chronologie"
-
-#: src/pyams_content/component/paragraph/zmi/milestone.py:303
-msgid "Add milestone"
-msgstr "Ajouter un jalon"
-
-#: src/pyams_content/component/paragraph/zmi/milestone.py:316
-msgid "Add new milestone"
-msgstr "Ajout d'un jalon"
-
-#: src/pyams_content/component/paragraph/zmi/milestone.py:343
-msgid "Edit milestone properties"
-msgstr "Propriétés du jalon"
-
-#: src/pyams_content/component/paragraph/zmi/milestone.py:331
-msgid "Milestone was correctly added"
-msgstr "Le jalon a été ajouté."
-
-#: src/pyams_content/component/paragraph/zmi/milestone.py:274
-msgid "(missing paragraph)"
-msgstr "(paragraphe supprimé)"
-
-#: src/pyams_content/component/paragraph/zmi/keypoint.py:46
-msgid "Key points..."
-msgstr "Points clés"
-
-#: src/pyams_content/component/paragraph/zmi/keypoint.py:59
-msgid "Add new key points paragraph"
-msgstr "Ajout de points clés"
-
-#: src/pyams_content/component/paragraph/zmi/keypoint.py:86
-msgid "Edit key points paragraph properties"
-msgstr "Propriétés des points clés"
-
-#: src/pyams_content/component/paragraph/zmi/__init__.py:60
-msgid "Content block types..."
-msgstr "Types de blocs de contenu"
-
-#: src/pyams_content/component/paragraph/zmi/__init__.py:74
-msgid "Content block types"
-msgstr "Types de blocs de contenu"
-
-#: src/pyams_content/component/paragraph/zmi/__init__.py:84
-msgid ""
-"You can define which types of paragraphs are allowed in this container.\n"
-"\n"
-"Default paragraphs will be added automatically (in selected order) to any "
-"new created content.\n"
-"\n"
-"NOTICE: removing types from allowed types list will have no effect on "
-"already created contents!"
-msgstr ""
-"Vous pouvez indiquer la liste des types de blocs de contenu autorisés pour "
-"ce gabarit.\n"
-"\n"
-"Les types de blocs par défaut seront ajoutés automatiquement (dans l'ordre "
-"défini) à chaque nouveau contenu créé selon ce gabarit.\n"
-"\n"
-"REMARQUE : supprimer des types de la liste des types de blocs autorisés sera "
-"sans effet sur les contenus existants."
-
-#: src/pyams_content/component/paragraph/zmi/__init__.py:209
-#: src/pyams_content/component/paragraph/zmi/__init__.py:222
-#: src/pyams_content/shared/common/zmi/templates/preview-input.pt:39
-#: src/pyams_content/features/preview/zmi/__init__.py:45
-msgid "Preview"
-msgstr "Aperçu"
-
-#: src/pyams_content/component/paragraph/zmi/__init__.py:214
-#: src/pyams_content/component/paragraph/zmi/__init__.py:227
-#: src/pyams_content/shared/common/zmi/workflow.py:123
-#: src/pyams_content/shared/common/zmi/workflow.py:210
-#: src/pyams_content/shared/common/zmi/workflow.py:250
-#: src/pyams_content/shared/common/zmi/workflow.py:304
-#: src/pyams_content/shared/common/zmi/workflow.py:393
-#: src/pyams_content/shared/common/zmi/workflow.py:449
-#: src/pyams_content/shared/common/zmi/workflow.py:489
-#: src/pyams_content/shared/common/zmi/workflow.py:530
-#: src/pyams_content/shared/common/zmi/workflow.py:573
-#: src/pyams_content/shared/common/zmi/workflow.py:613
-#: src/pyams_content/shared/common/zmi/workflow.py:654
-#: src/pyams_content/shared/common/zmi/workflow.py:705
-#: src/pyams_content/shared/common/zmi/__init__.py:275
-#: src/pyams_content/shared/common/zmi/owner.py:73
-#: src/pyams_content/features/review/zmi/__init__.py:84
-msgid "Cancel"
-msgstr "Annuler"
-
-#: src/pyams_content/component/paragraph/zmi/__init__.py:216
-#: src/pyams_content/component/paragraph/zmi/__init__.py:229
-msgid "Submit"
-msgstr "Enregistrer"
-
-#: src/pyams_content/component/paragraph/zmi/__init__.py:197
-msgid "Paragraph was correctly added."
-msgstr "Le bloc a été ajouté."
-
-#: src/pyams_content/component/paragraph/zmi/__init__.py:269
-msgid ""
-"You changed renderer selection. Don't omit to update new renderer "
-"properties..."
-msgstr ""
-"Vous avez changé de mode de rendu. N'oubliez pas de vérifier les propriétés "
-"du nouveau mode de rendu sélectionné..."
-
-#: src/pyams_content/component/paragraph/zmi/map.py:50
-msgid "Location map..."
-msgstr "Carte de situation"
-
-#: src/pyams_content/component/paragraph/zmi/map.py:63
-msgid "Add new location map"
-msgstr "Ajout d'une carte de situation"
-
-#: src/pyams_content/component/paragraph/zmi/map.py:86
-msgid "Edit location map properties"
-msgstr "Propriétés de la carte"
-
-#: src/pyams_content/component/paragraph/zmi/video.py:50
-msgid "Video paragraph..."
-msgstr "Vidéo"
-
-#: src/pyams_content/component/paragraph/zmi/video.py:63
-msgid "Add new video paragraph"
-msgstr "Ajout d'une vidéo"
-
-#: src/pyams_content/component/paragraph/zmi/video.py:86
-#: src/pyams_content/component/video/zmi/paragraph.py:183
-msgid "Edit video properties"
-msgstr "Propriétés de la vidéo"
-
-#: src/pyams_content/component/paragraph/zmi/container.py:70
-msgid "Contents..."
-msgstr "Blocs de contenu"
-
-#: src/pyams_content/component/paragraph/zmi/container.py:211
-msgid "Set navigation anchor"
-msgstr "Ancre de navigation"
-
-#: src/pyams_content/component/paragraph/zmi/container.py:285
-msgid "Show/hide all paragraphs"
-msgstr "Afficher/masquer tous les blocs"
-
-#: src/pyams_content/component/paragraph/zmi/container.py:333
-#: src/pyams_content/component/paragraph/zmi/container.py:342
-#: src/pyams_content/component/paragraph/zmi/container.py:355
-msgid "Content blocks"
-msgstr "Blocs de contenu"
-
-#: src/pyams_content/component/paragraph/zmi/container.py:412
-msgid "Links and attachments..."
-msgstr "Récap. liens et PJ"
-
-#: src/pyams_content/component/paragraph/zmi/container.py:424
-msgid "Content blocks links and attachments"
-msgstr "Récapitulatif des liens et pièces jointes par bloc de contenu"
-
-#: src/pyams_content/component/paragraph/zmi/container.py:141
-msgid "No currently defined paragraph."
-msgstr "Aucun bloc n'est associé à ce contenu."
-
-#: src/pyams_content/component/paragraph/zmi/container.py:294
-msgid "Click to open/close all paragraphs editors"
-msgstr "Afficher/masquer tous les blocs"
-
-#: src/pyams_content/component/paragraph/zmi/container.py:307
-msgid "Click to open/close paragraph editor"
-msgstr "Afficher/masquer ce bloc"
-
-#: src/pyams_content/component/paragraph/zmi/container.py:147
-msgid "Check allowed paragraph types to be able to create new paragraphs."
-msgstr ""
-"Vérifiez le paramétrage des types de blocs de contenu autorisés pour pouvoir "
-"ajouter de nouveaux blocs."
-
-#: src/pyams_content/component/paragraph/zmi/pictogram.py:79
-msgid "Pictograms..."
-msgstr "Pictogrammes"
-
-#: src/pyams_content/component/paragraph/zmi/pictogram.py:92
-msgid "Add new pictogram paragraph"
-msgstr "Ajout de pictogrammes"
-
-#: src/pyams_content/component/paragraph/zmi/pictogram.py:119
-msgid "Edit pictogram paragraph properties"
-msgstr "Propriétés des pictogrammes"
-
-#. Default: Header
-#: src/pyams_content/component/paragraph/zmi/pictogram.py:256
-msgid "pictogram-item-header"
-msgstr "En-tête"
-
-#: src/pyams_content/component/paragraph/zmi/pictogram.py:295
-#: src/pyams_content/component/paragraph/interfaces/pictogram.py:80
-msgid "Pictograms"
-msgstr "Pictogrammes"
-
-#: src/pyams_content/component/paragraph/zmi/pictogram.py:310
-#: src/pyams_content/reference/pictograms/zmi/__init__.py:59
-msgid "Add pictogram"
-msgstr "Ajouter un pictogramme"
-
-#: src/pyams_content/component/paragraph/zmi/pictogram.py:323
-#: src/pyams_content/reference/pictograms/zmi/__init__.py:71
-msgid "Add new pictogram"
-msgstr "Ajout d'un pictogramme"
-
-#: src/pyams_content/component/paragraph/zmi/pictogram.py:365
-#: src/pyams_content/reference/pictograms/zmi/__init__.py:95
-msgid "Edit pictogram properties"
-msgstr "Propriétés du pictogramme"
-
-#: src/pyams_content/component/paragraph/zmi/pictogram.py:345
-msgid "Pictogram was correctly added"
-msgstr "Le pictogramme a été ajouté."
-
-#: src/pyams_content/component/paragraph/zmi/pictogram.py:355
-#: src/pyams_content/component/paragraph/zmi/pictogram.py:393
-msgid "You must select a pictogram!"
-msgstr "Vous devez sélectionner un pictogramme !"
-
-#: src/pyams_content/component/paragraph/zmi/audio.py:50
-msgid "Audio paragraph..."
-msgstr "Bande son"
-
-#: src/pyams_content/component/paragraph/zmi/audio.py:63
-msgid "Add new audio paragraph"
-msgstr "Ajout d'une bande son"
-
-#: src/pyams_content/component/paragraph/zmi/audio.py:85
-msgid "Edit audio properties"
-msgstr "Propriétés de la bande son"
-
-#: src/pyams_content/component/paragraph/zmi/frame.py:98
-msgid "Framed text..."
-msgstr "Encadré"
-
-#: src/pyams_content/component/paragraph/zmi/frame.py:112
-msgid "Add new framed text paragraph"
-msgstr "Ajout d'un encadré"
-
-#: src/pyams_content/component/paragraph/zmi/frame.py:138
-msgid "Edit framed text paragraph properties"
-msgstr "Propriétés de l'encadré"
-
-#: src/pyams_content/component/paragraph/zmi/verbatim.py:57
-msgid "Verbatim..."
-msgstr "Verbatim"
-
-#: src/pyams_content/component/paragraph/zmi/verbatim.py:70
-msgid "Add new verbatim paragraph"
-msgstr "Ajout d'un verbatim"
-
-#: src/pyams_content/component/paragraph/zmi/verbatim.py:104
-msgid "Edit verbatim paragraph properties"
-msgstr "Propriétés du verbatim"
-
-#: src/pyams_content/component/paragraph/zmi/html.py:74
-msgid "Raw HTML..."
-msgstr "Code HTML"
-
-#: src/pyams_content/component/paragraph/zmi/html.py:87
-msgid "Add new raw HTML paragraph"
-msgstr "Ajout d'un bloc de code HTML"
-
-#: src/pyams_content/component/paragraph/zmi/html.py:117
-msgid "Edit raw HTML paragraph properties"
-msgstr "Propriétés du code HTML"
-
-#: src/pyams_content/component/paragraph/zmi/html.py:157
-msgid "Rich text..."
-msgstr "Texte enrichi"
-
-#: src/pyams_content/component/paragraph/zmi/html.py:170
-msgid "Add new rich text paragraph"
-msgstr "Ajout d'un bloc de texte enrichi"
-
-#: src/pyams_content/component/paragraph/zmi/html.py:207
-msgid "Edit rich text paragraph properties"
-msgstr "Propriétés du texte enrichi"
-
-#: src/pyams_content/component/paragraph/zmi/contact.py:48
-msgid "Contact card..."
-msgstr "Fiche contact"
-
-#: src/pyams_content/component/paragraph/zmi/contact.py:61
-msgid "Add new contact card"
-msgstr "Ajout d'une fiche contact"
-
-#: src/pyams_content/component/paragraph/zmi/contact.py:84
-msgid "Edit contact card properties"
-msgstr "Propriétés de la fiche contact"
-
-#: src/pyams_content/component/paragraph/zmi/header.py:44
-msgid "Edit header paragraph properties"
-msgstr "Propriétés du chapô"
-
-#: src/pyams_content/component/paragraph/portlet/__init__.py:83
-msgid "Content paragraphs"
-msgstr "Blocs de contenu"
-
-#: src/pyams_content/component/paragraph/portlet/__init__.py:135
-msgid "Paragraphs navigation anchors"
-msgstr "Navigation au sein des blocs"
-
-#: src/pyams_content/component/paragraph/portlet/zmi/__init__.py:67
-#: src/pyams_content/component/paragraph/portlet/zmi/__init__.py:122
-msgid "No filter, all paragraphs selected"
-msgstr "Pas de filtre, tous les blocs sont acceptés"
-
-#: src/pyams_content/component/paragraph/portlet/zmi/__init__.py:74
-#: src/pyams_content/component/paragraph/portlet/zmi/__init__.py:129
-msgid "No filter, all paragraph types selected"
-msgstr "Pas de filtre, tous les types de blocs sont acceptés"
-
-#: src/pyams_content/component/paragraph/portlet/zmi/templates/navigation-preview.pt:4
-#: src/pyams_content/component/paragraph/portlet/zmi/templates/container-preview.pt:4
-msgid "Selected paragraphs:"
-msgstr "Blocs sélectionnés :"
-
-#: src/pyams_content/component/paragraph/portlet/zmi/templates/navigation-preview.pt:10
-#: src/pyams_content/component/paragraph/portlet/zmi/templates/container-preview.pt:10
-msgid "Paragraphs filters:"
-msgstr "Filtrage des blocs :"
-
-#: src/pyams_content/component/paragraph/portlet/zmi/templates/navigation-preview.pt:13
-#: src/pyams_content/component/paragraph/portlet/zmi/templates/container-preview.pt:13
-msgid "Selected paragraph types:"
-msgstr "Types de blocs :"
-
-#: src/pyams_content/component/paragraph/portlet/zmi/templates/navigation-preview.pt:18
-#: src/pyams_content/component/paragraph/portlet/zmi/templates/container-preview.pt:18
-msgid "Only display anchors"
-msgstr "Ne sélectionner que les ancres"
-
-#: src/pyams_content/component/paragraph/portlet/interfaces/__init__.py:30
-#: src/pyams_content/component/paragraph/portlet/interfaces/__init__.py:52
-msgid "Selected paragraphs"
-msgstr "Blocs sélectionnés"
-
-#: src/pyams_content/component/paragraph/portlet/interfaces/__init__.py:31
-msgid ""
-"List of selected paragraphs; an empty selection means that all paragraphs "
-"will be selectable by following filters; otherwise, this selection will have "
-"priority"
-msgstr ""
-"Liste des blocs sélectionnés ; si la sélection est vide, tous les blocs de "
-"contenu pourront être sélectionnés via les filtres ci-dessous ; dans le cas "
-"contraire, cette sélection devient prioritaire et les autres filtres ne sont "
-"pas appliqués"
-
-#: src/pyams_content/component/paragraph/portlet/interfaces/__init__.py:37
-#: src/pyams_content/component/paragraph/portlet/interfaces/__init__.py:59
-msgid "Paragraph types"
-msgstr "Types de blocs"
-
-#: src/pyams_content/component/paragraph/portlet/interfaces/__init__.py:38
-msgid ""
-"Select list of paragraph types you want to include; an empty selection means "
-"that all paragraphs types will be selected"
-msgstr ""
-"Liste des types de blocs que vous souhaitez sélectionner ; si la sélection "
-"est vide, tous les types de blocs seront pris en compte"
-
-#: src/pyams_content/component/paragraph/portlet/interfaces/__init__.py:43
-#: src/pyams_content/component/paragraph/portlet/interfaces/__init__.py:65
-msgid "Anchors only?"
-msgstr "Ancres seulement ?"
-
-#: src/pyams_content/component/paragraph/portlet/interfaces/__init__.py:44
-msgid "If 'yes', only paragraphs set as 'anchors' will be selected"
-msgstr ""
-"Si 'oui', seuls les blocs définis comme ancres de navigation seront "
-"sélectionnés"
-
-#: src/pyams_content/component/paragraph/portlet/interfaces/__init__.py:53
-msgid ""
-"List of paragraphs selected for navigation; an empty selection means that "
-"all paragraphs will be selectable by following filters; otherwise, this "
-"selection will have priority"
-msgstr ""
-"Liste des blocs sélectionnés pour la navigation ; si la sélection est vide, "
-"tous les blocs de contenu pourront être sélectionnés via les filtres ci-"
-"dessous ; dans le cas contraire, cette sélection devient prioritaire et les "
-"autres filtres ne sont pas appliqués"
-
-#: src/pyams_content/component/paragraph/portlet/interfaces/__init__.py:60
-msgid ""
-"Select list of paragraph types you want to use for navigation; an empty "
-"selection means that all paragraphs types will be selected"
-msgstr ""
-"Liste des types de blocs que vous souhaitez sélectionner pour la "
-"navigation ; si la sélection est vide, tous les types de blocs seront pris "
-"en compte"
-
-#: src/pyams_content/component/paragraph/portlet/interfaces/__init__.py:66
-msgid "If 'no', all paragraphs will be used as navigation anchors"
-msgstr ""
-"Si 'non', tous les blocs seront utilisés comme liens de navigation même si "
-"ce ne sont pas des ancres"
-
-#: src/pyams_content/component/paragraph/interfaces/milestone.py:39
-msgid "Is this milestone visible in front-office?"
-msgstr "Si 'non', ce jalon ne sera pas présenté aux internautes"
-
-#: src/pyams_content/component/paragraph/interfaces/milestone.py:44
-msgid "Milestone title"
-msgstr "Libellé associé au jalon"
-
-#: src/pyams_content/component/paragraph/interfaces/milestone.py:48
-msgid "The way this label will be rendered depends on presentation template"
-msgstr ""
-"La présentation de cette information peut varier en fonction du mode de "
-"rendu choisi"
-
-#: src/pyams_content/component/paragraph/interfaces/milestone.py:52
-msgid "Paragraph to which this milestone should lead"
-msgstr "Bloc de contenu vers lequel ce jalon doit conduire"
-
-#: src/pyams_content/component/paragraph/interfaces/milestone.py:82
-msgid "Additional text associated to this milestone paragraph"
-msgstr "Texte complémentaire associé à ce bloc"
-
-#: src/pyams_content/component/paragraph/interfaces/milestone.py:85
-msgid "Milestones template"
-msgstr "Mode de rendu"
-
-#: src/pyams_content/component/paragraph/interfaces/milestone.py:86
-msgid "Presentation template used for milestones"
-msgstr "Modèle de présentation utilisé par ce bloc de contenu"
-
-#: src/pyams_content/component/paragraph/interfaces/keypoint.py:33
-#: src/pyams_content/component/paragraph/interfaces/keypoint.py:40
-msgid "Key points"
-msgstr "Points clés"
-
-#: src/pyams_content/component/paragraph/interfaces/keypoint.py:41
-msgid "Enter one key point by line, without hyphen or prefix"
-msgstr ""
-"Indiquez un point clé par ligne, sans tiret. Passez à la ligne entre chaque "
-"point clé, la mise en forme sera effectuée automatiquement."
-
-#: src/pyams_content/component/paragraph/interfaces/keypoint.py:44
-msgid "Presentation template"
-msgstr "Mode de rendu"
-
-#: src/pyams_content/component/paragraph/interfaces/keypoint.py:45
-#: src/pyams_content/component/paragraph/interfaces/frame.py:44
-#: src/pyams_content/component/paragraph/interfaces/verbatim.py:53
-#: src/pyams_content/component/paragraph/interfaces/html.py:46
-#: src/pyams_content/component/paragraph/interfaces/html.py:67
-#: src/pyams_content/shared/imagemap/interfaces/__init__.py:101
-#: src/pyams_content/shared/logo/interfaces/__init__.py:89
-msgid "Presentation template used for this paragraph"
-msgstr "Mode de rendu utilisé par ce bloc de contenu"
-
-#: src/pyams_content/component/paragraph/interfaces/__init__.py:43
-msgid "Is this paragraph visible in front-office?"
-msgstr "Si 'non', ce bloc de contenu ne sera pas présenté aux internautes"
-
-#: src/pyams_content/component/paragraph/interfaces/__init__.py:47
-msgid "Anchor?"
-msgstr "Ancre ?"
-
-#: src/pyams_content/component/paragraph/interfaces/__init__.py:48
-msgid "Is this paragraph a navigation anchor?"
-msgstr ""
-"Si 'oui', ce bloc pourra recevoir une ancre de navigation au sein du contenu"
-
-#: src/pyams_content/component/paragraph/interfaces/__init__.py:52
-msgid "§ Title"
-msgstr "Titre §"
-
-#: src/pyams_content/component/paragraph/interfaces/__init__.py:92
-msgid "Allowed paragraphs"
-msgstr "Types de blocs autorisés"
-
-#: src/pyams_content/component/paragraph/interfaces/__init__.py:93
-msgid "List of paragraphs allowed for this content type"
-msgstr "Liste des types de blocs de contenu autorisés pour ce gabarit."
-
-#: src/pyams_content/component/paragraph/interfaces/__init__.py:97
-#: src/pyams_content/shared/common/zmi/types.py:171
-#: src/pyams_content/shared/common/zmi/types.py:411
-msgid "Default paragraphs"
-msgstr "Types de blocs par défaut"
-
-#: src/pyams_content/component/paragraph/interfaces/__init__.py:98
-msgid "List of paragraphs automatically added to a new content"
-msgstr "Liste des types de blocs ajoutés automatiquement aux nouveaux contenus"
-
-#: src/pyams_content/component/paragraph/interfaces/map.py:41
-msgid "Location map"
-msgstr "Carte"
-
-#: src/pyams_content/component/paragraph/interfaces/map.py:48
-#: src/pyams_content/component/paragraph/interfaces/contact.py:73
-msgid "GPS location"
-msgstr "Position GPS"
-
-#: src/pyams_content/component/paragraph/interfaces/map.py:49
-msgid "GPS coordinates used to locate map"
-msgstr "Coordonnées GPS de situation de la carte"
-
-#: src/pyams_content/component/paragraph/interfaces/map.py:52
-msgid "Display location mark?"
-msgstr "Marqueur de position ?"
-
-#: src/pyams_content/component/paragraph/interfaces/map.py:53
-msgid "If 'yes', a location marker will be displayed on map"
-msgstr "Si 'oui', un marqueur de position sera placé sur la carte"
-
-#: src/pyams_content/component/paragraph/interfaces/map.py:57
-msgid "Map template"
-msgstr "Mode de rendu"
-
-#: src/pyams_content/component/paragraph/interfaces/map.py:58
-msgid "Presentation template used for this map"
-msgstr "Mode de rendu utilisé par cette carte"
-
-#: src/pyams_content/component/paragraph/interfaces/video.py:40
-msgid "Video file content"
-msgstr ""
-"Cliquez sur le bouton 'Parcourir...' pour sélectionner un nouveau contenu"
-
+#: src/pyams_content/component/gallery/zmi/templates/gallery-medias.pt:42
+#: src/pyams_content/component/gallery/zmi/templates/gallery-media.pt:9
+msgid "Zoom image"
+msgstr "Agrandir l'image"
+
+#: src/pyams_content/component/video/__init__.py:67
+#: src/pyams_content/component/video/interfaces.py:62
+msgid "External video"
+msgstr "Vidéo externe"
+
+#: src/pyams_content/component/video/interfaces.py:47
 #: src/pyams_content/component/paragraph/interfaces/video.py:51
-#: src/pyams_content/component/video/interfaces/__init__.py:47
 msgid "Video description displayed by front-office template"
 msgstr ""
 "Le texte accompagne la vidéo, en complément de la légende. Attention : sa "
 "présence et sa mise en forme dépendent du mode de rendu choisi."
 
+#: src/pyams_content/component/video/interfaces.py:50
+msgid "Video provider"
+msgstr "Fournisseur"
+
+#: src/pyams_content/component/video/interfaces.py:51
+msgid "Name of external platform providing selected video"
+msgstr "Nom de la plate-forme externe fournissant la vidéo à afficher"
+
+#: src/pyams_content/component/video/interfaces.py:72
 #: src/pyams_content/component/paragraph/interfaces/video.py:54
-#: src/pyams_content/component/video/interfaces/__init__.py:72
 msgid "Video template"
 msgstr "Mode de rendu"
 
+#: src/pyams_content/component/video/interfaces.py:73
 #: src/pyams_content/component/paragraph/interfaces/video.py:55
-#: src/pyams_content/component/video/interfaces/__init__.py:73
 msgid "Presentation template used for this video"
 msgstr "Mode de rendu utilisé par cette vidéo"
 
-#: src/pyams_content/component/paragraph/interfaces/pictogram.py:42
-msgid "Is this pictogram visible in front-office?"
-msgstr "Si 'non', ce pictogramme ne sera pas présenté aux internautes"
-
-#: src/pyams_content/component/paragraph/interfaces/pictogram.py:46
-#: src/pyams_content/component/links/interfaces/__init__.py:43
-#: src/pyams_content/shared/common/interfaces/types.py:75
-#: src/pyams_content/features/menu/interfaces/__init__.py:68
-msgid "Pictogram"
-msgstr "Pictogramme"
-
-#: src/pyams_content/component/paragraph/interfaces/pictogram.py:47
-msgid "Name of the pictogram to select"
-msgstr "Sélection du pictogramme à afficher"
-
-#: src/pyams_content/component/paragraph/interfaces/pictogram.py:53
-msgid "Alternate header"
-msgstr "En-tête de substitution"
-
-#: src/pyams_content/component/paragraph/interfaces/pictogram.py:54
-msgid ""
-"Alternate pictogram label; if not specified, the pictogram header will be "
-"used"
-msgstr ""
-"En-tête de substitution utilisé par le pictogramme; si rien n'est spécifié, "
-"l'en-tête du pictogramme sélectionné sera utilisé."
-
-#: src/pyams_content/component/paragraph/interfaces/pictogram.py:59
-msgid "Additional text associated to this pictogram"
-msgstr "Texte complémentaire associé à ce pictogramme"
-
-#: src/pyams_content/component/paragraph/interfaces/pictogram.py:87
-msgid "Pictograms template"
-msgstr "Mode de rendu"
-
-#: src/pyams_content/component/paragraph/interfaces/pictogram.py:88
-msgid "Presentation template used for pictograms"
-msgstr "Modèle de présentation utilisé par ce bloc de contenu"
-
-#: src/pyams_content/component/paragraph/interfaces/audio.py:32
-msgid "Audio"
-msgstr "Bande son"
-
-#: src/pyams_content/component/paragraph/interfaces/audio.py:54
-msgid "Audio template"
-msgstr "Mode de rendu"
-
-#: src/pyams_content/component/paragraph/interfaces/audio.py:55
-msgid "Presentation template used for this audio file"
-msgstr "Mode de rendu utilisé pour cette bande son"
-
-#: src/pyams_content/component/paragraph/interfaces/frame.py:33
-msgid "Framed text"
-msgstr "Encadré"
-
-#: src/pyams_content/component/paragraph/interfaces/frame.py:40
-msgid "Frame body"
-msgstr "Contenu"
-
-#: src/pyams_content/component/paragraph/interfaces/frame.py:43
-msgid "Text template"
-msgstr "Mode de rendu"
-
-#: src/pyams_content/component/paragraph/interfaces/verbatim.py:33
-msgid "Verbatim"
-msgstr "Verbatim"
-
-#: src/pyams_content/component/paragraph/interfaces/verbatim.py:40
-msgid "Quoted text"
-msgstr "Citation"
-
-#: src/pyams_content/component/paragraph/interfaces/verbatim.py:41
-msgid "Quotation marks will be added automatically by presentation template"
-msgstr "Les guillemets seront ajoutés automatiquement par le mode de rendu..."
-
-#: src/pyams_content/component/paragraph/interfaces/verbatim.py:45
-msgid "Name of the quote author"
-msgstr "Nom de l'auteur de la citation"
-
-#: src/pyams_content/component/paragraph/interfaces/verbatim.py:48
-#: src/pyams_content/component/paragraph/interfaces/contact.py:55
-msgid "In charge of"
-msgstr "Fonction"
-
-#: src/pyams_content/component/paragraph/interfaces/verbatim.py:49
-msgid "Label of author function"
-msgstr "Fonction de l'auteur"
-
-#: src/pyams_content/component/paragraph/interfaces/verbatim.py:52
-msgid "Verbatim template"
-msgstr "Mode de rendu"
-
-#: src/pyams_content/component/paragraph/interfaces/html.py:33
-msgid "Raw HTML "
-msgstr "Code HTML"
-
-#: src/pyams_content/component/paragraph/interfaces/html.py:56
-msgid "Rich text"
-msgstr "Texte enrichi"
-
-#: src/pyams_content/component/paragraph/interfaces/html.py:40
-msgid "Raw HTML code"
-msgstr "Code HTML"
-
-#: src/pyams_content/component/paragraph/interfaces/html.py:41
-msgid ""
-"This HTML code will be used 'as is', without any transformation. Use with "
-"care!!"
-msgstr ""
-"Ce code HTML sera utilisé en l'état et intégré dans les pages sans "
-"modification. À utiliser avec précaution !!!"
-
-#: src/pyams_content/component/paragraph/interfaces/html.py:45
-msgid "Raw HTML code template"
-msgstr "Mode de rendu"
-
-#: src/pyams_content/component/paragraph/interfaces/html.py:63
-msgid "Body"
-msgstr "Contenu HTML"
-
-#: src/pyams_content/component/paragraph/interfaces/html.py:66
-msgid "Body template"
-msgstr "Mode de rendu"
-
-#: src/pyams_content/component/paragraph/interfaces/contact.py:44
-msgid "Contact card"
-msgstr "Fiche contact"
-
-#: src/pyams_content/component/paragraph/interfaces/contact.py:51
-msgid "Contact identity"
-msgstr "Nom du contact"
-
-#: src/pyams_content/component/paragraph/interfaces/contact.py:52
-msgid "Name of the contact"
-msgstr "Nom complet du contact"
-
-#: src/pyams_content/component/paragraph/interfaces/contact.py:56
-msgid "Label of contact function"
-msgstr "Fonction du contact"
-
-#: src/pyams_content/component/paragraph/interfaces/contact.py:59
-msgid "Email address"
-msgstr "Adresse de messagerie"
-
-#: src/pyams_content/component/paragraph/interfaces/contact.py:60
-msgid "Contact email address"
-msgstr "Adresse de messagerie \"stricte\", soit uniquement \"xxx@yyy.com\""
-
-#: src/pyams_content/component/paragraph/interfaces/contact.py:63
-msgid "Contact form"
-msgstr "Formulaire de contact"
-
-#: src/pyams_content/component/paragraph/interfaces/contact.py:64
-msgid "Reference of contact form"
-msgstr "Référence d'un formulaire de contact"
-
-#: src/pyams_content/component/paragraph/interfaces/contact.py:68
-msgid "Photo"
-msgstr "Photo"
-
-#: src/pyams_content/component/paragraph/interfaces/contact.py:69
-msgid "Use 'browse' button to select contact picture"
-msgstr "Utilisez le bouton 'Parcourir' pour sélectionner la photo du contact"
-
-#: src/pyams_content/component/paragraph/interfaces/contact.py:77
-msgid "Address"
-msgstr "Adresse"
-
-#: src/pyams_content/component/paragraph/interfaces/contact.py:80
-msgid "Contact template"
-msgstr "Mode de rendu"
-
-#: src/pyams_content/component/paragraph/interfaces/contact.py:81
-msgid "Presentation template used for this contact"
-msgstr "Modèle de présentation utilisé pour ce contact"
-
-#: src/pyams_content/component/paragraph/interfaces/contact.py:74
-msgid "GPS coordinates used to locate contact"
-msgstr "Coordonnées GPS de situation du contact"
-
-#: src/pyams_content/component/paragraph/interfaces/header.py:33
-#: src/pyams_content/component/paragraph/interfaces/header.py:40
-#: src/pyams_content/shared/common/interfaces/__init__.py:151
-msgid "Header"
-msgstr "Chapô"
-
-#: src/pyams_content/component/paragraph/interfaces/header.py:43
-#: src/pyams_content/features/header/interfaces/__init__.py:39
-msgid "Header template"
-msgstr "Mode de rendu"
-
-#: src/pyams_content/component/paragraph/interfaces/header.py:44
-#: src/pyams_content/features/header/interfaces/__init__.py:40
-msgid "Presentation template used for this header"
-msgstr "Mode de rendu utilisé par ce chapô"
-
-#: src/pyams_content/component/theme/__init__.py:74
-#: src/pyams_content/component/theme/zmi/portlet.py:40
-#: src/pyams_content/component/theme/interfaces/__init__.py:64
-#: src/pyams_content/component/theme/interfaces/__init__.py:78
-#: src/pyams_content/shared/common/zmi/search.py:189
-#: src/pyams_content/root/zmi/search.py:179
-#: src/pyams_content/root/zmi/templates/advanced-search.pt:181
-msgid "Tags"
-msgstr "Tags"
-
-#: src/pyams_content/component/theme/__init__.py:122
-#: src/pyams_content/component/theme/zmi/portlet.py:55
-#: src/pyams_content/component/theme/interfaces/__init__.py:105
-#: src/pyams_content/component/theme/interfaces/__init__.py:119
-#: src/pyams_content/shared/common/zmi/search.py:192
-msgid "Themes"
-msgstr "Thèmes"
-
-#: src/pyams_content/component/theme/__init__.py:170
-#: src/pyams_content/component/theme/zmi/portlet.py:70
-#: src/pyams_content/component/theme/interfaces/__init__.py:146
-#: src/pyams_content/component/theme/interfaces/__init__.py:160
-#: src/pyams_content/shared/common/zmi/search.py:195
-msgid "Collections"
-msgstr "Collections"
-
-#: src/pyams_content/component/theme/__init__.py:83
-msgid "no defined tag"
-msgstr "aucun tag défini"
-
-#: src/pyams_content/component/theme/__init__.py:131
-msgid "no defined theme"
-msgstr "aucun thème défini"
-
-#: src/pyams_content/component/theme/__init__.py:179
-msgid "no defined collection"
-msgstr "aucune collection définie"
-
-#: src/pyams_content/component/theme/zmi/__init__.py:55
-#: src/pyams_content/shared/view/zmi/theme.py:56
-msgid "Tags..."
-msgstr "Tags"
-
-#: src/pyams_content/component/theme/zmi/__init__.py:66
-msgid "Content tags"
-msgstr "Tags du contenu"
-
-#: src/pyams_content/component/theme/zmi/__init__.py:99
-#: src/pyams_content/shared/view/zmi/theme.py:102
-msgid "Themes..."
-msgstr "Thèmes"
-
-#: src/pyams_content/component/theme/zmi/__init__.py:107
-msgid "Content themes"
-msgstr "Thèmes du contenu"
-
-#: src/pyams_content/component/theme/zmi/__init__.py:159
-#: src/pyams_content/shared/view/zmi/theme.py:148
-msgid "Collections..."
-msgstr "Collections"
-
-#: src/pyams_content/component/theme/zmi/__init__.py:172
-msgid "Content collections"
-msgstr "Collections associées au contenu"
-
-#: src/pyams_content/component/theme/zmi/manager.py:58
-msgid "Tags settings..."
-msgstr "Paramétrage des tags"
-
-#: src/pyams_content/component/theme/zmi/manager.py:72
-msgid "Selected tags"
-msgstr "Tags sélectionnés"
-
-#: src/pyams_content/component/theme/zmi/manager.py:109
-msgid "Themes settings..."
-msgstr "Paramétrage des thèmes"
-
-#: src/pyams_content/component/theme/zmi/manager.py:123
-msgid "Selected themes"
-msgstr "Thèmes sélectionnés"
-
-#: src/pyams_content/component/theme/zmi/manager.py:159
-msgid "Collections settings..."
-msgstr "Paramétrage des collections"
-
-#: src/pyams_content/component/theme/zmi/manager.py:173
-msgid "Selected collections"
-msgstr "Collections sélectionnées"
-
-#: src/pyams_content/component/theme/interfaces/__init__.py:41
-msgid "Enable search by tag?"
-msgstr "Activer la recherche par tag ?"
-
-#: src/pyams_content/component/theme/interfaces/__init__.py:42
-msgid ""
-"If 'yes', displayed tags will lead to a search engine displaying contents "
-"matching given tag"
-msgstr ""
-"Si 'oui', un clic sur un tag permet d'accéder à une page de résultat de "
-"recherche portant sur le tag sélectionné"
-
-#: src/pyams_content/component/theme/interfaces/__init__.py:47
-msgid "Tags search target"
-msgstr "Cible de la recherche"
-
-#: src/pyams_content/component/theme/interfaces/__init__.py:48
-msgid "Site or folder where tags search is displayed"
-msgstr "Site ou rubrique où la recherche par tags s'effectue"
-
-#: src/pyams_content/component/theme/interfaces/__init__.py:54
-msgid "You must specify search target when activating search by tags!"
-msgstr ""
-"Vous devez indiquer la cible de la recherche lorsque vous activez la "
-"recherche par tags !"
-
-#: src/pyams_content/component/association/container.py:91
-#: src/pyams_content/component/association/zmi/__init__.py:313
-#: src/pyams_content/component/association/interfaces/__init__.py:93
-msgid "Associations"
-msgstr "Liens et pièces jointes"
-
-#: src/pyams_content/component/association/zmi/paragraph.py:54
-#: src/pyams_content/component/association/zmi/__init__.py:96
-msgid "Associations..."
-msgstr "Liens et pièces jointes"
-
-#: src/pyams_content/component/association/zmi/paragraph.py:67
-msgid "Add new association paragraph"
-msgstr "Ajout d'un bloc  « liens et pièces jointes »"
-
-#: src/pyams_content/component/association/zmi/paragraph.py:93
-msgid "Edit association paragraph properties"
-msgstr "Propriétés du bloc « liens et pièces jointes »"
-
-#: src/pyams_content/component/association/zmi/__init__.py:209
-msgid "Public title"
-msgstr "Libellé public"
-
-#: src/pyams_content/component/association/zmi/__init__.py:229
-msgid "Inner title"
-msgstr "Contenu interne"
-
-#: src/pyams_content/component/association/zmi/__init__.py:247
-msgid "Size"
-msgstr "Taille"
-
-#: src/pyams_content/component/association/zmi/__init__.py:290
-#: src/pyams_content/component/association/zmi/__init__.py:300
-msgid "Associations list"
-msgstr "Liste des liens et pièces jointes"
-
-#: src/pyams_content/component/association/zmi/__init__.py:66
-msgid "Association was correctly added."
-msgstr "L'association a été ajoutée."
-
-#: src/pyams_content/component/association/interfaces/__init__.py:43
-#: src/pyams_content/features/menu/interfaces/__init__.py:56
-msgid "Is this item visible in front-office?"
-msgstr "Si 'non', ce lien ne sera pas présenté aux internautes"
-
-#: src/pyams_content/component/association/interfaces/__init__.py:100
-msgid "Associations template"
-msgstr "Mode de rendu"
-
-#: src/pyams_content/component/association/interfaces/__init__.py:101
-msgid "Presentation template used for associations"
-msgstr "Modèle de présentation utilisé par ce bloc de contenu"
-
-#: src/pyams_content/component/links/__init__.py:144
-msgid "Internal link"
-msgstr "Lien interne"
-
-#: src/pyams_content/component/links/__init__.py:230
-msgid "External link"
-msgstr "Lien externe"
-
-#: src/pyams_content/component/links/__init__.py:283
-msgid "Mailto link"
-msgstr "Lien mailto"
-
-#: src/pyams_content/component/links/__init__.py:217
-msgid "target is not published"
-msgstr "le contenu ciblé n'est pas publié"
-
-#: src/pyams_content/component/links/zmi/__init__.py:54
-msgid "Internal links"
-msgstr "Liens internes"
-
-#: src/pyams_content/component/links/zmi/__init__.py:69
-msgid "Add internal link"
-msgstr "Lien interne"
-
-#: src/pyams_content/component/links/zmi/__init__.py:83
-msgid "Add new internal link"
-msgstr "Ajout d'un lien interne"
-
-#: src/pyams_content/component/links/zmi/__init__.py:114
-msgid "Edit internal link properties"
-msgstr "Propriétés du lien interne"
-
-#: src/pyams_content/component/links/zmi/__init__.py:142
-msgid "External links"
-msgstr "Liens externes"
-
-#: src/pyams_content/component/links/zmi/__init__.py:157
-msgid "Add external link"
-msgstr "Lien externe"
-
-#: src/pyams_content/component/links/zmi/__init__.py:171
-msgid "Add new external link"
-msgstr "Ajout d'un lien externe"
-
-#: src/pyams_content/component/links/zmi/__init__.py:202
-msgid "Edit external link properties"
-msgstr "Propriétés du lien externe"
-
-#: src/pyams_content/component/links/zmi/__init__.py:230
-msgid "Mailto links"
-msgstr "Liens mailto"
-
-#: src/pyams_content/component/links/zmi/__init__.py:245
-msgid "Add mailto link"
-msgstr "Lien mailto"
-
-#: src/pyams_content/component/links/zmi/__init__.py:259
-msgid "Add new mailto link"
-msgstr "Ajout d'un lien « mailto »"
-
-#: src/pyams_content/component/links/zmi/__init__.py:290
-msgid "Edit mailto link properties"
-msgstr "Propriétés du lien « mailto »"
-
-#: src/pyams_content/component/links/interfaces/__init__.py:36
-msgid "Link title, as shown in front-office"
-msgstr ""
-"Le contexte d'utilisation de ce lien peut nécessiter de modifier son titre "
-"d'origine. Ce titre de substitution sera alors présenté aux internautes."
-
-#: src/pyams_content/component/links/interfaces/__init__.py:40
-msgid "Link description displayed by front-office template"
-msgstr "Description du lien, présentée aux internautes"
-
-#: src/pyams_content/component/links/interfaces/__init__.py:44
-msgid "Name of the pictogram associated with this link"
-msgstr ""
-"Pictogramme à associer à ce lien. ATTENTION: ce pictogramme n'est affiché "
-"que par certains modes de rendu !!"
-
-#: src/pyams_content/component/links/interfaces/__init__.py:61
-#: src/pyams_content/shared/logo/interfaces/__init__.py:54
-#: src/pyams_content/features/redirect/interfaces/__init__.py:68
-msgid "Target URL"
-msgstr "URL cible"
-
-#: src/pyams_content/component/links/interfaces/__init__.py:62
-#: src/pyams_content/shared/logo/interfaces/__init__.py:55
-msgid "URL used to access external resource"
-msgstr ""
-"URL utilisée pour accéder à cette ressource externe. Doit comprendre le "
-"protocole d'accès au site, comme « http:// » ou « https:// »."
-
-#: src/pyams_content/component/links/interfaces/__init__.py:66
-msgid "Language used in this remote resource"
-msgstr ""
-"Langue utilisée par cette ressource extene ; à préciser lorsqu'il ne s'agit "
-"pas de la langue par défaut du site."
-
-#: src/pyams_content/component/links/interfaces/__init__.py:74
-msgid "Target address"
-msgstr "Adresse mail"
-
-#: src/pyams_content/component/links/interfaces/__init__.py:75
-msgid "Target email address"
-msgstr "Adresse de messagerie \"stricte\", soit uniquement \"xxx@yyy.com\""
-
-#: src/pyams_content/component/links/interfaces/__init__.py:78
-msgid "Address name"
-msgstr "Nom de messagerie"
-
-#: src/pyams_content/component/links/interfaces/__init__.py:79
-msgid "Address as displayed in address book"
-msgstr ""
-"Nom de la boîte aux lettres, tel qu'il sera affiché dans l'application de "
-"messagerie."
-
-#: src/pyams_content/component/video/__init__.py:67
-#: src/pyams_content/component/video/interfaces/__init__.py:62
-msgid "External video"
-msgstr "Vidéo externe"
-
 #: src/pyams_content/component/video/provider/dailymotion.py:94
 msgid "Dailymotion settings"
 msgstr "Paramètres Dailymotion"
 
+#: src/pyams_content/component/video/provider/vimeo.py:92
+msgid "Vimeo settings"
+msgstr "Paramètres Vimeo"
+
 #: src/pyams_content/component/video/provider/__init__.py:63
 msgid "Other provider"
 msgstr "Autre fournisseur"
@@ -1754,10 +596,6 @@
 msgid "Custom video settings"
 msgstr "Paramètres spécifiques"
 
-#: src/pyams_content/component/video/provider/vimeo.py:92
-msgid "Vimeo settings"
-msgstr "Paramètres Vimeo"
-
 #: src/pyams_content/component/video/provider/interfaces.py:31
 msgid "Integration code"
 msgstr "Code d'intégration"
@@ -2008,6 +846,11 @@
 msgid "Add new external video..."
 msgstr "Ajout d'une vidéo externe"
 
+#: src/pyams_content/component/video/zmi/paragraph.py:183
+#: src/pyams_content/component/paragraph/zmi/video.py:86
+msgid "Edit video properties"
+msgstr "Propriétés de la vidéo"
+
 #: src/pyams_content/component/video/zmi/paragraph.py:118
 msgid "Video provider is required"
 msgstr "Le nom du fournisseur est obligatoire"
@@ -2021,1205 +864,3350 @@
 msgid "Other settings"
 msgstr "Autres paramètres"
 
-#: src/pyams_content/component/video/interfaces/__init__.py:50
-msgid "Video provider"
-msgstr "Fournisseur"
-
-#: src/pyams_content/component/video/interfaces/__init__.py:51
-msgid "Name of external platform providing selected video"
-msgstr "Nom de la plate-forme externe fournissant la vidéo à afficher"
-
-#: src/pyams_content/shared/common/__init__.py:244
+#: src/pyams_content/component/links/__init__.py:144
+msgid "Internal link"
+msgstr "Lien interne"
+
+#: src/pyams_content/component/links/__init__.py:230
+msgid "External link"
+msgstr "Lien externe"
+
+#: src/pyams_content/component/links/__init__.py:283
+msgid "Mailto link"
+msgstr "Lien mailto"
+
+#: src/pyams_content/component/links/__init__.py:217
+msgid "target is not published"
+msgstr "le contenu ciblé n'est pas publié"
+
+#: src/pyams_content/component/links/interfaces.py:35
+#: src/pyams_content/shared/imagemap/interfaces.py:55
+msgid "Alternate title"
+msgstr "Titre de substitution"
+
+#: src/pyams_content/component/links/interfaces.py:36
+msgid "Link title, as shown in front-office"
+msgstr ""
+"Le contexte d'utilisation de ce lien peut nécessiter de modifier son titre "
+"d'origine. Ce titre de substitution sera alors présenté aux internautes."
+
+#: src/pyams_content/component/links/interfaces.py:40
+msgid "Link description displayed by front-office template"
+msgstr "Description du lien, présentée aux internautes"
+
+#: src/pyams_content/component/links/interfaces.py:43
+#: src/pyams_content/component/paragraph/interfaces/pictogram.py:46
+#: src/pyams_content/features/menu/interfaces.py:68
+#: src/pyams_content/shared/common/interfaces/types.py:75
+msgid "Pictogram"
+msgstr "Pictogramme"
+
+#: src/pyams_content/component/links/interfaces.py:44
+msgid "Name of the pictogram associated with this link"
+msgstr ""
+"Pictogramme à associer à ce lien. ATTENTION: ce pictogramme n'est affiché "
+"que par certains modes de rendu !!"
+
+#: src/pyams_content/component/links/interfaces.py:61
+#: src/pyams_content/features/redirect/interfaces.py:68
+#: src/pyams_content/shared/logo/interfaces.py:54
+msgid "Target URL"
+msgstr "URL cible"
+
+#: src/pyams_content/component/links/interfaces.py:62
+#: src/pyams_content/shared/logo/interfaces.py:55
+msgid "URL used to access external resource"
+msgstr ""
+"URL utilisée pour accéder à cette ressource externe. Doit comprendre le "
+"protocole d'accès au site, comme « http:// » ou « https:// »."
+
+#: src/pyams_content/component/links/interfaces.py:65
+#: src/pyams_content/component/extfile/interfaces.py:44
+msgid "Language"
+msgstr "Langue"
+
+#: src/pyams_content/component/links/interfaces.py:66
+msgid "Language used in this remote resource"
+msgstr ""
+"Langue utilisée par cette ressource extene ; à préciser lorsqu'il ne s'agit "
+"pas de la langue par défaut du site."
+
+#: src/pyams_content/component/links/interfaces.py:74
+msgid "Target address"
+msgstr "Adresse mail"
+
+#: src/pyams_content/component/links/interfaces.py:75
+msgid "Target email address"
+msgstr "Adresse de messagerie \"stricte\", soit uniquement \"xxx@yyy.com\""
+
+#: src/pyams_content/component/links/interfaces.py:78
+msgid "Address name"
+msgstr "Nom de messagerie"
+
+#: src/pyams_content/component/links/interfaces.py:79
+msgid "Address as displayed in address book"
+msgstr ""
+"Nom de la boîte aux lettres, tel qu'il sera affiché dans l'application de "
+"messagerie."
+
+#: src/pyams_content/component/links/zmi/__init__.py:54
+msgid "Internal links"
+msgstr "Liens internes"
+
+#: src/pyams_content/component/links/zmi/__init__.py:69
+msgid "Add internal link"
+msgstr "Lien interne"
+
+#: src/pyams_content/component/links/zmi/__init__.py:83
+msgid "Add new internal link"
+msgstr "Ajout d'un lien interne"
+
+#: src/pyams_content/component/links/zmi/__init__.py:114
+msgid "Edit internal link properties"
+msgstr "Propriétés du lien interne"
+
+#: src/pyams_content/component/links/zmi/__init__.py:142
+msgid "External links"
+msgstr "Liens externes"
+
+#: src/pyams_content/component/links/zmi/__init__.py:157
+msgid "Add external link"
+msgstr "Lien externe"
+
+#: src/pyams_content/component/links/zmi/__init__.py:171
+msgid "Add new external link"
+msgstr "Ajout d'un lien externe"
+
+#: src/pyams_content/component/links/zmi/__init__.py:202
+msgid "Edit external link properties"
+msgstr "Propriétés du lien externe"
+
+#: src/pyams_content/component/links/zmi/__init__.py:230
+msgid "Mailto links"
+msgstr "Liens mailto"
+
+#: src/pyams_content/component/links/zmi/__init__.py:245
+msgid "Add mailto link"
+msgstr "Lien mailto"
+
+#: src/pyams_content/component/links/zmi/__init__.py:259
+msgid "Add new mailto link"
+msgstr "Ajout d'un lien « mailto »"
+
+#: src/pyams_content/component/links/zmi/__init__.py:290
+msgid "Edit mailto link properties"
+msgstr "Propriétés du lien « mailto »"
+
+#: src/pyams_content/component/paragraph/header.py:62
+msgid "This paragraph type is deprecated and should be removed!"
+msgstr "Ce type de paragraphe a été supprimé et ne doit plus être utilisé !"
+
+#: src/pyams_content/component/paragraph/container.py:94
+msgid "Paragraphs"
+msgstr "Blocs de contenu"
+
+#: src/pyams_content/component/paragraph/container.py:116
+msgid "no visible paragraph"
+msgstr "aucun bloc de contenu visible"
+
+#: src/pyams_content/component/paragraph/pictogram.py:130
+msgid "Selected pictogram is missing"
+msgstr "le pictogramme sélectionné est introuvable"
+
+#: src/pyams_content/component/paragraph/milestone.py:138
+msgid "Selected paragraph is missing"
+msgstr "le bloc sélectionné est introuvable"
+
+#: src/pyams_content/component/paragraph/milestone.py:141
+msgid "Selected paragraph is not visible"
+msgstr "le bloc sélectionné n'est pas visible"
+
+#: src/pyams_content/component/paragraph/interfaces/header.py:33
+#: src/pyams_content/component/paragraph/interfaces/header.py:40
+#: src/pyams_content/shared/common/interfaces/__init__.py:151
+#: src/pyams_content/shared/site/interfaces.py:82
+msgid "Header"
+msgstr "Chapô"
+
+#: src/pyams_content/component/paragraph/interfaces/header.py:43
+#: src/pyams_content/features/header/interfaces.py:39
+msgid "Header template"
+msgstr "Mode de rendu"
+
+#: src/pyams_content/component/paragraph/interfaces/header.py:44
+#: src/pyams_content/features/header/interfaces.py:40
+msgid "Presentation template used for this header"
+msgstr "Mode de rendu utilisé par ce chapô"
+
+#: src/pyams_content/component/paragraph/interfaces/contact.py:44
+msgid "Contact card"
+msgstr "Fiche contact"
+
+#: src/pyams_content/component/paragraph/interfaces/contact.py:51
+msgid "Contact identity"
+msgstr "Nom du contact"
+
+#: src/pyams_content/component/paragraph/interfaces/contact.py:52
+msgid "Name of the contact"
+msgstr "Nom complet du contact"
+
+#: src/pyams_content/component/paragraph/interfaces/contact.py:55
+#: src/pyams_content/component/paragraph/interfaces/verbatim.py:48
+msgid "In charge of"
+msgstr "Fonction"
+
+#: src/pyams_content/component/paragraph/interfaces/contact.py:56
+msgid "Label of contact function"
+msgstr "Fonction du contact"
+
+#: src/pyams_content/component/paragraph/interfaces/contact.py:59
+msgid "Email address"
+msgstr "Adresse de messagerie"
+
+#: src/pyams_content/component/paragraph/interfaces/contact.py:60
+msgid "Contact email address"
+msgstr "Adresse de messagerie \"stricte\", soit uniquement \"xxx@yyy.com\""
+
+#: src/pyams_content/component/paragraph/interfaces/contact.py:63
+msgid "Contact form"
+msgstr "Formulaire de contact"
+
+#: src/pyams_content/component/paragraph/interfaces/contact.py:64
+msgid "Reference of contact form"
+msgstr "Référence d'un formulaire de contact"
+
+#: src/pyams_content/component/paragraph/interfaces/contact.py:68
+msgid "Photo"
+msgstr "Photo"
+
+#: src/pyams_content/component/paragraph/interfaces/contact.py:69
+msgid "Use 'browse' button to select contact picture"
+msgstr "Utilisez le bouton 'Parcourir' pour sélectionner la photo du contact"
+
+#: src/pyams_content/component/paragraph/interfaces/contact.py:77
+msgid "Address"
+msgstr "Adresse"
+
+#: src/pyams_content/component/paragraph/interfaces/contact.py:80
+msgid "Contact template"
+msgstr "Mode de rendu"
+
+#: src/pyams_content/component/paragraph/interfaces/contact.py:81
+msgid "Presentation template used for this contact"
+msgstr "Modèle de présentation utilisé pour ce contact"
+
+#: src/pyams_content/component/paragraph/interfaces/contact.py:73
+#: src/pyams_content/component/paragraph/interfaces/map.py:48
+msgid "GPS location"
+msgstr "Position GPS"
+
+#: src/pyams_content/component/paragraph/interfaces/contact.py:74
+msgid "GPS coordinates used to locate contact"
+msgstr "Coordonnées GPS de situation du contact"
+
+#: src/pyams_content/component/paragraph/interfaces/video.py:32
+#: src/pyams_content/component/extfile/__init__.py:256
+#: src/pyams_content/component/extfile/__init__.py:261
+msgid "Video"
+msgstr "Vidéo"
+
+#: src/pyams_content/component/paragraph/interfaces/video.py:39
+#: src/pyams_content/component/extfile/interfaces.py:77
+msgid "Video data"
+msgstr "Fichier"
+
+#: src/pyams_content/component/paragraph/interfaces/video.py:40
+msgid "Video file content"
+msgstr ""
+"Cliquez sur le bouton 'Parcourir...' pour sélectionner un nouveau contenu"
+
+#: src/pyams_content/component/paragraph/interfaces/pictogram.py:80
+#: src/pyams_content/component/paragraph/zmi/pictogram.py:295
+msgid "Pictograms"
+msgstr "Pictogrammes"
+
+#: src/pyams_content/component/paragraph/interfaces/pictogram.py:42
+msgid "Is this pictogram visible in front-office?"
+msgstr "Si 'non', ce pictogramme ne sera pas présenté aux internautes"
+
+#: src/pyams_content/component/paragraph/interfaces/pictogram.py:47
+msgid "Name of the pictogram to select"
+msgstr "Sélection du pictogramme à afficher"
+
+#: src/pyams_content/component/paragraph/interfaces/pictogram.py:53
+msgid "Alternate header"
+msgstr "En-tête de substitution"
+
+#: src/pyams_content/component/paragraph/interfaces/pictogram.py:54
+msgid ""
+"Alternate pictogram label; if not specified, the pictogram header will be "
+"used"
+msgstr ""
+"En-tête de substitution utilisé par le pictogramme; si rien n'est spécifié, "
+"l'en-tête du pictogramme sélectionné sera utilisé."
+
+#: src/pyams_content/component/paragraph/interfaces/pictogram.py:59
+msgid "Additional text associated to this pictogram"
+msgstr "Texte complémentaire associé à ce pictogramme"
+
+#: src/pyams_content/component/paragraph/interfaces/pictogram.py:87
+msgid "Pictograms template"
+msgstr "Mode de rendu"
+
+#: src/pyams_content/component/paragraph/interfaces/pictogram.py:88
+msgid "Presentation template used for pictograms"
+msgstr "Modèle de présentation utilisé par ce bloc de contenu"
+
+#: src/pyams_content/component/paragraph/interfaces/milestone.py:74
+#: src/pyams_content/component/paragraph/zmi/milestone.py:288
+msgid "Milestones"
+msgstr "Chronologie"
+
+#: src/pyams_content/component/paragraph/interfaces/milestone.py:39
+msgid "Is this milestone visible in front-office?"
+msgstr "Si 'non', ce jalon ne sera pas présenté aux internautes"
+
+#: src/pyams_content/component/paragraph/interfaces/milestone.py:44
+msgid "Milestone title"
+msgstr "Libellé associé au jalon"
+
+#: src/pyams_content/component/paragraph/interfaces/milestone.py:47
+#: src/pyams_content/component/paragraph/zmi/milestone.py:247
+msgid "Associated label"
+msgstr "Information associée"
+
+#: src/pyams_content/component/paragraph/interfaces/milestone.py:48
+msgid "The way this label will be rendered depends on presentation template"
+msgstr ""
+"La présentation de cette information peut varier en fonction du mode de "
+"rendu choisi"
+
+#: src/pyams_content/component/paragraph/interfaces/milestone.py:51
+#: src/pyams_content/component/paragraph/zmi/milestone.py:259
+msgid "Anchor"
+msgstr "Ancre"
+
+#: src/pyams_content/component/paragraph/interfaces/milestone.py:52
+msgid "Paragraph to which this milestone should lead"
+msgstr "Bloc de contenu vers lequel ce jalon doit conduire"
+
+#: src/pyams_content/component/paragraph/interfaces/milestone.py:82
+msgid "Additional text associated to this milestone paragraph"
+msgstr "Texte complémentaire associé à ce bloc"
+
+#: src/pyams_content/component/paragraph/interfaces/milestone.py:85
+msgid "Milestones template"
+msgstr "Mode de rendu"
+
+#: src/pyams_content/component/paragraph/interfaces/milestone.py:86
+msgid "Presentation template used for milestones"
+msgstr "Modèle de présentation utilisé par ce bloc de contenu"
+
+#: src/pyams_content/component/paragraph/interfaces/html.py:33
+msgid "Raw HTML "
+msgstr "Code HTML"
+
+#: src/pyams_content/component/paragraph/interfaces/html.py:56
+msgid "Rich text"
+msgstr "Texte enrichi"
+
+#: src/pyams_content/component/paragraph/interfaces/html.py:40
+msgid "Raw HTML code"
+msgstr "Code HTML"
+
+#: src/pyams_content/component/paragraph/interfaces/html.py:41
+msgid ""
+"This HTML code will be used 'as is', without any transformation. Use with "
+"care!!"
+msgstr ""
+"Ce code HTML sera utilisé en l'état et intégré dans les pages sans "
+"modification. À utiliser avec précaution !!!"
+
+#: src/pyams_content/component/paragraph/interfaces/html.py:45
+msgid "Raw HTML code template"
+msgstr "Mode de rendu"
+
+#: src/pyams_content/component/paragraph/interfaces/html.py:46
+#: src/pyams_content/component/paragraph/interfaces/html.py:67
+#: src/pyams_content/component/paragraph/interfaces/verbatim.py:53
+#: src/pyams_content/component/paragraph/interfaces/keypoint.py:45
+#: src/pyams_content/component/paragraph/interfaces/frame.py:44
+#: src/pyams_content/shared/imagemap/interfaces.py:101
+#: src/pyams_content/shared/logo/interfaces.py:89
+msgid "Presentation template used for this paragraph"
+msgstr "Mode de rendu utilisé par ce bloc de contenu"
+
+#: src/pyams_content/component/paragraph/interfaces/html.py:63
+msgid "Body"
+msgstr "Contenu HTML"
+
+#: src/pyams_content/component/paragraph/interfaces/html.py:66
+msgid "Body template"
+msgstr "Mode de rendu"
+
+#: src/pyams_content/component/paragraph/interfaces/verbatim.py:33
+msgid "Verbatim"
+msgstr "Verbatim"
+
+#: src/pyams_content/component/paragraph/interfaces/verbatim.py:40
+msgid "Quoted text"
+msgstr "Citation"
+
+#: src/pyams_content/component/paragraph/interfaces/verbatim.py:41
+msgid "Quotation marks will be added automatically by presentation template"
+msgstr "Les guillemets seront ajoutés automatiquement par le mode de rendu..."
+
+#: src/pyams_content/component/paragraph/interfaces/verbatim.py:45
+msgid "Name of the quote author"
+msgstr "Nom de l'auteur de la citation"
+
+#: src/pyams_content/component/paragraph/interfaces/verbatim.py:49
+msgid "Label of author function"
+msgstr "Fonction de l'auteur"
+
+#: src/pyams_content/component/paragraph/interfaces/verbatim.py:52
+msgid "Verbatim template"
+msgstr "Mode de rendu"
+
+#: src/pyams_content/component/paragraph/interfaces/__init__.py:43
+msgid "Is this paragraph visible in front-office?"
+msgstr "Si 'non', ce bloc de contenu ne sera pas présenté aux internautes"
+
+#: src/pyams_content/component/paragraph/interfaces/__init__.py:47
+msgid "Anchor?"
+msgstr "Ancre ?"
+
+#: src/pyams_content/component/paragraph/interfaces/__init__.py:48
+msgid "Is this paragraph a navigation anchor?"
+msgstr ""
+"Si 'oui', ce bloc pourra recevoir une ancre de navigation au sein du contenu"
+
+#: src/pyams_content/component/paragraph/interfaces/__init__.py:52
+msgid "§ Title"
+msgstr "Titre §"
+
+#: src/pyams_content/component/paragraph/interfaces/__init__.py:92
+msgid "Allowed paragraphs"
+msgstr "Types de blocs autorisés"
+
+#: src/pyams_content/component/paragraph/interfaces/__init__.py:93
+msgid "List of paragraphs allowed for this content type"
+msgstr "Liste des types de blocs de contenu autorisés pour ce gabarit."
+
+#: src/pyams_content/component/paragraph/interfaces/__init__.py:97
+#: src/pyams_content/shared/common/zmi/types.py:171
+#: src/pyams_content/shared/common/zmi/types.py:411
+msgid "Default paragraphs"
+msgstr "Types de blocs par défaut"
+
+#: src/pyams_content/component/paragraph/interfaces/__init__.py:98
+msgid "List of paragraphs automatically added to a new content"
+msgstr "Liste des types de blocs ajoutés automatiquement aux nouveaux contenus"
+
+#: src/pyams_content/component/paragraph/interfaces/map.py:41
+msgid "Location map"
+msgstr "Carte"
+
+#: src/pyams_content/component/paragraph/interfaces/map.py:49
+msgid "GPS coordinates used to locate map"
+msgstr "Coordonnées GPS de situation de la carte"
+
+#: src/pyams_content/component/paragraph/interfaces/map.py:52
+msgid "Display location mark?"
+msgstr "Marqueur de position ?"
+
+#: src/pyams_content/component/paragraph/interfaces/map.py:53
+msgid "If 'yes', a location marker will be displayed on map"
+msgstr "Si 'oui', un marqueur de position sera placé sur la carte"
+
+#: src/pyams_content/component/paragraph/interfaces/map.py:57
+msgid "Map template"
+msgstr "Mode de rendu"
+
+#: src/pyams_content/component/paragraph/interfaces/map.py:58
+msgid "Presentation template used for this map"
+msgstr "Mode de rendu utilisé par cette carte"
+
+#: src/pyams_content/component/paragraph/interfaces/keypoint.py:33
+#: src/pyams_content/component/paragraph/interfaces/keypoint.py:40
+msgid "Key points"
+msgstr "Points clés"
+
+#: src/pyams_content/component/paragraph/interfaces/keypoint.py:41
+msgid "Enter one key point by line, without hyphen or prefix"
+msgstr ""
+"Indiquez un point clé par ligne, sans tiret. Passez à la ligne entre chaque "
+"point clé, la mise en forme sera effectuée automatiquement."
+
+#: src/pyams_content/component/paragraph/interfaces/keypoint.py:44
+msgid "Presentation template"
+msgstr "Mode de rendu"
+
+#: src/pyams_content/component/paragraph/interfaces/frame.py:33
+msgid "Framed text"
+msgstr "Encadré"
+
+#: src/pyams_content/component/paragraph/interfaces/frame.py:40
+msgid "Frame body"
+msgstr "Contenu"
+
+#: src/pyams_content/component/paragraph/interfaces/frame.py:43
+msgid "Text template"
+msgstr "Mode de rendu"
+
+#: src/pyams_content/component/paragraph/interfaces/audio.py:32
+msgid "Audio"
+msgstr "Bande son"
+
+#: src/pyams_content/component/paragraph/interfaces/audio.py:40
+#: src/pyams_content/component/extfile/interfaces.py:86
+msgid "Audio file content"
+msgstr ""
+"Cliquez sur le bouton 'Parcourir...' pour sélectionner un nouveau contenu"
+
+#: src/pyams_content/component/paragraph/interfaces/audio.py:51
+#: src/pyams_content/component/extfile/interfaces.py:37
+msgid "File description displayed by front-office template"
+msgstr "Description du fichier, présentée aux internautes"
+
+#: src/pyams_content/component/paragraph/interfaces/audio.py:54
+msgid "Audio template"
+msgstr "Mode de rendu"
+
+#: src/pyams_content/component/paragraph/interfaces/audio.py:55
+msgid "Presentation template used for this audio file"
+msgstr "Mode de rendu utilisé pour cette bande son"
+
+#: src/pyams_content/component/paragraph/portlet/__init__.py:83
+msgid "Content paragraphs"
+msgstr "Blocs de contenu"
+
+#: src/pyams_content/component/paragraph/portlet/__init__.py:135
+msgid "Paragraphs navigation anchors"
+msgstr "Navigation au sein des blocs"
+
+#: src/pyams_content/component/paragraph/portlet/interfaces.py:30
+#: src/pyams_content/component/paragraph/portlet/interfaces.py:52
+msgid "Selected paragraphs"
+msgstr "Blocs sélectionnés"
+
+#: src/pyams_content/component/paragraph/portlet/interfaces.py:31
+msgid ""
+"List of selected paragraphs; an empty selection means that all paragraphs "
+"will be selectable by following filters; otherwise, this selection will have "
+"priority"
+msgstr ""
+"Liste des blocs sélectionnés ; si la sélection est vide, tous les blocs de "
+"contenu pourront être sélectionnés via les filtres ci-dessous ; dans le cas "
+"contraire, cette sélection devient prioritaire et les autres filtres ne sont "
+"pas appliqués"
+
+#: src/pyams_content/component/paragraph/portlet/interfaces.py:37
+#: src/pyams_content/component/paragraph/portlet/interfaces.py:59
+msgid "Paragraph types"
+msgstr "Types de blocs"
+
+#: src/pyams_content/component/paragraph/portlet/interfaces.py:38
+msgid ""
+"Select list of paragraph types you want to include; an empty selection means "
+"that all paragraphs types will be selected"
+msgstr ""
+"Liste des types de blocs que vous souhaitez sélectionner ; si la sélection "
+"est vide, tous les types de blocs seront pris en compte"
+
+#: src/pyams_content/component/paragraph/portlet/interfaces.py:43
+#: src/pyams_content/component/paragraph/portlet/interfaces.py:65
+msgid "Anchors only?"
+msgstr "Ancres seulement ?"
+
+#: src/pyams_content/component/paragraph/portlet/interfaces.py:44
+msgid "If 'yes', only paragraphs set as 'anchors' will be selected"
+msgstr ""
+"Si 'oui', seuls les blocs définis comme ancres de navigation seront "
+"sélectionnés"
+
+#: src/pyams_content/component/paragraph/portlet/interfaces.py:53
+msgid ""
+"List of paragraphs selected for navigation; an empty selection means that "
+"all paragraphs will be selectable by following filters; otherwise, this "
+"selection will have priority"
+msgstr ""
+"Liste des blocs sélectionnés pour la navigation ; si la sélection est vide, "
+"tous les blocs de contenu pourront être sélectionnés via les filtres ci-"
+"dessous ; dans le cas contraire, cette sélection devient prioritaire et les "
+"autres filtres ne sont pas appliqués"
+
+#: src/pyams_content/component/paragraph/portlet/interfaces.py:60
+msgid ""
+"Select list of paragraph types you want to use for navigation; an empty "
+"selection means that all paragraphs types will be selected"
+msgstr ""
+"Liste des types de blocs que vous souhaitez sélectionner pour la "
+"navigation ; si la sélection est vide, tous les types de blocs seront pris "
+"en compte"
+
+#: src/pyams_content/component/paragraph/portlet/interfaces.py:66
+msgid "If 'no', all paragraphs will be used as navigation anchors"
+msgstr ""
+"Si 'non', tous les blocs seront utilisés comme liens de navigation même si "
+"ce ne sont pas des ancres"
+
+#: src/pyams_content/component/paragraph/portlet/zmi/__init__.py:67
+#: src/pyams_content/component/paragraph/portlet/zmi/__init__.py:122
+msgid "No filter, all paragraphs selected"
+msgstr "Pas de filtre, tous les blocs sont acceptés"
+
+#: src/pyams_content/component/paragraph/portlet/zmi/__init__.py:74
+#: src/pyams_content/component/paragraph/portlet/zmi/__init__.py:129
+msgid "No filter, all paragraph types selected"
+msgstr "Pas de filtre, tous les types de blocs sont acceptés"
+
+#: src/pyams_content/component/paragraph/portlet/zmi/templates/navigation-preview.pt:4
+#: src/pyams_content/component/paragraph/portlet/zmi/templates/container-preview.pt:4
+msgid "Selected paragraphs:"
+msgstr "Blocs sélectionnés :"
+
+#: src/pyams_content/component/paragraph/portlet/zmi/templates/navigation-preview.pt:10
+#: src/pyams_content/component/paragraph/portlet/zmi/templates/container-preview.pt:10
+msgid "Paragraphs filters:"
+msgstr "Filtrage des blocs :"
+
+#: src/pyams_content/component/paragraph/portlet/zmi/templates/navigation-preview.pt:13
+#: src/pyams_content/component/paragraph/portlet/zmi/templates/container-preview.pt:13
+msgid "Selected paragraph types:"
+msgstr "Types de blocs :"
+
+#: src/pyams_content/component/paragraph/portlet/zmi/templates/navigation-preview.pt:18
+#: src/pyams_content/component/paragraph/portlet/zmi/templates/container-preview.pt:18
+msgid "Only display anchors"
+msgstr "Ne sélectionner que les ancres"
+
+#: src/pyams_content/component/paragraph/zmi/header.py:44
+msgid "Edit header paragraph properties"
+msgstr "Propriétés du chapô"
+
+#: src/pyams_content/component/paragraph/zmi/container.py:70
+msgid "Contents..."
+msgstr "Blocs de contenu"
+
+#: src/pyams_content/component/paragraph/zmi/container.py:211
+msgid "Set navigation anchor"
+msgstr "Ancre de navigation"
+
+#: src/pyams_content/component/paragraph/zmi/container.py:285
+msgid "Show/hide all paragraphs"
+msgstr "Afficher/masquer tous les blocs"
+
+#: src/pyams_content/component/paragraph/zmi/container.py:333
+#: src/pyams_content/component/paragraph/zmi/container.py:342
+#: src/pyams_content/component/paragraph/zmi/container.py:355
+msgid "Content blocks"
+msgstr "Blocs de contenu"
+
+#: src/pyams_content/component/paragraph/zmi/container.py:412
+msgid "Links and attachments..."
+msgstr "Récap. liens et PJ"
+
+#: src/pyams_content/component/paragraph/zmi/container.py:424
+msgid "Content blocks links and attachments"
+msgstr "Récapitulatif des liens et pièces jointes par bloc de contenu"
+
+#: src/pyams_content/component/paragraph/zmi/container.py:141
+msgid "No currently defined paragraph."
+msgstr "Aucun bloc n'est associé à ce contenu."
+
+#: src/pyams_content/component/paragraph/zmi/container.py:294
+msgid "Click to open/close all paragraphs editors"
+msgstr "Afficher/masquer tous les blocs"
+
+#: src/pyams_content/component/paragraph/zmi/container.py:307
+msgid "Click to open/close paragraph editor"
+msgstr "Afficher/masquer ce bloc"
+
+#: src/pyams_content/component/paragraph/zmi/container.py:147
+msgid "Check allowed paragraph types to be able to create new paragraphs."
+msgstr ""
+"Vérifiez le paramétrage des types de blocs de contenu autorisés pour pouvoir "
+"ajouter de nouveaux blocs."
+
+#: src/pyams_content/component/paragraph/zmi/contact.py:48
+msgid "Contact card..."
+msgstr "Fiche contact"
+
+#: src/pyams_content/component/paragraph/zmi/contact.py:61
+msgid "Add new contact card"
+msgstr "Ajout d'une fiche contact"
+
+#: src/pyams_content/component/paragraph/zmi/contact.py:84
+msgid "Edit contact card properties"
+msgstr "Propriétés de la fiche contact"
+
+#: src/pyams_content/component/paragraph/zmi/video.py:50
+msgid "Video paragraph..."
+msgstr "Vidéo"
+
+#: src/pyams_content/component/paragraph/zmi/video.py:63
+msgid "Add new video paragraph"
+msgstr "Ajout d'une vidéo"
+
+#: src/pyams_content/component/paragraph/zmi/pictogram.py:79
+msgid "Pictograms..."
+msgstr "Pictogrammes"
+
+#: src/pyams_content/component/paragraph/zmi/pictogram.py:92
+msgid "Add new pictogram paragraph"
+msgstr "Ajout de pictogrammes"
+
+#: src/pyams_content/component/paragraph/zmi/pictogram.py:119
+msgid "Edit pictogram paragraph properties"
+msgstr "Propriétés des pictogrammes"
+
+#. Default: Header
+#: src/pyams_content/component/paragraph/zmi/pictogram.py:256
+msgid "pictogram-item-header"
+msgstr "En-tête"
+
+#: src/pyams_content/component/paragraph/zmi/pictogram.py:345
+msgid "Pictogram was correctly added"
+msgstr "Le pictogramme a été ajouté."
+
+#: src/pyams_content/component/paragraph/zmi/pictogram.py:355
+#: src/pyams_content/component/paragraph/zmi/pictogram.py:393
+msgid "You must select a pictogram!"
+msgstr "Vous devez sélectionner un pictogramme !"
+
+#: src/pyams_content/component/paragraph/zmi/milestone.py:74
+msgid "Milestones..."
+msgstr "Chronologie"
+
+#: src/pyams_content/component/paragraph/zmi/milestone.py:87
+msgid "Add new milestone paragraph"
+msgstr "Ajout d'une chronologie"
+
+#: src/pyams_content/component/paragraph/zmi/milestone.py:114
+msgid "Edit milestone paragraph properties"
+msgstr "Propriétés de la chronologie"
+
+#: src/pyams_content/component/paragraph/zmi/milestone.py:303
+msgid "Add milestone"
+msgstr "Ajouter un jalon"
+
+#: src/pyams_content/component/paragraph/zmi/milestone.py:316
+msgid "Add new milestone"
+msgstr "Ajout d'un jalon"
+
+#: src/pyams_content/component/paragraph/zmi/milestone.py:343
+msgid "Edit milestone properties"
+msgstr "Propriétés du jalon"
+
+#: src/pyams_content/component/paragraph/zmi/milestone.py:331
+msgid "Milestone was correctly added"
+msgstr "Le jalon a été ajouté."
+
+#: src/pyams_content/component/paragraph/zmi/milestone.py:274
+msgid "(missing paragraph)"
+msgstr "(paragraphe supprimé)"
+
+#: src/pyams_content/component/paragraph/zmi/html.py:74
+msgid "Raw HTML..."
+msgstr "Code HTML"
+
+#: src/pyams_content/component/paragraph/zmi/html.py:87
+msgid "Add new raw HTML paragraph"
+msgstr "Ajout d'un bloc de code HTML"
+
+#: src/pyams_content/component/paragraph/zmi/html.py:117
+msgid "Edit raw HTML paragraph properties"
+msgstr "Propriétés du code HTML"
+
+#: src/pyams_content/component/paragraph/zmi/html.py:157
+msgid "Rich text..."
+msgstr "Texte enrichi"
+
+#: src/pyams_content/component/paragraph/zmi/html.py:170
+msgid "Add new rich text paragraph"
+msgstr "Ajout d'un bloc de texte enrichi"
+
+#: src/pyams_content/component/paragraph/zmi/html.py:207
+msgid "Edit rich text paragraph properties"
+msgstr "Propriétés du texte enrichi"
+
+#: src/pyams_content/component/paragraph/zmi/verbatim.py:55
+msgid "Verbatim..."
+msgstr "Verbatim"
+
+#: src/pyams_content/component/paragraph/zmi/verbatim.py:68
+msgid "Add new verbatim paragraph"
+msgstr "Ajout d'un verbatim"
+
+#: src/pyams_content/component/paragraph/zmi/verbatim.py:107
+msgid "Edit verbatim paragraph properties"
+msgstr "Propriétés du verbatim"
+
+#: src/pyams_content/component/paragraph/zmi/__init__.py:60
+msgid "Content block types..."
+msgstr "Types de blocs de contenu"
+
+#: src/pyams_content/component/paragraph/zmi/__init__.py:74
+msgid "Content block types"
+msgstr "Types de blocs de contenu"
+
+#: src/pyams_content/component/paragraph/zmi/__init__.py:84
+msgid ""
+"You can define which types of paragraphs are allowed in this container.\n"
+"\n"
+"Default paragraphs will be added automatically (in selected order) to any "
+"new created content.\n"
+"\n"
+"NOTICE: removing types from allowed types list will have no effect on "
+"already created contents!"
+msgstr ""
+"Vous pouvez indiquer la liste des types de blocs de contenu autorisés pour "
+"ce gabarit.\n"
+"\n"
+"Les types de blocs par défaut seront ajoutés automatiquement (dans l'ordre "
+"défini) à chaque nouveau contenu créé selon ce gabarit.\n"
+"\n"
+"REMARQUE : supprimer des types de la liste des types de blocs autorisés sera "
+"sans effet sur les contenus existants."
+
+#: src/pyams_content/component/paragraph/zmi/__init__.py:209
+#: src/pyams_content/component/paragraph/zmi/__init__.py:222
+#: src/pyams_content/features/preview/zmi/__init__.py:45
+#: src/pyams_content/shared/common/zmi/templates/preview-input.pt:39
+msgid "Preview"
+msgstr "Aperçu"
+
+#: src/pyams_content/component/paragraph/zmi/__init__.py:214
+#: src/pyams_content/component/paragraph/zmi/__init__.py:227
+#: src/pyams_content/features/review/zmi/__init__.py:84
+#: src/pyams_content/shared/common/zmi/__init__.py:275
+#: src/pyams_content/shared/common/zmi/owner.py:73
+#: src/pyams_content/shared/common/zmi/workflow.py:119
+#: src/pyams_content/shared/common/zmi/workflow.py:206
+#: src/pyams_content/shared/common/zmi/workflow.py:246
+#: src/pyams_content/shared/common/zmi/workflow.py:300
+#: src/pyams_content/shared/common/zmi/workflow.py:389
+#: src/pyams_content/shared/common/zmi/workflow.py:445
+#: src/pyams_content/shared/common/zmi/workflow.py:485
+#: src/pyams_content/shared/common/zmi/workflow.py:526
+#: src/pyams_content/shared/common/zmi/workflow.py:569
+#: src/pyams_content/shared/common/zmi/workflow.py:609
+#: src/pyams_content/shared/common/zmi/workflow.py:650
+#: src/pyams_content/shared/common/zmi/workflow.py:701
+msgid "Cancel"
+msgstr "Annuler"
+
+#: src/pyams_content/component/paragraph/zmi/__init__.py:216
+#: src/pyams_content/component/paragraph/zmi/__init__.py:229
+msgid "Submit"
+msgstr "Enregistrer"
+
+#: src/pyams_content/component/paragraph/zmi/__init__.py:197
+msgid "Paragraph was correctly added."
+msgstr "Le bloc a été ajouté."
+
+#: src/pyams_content/component/paragraph/zmi/__init__.py:269
+msgid ""
+"You changed renderer selection. Don't omit to update new renderer "
+"properties..."
+msgstr ""
+"Vous avez changé de mode de rendu. N'oubliez pas de vérifier les propriétés "
+"du nouveau mode de rendu sélectionné..."
+
+#: src/pyams_content/component/paragraph/zmi/map.py:50
+msgid "Location map..."
+msgstr "Carte de situation"
+
+#: src/pyams_content/component/paragraph/zmi/map.py:63
+msgid "Add new location map"
+msgstr "Ajout d'une carte de situation"
+
+#: src/pyams_content/component/paragraph/zmi/map.py:86
+msgid "Edit location map properties"
+msgstr "Propriétés de la carte"
+
+#: src/pyams_content/component/paragraph/zmi/keypoint.py:46
+msgid "Key points..."
+msgstr "Points clés"
+
+#: src/pyams_content/component/paragraph/zmi/keypoint.py:59
+msgid "Add new key points paragraph"
+msgstr "Ajout de points clés"
+
+#: src/pyams_content/component/paragraph/zmi/keypoint.py:86
+msgid "Edit key points paragraph properties"
+msgstr "Propriétés des points clés"
+
+#: src/pyams_content/component/paragraph/zmi/frame.py:96
+msgid "Framed text..."
+msgstr "Encadré"
+
+#: src/pyams_content/component/paragraph/zmi/frame.py:110
+msgid "Add new framed text paragraph"
+msgstr "Ajout d'un encadré"
+
+#: src/pyams_content/component/paragraph/zmi/frame.py:136
+msgid "Edit framed text paragraph properties"
+msgstr "Propriétés de l'encadré"
+
+#: src/pyams_content/component/paragraph/zmi/audio.py:50
+msgid "Audio paragraph..."
+msgstr "Bande son"
+
+#: src/pyams_content/component/paragraph/zmi/audio.py:63
+msgid "Add new audio paragraph"
+msgstr "Ajout d'une bande son"
+
+#: src/pyams_content/component/paragraph/zmi/audio.py:85
+msgid "Edit audio properties"
+msgstr "Propriétés de la bande son"
+
+#: src/pyams_content/component/association/container.py:91
+#: src/pyams_content/component/association/interfaces.py:93
+#: src/pyams_content/component/association/zmi/__init__.py:313
+msgid "Associations"
+msgstr "Liens et pièces jointes"
+
+#: src/pyams_content/component/association/interfaces.py:43
+#: src/pyams_content/features/menu/interfaces.py:56
+msgid "Is this item visible in front-office?"
+msgstr "Si 'non', ce lien ne sera pas présenté aux internautes"
+
+#: src/pyams_content/component/association/interfaces.py:100
+msgid "Associations template"
+msgstr "Mode de rendu"
+
+#: src/pyams_content/component/association/interfaces.py:101
+msgid "Presentation template used for associations"
+msgstr "Modèle de présentation utilisé par ce bloc de contenu"
+
+#: src/pyams_content/component/association/zmi/__init__.py:96
+#: src/pyams_content/component/association/zmi/paragraph.py:54
+msgid "Associations..."
+msgstr "Liens et pièces jointes"
+
+#: src/pyams_content/component/association/zmi/__init__.py:209
+msgid "Public title"
+msgstr "Libellé public"
+
+#: src/pyams_content/component/association/zmi/__init__.py:229
+msgid "Inner title"
+msgstr "Contenu interne"
+
+#: src/pyams_content/component/association/zmi/__init__.py:247
+msgid "Size"
+msgstr "Taille"
+
+#: src/pyams_content/component/association/zmi/__init__.py:290
+#: src/pyams_content/component/association/zmi/__init__.py:300
+msgid "Associations list"
+msgstr "Liste des liens et pièces jointes"
+
+#: src/pyams_content/component/association/zmi/__init__.py:66
+msgid "Association was correctly added."
+msgstr "L'association a été ajoutée."
+
+#: src/pyams_content/component/association/zmi/paragraph.py:67
+msgid "Add new association paragraph"
+msgstr "Ajout d'un bloc  « liens et pièces jointes »"
+
+#: src/pyams_content/component/association/zmi/paragraph.py:93
+msgid "Edit association paragraph properties"
+msgstr "Propriétés du bloc « liens et pièces jointes »"
+
+#: src/pyams_content/component/extfile/__init__.py:173
+#: src/pyams_content/component/extfile/__init__.py:178
+msgid "Standard file"
+msgstr "Fichier"
+
+#: src/pyams_content/component/extfile/__init__.py:276
+#: src/pyams_content/component/extfile/__init__.py:281
+msgid "Audio file"
+msgstr "Fichier audio"
+
+#: src/pyams_content/component/extfile/interfaces.py:32
+msgid "Download link label"
+msgstr "Intitulé du lien"
+
+#: src/pyams_content/component/extfile/interfaces.py:33
+msgid "Label of download link, as shown in front-office"
+msgstr ""
+"Intitulé du lien présenté aux internautes pour leur permettre de télécharger "
+"le fichier. Si le responsable du site a choisi de préfixer automatiquement "
+"tous les liens avec un texte de son choix, celui-ci est indiqué ci-dessous "
+"et votre libellé ne sera indiqué que pour compléter ce libellé par défaut."
+
+#: src/pyams_content/component/extfile/interfaces.py:45
+msgid "File's content language"
+msgstr "Langue du fichier"
+
+#: src/pyams_content/component/extfile/interfaces.py:49
+msgid "Save file as..."
+msgstr "Nom du fichier"
+
+#: src/pyams_content/component/extfile/interfaces.py:50
+msgid "Name under which the file will be saved"
+msgstr ""
+"Nom donné au fichier en cas de téléchargement ; il est donc important de "
+"veiller au sens de ce nom, sans oublier d'indiquer l'extension (« .pdf », « ."
+"doc »...) !"
+
+#: src/pyams_content/component/extfile/interfaces.py:57
+msgid "File data"
+msgstr "Fichier"
+
+#: src/pyams_content/component/extfile/interfaces.py:58
+msgid "File content"
+msgstr ""
+"Cliquez sur le bouton 'Parcourir...' pour sélectionner un nouveau contenu"
+
+#: src/pyams_content/component/extfile/interfaces.py:69
+#: src/pyams_content/shared/logo/interfaces.py:59
+msgid "Image data"
+msgstr "Fichier"
+
+#: src/pyams_content/component/extfile/interfaces.py:70
+msgid "Image content"
+msgstr ""
+"Cliquez sur le bouton 'Parcourir...' pour sélectionner un nouveau contenu..."
+
+#: src/pyams_content/component/extfile/interfaces.py:78
+msgid "Video content"
+msgstr ""
+"Cliquez sur le bouton 'Parcourir...' pour sélectionner un nouveau contenu"
+
+#: src/pyams_content/component/extfile/interfaces.py:104
+msgid "Default title prefix"
+msgstr "Préfixe par défaut"
+
+#: src/pyams_content/component/extfile/interfaces.py:105
+msgid ""
+"If used, this prefix will be automatically added to download link's label of "
+"all files"
+msgstr ""
+"Si vous indiquez un texte ici, celui-ci sera utilisé automatiquement comme "
+"préfixe de tous les liens de téléchargement de pièces jointes"
+
+#: src/pyams_content/component/extfile/zmi/manager.py:37
+msgid "External files..."
+msgstr "Gestion des pièces jointes"
+
+#: src/pyams_content/component/extfile/zmi/manager.py:51
+msgid "External files properties"
+msgstr "Propriétés des pièces jointes"
+
+#: src/pyams_content/component/extfile/zmi/__init__.py:70
+msgid "External files"
+msgstr "Fichiers"
+
+#: src/pyams_content/component/extfile/zmi/__init__.py:85
+msgid "Add external file"
+msgstr "Fichier"
+
+#: src/pyams_content/component/extfile/zmi/__init__.py:99
+msgid "Add new external file"
+msgstr "Ajout d'un fichier"
+
+#: src/pyams_content/component/extfile/zmi/__init__.py:131
+msgid "Update file properties"
+msgstr "Propriétés du fichier"
+
+#: src/pyams_content/component/extfile/zmi/__init__.py:159
+msgid "Images"
+msgstr "Images"
+
+#: src/pyams_content/component/extfile/zmi/__init__.py:174
+msgid "Add image"
+msgstr "Image téléchargeable"
+
+#: src/pyams_content/component/extfile/zmi/__init__.py:188
+msgid "Add new image"
+msgstr "Ajout d'une image téléchargeable"
+
+#: src/pyams_content/component/extfile/zmi/__init__.py:220
+msgid "Update image properties"
+msgstr "Propriétés de l'image téléchargeable"
+
+#: src/pyams_content/component/extfile/zmi/__init__.py:252
+msgid "Videos"
+msgstr "Vidéos"
+
+#: src/pyams_content/component/extfile/zmi/__init__.py:267
+msgid "Add video"
+msgstr "Vidéo téléchargeable"
+
+#: src/pyams_content/component/extfile/zmi/__init__.py:281
+msgid "Add new video"
+msgstr "Ajout d'une vidéo téléchargeable"
+
+#: src/pyams_content/component/extfile/zmi/__init__.py:306
+msgid "Update video properties"
+msgstr "Propriétés de la vidéo téléchargeable"
+
+#: src/pyams_content/component/extfile/zmi/__init__.py:331
+msgid "Audios files"
+msgstr "Fichiers audios"
+
+#: src/pyams_content/component/extfile/zmi/__init__.py:346
+msgid "Add audio file"
+msgstr "Bande son téléchargeable"
+
+#: src/pyams_content/component/extfile/zmi/__init__.py:360
+msgid "Add new audio file"
+msgstr "Ajout d'une bande son téléchargeable"
+
+#: src/pyams_content/component/extfile/zmi/__init__.py:385
+msgid "Update audio file properties"
+msgstr "Propriétés de la bande son téléchargeable"
+
+#: src/pyams_content/component/extfile/zmi/__init__.py:46
+msgid "External file type"
+msgstr "Type de fichier joint"
+
+#: src/pyams_content/component/illustration/__init__.py:172
+#: src/pyams_content/component/illustration/interfaces.py:97
+#: src/pyams_content/component/illustration/thesaurus.py:32
+#: src/pyams_content/component/illustration/zmi/__init__.py:56
+#: src/pyams_content/component/illustration/zmi/__init__.py:126
+#: src/pyams_content/component/illustration/zmi/paragraph.py:153
+msgid "Illustration"
+msgstr "Illustration"
+
+#: src/pyams_content/component/illustration/interfaces.py:55
+msgid "Name of picture's author"
+msgstr "Sous la forme \"Prénom Nom / Organisme\""
+
+#: src/pyams_content/component/illustration/interfaces.py:63
+msgid "Illustration description displayed in front-office templates"
+msgstr ""
+"Le texte accompagne l'illustration, en complément de la légende. Attention : "
+"sa présence et sa mise en forme dépendent du mode de rendu choisi."
+
+#: src/pyams_content/component/illustration/interfaces.py:66
+msgid "Illustration template"
+msgstr "Mode de rendu"
+
+#: src/pyams_content/component/illustration/interfaces.py:67
+msgid "Presentation template used for illustration"
+msgstr ""
+"<span>Modèle de présentation utilisé par cette illustration.<br /"
+"><strong>ATTENTION :</strong> certains modes de rendu ne prennent pas en "
+"compte tous les types de médias !</span>"
+
+#: src/pyams_content/component/illustration/zmi/__init__.py:151
+msgid "Navigation link illustration"
+msgstr "Illustration de navigation"
+
+#: src/pyams_content/component/illustration/zmi/__init__.py:168
+msgid "Add illustration"
+msgstr "Ajouter une illustration"
+
+#: src/pyams_content/component/illustration/zmi/__init__.py:128
+msgid "Header illustration"
+msgstr "Illustration d'en-tête"
+
+#: src/pyams_content/component/illustration/zmi/thesaurus.py:42
+#: src/pyams_content/component/illustration/zmi/paragraph.py:93
+msgid "Edit illustration properties"
+msgstr "Propriétés de l'illustration"
+
+#: src/pyams_content/component/illustration/zmi/paragraph.py:55
+msgid "Illustration..."
+msgstr "Illustration"
+
+#: src/pyams_content/component/illustration/zmi/paragraph.py:68
+msgid "Add new illustration"
+msgstr "Ajout d'une illustration"
+
+#: src/pyams_content/component/theme/__init__.py:74
+#: src/pyams_content/component/theme/interfaces.py:64
+#: src/pyams_content/component/theme/interfaces.py:78
+#: src/pyams_content/component/theme/zmi/portlet.py:40
+#: src/pyams_content/root/zmi/search.py:179
+#: src/pyams_content/root/zmi/templates/advanced-search.pt:181
+#: src/pyams_content/shared/common/zmi/search.py:189
+msgid "Tags"
+msgstr "Tags"
+
+#: src/pyams_content/component/theme/__init__.py:122
+#: src/pyams_content/component/theme/interfaces.py:105
+#: src/pyams_content/component/theme/interfaces.py:119
+#: src/pyams_content/component/theme/zmi/portlet.py:55
+#: src/pyams_content/shared/common/zmi/search.py:192
+msgid "Themes"
+msgstr "Thèmes"
+
+#: src/pyams_content/component/theme/__init__.py:170
+#: src/pyams_content/component/theme/interfaces.py:146
+#: src/pyams_content/component/theme/interfaces.py:160
+#: src/pyams_content/component/theme/zmi/portlet.py:70
+#: src/pyams_content/shared/common/zmi/search.py:195
+msgid "Collections"
+msgstr "Collections"
+
+#: src/pyams_content/component/theme/__init__.py:83
+msgid "no defined tag"
+msgstr "aucun tag défini"
+
+#: src/pyams_content/component/theme/__init__.py:131
+msgid "no defined theme"
+msgstr "aucun thème défini"
+
+#: src/pyams_content/component/theme/__init__.py:179
+msgid "no defined collection"
+msgstr "aucune collection définie"
+
+#: src/pyams_content/component/theme/interfaces.py:41
+msgid "Enable search by tag?"
+msgstr "Activer la recherche par tag ?"
+
+#: src/pyams_content/component/theme/interfaces.py:42
+msgid ""
+"If 'yes', displayed tags will lead to a search engine displaying contents "
+"matching given tag"
+msgstr ""
+"Si 'oui', un clic sur un tag permet d'accéder à une page de résultat de "
+"recherche portant sur le tag sélectionné"
+
+#: src/pyams_content/component/theme/interfaces.py:47
+msgid "Tags search target"
+msgstr "Cible de la recherche"
+
+#: src/pyams_content/component/theme/interfaces.py:48
+msgid "Site or folder where tags search is displayed"
+msgstr "Site ou rubrique où la recherche par tags s'effectue"
+
+#: src/pyams_content/component/theme/interfaces.py:54
+msgid "You must specify search target when activating search by tags!"
+msgstr ""
+"Vous devez indiquer la cible de la recherche lorsque vous activez la "
+"recherche par tags !"
+
+#: src/pyams_content/component/theme/zmi/manager.py:58
+msgid "Tags settings..."
+msgstr "Paramétrage des tags"
+
+#: src/pyams_content/component/theme/zmi/manager.py:72
+msgid "Selected tags"
+msgstr "Tags sélectionnés"
+
+#: src/pyams_content/component/theme/zmi/manager.py:109
+msgid "Themes settings..."
+msgstr "Paramétrage des thèmes"
+
+#: src/pyams_content/component/theme/zmi/manager.py:123
+msgid "Selected themes"
+msgstr "Thèmes sélectionnés"
+
+#: src/pyams_content/component/theme/zmi/manager.py:159
+msgid "Collections settings..."
+msgstr "Paramétrage des collections"
+
+#: src/pyams_content/component/theme/zmi/manager.py:173
+msgid "Selected collections"
+msgstr "Collections sélectionnées"
+
+#: src/pyams_content/component/theme/zmi/__init__.py:55
+#: src/pyams_content/shared/view/zmi/theme.py:56
+msgid "Tags..."
+msgstr "Tags"
+
+#: src/pyams_content/component/theme/zmi/__init__.py:66
+msgid "Content tags"
+msgstr "Tags du contenu"
+
+#: src/pyams_content/component/theme/zmi/__init__.py:99
+#: src/pyams_content/shared/view/zmi/theme.py:102
+msgid "Themes..."
+msgstr "Thèmes"
+
+#: src/pyams_content/component/theme/zmi/__init__.py:107
+msgid "Content themes"
+msgstr "Thèmes du contenu"
+
+#: src/pyams_content/component/theme/zmi/__init__.py:159
+#: src/pyams_content/shared/view/zmi/theme.py:148
+msgid "Collections..."
+msgstr "Collections"
+
+#: src/pyams_content/component/theme/zmi/__init__.py:172
+msgid "Content collections"
+msgstr "Collections associées au contenu"
+
+#: src/pyams_content/interfaces/__init__.py:95
+msgid "Unique key"
+msgstr "Clé unique"
+
+#: src/pyams_content/interfaces/__init__.py:96
+msgid ""
+"WARNING: this key can't be modified after creation!!! Spaces, uppercase "
+"letters ou accentuated characters will be replaced automatically."
+msgstr ""
+"ATTENTION : cette clé ne pourra plus être modifiée après sa création. Les "
+"espaces, les majuscules, les lettres accentuées et les caractères spéciaux "
+"seront remplacées automatiquement."
+
+#: src/pyams_content/interfaces/__init__.py:102
+#: src/pyams_content/shared/site/zmi/folder.py:67
+msgid "Visible label used to display content"
+msgstr "Le titre présenté aux internautes"
+
+#: src/pyams_content/interfaces/__init__.py:105
+msgid "Short name"
+msgstr "Fil d'Ariane"
+
+#: src/pyams_content/interfaces/__init__.py:106
+msgid "Short name used in breadcrumbs"
+msgstr "Libellé utilisé dans le fil d'Ariane"
+
+#: src/pyams_content/interfaces/__init__.py:113
+#: src/pyams_content/features/review/interfaces.py:74
+#: src/pyams_content/shared/view/interfaces.py:37
+msgid "Creation date"
+msgstr "Date de création"
+
+#: src/pyams_content/interfaces/__init__.py:117
+msgid "Modification date"
+msgstr "Dernière modification apportée"
+
+#: src/pyams_content/features/alert/interfaces.py:39
+msgid "Alert"
+msgstr "Alerte"
+
+#: src/pyams_content/features/alert/interfaces.py:40
+msgid "End of alert"
+msgstr "Levée d'alerte"
+
+#: src/pyams_content/features/alert/interfaces.py:41
+msgid "Information"
+msgstr "Information"
+
+#: src/pyams_content/features/alert/interfaces.py:42
+msgid "Warning"
+msgstr "Avertissement"
+
+#: src/pyams_content/features/alert/interfaces.py:43
+msgid "Recommendation"
+msgstr "Recommandation"
+
+#: src/pyams_content/features/alert/interfaces.py:55
+msgid "Is this alert visible in front-office?"
+msgstr "Si 'non', cette alerte ne sera pas présentée aux internautes"
+
+#: src/pyams_content/features/alert/interfaces.py:59
+msgid "Alert gravity"
+msgstr "Niveau de gravité"
+
+#: src/pyams_content/features/alert/interfaces.py:60
+msgid "Alert gravity will affect rendered alert style"
+msgstr "Le niveau de gravité choisi affectera le style de rendu de l'alerte"
+
+#: src/pyams_content/features/alert/interfaces.py:65
+#: src/pyams_content/features/alert/zmi/container.py:143
+msgid "Message"
+msgstr "Message"
+
+#: src/pyams_content/features/alert/interfaces.py:66
+msgid "Alert message"
+msgstr "Le message d'alerte doit être assez court et explicite"
+
+#: src/pyams_content/features/alert/interfaces.py:69
+#: src/pyams_content/features/menu/interfaces.py:64
+#: src/pyams_content/shared/imagemap/interfaces.py:96
+msgid "Internal reference"
+msgstr "Référence interne"
+
+#: src/pyams_content/features/alert/interfaces.py:70
+msgid ""
+"Internal link target reference. You can search a reference using '+' "
+"followed by internal number, of by entering text matching content title."
+msgstr ""
+"Référence interne vers la cible du lien. Vous pouvez la rechercher par des "
+"mots de son titre, ou par son numéro interne (précédé d'un '+') ; le titre "
+"d'origine peut être modifié en utilisant le titre de substitution."
+
+#: src/pyams_content/features/alert/interfaces.py:75
+msgid "Display start date"
+msgstr "Date d'affichage"
+
+#: src/pyams_content/features/alert/interfaces.py:76
+msgid "First date at which alert should be displayed"
+msgstr ""
+"Première date à laquelle l'alerte sera affichée. Laissez la zone vide pour "
+"qu'elle soit affichée immédiatement."
+
+#: src/pyams_content/features/alert/interfaces.py:79
+msgid "Display end date"
+msgstr "Date de retrait"
+
+#: src/pyams_content/features/alert/interfaces.py:80
+msgid "Last date at which alert should be displayed"
+msgstr ""
+"Dernière date à laquelle l'alerte sera affichée. Laissez la zone vide pour "
+"qu'elle ne soit pas retirée."
+
+#: src/pyams_content/features/alert/interfaces.py:83
+msgid "Maximum interval"
+msgstr "Intervalle d'affichage"
+
+#: src/pyams_content/features/alert/interfaces.py:84
+msgid ""
+"Maximum interval between alert displays on a given device, given in hours; "
+"set to 0 to always display the alert"
+msgstr ""
+"Cet intervalle est donné en heures ; passé ce délai, pour un internaute "
+"donné, l'alerte apparaîtra à nouveau. Si aucun intervalle n'est indiqué, "
+"l'alerte s'affichera en permanence."
+
+#: src/pyams_content/features/alert/zmi/container.py:53
+msgid "Alerts"
+msgstr "Alertes"
+
+#: src/pyams_content/features/alert/zmi/container.py:165
+msgid "Alert list"
+msgstr "Liste des alertes"
+
+#: src/pyams_content/features/alert/zmi/container.py:95
+msgid "No currently defined alert."
+msgstr "Aucune alerte n'est définie actuellement."
+
+#: src/pyams_content/features/alert/zmi/__init__.py:45
+msgid "Add alert"
+msgstr "Ajouter une alerte"
+
+#: src/pyams_content/features/alert/zmi/__init__.py:56
+msgid "Add new alert"
+msgstr "Ajout d'une alerte"
+
+#: src/pyams_content/features/alert/zmi/__init__.py:79
+msgid "Edit alert properties"
+msgstr "Propriétés de l'alerte"
+
+#: src/pyams_content/features/redirect/container.py:81
+msgid "not matching"
+msgstr "pas de correspondance"
+
+#: src/pyams_content/features/redirect/interfaces.py:39
+msgid "Active rule?"
+msgstr "Règle active ?"
+
+#: src/pyams_content/features/redirect/interfaces.py:40
+msgid "If 'no', selected rule is inactive"
+msgstr "Si 'non', la règle est inactive"
+
+#: src/pyams_content/features/redirect/interfaces.py:44
+msgid "Chained rule?"
+msgstr "Règle chaînée ?"
+
+#: src/pyams_content/features/redirect/interfaces.py:45
+msgid ""
+"If 'no', and if this rule is matching received request URL, the rule returns "
+"a redirection response; otherwise, the rule just rewrites the input URL "
+"which is forwarded to the next rule"
+msgstr ""
+"Si 'non', et si cette règle correspond à l'URL reçue en entrée, une réponde "
+"de redirection est renvoyée directement ; dans le cas contraire, l'URL "
+"générée par cette règle est passée en entrée de la règle suivante"
+
+#: src/pyams_content/features/redirect/interfaces.py:51
+msgid "Permanent redirect?"
+msgstr "Redirection permanente ?"
+
+#: src/pyams_content/features/redirect/interfaces.py:52
+msgid "Define if this redirection should be permanent or temporary"
+msgstr ""
+"Indique si cette redirection doit être considérée comme permanente ou "
+"temporaire"
+
+#: src/pyams_content/features/redirect/interfaces.py:56
+#: src/pyams_content/features/redirect/zmi/container.py:210
+#: src/pyams_content/features/redirect/zmi/container.py:366
+msgid "URL pattern"
+msgstr "Schéma d'URL"
+
+#: src/pyams_content/features/redirect/interfaces.py:57
+msgid "Regexp pattern of matching URLs for this redirection rule"
+msgstr "Modèle de l'URL d'origine de cette règle de redirection"
+
+#: src/pyams_content/features/redirect/interfaces.py:62
+msgid "Internal redirection target"
+msgstr "Redirection interne"
+
+#: src/pyams_content/features/redirect/interfaces.py:63
+msgid ""
+"Internal redirection reference. You can search a reference using '+' "
+"followed by internal number, of by entering text matching content title."
+msgstr ""
+"Référence interne vers une cible de redirection. Vous pouvez la rechercher "
+"par des mots de son titre, ou par son numéro interne (précédé d'un '+')"
+
+#: src/pyams_content/features/redirect/interfaces.py:69
+msgid "URL to which source URL should be redirected"
+msgstr "URL vers laquelle l'URL d'origine doit être redirigée"
+
+#: src/pyams_content/features/redirect/interfaces.py:75
+msgid "You can only provide an internal reference OR a target URL"
+msgstr ""
+"Vous ne pouvez fournir qu'une référence interne OU une URL de redirection !"
+
+#: src/pyams_content/features/redirect/interfaces.py:77
+msgid "You must provide an internal reference OR a target URL"
+msgstr "Vous devez fournir une référence interne OU une URL de redirection !"
+
+#: src/pyams_content/features/redirect/zmi/container.py:67
+msgid "Redirections"
+msgstr "Redirections"
+
+#: src/pyams_content/features/redirect/zmi/container.py:161
+msgid "Enable/disable rule"
+msgstr "Activer/désactiver la règle"
+
+#: src/pyams_content/features/redirect/zmi/container.py:188
+msgid "Chain/unchain rule"
+msgstr "Enchaîner la règle avec la suivante"
+
+#: src/pyams_content/features/redirect/zmi/container.py:220
+msgid "Target"
+msgstr "Cible"
+
+#: src/pyams_content/features/redirect/zmi/container.py:246
+msgid "Redirections list"
+msgstr "Liste des règles de redirection"
+
+#: src/pyams_content/features/redirect/zmi/container.py:261
+msgid "Redirection rules"
+msgstr "Règles de redirection"
+
+#: src/pyams_content/features/redirect/zmi/container.py:262
+msgid ""
+"Redirection rules are use to handle redirections responses when a request "
+"generates \n"
+"a famous « 404 NotFound » error.\n"
+"\n"
+"Redirections are particularly useful when you are migrating from a previous "
+"site and don't want to lose \n"
+"your SEO.\n"
+"\n"
+"You can define a set of rules which will be applied to every \"NotFound\" "
+"request; rules are based on \n"
+"regular expressions which are applied to input URL: if the rule is \"matching"
+"\", the target URL is rewritten\n"
+"and a \"Redirect\" response is send.\n"
+"\n"
+"You can chain rules together: when a rule is chained, it's rewritten URL is "
+"passed as input URL to the \n"
+"next rule, until a matching rule is found.\n"
+msgstr ""
+"Les règles de redirection sont utilisées pour transmettre des réponses de "
+"redirection au lieu de la fameuse erreur « 404 - Page non trouvée ».\n"
+"\n"
+"La gestion des redirections est particulièrement importante en phase de "
+"migration d'un site web, pour éviter les liens cassés, ne pas perdre votre "
+"référencement et faciliter la mise à jour des moteurs de recherche.\n"
+"\n"
+"Vous pouvez définir un ensemble de règles qui seront appliquées dès lors "
+"qu'une requête adressée au serveur génère une erreur de page non trouvée ; "
+"les règles sont basées sur des expressions rationnelles que l'on applique à "
+"l'URL de la requête reçue : si la règle correspond, l'URL est réécrite et "
+"une réponse de redirection vers cette nouvelle URL est renvoyée.\n"
+"\n"
+"Vous pouvez également enchaîner les règles : lorsqu'une règle est \"chaînée"
+"\", la nouvelle URL qu'elle génère est passée aux règles suivantes, jusqu'à "
+"ce qu'une règle s'applique à cette nouvelle URL.\n"
+
+#: src/pyams_content/features/redirect/zmi/container.py:288
+msgid "Test"
+msgstr "Tester !"
+
+#: src/pyams_content/features/redirect/zmi/container.py:323
+msgid "Test redirection rules"
+msgstr "Test des règles de redirection"
+
+#: src/pyams_content/features/redirect/zmi/container.py:301
+msgid "Test URL"
+msgstr "URL à tester"
+
+#: src/pyams_content/features/redirect/zmi/container.py:304
+msgid "Check inactive rules?"
+msgstr "Tester les règles inactive ?"
+
+#: src/pyams_content/features/redirect/zmi/container.py:305
+msgid "If 'yes', inactive rules will also be tested"
+msgstr "Si 'oui', les règles inactives seront également testées"
+
+#: src/pyams_content/features/redirect/zmi/container.py:313
+msgid "Close"
+msgstr "Fermer"
+
+#: src/pyams_content/features/redirect/zmi/container.py:314
+msgid "Test rules"
+msgstr "Tester cette URL"
+
+#: src/pyams_content/features/redirect/zmi/container.py:123
+msgid "No currently defined redirection rule."
+msgstr "Aucune règle de redirection n'est définie actuellement."
+
+#: src/pyams_content/features/redirect/zmi/container.py:371
+msgid "No matching rule!"
+msgstr "Aucune règle ne correspond !"
+
+#: src/pyams_content/features/redirect/zmi/container.py:365
+msgid "Input URL"
+msgstr "URL en entrée"
+
+#: src/pyams_content/features/redirect/zmi/container.py:367
+msgid "Output URL"
+msgstr "URL générée"
+
+#: src/pyams_content/features/redirect/zmi/__init__.py:50
+msgid "Add rule"
+msgstr "Ajouter une règle"
+
+#: src/pyams_content/features/redirect/zmi/__init__.py:63
+msgid "Add new redirection rule"
+msgstr "Ajout d'une règle de redirection"
+
+#: src/pyams_content/features/redirect/zmi/__init__.py:88
+msgid "Edit redirection rule properties"
+msgstr "Propriétés de la règle de redirection"
+
+#: src/pyams_content/features/redirect/zmi/__init__.py:109
+msgid ""
+"URL pattern and target URL are defined by *regular expressions* (see |"
+"regexp|).\n"
+"    \n"
+"In URL pattern, you can use any valid regular expression element, notably:\n"
+"\n"
+"- « .* » to match any list of characters \n"
+"\n"
+"- « ( ) » to \"memorize\" parts of the URL which can be replaced into target "
+"URL\n"
+"\n"
+"- special characters (like \"+\") must be escaped with an « \\\\ ».\n"
+"\n"
+"In target URL, memorized parts can be reused using « \\\\1 », « \\\\2 » and "
+"so on, where given number is\n"
+"the order of the matching pattern element.\n"
+"\n"
+".. |regexp| raw:: html\n"
+"\n"
+"    <a href=\"https://docs.python.org/3/library/re.html\" target=\"_blank"
+"\">Python Regular Expressions</a>\n"
+msgstr ""
+"Le schéma d'URL et l'URL cible sont définis en tant que « expressions "
+"rationelles » (voir |regexp|).\n"
+"\n"
+"Dans le schéma d'URL utilisé pour identifier les requêtes en entrée, vous "
+"pouvez utiliser tout élément d'une expression rationnelle valide, "
+"notamment :\n"
+"\n"
+"- « .* » pour rechercher n'importe quelle suite de caractères\n"
+"\n"
+"- « ^ » et « $ » pour identifier le début ou la fin de l'URL\n"
+"\n"
+"- « ( ) » pour \"mémoriser\" certains éléments de l'URL qui pourront être "
+"repris dans l'URL cible\n"
+"\n"
+"- les caractères spéciaux (comme les \"+\") doivent être protégés par un "
+"caractère « \\\\ ».\n"
+"\n"
+"For exemple : dans le schéma « ^/.*?oid=([a-z0-9]+)$ », toute URL contenant "
+"un paramètre \"oid\" composé de minuscules et/ou de chiffres sera mémorisé "
+"pour pouvoir être réutilisé dans l'URL cible.\n"
+"\n"
+"Dans l'URL cible, les éléments mémorisés peuvent être réutilisés en "
+"utilisant une expression comme « \\\\1 », « \\\\2 » (et ainsi de suite), le "
+"chiffre indiquant la position de l'élément dans la liste des éléments "
+"mémorisés.\n"
+"\n"
+".. |regexp| raw:: html\n"
+"\n"
+"    <a href=\"https://docs.python.org/fr/3/library/re.html\" target=\"_blank"
+"\">Expressions rationnelles en Python</a>\n"
+
+#: src/pyams_content/features/review/__init__.py:181
+#, python-format
+msgid "Request comment: {comment}"
+msgstr "Commentaire joint : {comment}"
+
+#: src/pyams_content/features/review/__init__.py:211
+#, python-format
+msgid "A new comment was added on content « {0} »"
+msgstr "Un nouveau commentaire a été ajouté pour le contenu « {0} »"
+
+#: src/pyams_content/features/review/__init__.py:168
+#, python-format
+msgid "[{service_name}] A content review is requested"
+msgstr "[{service_name}] Demande de relecture"
+
+#: src/pyams_content/features/review/interfaces.py:32
+msgid "Review request"
+msgstr "Demande de relecture"
+
+#: src/pyams_content/features/review/interfaces.py:33
+msgid "Reviewer comment"
+msgstr "Commentaire"
+
+#: src/pyams_content/features/review/interfaces.py:56
+msgid "Comment writer"
+msgstr "Rédacteur"
+
+#: src/pyams_content/features/review/interfaces.py:59
+msgid "Content reviewers"
+msgstr "Relecteurs sollicités"
+
+#: src/pyams_content/features/review/interfaces.py:62
+msgid "Comment type"
+msgstr "Type de commentaire"
+
+#: src/pyams_content/features/review/interfaces.py:67
+msgid "Comment body"
+msgstr "Commentaire"
+
+#: src/pyams_content/features/review/interfaces.py:70
+msgid "Reviewer comment?"
+msgstr "Commentaire d'un relecteur ?"
+
+#: src/pyams_content/features/review/interfaces.py:86
+msgid "Reviewers list"
+msgstr "Liste des relecteurs"
+
+#: src/pyams_content/features/review/interfaces.py:87
+msgid "List of principals which reviewed the comment"
+msgstr "Liste des utilisateurs qui ont apporté des commentaires sur ce contenu"
+
+#: src/pyams_content/features/review/zmi/__init__.py:55
+msgid "Ask for review..."
+msgstr "Demander une relecture"
+
+#: src/pyams_content/features/review/zmi/__init__.py:94
+msgid "Content review request"
+msgstr "Demande de relecture"
+
+#: src/pyams_content/features/review/zmi/__init__.py:159
+msgid "Comments"
+msgstr "Commentaires"
+
+#: src/pyams_content/features/review/zmi/__init__.py:179
+msgid "Review comments"
+msgstr "Commentaires associés à cette version"
+
+#: src/pyams_content/features/review/zmi/__init__.py:65
+msgid "Sought principals"
+msgstr "Relecteurs sollicités"
+
+#: src/pyams_content/features/review/zmi/__init__.py:66
+msgid "List of principals from which a review is requested"
+msgstr ""
+"Liste des utilisateurs que vous souhaitez solliciter par mail pour relire ce "
+"contenu"
+
+#: src/pyams_content/features/review/zmi/__init__.py:69
+msgid "Comment"
+msgstr "Commentaire"
+
+#: src/pyams_content/features/review/zmi/__init__.py:70
+msgid "Comment associated with this request"
+msgstr ""
+"Ce commentaire associé à cette demande sera également transmis par mail"
+
+#: src/pyams_content/features/review/zmi/__init__.py:73
+msgid "Notify all reviewers"
+msgstr "Notifier tous les relecteurs"
+
+#: src/pyams_content/features/review/zmi/__init__.py:74
+msgid ""
+"If 'yes', selected reviewers will be notified by mail of your request, even "
+"if they were already members of the reviewers group. Otherwise, only new "
+"reviewers will be notified"
+msgstr ""
+"Si 'oui', tous les relecteurs sollicités seront notifiés par mail de votre "
+"demande, même s'ils avaient déjà été sollicités auparavant. Dans le cas "
+"contraire, seuls les nouveaux relecteurs seront notifiés."
+
+#: src/pyams_content/features/review/zmi/__init__.py:85
+msgid "Ask for content review"
+msgstr "Demander la relecture"
+
+#: src/pyams_content/features/review/zmi/__init__.py:140
+msgid "Request successful. No new notification have been sent"
+msgstr ""
+"Votre demande a été transmise. Aucune nouvelle notification n'a été envoyée."
+
+#: src/pyams_content/features/review/zmi/__init__.py:256
+msgid "Message is mandatory!"
+msgstr "Un commentaire est obligatoire !"
+
+#: src/pyams_content/features/review/zmi/__init__.py:128
+#, python-format
+msgid "Request successful. {count} new notification(s) have been sent"
+msgstr "Votre demande a été transmise. {count} notification(s) envoyée(s)."
+
+#: src/pyams_content/features/review/zmi/templates/review-comments-json.pt:15
+#: src/pyams_content/features/review/zmi/templates/review-comments.pt:32
+#: src/pyams_content/features/review/zmi/templates/review-add-comment.pt:14
+msgid "Review query from"
+msgstr "Demande de relecture de "
+
+#: src/pyams_content/features/review/zmi/templates/review-comments-json.pt:21
+#: src/pyams_content/features/review/zmi/templates/review-comments.pt:38
+#: src/pyams_content/features/review/zmi/templates/review-add-comment.pt:20
+msgid "(as reviewer)"
+msgstr "(relecteur)"
+
+#: src/pyams_content/features/review/zmi/templates/review-comments-json.pt:30
+#: src/pyams_content/features/review/zmi/templates/review-comments.pt:47
+msgid "Selected reviewers:"
+msgstr "Auprès de :"
+
+#: src/pyams_content/features/review/zmi/templates/review-comments.pt:64
+msgid "Add comment"
+msgstr "Déposer un commentaire"
+
+#: src/pyams_content/features/review/zmi/templates/review-comments.pt:67
+msgid "Add a comment..."
+msgstr "Votre commentaire..."
+
+#: src/pyams_content/features/review/zmi/templates/review-comments.pt:73
+msgid "Add this comment"
+msgstr "Ajouter ce commentaire"
+
+#: src/pyams_content/features/review/zmi/templates/review-notification.pt:4
+msgid "[${service_name}] You are requested for a content review"
+msgstr "[${service_name}] Demande de relecture"
+
+#: src/pyams_content/features/review/zmi/templates/review-notification.pt:30
+msgid "Hello,"
+msgstr "Bonjour,"
+
+#: src/pyams_content/features/review/zmi/templates/review-notification.pt:31
+msgid ""
+"You have been requested by ${sender}, contributor of « ${service_name} » "
+"website, to make a review of a content."
+msgstr ""
+"Vous êtes sollicité par ${sender}, contributeur du site internet "
+"${service_name}, qui souhaite recueillir votre commentaire à propos d'un "
+"contenu."
+
+#: src/pyams_content/features/review/zmi/templates/review-notification.pt:36
+msgid "${sender} added the following message to his request:"
+msgstr "${sender} a accompagné sa demande de relecture du message suivant :"
+
+#: src/pyams_content/features/review/zmi/templates/review-notification.pt:41
+msgid ""
+"To review and comment this publication, please use the following link: "
+"${target}."
+msgstr "Pour accéder à cette contribution, cliquer ici : ${target}."
+
+#: src/pyams_content/features/review/zmi/templates/review-notification.pt:44
+msgid "After reading this content, please use the « Comments » menu entry."
+msgstr ""
+"Lorsque vous aurez pris connaissance du contenu, cliquez sur « Commentaires "
+"» dans le menu en colonne de gauche."
+
+#: src/pyams_content/features/review/zmi/templates/review-notification.pt:45
+msgid ""
+"If you don't want to reply to this request, please contact ${sender} "
+"directly by replying to this mail."
+msgstr ""
+"Si vous ne souhaitez pas donner suite à cette demande, vous pouvez répondre "
+"directement à ${sender} en lui adressant un message dans ce sens."
+
+#: src/pyams_content/features/review/zmi/templates/review-notification.pt:47
+msgid "Thank you."
+msgstr "Merci."
+
+#: src/pyams_content/features/review/zmi/templates/review-add-comment.pt:22
+msgid "just now"
+msgstr "À l'instant !"
+
+#: src/pyams_content/features/renderer/zmi/__init__.py:67
+#: src/pyams_content/features/renderer/zmi/templates/renderer-input.pt:4
+msgid "Edit renderer properties"
+msgstr "Propriétés de ce mode de rendu"
+
+#: src/pyams_content/features/renderer/skin/__init__.py:65
+msgid "Hidden content"
+msgstr "NON affiché"
+
+#: src/pyams_content/features/preview/zmi/__init__.py:62
+msgid "Content preview"
+msgstr "Aperçu du contenu"
+
+#: src/pyams_content/features/preview/zmi/__init__.py:67
+#, python-format
+msgid "{title} ({preview})"
+msgstr "{title} ({preview})"
+
+#: src/pyams_content/features/preview/zmi/__init__.py:68
+msgid "preview"
+msgstr "aperçu"
+
+#: src/pyams_content/features/footer/interfaces.py:39
+msgid "Footer template"
+msgstr "Mode de rendu"
+
+#: src/pyams_content/features/footer/interfaces.py:40
+msgid "Presentation template used for this footer"
+msgstr "Mode de rendu utilisé par ce pied de page"
+
+#: src/pyams_content/features/footer/zmi/__init__.py:60
+msgid "Page footer"
+msgstr "Pied de pages"
+
+#: src/pyams_content/features/footer/zmi/__init__.py:78
+msgid "Edit footer settings"
+msgstr "Paramétrage des pieds de pages"
+
+#: src/pyams_content/features/footer/zmi/__init__.py:152
+msgid ""
+"WARNING: Footer properties are saved automatically when changing inherit "
+"mode!!"
+msgstr ""
+"ATTENTION : les propriétés du pied de page sont enregistrées automatiquement "
+"lorsque vous modifiez le mode d'héritage !!"
+
+#: src/pyams_content/features/footer/zmi/__init__.py:220
+msgid "Footer renderer settings"
+msgstr "Propriétés de ce mode de rendu"
+
+#: src/pyams_content/features/footer/zmi/__init__.py:107
+msgid "Don't inherit parent footer"
+msgstr "Ne pas hériter du pied de pages du parent"
+
+#: src/pyams_content/features/footer/skin/__init__.py:91
+msgid "Hidden footer"
+msgstr "Ne pas afficher de pied de pages"
+
+#: src/pyams_content/features/menu/interfaces.py:60
+msgid "Menu title"
+msgstr "Libellé"
+
+#: src/pyams_content/features/menu/interfaces.py:61
+msgid "Displayed menu label"
+msgstr "Libellé du menu"
+
+#: src/pyams_content/features/menu/interfaces.py:65
+msgid "Direct reference to menu target"
+msgstr ""
+"Lorsque le menu est utilisé dans l'en-tête de page, référence interne vers "
+"la cible du menu (site ou rubrique) permettant de mettre en évidence le menu "
+"actif ; un lien sera également créé vers cette référence si le menu ne "
+"contient aucun lien."
+
+#: src/pyams_content/features/menu/interfaces.py:69
+msgid "Name of the pictogram associated with this menu"
+msgstr ""
+"Pictogramme à associer à ce menu. ATTENTION: ce pictogramme n'est affiché "
+"que par certains modes de rendu !!"
+
+#: src/pyams_content/features/menu/portlet/navigation/simple.py:67
+msgid "Simple navigation"
+msgstr "Navigation à un niveau"
+
+#: src/pyams_content/features/menu/portlet/navigation/double.py:67
+msgid "Double navigation"
+msgstr "Navigation à deux niveaux"
+
+#: src/pyams_content/features/menu/portlet/navigation/interfaces/simple.py:32
+#: src/pyams_content/features/menu/portlet/navigation/interfaces/double.py:32
+msgid "Portlet main title"
+msgstr "Titre du composant"
+
+#: src/pyams_content/features/menu/portlet/navigation/zmi/simple.py:69
+msgid "Navigation links"
+msgstr "Liens de navigation"
+
+#: src/pyams_content/features/menu/portlet/navigation/zmi/double.py:69
+msgid "Navigation menus"
+msgstr "Menus de navigation"
+
+#: src/pyams_content/features/menu/portlet/navigation/zmi/templates/double-preview.pt:14
+#: src/pyams_content/features/menu/portlet/navigation/zmi/templates/simple-preview.pt:11
+msgid "Link has no illustration"
+msgstr "Le lien n'a pas d'illustration"
+
+#: src/pyams_content/features/menu/zmi/__init__.py:77
+msgid "Add menu..."
+msgstr "Ajouter une entrée"
+
+#: src/pyams_content/features/menu/zmi/__init__.py:88
+msgid "Add new menu"
+msgstr "Ajout d'un menu"
+
+#: src/pyams_content/features/menu/zmi/__init__.py:121
+msgid "Edit menu properties"
+msgstr "Propriétés du menu"
+
+#: src/pyams_content/features/menu/zmi/__init__.py:215
+#: src/pyams_content/shared/form/interfaces.py:60
+#: src/pyams_content/shared/form/zmi/field.py:167
+#: src/pyams_content/shared/common/interfaces/types.py:47
+msgid "Label"
+msgstr "Libellé"
+
+#: src/pyams_content/features/menu/zmi/__init__.py:108
+msgid "Menu was correctly added."
+msgstr "Le menu a été ajouté."
+
+#: src/pyams_content/features/menu/zmi/__init__.py:395
+msgid "Link was correctly added."
+msgstr "Le lien a été ajouté."
+
+#: src/pyams_content/features/menu/zmi/templates/menu-name-cell.pt:7
+msgid "Click to see menu items"
+msgstr "Montrer ou cacher les éléments du menu"
+
+#: src/pyams_content/features/search/__init__.py:38
+msgid "Search folder"
+msgstr "Moteur de recherche"
+
+#: src/pyams_content/features/search/interfaces.py:36
+#: src/pyams_content/shared/common/interfaces/__init__.py:52
+#: src/pyams_content/shared/common/interfaces/__init__.py:196
+msgid "Managers"
+msgstr "Responsables"
+
+#: src/pyams_content/features/search/interfaces.py:37
+#: src/pyams_content/shared/common/interfaces/__init__.py:53
+#: src/pyams_content/shared/common/interfaces/__init__.py:197
+msgid ""
+"Managers can handle main operations in tool's workflow, like publish or "
+"retire contents"
+msgstr ""
+"Les responsables peuvent intervenir sur les étapes importantes du workflow "
+"(comme la publication ou le retrait des contenus), dans la limite des "
+"restrictions qui leur sont imposées"
+
+#: src/pyams_content/features/search/interfaces.py:42
+#: src/pyams_content/shared/common/interfaces/__init__.py:63
+#: src/pyams_content/shared/common/interfaces/__init__.py:208
+msgid "Designers"
+msgstr "Designers"
+
+#: src/pyams_content/features/search/interfaces.py:43
+#: src/pyams_content/shared/common/interfaces/__init__.py:64
+#: src/pyams_content/shared/common/interfaces/__init__.py:209
+msgid "Designers are users which are allowed to manage presentation templates"
+msgstr "Les designers sont autorisés à configurer les modèles de présentation"
+
+#: src/pyams_content/features/search/interfaces.py:47
+#: src/pyams_content/shared/common/interfaces/__init__.py:219
+msgid "Guests"
+msgstr "Invités"
+
+#: src/pyams_content/features/search/interfaces.py:48
+#: src/pyams_content/shared/common/interfaces/__init__.py:220
+msgid ""
+"Guests are users which are allowed to view contents with restricted access"
+msgstr ""
+"Les invités sont autorisés à consulter des contenus dont l'accès a été "
+"restreint"
+
+#: src/pyams_content/features/search/interfaces.py:56
+#: src/pyams_content/shared/site/interfaces.py:96
+msgid "Visible in folders list"
+msgstr "Visible dans la liste des rubriques ?"
+
+#: src/pyams_content/features/search/interfaces.py:57
+#: src/pyams_content/shared/site/interfaces.py:97
+msgid "If 'no', folder will not be displayed into folders list"
+msgstr ""
+"Si 'non', cette rubrique ne sera pas affichée dans la liste des rubriques "
+"affichée par un composant de navigation"
+
+#: src/pyams_content/features/search/interfaces.py:61
+#: src/pyams_content/shared/site/interfaces.py:101
+#: src/pyams_content/shared/site/interfaces.py:165
+msgid "Navigation title"
+msgstr "Titre de navigation"
+
+#: src/pyams_content/features/search/interfaces.py:62
+#: src/pyams_content/shared/site/interfaces.py:102
+msgid ""
+"Folder's title displayed in navigation pages; original title will be used if "
+"none is specified"
+msgstr ""
+"Titre de substitution affiché dans les composants de navigation ; si rien "
+"n'est indiqué, le titre original de la rubrique sera utilisé"
+
+#: src/pyams_content/features/search/interfaces.py:66
+msgid "Selected content types"
+msgstr "Gabarits sélectionnés"
+
+#: src/pyams_content/features/search/interfaces.py:67
+msgid "Searched content types; leave empty for all"
+msgstr ""
+"Gabarits sélectionnés ; si cette sélection est vide, tous les gabarits "
+"seront pris en charge"
+
+#: src/pyams_content/features/search/interfaces.py:71
+msgid "Selected data types"
+msgstr "Types de contenus sélectionnés"
+
+#: src/pyams_content/features/search/interfaces.py:72
+msgid "Searched data types; leave empty for all"
+msgstr ""
+"Types de contenus sélectionnés ; si cette sélection est vide, tous les "
+"contenus (typés ou non) seront pris en charge"
+
+#: src/pyams_content/features/search/zmi/properties.py:36
+msgid "Main search settings"
+msgstr "Paramètres de la recherche"
+
+#: src/pyams_content/features/search/zmi/properties.py:56
+#: src/pyams_content/shared/site/zmi/folder.py:203
+msgid "Navigation properties"
+msgstr "Propriétés de navigation"
+
+#: src/pyams_content/features/search/zmi/__init__.py:63
+msgid "This search folder"
+msgstr "Ce moteur de recherche"
+
+#: src/pyams_content/features/search/zmi/__init__.py:82
+msgid "Add search folder..."
+msgstr "Ajouter un moteur de recherche"
+
+#: src/pyams_content/features/search/zmi/__init__.py:98
+msgid "Add search folder"
+msgstr "Ajout d'un moteur de recherche"
+
+#: src/pyams_content/features/search/zmi/__init__.py:73
+#, python-format
+msgid "Search folder « {title} »"
+msgstr "Moteur de recherche « {title} »"
+
+#: src/pyams_content/features/search/zmi/theme.py:35
+msgid "Search folder tags settings"
+msgstr "Paramétrage des tags du moteur de recherche"
+
+#: src/pyams_content/features/search/zmi/theme.py:51
+msgid "Search folder themes settings"
+msgstr "Paramétrage des thèmes du moteur de recherche"
+
+#: src/pyams_content/features/search/zmi/theme.py:67
+msgid "Search folder collections settings"
+msgstr "Paramétrage des collections du moteur de recherche"
+
+#: src/pyams_content/features/search/zmi/reference.py:31
+msgid "Search folder internal references settings"
+msgstr "Références internes du moteur de recherche"
+
+#: src/pyams_content/features/checker/interfaces.py:27
+#, python-format
+msgid " - {field}: <span class=\"text-danger\">no value</span>"
+msgstr " - {field} : <span class=\"text-danger\">non renseigné</span>"
+
+#: src/pyams_content/features/checker/interfaces.py:28
+#, python-format
+msgid " - {field} ({lang}): <span class=\"text-danger\">no value</span>"
+msgstr " - {field} ({lang}) : <span class=\"text-danger\">non renseigné</span>"
+
+#: src/pyams_content/features/checker/interfaces.py:29
+#, python-format
+msgid " - {field}: <span class=\"text-danger\">{message}</span>"
+msgstr " - {field} : <span class=\"text-danger\">{message}</span>"
+
+#: src/pyams_content/features/checker/zmi/__init__.py:43
+#: src/pyams_content/shared/common/zmi/templates/check-input.pt:39
+msgid "Audit"
+msgstr "Audit"
+
+#: src/pyams_content/features/checker/zmi/__init__.py:58
+msgid "Content check"
+msgstr "Audit du contenu"
+
+#: src/pyams_content/features/checker/zmi/__init__.py:82
+msgid "No checker available. This content is clean!"
+msgstr "Pas de vérificateur disponible pour ce contenu."
+
+#: src/pyams_content/features/checker/zmi/__init__.py:78
+#, python-format
+msgid "{0}:"
+msgstr "{0} :"
+
+#: src/pyams_content/features/header/zmi/__init__.py:66
+msgid "Page header"
+msgstr "En-tête de pages"
+
+#: src/pyams_content/features/header/zmi/__init__.py:84
+msgid "Edit header settings"
+msgstr "Paramétrage des en-têtes de pages"
+
+#: src/pyams_content/features/header/zmi/__init__.py:161
+msgid ""
+"WARNING: Header properties are saved automatically when changing inherit "
+"mode!!"
+msgstr ""
+"ATTENTION : les propriétés de l'en-tête sont enregistrées automatiquement "
+"lorsque vous modifiez le mode d'héritage !!"
+
+#: src/pyams_content/features/header/zmi/__init__.py:229
+msgid "Header renderer settings"
+msgstr "Propriétés de ce mode de rendu"
+
+#: src/pyams_content/features/header/zmi/__init__.py:113
+msgid "Don't inherit parent header"
+msgstr "Ne pas hériter de l'en-tête de pages du parent"
+
+#: src/pyams_content/features/header/skin/__init__.py:96
+msgid "Hidden header"
+msgstr "Ne pas afficher d'en-tête de pages"
+
+#: src/pyams_content/profile/interfaces.py:33
+msgid "User favorites"
+msgstr "Favoris de l'utilisateur"
+
+#: src/pyams_content/profile/interfaces.py:34
+msgid "List of internal numbers of shared contents stored for quick access"
+msgstr "Liste des numéros internes des contenus mémorisés pour un accès rapide"
+
+#: src/pyams_content/profile/interfaces.py:37
+msgid "Default table length"
+msgstr "Longueur des tableaux"
+
+#: src/pyams_content/profile/interfaces.py:38
+msgid "Default length used for inner tables and dashboards"
+msgstr "Longueur par défaut des tableaux internes et des tableaux de bord"
+
+#: src/pyams_content/profile/zmi/__init__.py:42
+msgid "Admin. profile"
+msgstr "Profil intervenant"
+
+#: src/pyams_content/skin/zmi/viewlet/toplinks/__init__.py:43
+msgid "Shared sites"
+msgstr "Sites et blogs"
+
+#: src/pyams_content/skin/zmi/viewlet/toplinks/__init__.py:64
+msgid "Shared contents"
+msgstr "Gabarits"
+
+#: src/pyams_content/skin/zmi/viewlet/toplinks/__init__.py:87
+msgid "Shared tools"
+msgstr "Outils"
+
+#: src/pyams_content/skin/zmi/viewlet/toplinks/__init__.py:110
+msgid "My roles"
+msgstr "Mes rôles"
+
+#: src/pyams_content/skin/zmi/viewlet/toplinks/templates/user-addings.pt:7
+msgid "Create new content"
+msgstr "Créer un nouveau contenu"
+
+#: src/pyams_content/root/__init__.py:63
+msgid "Site root"
+msgstr "Racine du site"
+
+#: src/pyams_content/root/interfaces.py:33
+msgid "Site managers"
+msgstr "Administrateurs"
+
+#: src/pyams_content/root/interfaces.py:37
+#: src/pyams_content/shared/common/interfaces/__init__.py:41
+msgid "Webmasters"
+msgstr "Webmestres"
+
+#: src/pyams_content/root/interfaces.py:41
+msgid "Templates managers"
+msgstr "Designers"
+
+#: src/pyams_content/root/interfaces.py:45
+msgid "Operators group"
+msgstr "Groupe des opérateurs"
+
+#: src/pyams_content/root/interfaces.py:46
+msgid "Name of group containing all roles owners"
+msgstr ""
+"Tous les utilisateurs auxquels sera attribué un rôle seront placés dans ce "
+"groupe"
+
+#: src/pyams_content/root/zmi/sites.py:63
+#: src/pyams_content/shared/site/zmi/container.py:173
+#: src/pyams_content/shared/site/zmi/container.py:183
+msgid "Site tree"
+msgstr "Arborescence"
+
+#: src/pyams_content/root/zmi/sites.py:73
+msgid "Blogs and shared sites"
+msgstr "Blogs et sites partagés"
+
+#: src/pyams_content/root/zmi/sites.py:103
+msgid "Visible site?"
+msgstr "Site visible ?"
+
+#: src/pyams_content/root/zmi/sites.py:129
+msgid "OID"
+msgstr "N° IN"
+
+#: src/pyams_content/root/zmi/sites.py:147
+msgid "Delete shared site"
+msgstr "Supprimer ce site"
+
+#: src/pyams_content/root/zmi/sites.py:166
+#: src/pyams_content/shared/imagemap/zmi/container.py:175
+msgid "No provided object_name argument!"
+msgstr "Argument 'object_name' non fourni !"
+
+#: src/pyams_content/root/zmi/sites.py:175
+msgid "Given element name doesn't exist!"
+msgstr "Le nom de l'élément indiqué n'existe pas !"
+
+#: src/pyams_content/root/zmi/__init__.py:78
+msgid "Home"
+msgstr "Accueil"
+
+#: src/pyams_content/root/zmi/__init__.py:110
+#: src/pyams_content/shared/common/zmi/dashboard.py:271
+msgid "Dashboard"
+msgstr "Tableau de bord"
+
+#: src/pyams_content/root/zmi/__init__.py:159
+#: src/pyams_content/shared/common/zmi/dashboard.py:327
+#, python-format
+msgid "MANAGER - {0} content waiting for your action"
+msgstr "RESPONSABLE - {0} contenu en attente de votre intervention"
+
+#: src/pyams_content/root/zmi/__init__.py:160
+#: src/pyams_content/shared/common/zmi/dashboard.py:328
+#, python-format
+msgid "MANAGER - {0} contents waiting for your action"
+msgstr "RESPONSABLE - {0} contenus en attente de votre intervention"
+
+#: src/pyams_content/root/zmi/__init__.py:204
+#: src/pyams_content/shared/common/zmi/dashboard.py:369
+#, python-format
+msgid "CONTRIBUTOR - {0} content waiting for action"
+msgstr "CONTRIBUTEUR - {0} contenu soumis à un responsable"
+
+#: src/pyams_content/root/zmi/__init__.py:205
+#: src/pyams_content/shared/common/zmi/dashboard.py:370
+#, python-format
+msgid "CONTRIBUTOR - {0} contents waiting for action"
+msgstr "CONTRIBUTEUR - {0} contenus soumis à un responsable"
+
+#: src/pyams_content/root/zmi/__init__.py:240
+#: src/pyams_content/shared/common/zmi/dashboard.py:402
+#, python-format
+msgid "CONTRIBUTOR - {0} modified content"
+msgstr "CONTRIBUTEUR - {0} contenu modifié"
+
+#: src/pyams_content/root/zmi/__init__.py:283
+#: src/pyams_content/shared/common/zmi/dashboard.py:443
+msgid "My contents"
+msgstr "Mes contenus"
+
+#: src/pyams_content/root/zmi/__init__.py:298
+#: src/pyams_content/root/zmi/templates/dashboard.pt:8
+#: src/pyams_content/shared/common/zmi/dashboard.py:458
+#: src/pyams_content/shared/common/zmi/templates/dashboard.pt:8
+msgid "My favorites"
+msgstr "Mes favoris"
+
+#: src/pyams_content/root/zmi/__init__.py:307
+#: src/pyams_content/shared/common/zmi/dashboard.py:467
+#, python-format
+msgid "CONTRIBUTOR - {0} favorite"
+msgstr "CONTRIBUTEUR - {0} contenu favori"
+
+#: src/pyams_content/root/zmi/__init__.py:308
+#: src/pyams_content/shared/common/zmi/dashboard.py:468
+#, python-format
+msgid "CONTRIBUTOR - {0} favorites"
+msgstr "CONTRIBUTEUR - {0} contenus favoris"
+
+#: src/pyams_content/root/zmi/__init__.py:346
+#: src/pyams_content/shared/common/zmi/dashboard.py:543
+msgid "Your favorite contents"
+msgstr "Mes contenus favoris"
+
+#: src/pyams_content/root/zmi/__init__.py:359
+#: src/pyams_content/shared/common/zmi/dashboard.py:556
+msgid "My drafts"
+msgstr "Mes brouillons"
+
+#: src/pyams_content/root/zmi/__init__.py:368
+#: src/pyams_content/shared/common/zmi/dashboard.py:565
+#, python-format
+msgid "CONTRIBUTOR - {0} content in preparation"
+msgstr "CONTRIBUTEUR - {0} contenu en préparation"
+
+#: src/pyams_content/root/zmi/__init__.py:369
+#: src/pyams_content/shared/common/zmi/dashboard.py:566
+#, python-format
+msgid "CONTRIBUTOR - {0} contents in preparation"
+msgstr "CONTRIBUTEUR - {0} contenus en préparation"
+
+#: src/pyams_content/root/zmi/__init__.py:408
+#: src/pyams_content/shared/common/zmi/dashboard.py:607
+msgid "Your prepared contents"
+msgstr "Mes contenus en préparation"
+
+#: src/pyams_content/root/zmi/__init__.py:421
+#: src/pyams_content/shared/common/zmi/dashboard.py:620
+msgid "My submissions"
+msgstr "Mes demandes"
+
+#: src/pyams_content/root/zmi/__init__.py:430
+#: src/pyams_content/shared/common/zmi/dashboard.py:629
+#, python-format
+msgid "CONTRIBUTOR - {0} submitted content"
+msgstr "CONTRIBUTEUR - {0} contenu soumis à un responsable"
+
+#: src/pyams_content/root/zmi/__init__.py:431
+#: src/pyams_content/shared/common/zmi/dashboard.py:630
+#, python-format
+msgid "CONTRIBUTOR - {0} submitted contents"
+msgstr "CONTRIBUTEUR - {0} contenus soumis à un responsable"
+
+#: src/pyams_content/root/zmi/__init__.py:470
+#: src/pyams_content/shared/common/zmi/dashboard.py:671
+msgid "Your submitted contents"
+msgstr "Mes contenus soumis à un responsable"
+
+#: src/pyams_content/root/zmi/__init__.py:483
+#: src/pyams_content/shared/common/zmi/dashboard.py:684
+msgid "My publications"
+msgstr "Mes publications"
+
+#: src/pyams_content/root/zmi/__init__.py:492
+#: src/pyams_content/shared/common/zmi/dashboard.py:693
+#, python-format
+msgid "CONTRIBUTOR - {0} published content"
+msgstr "CONTRIBUTEUR - {0} contenu publié"
+
+#: src/pyams_content/root/zmi/__init__.py:493
+#: src/pyams_content/shared/common/zmi/dashboard.py:694
+#, python-format
+msgid "CONTRIBUTOR - {0} published contents"
+msgstr "CONTRIBUTEUR - {0} contenus publiés"
+
+#: src/pyams_content/root/zmi/__init__.py:532
+#: src/pyams_content/shared/common/zmi/dashboard.py:735
+msgid "Your published contents"
+msgstr "Mes contenus publiés"
+
+#: src/pyams_content/root/zmi/__init__.py:545
+#: src/pyams_content/shared/common/zmi/dashboard.py:748
+msgid "My retired contents"
+msgstr "Mes contenus retirés"
+
+#: src/pyams_content/root/zmi/__init__.py:554
+#: src/pyams_content/shared/common/zmi/dashboard.py:757
+#, python-format
+msgid "CONTRIBUTOR - {0} retired content"
+msgstr "CONTRIBUTEUR - {0} contenu retiré"
+
+#: src/pyams_content/root/zmi/__init__.py:555
+#: src/pyams_content/shared/common/zmi/dashboard.py:758
+#, python-format
+msgid "CONTRIBUTOR - {0} retired contents"
+msgstr "CONTRIBUTEUR - {0} contenus retirés"
+
+#: src/pyams_content/root/zmi/__init__.py:595
+#: src/pyams_content/shared/common/zmi/dashboard.py:799
+msgid "Your retired contents"
+msgstr "Mes contenus retirés"
+
+#: src/pyams_content/root/zmi/__init__.py:608
+#: src/pyams_content/shared/common/zmi/dashboard.py:812
+msgid "My archived contents"
+msgstr "Mes contenus archivés"
+
+#: src/pyams_content/root/zmi/__init__.py:617
+#: src/pyams_content/shared/common/zmi/dashboard.py:821
+#, python-format
+msgid "CONTRIBUTOR - {0} archived content"
+msgstr "CONTRIBUTEUR - {0} contenu archivé"
+
+#: src/pyams_content/root/zmi/__init__.py:618
+#: src/pyams_content/shared/common/zmi/dashboard.py:822
+#, python-format
+msgid "CONTRIBUTOR - {0} archived contents"
+msgstr "CONTRIBUTEUR - {0} contenus archivés"
+
+#: src/pyams_content/root/zmi/__init__.py:664
+#: src/pyams_content/shared/common/zmi/dashboard.py:869
+msgid "Your archived contents"
+msgstr "Mes contenus archivés"
+
+#: src/pyams_content/root/zmi/__init__.py:678
+#: src/pyams_content/shared/common/zmi/dashboard.py:883
+msgid "Other interventions"
+msgstr "Toutes les interventions"
+
+#: src/pyams_content/root/zmi/__init__.py:693
+#: src/pyams_content/shared/common/zmi/dashboard.py:898
+msgid "Last publications"
+msgstr "Dernières publications"
+
+#: src/pyams_content/root/zmi/__init__.py:702
+#: src/pyams_content/shared/common/zmi/dashboard.py:907
+#, python-format
+msgid "CONTRIBUTORS - {0} published content"
+msgstr "TOUS CONTRIBUTEURS - {0} contenu publié"
+
+#: src/pyams_content/root/zmi/__init__.py:748
+#: src/pyams_content/shared/common/zmi/dashboard.py:954
+msgid "Last published contents"
+msgstr "Derniers contenus publiés"
+
+#: src/pyams_content/root/zmi/__init__.py:761
+#: src/pyams_content/shared/common/zmi/dashboard.py:967
+msgid "Last updates"
+msgstr "Dernières modifications"
+
+#: src/pyams_content/root/zmi/__init__.py:770
+#: src/pyams_content/shared/common/zmi/dashboard.py:976
+#, python-format
+msgid "CONTRIBUTORS - {0} updated content"
+msgstr "TOUS CONTRIBUTEURS - {0} contenu modifié"
+
+#: src/pyams_content/root/zmi/__init__.py:814
+#: src/pyams_content/shared/common/zmi/dashboard.py:1021
+msgid "Last updated contents"
+msgstr "Derniers contenus modifiés"
+
+#: src/pyams_content/root/zmi/__init__.py:825
+#: src/pyams_content/shared/site/zmi/container.py:404
+msgid "Content"
+msgstr "Contenu"
+
+#: src/pyams_content/root/zmi/__init__.py:245
+#: src/pyams_content/shared/common/zmi/dashboard.py:407
+#, python-format
+msgid "CONTRIBUTOR - {0} modified contents"
+msgstr "CONTRIBUTEUR - {0} contenus modifiés"
+
+#: src/pyams_content/root/zmi/__init__.py:247
+#: src/pyams_content/shared/common/zmi/dashboard.py:409
+#, python-format
+msgid "CONTRIBUTOR - Last {0} modified contents"
+msgstr "CONTRIBUTEUR - Les {0} dernières modifications"
+
+#: src/pyams_content/root/zmi/__init__.py:707
+#: src/pyams_content/shared/common/zmi/dashboard.py:912
+#, python-format
+msgid "CONTRIBUTORS - Last {0} published contents"
+msgstr "TOUS CONTRIBUTEURS - Les {0} dernières publications"
+
+#: src/pyams_content/root/zmi/__init__.py:709
+#: src/pyams_content/shared/common/zmi/dashboard.py:914
+msgid "CONTRIBUTORS - Last published contents (in the limit of 50)"
+msgstr "TOUS CONTRIBUTEURS - Les {0} dernières publications"
+
+#: src/pyams_content/root/zmi/__init__.py:775
+#: src/pyams_content/shared/common/zmi/dashboard.py:981
+#, python-format
+msgid "CONTRIBUTORS - Last {0} updated contents"
+msgstr "TOUS CONTRIBUTEURS - Les {0} dernières modifications"
+
+#: src/pyams_content/root/zmi/__init__.py:777
+#: src/pyams_content/shared/common/zmi/dashboard.py:983
+msgid "CONTRIBUTORS - Last updated contents (in the limit of 50)"
+msgstr "TOUS CONTRIBUTEURS - Les {0} dernières modifications"
+
+#: src/pyams_content/root/zmi/search.py:95
+#: src/pyams_content/shared/common/zmi/search.py:96
+msgid "Quick search results"
+msgstr "Résultats de la recherche rapide"
+
+#: src/pyams_content/root/zmi/search.py:152
+#: src/pyams_content/root/zmi/search.py:188
+#: src/pyams_content/shared/common/zmi/search.py:162
+#: src/pyams_content/shared/common/zmi/search.py:204
+msgid "Advanced search"
+msgstr "Recherche avancée"
+
+#: src/pyams_content/root/zmi/search.py:280
+#: src/pyams_content/shared/common/zmi/search.py:332
+msgid "Advanced search results"
+msgstr "Résultats de la recherche avancée"
+
+#: src/pyams_content/root/zmi/search.py:160
+msgid "Content types"
+msgstr "Types de contenus"
+
+#: src/pyams_content/root/zmi/search.py:164
+#: src/pyams_content/shared/common/zmi/dashboard.py:226
+#: src/pyams_content/shared/common/zmi/search.py:170
+msgid "Owner"
+msgstr "Propriétaire"
+
+#: src/pyams_content/root/zmi/search.py:167
+#: src/pyams_content/shared/common/zmi/search.py:177
+msgid "Created after..."
+msgstr "Créé entre le"
+
+#: src/pyams_content/root/zmi/search.py:170
+#: src/pyams_content/shared/common/zmi/search.py:180
+msgid "Created before..."
+msgstr "et le"
+
+#: src/pyams_content/root/zmi/search.py:173
+#: src/pyams_content/shared/common/zmi/search.py:183
+msgid "Modified after..."
+msgstr "Modifié entre le"
+
+#: src/pyams_content/root/zmi/search.py:176
+#: src/pyams_content/shared/common/zmi/search.py:186
+msgid "Modified before..."
+msgstr "et le"
+
+#: src/pyams_content/root/zmi/templates/dashboard.pt:7
+msgid "Your contents dashboard"
+msgstr "Les contenus qui me concernent"
+
+#: src/pyams_content/root/zmi/templates/dashboard.pt:18
+msgid "SEARCH - Between all contents"
+msgstr "RECHERCHE - Tous contenus confondus"
+
+#: src/pyams_content/root/zmi/templates/dashboard.pt:29
+#: src/pyams_content/shared/common/zmi/templates/dashboard.pt:29
+msgid "Quick search..."
+msgstr "Recherche rapide..."
+
+#: src/pyams_content/root/zmi/templates/dashboard.pt:35
+#: src/pyams_content/shared/common/zmi/templates/dashboard.pt:35
+msgid "Advanced search..."
+msgstr "Recherche avancée..."
+
+#: src/pyams_content/root/zmi/templates/dashboard.pt:49
+#: src/pyams_content/shared/common/zmi/templates/dashboard.pt:49
+msgid "You are not actually concerned by any content."
+msgstr "Vous n'êtes actuellement concerné par aucun contenu."
+
+#: src/pyams_content/root/zmi/templates/advanced-search.pt:130
+#: src/pyams_content/shared/common/zmi/templates/advanced-search.pt:130
+msgid "Created between"
+msgstr "Créé entre le"
+
+#: src/pyams_content/root/zmi/templates/advanced-search.pt:142
+#: src/pyams_content/root/zmi/templates/advanced-search.pt:168
+#: src/pyams_content/shared/common/zmi/templates/advanced-search.pt:142
+#: src/pyams_content/shared/common/zmi/templates/advanced-search.pt:168
+msgid "and"
+msgstr "et le"
+
+#: src/pyams_content/root/zmi/templates/advanced-search.pt:156
+#: src/pyams_content/shared/common/zmi/templates/advanced-search.pt:156
+msgid "Modified between"
+msgstr "Modifié entre le"
+
+#: src/pyams_content/root/zmi/templates/advanced-search.pt:211
+#: src/pyams_content/shared/common/zmi/templates/advanced-search.pt:214
+msgid "Tab label"
+msgstr "Libellé de l'onglet"
+
+#: src/pyams_content/shared/form/field.py:146
+msgid "Text"
+msgstr "Texte simple"
+
+#: src/pyams_content/shared/form/field.py:156
+msgid "Multi-lines text"
+msgstr "Texte multi-lignes"
+
+#: src/pyams_content/shared/form/field.py:166
+msgid "Boolean"
+msgstr "Booléen"
+
+#: src/pyams_content/shared/form/field.py:176
+msgid "Integer"
+msgstr "Nombre entier"
+
+#: src/pyams_content/shared/form/field.py:186
+msgid "Decimal"
+msgstr "Nombre décimal"
+
+#: src/pyams_content/shared/form/field.py:196
+msgid "E-mail address"
+msgstr "Adresse de messagerie"
+
+#: src/pyams_content/shared/form/field.py:206
+msgid "URI"
+msgstr "URI"
+
+#: src/pyams_content/shared/form/field.py:216
+msgid "Date"
+msgstr "Date"
+
+#: src/pyams_content/shared/form/field.py:230
+msgid "Choice"
+msgstr "Choix unique dans une liste"
+
+#: src/pyams_content/shared/form/field.py:250
+msgid "List"
+msgstr "Choix multiples dans une liste"
+
+#: src/pyams_content/shared/form/handler.py:80
+msgid "Mailto form handler"
+msgstr "Envoi des données par mail"
+
+#: src/pyams_content/shared/form/handler.py:44
+msgid "No selected handler..."
+msgstr "Aucun gestionnaire sélectionné"
+
+#: src/pyams_content/shared/form/__init__.py:97
+msgid "Form fields"
+msgstr "Champs de saisie"
+
+#: src/pyams_content/shared/form/__init__.py:98
+msgid "no field defined"
+msgstr "aucun champ défini"
+
+#: src/pyams_content/shared/form/interfaces.py:33
+msgid "Form"
+msgstr "Formulaire"
+
+#: src/pyams_content/shared/form/interfaces.py:51
+msgid "Field name"
+msgstr "Nom du champ"
+
+#: src/pyams_content/shared/form/interfaces.py:52
+msgid "Field internal name; must be unique for a given form"
+msgstr ""
+"Nom interne du champ ; ce nom doit être unique pour un formulaire donné"
+
+#: src/pyams_content/shared/form/interfaces.py:55
+#: src/pyams_content/shared/form/zmi/field.py:178
+msgid "Field type"
+msgstr "Type de champ"
+
+#: src/pyams_content/shared/form/interfaces.py:56
+msgid "Selected field type"
+msgstr "Type de champ proposé à l'internaute"
+
+#: src/pyams_content/shared/form/interfaces.py:61
+msgid "User field label"
+msgstr "Libellé affiché à l'internaute"
+
+#: src/pyams_content/shared/form/interfaces.py:65
+msgid "Field description can be displayed as hint"
+msgstr ""
+"Description du champ, qui pourra être affichée sous la forme d'une info-bulle"
+
+#: src/pyams_content/shared/form/interfaces.py:68
+msgid "Placeholder"
+msgstr "Espace réservé"
+
+#: src/pyams_content/shared/form/interfaces.py:69
+msgid "Some field types like textline can display a placeholder"
+msgstr ""
+"Certains champs tels que les zones de texte peuvent afficher ce texte tant "
+"qu'aucune valeur n'y a été saisie"
+
+#: src/pyams_content/shared/form/interfaces.py:72
+msgid "Optional values"
+msgstr "Liste de valeurs"
+
+#: src/pyams_content/shared/form/interfaces.py:73
+msgid "List of available values (for 'choice' and 'list' field types)"
+msgstr ""
+"Liste des valeurs disponibles (pour les champs de types 'Sélection simple' "
+"ou 'Sélection multiple')"
+
+#: src/pyams_content/shared/form/interfaces.py:76
+msgid "Default value"
+msgstr "Valeur par défaut"
+
+#: src/pyams_content/shared/form/interfaces.py:77
+msgid "Give default value if field type can use it"
+msgstr ""
+"Donner la valeur par défaut du champ ; attention, tous les types de champs "
+"ne peuvent pas utiliser une valeur par défaut !"
+
+#: src/pyams_content/shared/form/interfaces.py:80
+msgid "Required?"
+msgstr "Obligatoire ?"
+
+#: src/pyams_content/shared/form/interfaces.py:81
+msgid "Select 'yes' to set field as mandatory"
+msgstr "Sélectionnez 'oui' pour que la saisie de ce champ soit obligatoire"
+
+#: src/pyams_content/shared/form/interfaces.py:86
+msgid "Select 'no' to hide given field..."
+msgstr "Sélectionnez 'non' pour masquer ce champ"
+
+#: src/pyams_content/shared/form/interfaces.py:120
+msgid "Form title"
+msgstr "Titre du formulaire"
+
+#: src/pyams_content/shared/form/interfaces.py:123
+msgid "Form handler"
+msgstr "Gestionnaire du formulaire"
+
+#: src/pyams_content/shared/form/interfaces.py:124
+msgid "Select how form data is transmitted"
+msgstr ""
+"Le gestionnaire sélectionné détermine la façon dont les données saisies par "
+"les internautes seront stockées ou envoyées"
+
+#: src/pyams_content/shared/form/interfaces.py:127
+msgid "Authenticated only?"
+msgstr "Authentification requise ?"
+
+#: src/pyams_content/shared/form/interfaces.py:128
+msgid "If 'yes', only authenticated users will be able to see and submit form"
+msgstr ""
+"Si 'oui', seuls les utilisateurs authentifiés pourront saisir des données "
+"dans le formulaire et les soumettre"
+
+#: src/pyams_content/shared/form/interfaces.py:132
+msgid "Use captcha?"
+msgstr "Ajouter un captcha ?"
+
+#: src/pyams_content/shared/form/interfaces.py:133
+msgid "If 'yes', a captcha will be added automatically to the form"
+msgstr "Si 'oui', un captcha sera ajouté automatiquement au formulaire"
+
+#: src/pyams_content/shared/form/interfaces.py:137
+msgid "Submit label"
+msgstr "Libellé de soumission"
+
+#: src/pyams_content/shared/form/interfaces.py:138
+msgid "Label of form submit button"
+msgstr "Libellé du bouton de soumission du formulaire"
+
+#: src/pyams_content/shared/form/interfaces.py:175
+msgid "Source address"
+msgstr "Adresse source"
+
+#: src/pyams_content/shared/form/interfaces.py:176
+msgid "Mail address from which form data is sent"
+msgstr "Adresse de messagerie émettrice des données"
+
+#: src/pyams_content/shared/form/interfaces.py:179
+msgid "Source name"
+msgstr "Nom de la source"
+
+#: src/pyams_content/shared/form/interfaces.py:180
+msgid "Name of mail data sender"
+msgstr "Nom de l'émetteur des données"
+
+#: src/pyams_content/shared/form/interfaces.py:183
+msgid "Recipient address"
+msgstr "Adresse de destination"
+
+#: src/pyams_content/shared/form/interfaces.py:184
+msgid "Mail address to which form data is sent"
+msgstr ""
+"Adresse d'envoi des données; vous pouvez indiquer plusieurs adresses en les "
+"séparant par des point-virgules"
+
+#: src/pyams_content/shared/form/interfaces.py:187
+msgid "Recipient name"
+msgstr "Nom du destinataire"
+
+#: src/pyams_content/shared/form/interfaces.py:188
+msgid "Name of data recipient"
+msgstr "Nom du destinataire des messages"
+
+#: src/pyams_content/shared/form/zmi/properties.py:41
+msgid "Main form settings"
+msgstr "Paramètres du formulaire"
+
+#: src/pyams_content/shared/form/zmi/properties.py:65
+msgid "Form handler settings"
+msgstr "Paramètres du gestionnaire"
+
+#: src/pyams_content/shared/form/zmi/field.py:69
+msgid "Form fields..."
+msgstr "Champs de saisie"
+
+#: src/pyams_content/shared/form/zmi/field.py:156
+#: src/pyams_content/shared/common/interfaces/types.py:43
+msgid "Name"
+msgstr "Nom"
+
+#: src/pyams_content/shared/form/zmi/field.py:211
+msgid "Form fields list"
+msgstr "Liste des champs du formulaire"
+
+#: src/pyams_content/shared/form/zmi/field.py:234
+#: src/pyams_content/shared/form/zmi/field.py:247
+msgid "Add form field"
+msgstr "Ajouter un champ"
+
+#: src/pyams_content/shared/form/zmi/field.py:285
+msgid "Edit form field properties"
+msgstr "Propriétés du champ"
+
+#: src/pyams_content/shared/form/zmi/field.py:187
+msgid "-- unknown field type --"
+msgstr "-- type de champ inconnu --"
+
+#: src/pyams_content/shared/form/zmi/field.py:122
+msgid "No currently defined form field."
+msgstr "Ce formulaire ne comporte aucun champ."
+
+#: src/pyams_content/shared/form/zmi/field.py:269
+msgid "Specified name is already used!"
+msgstr "Le nom indiqué pour ce champ est déjà utilisé !"
+
+#: src/pyams_content/shared/form/zmi/__init__.py:44
+msgid "This form"
+msgstr "Ce formulaire"
+
+#: src/pyams_content/shared/form/zmi/__init__.py:63
+#: src/pyams_content/shared/form/zmi/__init__.py:74
+msgid "Add form"
+msgstr "Ajouter un formulaire"
+
+#: src/pyams_content/shared/form/zmi/__init__.py:54
+#, python-format
+msgid "Form « {title} »"
+msgstr "Formulaire « {title} »"
+
+#: src/pyams_content/shared/view/merge.py:59
+msgid "Concatenate views items in order"
+msgstr "Concaténer les résultats de chaque vue dans l'ordre sélectionné"
+
+#: src/pyams_content/shared/view/merge.py:71
+msgid "Extract items randomly"
+msgstr "Extraire les résultats en ordre aléatoire"
+
+#: src/pyams_content/shared/view/merge.py:85
+msgid "Take items from views one by one, in views order"
+msgstr ""
+"Extraire les résultats de chaque vue, une par une (ordre des vues imposé)"
+
+#: src/pyams_content/shared/view/merge.py:98
+msgid "Take items from views one by one, in random order"
+msgstr ""
+"Extraire les résultats de chaque vue, une par une (ordre des vues aléatoire)"
+
+#: src/pyams_content/shared/view/merge.py:127
+msgid "Sort all results by creation date"
+msgstr ""
+"Trier tous les résultats sur la date de création (du plus récent au plus "
+"ancien)"
+
+#: src/pyams_content/shared/view/merge.py:136
+msgid "Sort all results by last update date"
+msgstr ""
+"Trier tous les résultats sur la date de dernière mise à jour (du plus récent "
+"au plus ancien)"
+
+#: src/pyams_content/shared/view/merge.py:145
+msgid "Sort all results by current publication date"
+msgstr ""
+"Trier tous les résultats sur la date de publication (du plus récent au plus "
+"ancien)"
+
+#: src/pyams_content/shared/view/merge.py:154
+msgid "Sort all results by first publication date"
+msgstr ""
+"Trier tous les résultats sur la date de première publication (du plus récent "
+"au plus ancien)"
+
+#: src/pyams_content/shared/view/interfaces.py:29
+msgid "View"
+msgstr "Vue"
+
+#: src/pyams_content/shared/view/interfaces.py:160
+msgid "Always include selected internal references"
+msgstr "Toujours inclure toutes les références internes"
+
+#: src/pyams_content/shared/view/interfaces.py:161
+msgid "Include selected internal references only if empty"
+msgstr "Inclure les références internes seulement lorsque la vue est vide"
+
+#: src/pyams_content/shared/view/interfaces.py:38
+msgid "Last update date"
+msgstr "Date de dernière modification"
+
+#: src/pyams_content/shared/view/interfaces.py:39
+msgid "Current publication date"
+msgstr "Date de publication de la version actuelle"
+
+#: src/pyams_content/shared/view/interfaces.py:40
+msgid "First publication date"
+msgstr "Date de première publication"
+
+#: src/pyams_content/shared/view/interfaces.py:58
+msgid "Select context type?"
+msgstr "Même gabarit que le contexte ?"
+
+#: src/pyams_content/shared/view/interfaces.py:59
+msgid "If 'yes', content type will be extracted from context"
+msgstr ""
+"Si 'oui', seuls des contenus du même gabarit que le contexte seront "
+"automatiquement sélectionnés"
+
+#: src/pyams_content/shared/view/interfaces.py:63
+msgid "Other content types"
+msgstr "Autres gabarits"
+
+#: src/pyams_content/shared/view/interfaces.py:64
+msgid "Selected content types; leave empty for all"
+msgstr ""
+"Autres gabarits sélectionnés ; si l'on n'extrait pas le gabarit du contexte "
+"et si cette sélection est vide, tous les gabarits seront pris en charge"
+
+#: src/pyams_content/shared/view/interfaces.py:71
+msgid "Select context data type?"
+msgstr "Même type que le contexte ?"
+
+#: src/pyams_content/shared/view/interfaces.py:72
+msgid ""
+"If 'yes', content data type (if available) will be extracted from context"
+msgstr ""
+"Si 'oui', et si le contexte de la vue est \"typé\", seuls des contenus du "
+"même type que le contexte seront automatiquement sélectionnés"
+
+#: src/pyams_content/shared/view/interfaces.py:77
+msgid "Other data types"
+msgstr "Autres types de contenus"
+
+#: src/pyams_content/shared/view/interfaces.py:78
+msgid "Selected data types; leave empty for all"
+msgstr ""
+"Autres types de contenus sélectionnés ; si l'on n'extrait pas le type du "
+"contexte et si cette sélection est vide, tous les contenus (typés ou non) "
+"seront pris en charge"
+
+#: src/pyams_content/shared/view/interfaces.py:85
+msgid "Order by"
+msgstr "Ordre de tri"
+
+#: src/pyams_content/shared/view/interfaces.py:86
+msgid "Property to use to sort results"
+msgstr ""
+"Propriété utilisée pour trier les résultats ; par défaut, le tri se fait en "
+"ordre inverse, donc du plus récent au plus ancien"
+
+#: src/pyams_content/shared/view/interfaces.py:91
+msgid "Reversed order?"
+msgstr "Ordre inverse ?"
+
+#: src/pyams_content/shared/view/interfaces.py:92
+msgid "If 'yes', items order will be reversed"
+msgstr ""
+"Si 'non', le tri se fera en ordre \"naturel\", donc du plus ancien au plus "
+"récent"
+
+#: src/pyams_content/shared/view/interfaces.py:96
+#: src/pyams_content/shared/view/portlet/interfaces.py:91
+msgid "Results count limit"
+msgstr "Limite de résultats"
+
+#: src/pyams_content/shared/view/interfaces.py:97
+msgid "Maximum number of results that the view may retrieve"
+msgstr "Nombre maximal de résultats que la vue doit renvoyer"
+
+#: src/pyams_content/shared/view/interfaces.py:170
+msgid "Internal references usage"
+msgstr "Utilisation des références internes"
+
+#: src/pyams_content/shared/view/interfaces.py:171
+msgid "Specify how selected references are included into view results"
+msgstr ""
+"Indique comment les références internes indiquées seront intégrées à la "
+"liste des résultats"
+
+#: src/pyams_content/shared/view/interfaces.py:176
+msgid "Exclude context?"
+msgstr "Exclure le contexte ?"
+
+#: src/pyams_content/shared/view/interfaces.py:177
+msgid "If 'yes', context will be excluded from results list"
+msgstr ""
+"Si 'oui', le contexte d'application de la vue sera automatiquement exclu de "
+"la liste des résultats"
+
+#: src/pyams_content/shared/view/interfaces.py:188
+msgid "Select context tags?"
+msgstr "Tags du contexte ?"
+
+#: src/pyams_content/shared/view/interfaces.py:189
+msgid "If 'yes', tags will be extracted from context"
+msgstr ""
+"Si 'oui', les tags associés au contexte d'application de la vue seront "
+"automatiquement sélectionnés"
+
+#: src/pyams_content/shared/view/interfaces.py:193
+msgid "Other tags"
+msgstr "Autres tags"
+
+#: src/pyams_content/shared/view/interfaces.py:209
+msgid "Select context themes?"
+msgstr "Thèmes du contexte ?"
+
+#: src/pyams_content/shared/view/interfaces.py:210
+msgid "If 'yes', themes will be extracted from context"
+msgstr ""
+"Si 'oui', les thèmes associés au contexte d'application de la vue seront "
+"automatiquement sélectionnés"
+
+#: src/pyams_content/shared/view/interfaces.py:214
+msgid "Other themes"
+msgstr "Autres thèmes"
+
+#: src/pyams_content/shared/view/interfaces.py:230
+msgid "Select context collections?"
+msgstr "Collections du contexte ?"
+
+#: src/pyams_content/shared/view/interfaces.py:231
+msgid "If 'yes', collections will be extracted from context"
+msgstr ""
+"Si 'oui', les collections associées au contexte d'application de la vue "
+"seront automatiquement sélectionnés"
+
+#: src/pyams_content/shared/view/interfaces.py:235
+msgid "Other collections"
+msgstr "Autres collections"
+
+#: src/pyams_content/shared/view/portlet/__init__.py:87
+msgid "View items"
+msgstr "Contenu d'une vue"
+
+#: src/pyams_content/shared/view/portlet/interfaces.py:41
+msgid "Display context"
+msgstr "Contexte d'affichage"
+
+#: src/pyams_content/shared/view/portlet/interfaces.py:42
+msgid "Content context"
+msgstr "Contexte du contenu"
+
+#: src/pyams_content/shared/view/portlet/interfaces.py:59
+msgid "Selected views"
+msgstr "Vue(s) sélectionnée(s)"
+
+#: src/pyams_content/shared/view/portlet/interfaces.py:60
+msgid ""
+"Reference to the view(s) from which items are extracted; you can combine "
+"several views together and specify in which order they should be mixed"
+msgstr ""
+"Références des vues dont sont extraits les résultats ; vous pouvez combiner "
+"plusieurs vues ensemble en indiquant la façon dont leurs résultats seront "
+"fusionnés"
+
+#: src/pyams_content/shared/view/portlet/interfaces.py:69
+msgid "Views context"
+msgstr "Contexte des vues"
+
+#: src/pyams_content/shared/view/portlet/interfaces.py:70
+msgid ""
+"When searching for items, a view receives a \"context\" which is the object "
+"from which settings can be extracted; this context can be the \"display\" "
+"context or the \"content\" context: when the portlet is used to display the "
+"site root, a site manager or a site folder, both are identical; when the "
+"portlet is used to display a shared content, the \"content\" context is the "
+"displayed content, while the \"display\" context is the container (site "
+"root, site manager or site folder) into which content is displayed"
+msgstr ""
+"Pour extraire sa liste de résultats, chaque vue est associée à un \"contexte"
+"\", qui est l'objet dont sont extraits les critères de recherche ; ce "
+"contexte peut être le contexte \"d'affichage\" ou le contexte \"du contenu"
+"\" : lorsque ce composant est associé à la page d'accueil, à un site ou à "
+"une rubrique, ces deux contextes sont identiques ; par contre, lorsque ce "
+"composant est associé à un contenu partagé, le contexte de contenu est le "
+"contenu partagé, tandis que le contexte d'affichage est le conteneur (page "
+"d'accueil, site ou rubrique) au sein duquel le contenu est affiché."
+
+#: src/pyams_content/shared/view/portlet/interfaces.py:81
+msgid "Views merge mode"
+msgstr "Mode de fusion des vues"
+
+#: src/pyams_content/shared/view/portlet/interfaces.py:82
+msgid ""
+"If you select several views, you can select \"merge\" mode, which is the way "
+"used to merge items from several views"
+msgstr ""
+"Si vous sélectionnez plusieurs vues, vous devez indiquer la façon dont leurs "
+"résultats seront fusionnés; ce paramètre est sans effet lorsque vous ne "
+"sélectionnez qu'une seule vue, car l'ordre des résultats est alors basé "
+"uniquement sur les paramètres de la vue."
+
+#: src/pyams_content/shared/view/portlet/interfaces.py:92
+msgid ""
+"Maximum number of results that the component may extract from merged views"
+msgstr ""
+"Nombre maximal de résultats que le composant doit extraire des vues "
+"fusionnées"
+
+#: src/pyams_content/shared/view/portlet/interfaces.py:95
+msgid "Starting from..."
+msgstr "A partir de"
+
+#: src/pyams_content/shared/view/portlet/interfaces.py:96
+msgid "You can skip several results if specifying an integer value here..."
+msgstr ""
+"Vous pouvez écarter un certain nombre de résultats, en indiquant ici la "
+"position du premier élément à prendre en compte"
+
+#: src/pyams_content/shared/view/portlet/zmi/templates/view-items-list-preview.pt:8
+msgid "Selected views:"
+msgstr "Vue(s) sélectionnée(s) : "
+
+#: src/pyams_content/shared/view/portlet/zmi/templates/view-items-list-preview.pt:9
+msgid "none"
+msgstr "aucune"
+
+#: src/pyams_content/shared/view/portlet/zmi/templates/view-items-list-preview.pt:15
+msgid "Extracted contents:"
+msgstr "Contenus extraits :"
+
+#: src/pyams_content/shared/view/portlet/zmi/templates/view-items-list-preview.pt:16
+msgid "none (no selected view)"
+msgstr "aucun (aucune vue sélectionnée)"
+
+#: src/pyams_content/shared/view/portlet/zmi/templates/view-items-list-preview.pt:22
+msgid "No result found"
+msgstr "aucun"
+
+#: src/pyams_content/shared/view/zmi/properties.py:45
+msgid "Main view settings"
+msgstr "Paramètres de la vue"
+
+#: src/pyams_content/shared/view/zmi/__init__.py:44
+msgid "This view"
+msgstr "Cette vue"
+
+#: src/pyams_content/shared/view/zmi/__init__.py:63
+#: src/pyams_content/shared/view/zmi/__init__.py:73
+msgid "Add view"
+msgstr "Ajouter une vue"
+
+#: src/pyams_content/shared/view/zmi/__init__.py:54
+#, python-format
+msgid "View « {title} »"
+msgstr "Vue « {title} »"
+
+#: src/pyams_content/shared/view/zmi/theme.py:67
+msgid "View tags settings"
+msgstr "Paramétrage des tags de la vue"
+
+#: src/pyams_content/shared/view/zmi/theme.py:113
+msgid "View themes settings"
+msgstr "Paramétrage des thèmes de la vue"
+
+#: src/pyams_content/shared/view/zmi/theme.py:159
+msgid "View collections settings"
+msgstr "Paramétrage des collections de la vue"
+
+#: src/pyams_content/shared/view/zmi/reference.py:52
+msgid "References..."
+msgstr "Références"
+
+#: src/pyams_content/shared/view/zmi/reference.py:63
+msgid "View internal references settings"
+msgstr "Références internes de la vue"
+
+#: src/pyams_content/shared/blog/interfaces.py:30
+msgid "Blog post"
+msgstr "Article (dans un blog)"
+
+#: src/pyams_content/shared/blog/interfaces.py:68
+#: src/pyams_content/shared/common/interfaces/__init__.py:157
+#: src/pyams_content/shared/site/interfaces.py:86
+#: src/pyams_content/shared/site/interfaces.py:131
+msgid "Meta-description"
+msgstr "Méta-description"
+
+#: src/pyams_content/shared/blog/interfaces.py:69
+msgid ""
+"The blog's description is 'hidden' into HTML's page headers; but it can be "
+"seen, for example, in some search engines results as content's description; "
+"if description is empty, content's header will be used."
+msgstr ""
+"La méta-description du blog est 'masquée' dans les en-têtes des pages HTML ; "
+"mais on peut la retrouver, par exemple, dans les listes de résultats des "
+"moteurs de recherche ; si la description n'est pas renseignée, le chapô "
+"(s'il existe pour ce contenu) sera utilisé."
+
+#: src/pyams_content/shared/blog/interfaces.py:74
+#: src/pyams_content/shared/common/interfaces/__init__.py:169
+#: src/pyams_content/shared/site/interfaces.py:92
+#: src/pyams_content/shared/site/interfaces.py:137
+#: src/pyams_content/shared/site/zmi/folder.py:74
+msgid "Notepad"
+msgstr "Bloc-notes"
+
+#: src/pyams_content/shared/blog/interfaces.py:75
+#: src/pyams_content/shared/common/interfaces/__init__.py:170
+#: src/pyams_content/shared/site/interfaces.py:93
+#: src/pyams_content/shared/site/interfaces.py:138
+#: src/pyams_content/shared/site/zmi/folder.py:75
+msgid "Internal information to be known about this content"
+msgstr ""
+"Pour prendre note d'informations internes utiles ou importantes à propos de "
+"ce contenu ; ces notes ne seront pas publiées sur internet."
+
+#: src/pyams_content/shared/blog/zmi/manager.py:57
+msgid "Blog management"
+msgstr "Gérer ce blog"
+
+#: src/pyams_content/shared/blog/zmi/manager.py:80
+#: src/pyams_content/shared/blog/zmi/manager.py:94
+msgid "Add blog manager"
+msgstr "Ajouter un blog"
+
+#: src/pyams_content/shared/blog/zmi/manager.py:93
+msgid "Blog manager"
+msgstr "Blog"
+
+#: src/pyams_content/shared/blog/zmi/manager.py:148
+msgid "Blog properties"
+msgstr "Propriétés du blog"
+
+#: src/pyams_content/shared/blog/zmi/manager.py:163
+#: src/pyams_content/shared/blog/zmi/manager.py:175
+#: src/pyams_content/shared/site/zmi/container.py:101
+#: src/pyams_content/shared/site/zmi/container.py:113
+msgid "Publication dates..."
+msgstr "Dates de publication"
+
+#: src/pyams_content/shared/blog/zmi/manager.py:189
+#: src/pyams_content/shared/site/zmi/container.py:127
+msgid "Update publication dates"
+msgstr "Dates de publication"
+
+#: src/pyams_content/shared/blog/zmi/manager.py:124
+#: src/pyams_content/shared/site/zmi/manager.py:163
+msgid "You must provide a short name for default server language!"
+msgstr "Vous devez fournir un nom court pour la langue par défaut du serveur !"
+
+#: src/pyams_content/shared/blog/zmi/manager.py:128
+msgid "Specified blog manager name is already used!"
+msgstr "Le nom indiqué pour ce blog existe déjà !"
+
+#: src/pyams_content/shared/blog/zmi/manager.py:132
+msgid "A blog manager is already registered with this name!!"
+msgstr "Un blog est déjà inscrit dans le registre avec ce nom !"
+
+#: src/pyams_content/shared/blog/zmi/__init__.py:52
+msgid "This blog post"
+msgstr "Cet article"
+
+#: src/pyams_content/shared/blog/zmi/__init__.py:71
+#: src/pyams_content/shared/blog/zmi/__init__.py:81
+msgid "Add blog post"
+msgstr "Ajouter un article"
+
+#: src/pyams_content/shared/blog/zmi/__init__.py:62
+#, python-format
+msgid "Blog post « {title} »"
+msgstr "Article « {title} »"
+
+#: src/pyams_content/shared/common/__init__.py:243
 #: src/pyams_content/shared/common/zmi/properties.py:69
 #: src/pyams_content/shared/common/zmi/manager.py:96
 msgid "Properties"
 msgstr "Propriétés"
 
-#: src/pyams_content/shared/common/__init__.py:154
-#: src/pyams_content/shared/common/__init__.py:162
+#: src/pyams_content/shared/common/__init__.py:153
+#: src/pyams_content/shared/common/__init__.py:161
 #, python-format
 msgid "{date} by {principal}"
 msgstr "{date} par {principal}"
 
-#: src/pyams_content/shared/common/__init__.py:267
+#: src/pyams_content/shared/common/__init__.py:266
 #, python-format
 msgid "title length should be between 40 and 66 characters ({length} actually)"
 msgstr ""
 "Le titre devrait être composé de 40 à 66 caractères ({length} actuellement)"
 
-#: src/pyams_content/shared/common/zmi/search.py:96
-#: src/pyams_content/root/zmi/search.py:95
-msgid "Quick search results"
-msgstr "Résultats de la recherche rapide"
-
-#: src/pyams_content/shared/common/zmi/search.py:162
-#: src/pyams_content/shared/common/zmi/search.py:204
-#: src/pyams_content/root/zmi/search.py:152
-#: src/pyams_content/root/zmi/search.py:188
-msgid "Advanced search"
-msgstr "Recherche avancée"
-
-#: src/pyams_content/shared/common/zmi/search.py:332
-#: src/pyams_content/root/zmi/search.py:280
-msgid "Advanced search results"
-msgstr "Résultats de la recherche avancée"
-
-#: src/pyams_content/shared/common/zmi/search.py:170
-#: src/pyams_content/shared/common/zmi/dashboard.py:225
-#: src/pyams_content/root/zmi/search.py:164
-msgid "Owner"
-msgstr "Propriétaire"
-
-#: src/pyams_content/shared/common/zmi/search.py:173
-#: src/pyams_content/shared/common/zmi/dashboard.py:148
-msgid "Status"
-msgstr "Statut"
-
-#: src/pyams_content/shared/common/zmi/search.py:177
-#: src/pyams_content/root/zmi/search.py:167
-msgid "Created after..."
-msgstr "Créé entre le"
-
-#: src/pyams_content/shared/common/zmi/search.py:180
-#: src/pyams_content/root/zmi/search.py:170
-msgid "Created before..."
-msgstr "et le"
-
-#: src/pyams_content/shared/common/zmi/search.py:183
-#: src/pyams_content/root/zmi/search.py:173
-msgid "Modified after..."
-msgstr "Modifié entre le"
-
-#: src/pyams_content/shared/common/zmi/search.py:186
-#: src/pyams_content/root/zmi/search.py:176
-msgid "Modified before..."
-msgstr "et le"
-
-#: src/pyams_content/shared/common/zmi/properties.py:59
-msgid "Composition"
-msgstr "Composition"
-
-#: src/pyams_content/shared/common/zmi/properties.py:82
-msgid "Content properties"
-msgstr "Propriétés élémentaires"
-
-#: src/pyams_content/shared/common/zmi/types.py:69
-msgid "Data types"
-msgstr "Types de contenus"
-
-#: src/pyams_content/shared/common/zmi/types.py:147
-msgid "Data type label"
-msgstr "Libellé du type"
-
-#: src/pyams_content/shared/common/zmi/types.py:187
-#: src/pyams_content/shared/common/zmi/types.py:427
-msgid "Default associations"
-msgstr "Liens et pièces jointes par défaut"
-
-#: src/pyams_content/shared/common/zmi/types.py:203
-msgid "Default themes"
-msgstr "Thèmes par défaut"
-
-#: src/pyams_content/shared/common/zmi/types.py:231
-msgid "Content data types"
-msgstr "Types de contenus"
-
-#: src/pyams_content/shared/common/zmi/types.py:254
-msgid "Add data type"
-msgstr "Ajouter un type"
-
-#: src/pyams_content/shared/common/zmi/types.py:266
-msgid "Add new data type"
-msgstr "Ajout d'un type de contenu"
-
-#: src/pyams_content/shared/common/zmi/types.py:309
-msgid "Data type properties"
-msgstr "Propriétés du type de contenu"
-
-#: src/pyams_content/shared/common/zmi/types.py:390
-msgid "Subtype label"
-msgstr "Libellé du sous-type"
-
-#: src/pyams_content/shared/common/zmi/types.py:471
-msgid "Add subtype"
-msgstr "Ajouter un sous-type"
-
-#: src/pyams_content/shared/common/zmi/types.py:483
-msgid "Add new subtype"
-msgstr "Ajout d'un sous-type de contenu"
-
-#: src/pyams_content/shared/common/zmi/types.py:530
-msgid "Data subtype properties"
-msgstr "Propriétés du fichier standard"
-
-#: src/pyams_content/shared/common/zmi/types.py:572
-msgid "Select content type..."
-msgstr "Sélectionnez un type de contenu..."
-
-#: src/pyams_content/shared/common/zmi/types.py:114
-msgid "No currently defined data type."
-msgstr "Aucun type de contenu n'est actuellement défini."
-
-#: src/pyams_content/shared/common/zmi/types.py:299
-msgid "Specified type name is already used!"
-msgstr "Le nom indiqué pour ce type de contenu est déjà utilisé !"
-
-#: src/pyams_content/shared/common/zmi/types.py:506
-msgid "Subtype was correctly added."
-msgstr "Le sous-type a été ajouté."
-
-#: src/pyams_content/shared/common/zmi/types.py:520
-msgid "Specified subtype name is already used!"
-msgstr "Le nom indiqué pour ce sous-type de contenu est déjà utilisé !"
-
-#: src/pyams_content/shared/common/zmi/types.py:159
-msgid "Click to see subtypes"
-msgstr "Montrer ou caher les sous-types"
-
-#: src/pyams_content/shared/common/zmi/types.py:610
-#, python-format
-msgid "Custom properties for type « {0} »"
-msgstr "Propriétés spécifiques au type « {0} »"
-
-#: src/pyams_content/shared/common/zmi/workflow.py:847
-msgid "Prior checks"
-msgstr "Contrôles préalables : avez-vous ?"
-
-#: src/pyams_content/shared/common/zmi/workflow.py:124
-msgid "Request publication"
-msgstr "Demander la publication"
-
-#: src/pyams_content/shared/common/zmi/workflow.py:211
-#: src/pyams_content/workflow/__init__.py:316
-msgid "Cancel publication request"
-msgstr "Annuler la demande de publication"
-
-#: src/pyams_content/shared/common/zmi/workflow.py:251
-msgid "Refuse publication request"
-msgstr "Refuser la demande de publication"
-
-#: src/pyams_content/shared/common/zmi/workflow.py:305
-#: src/pyams_content/workflow/basic.py:197
-msgid "Publish"
-msgstr "Publier"
-
-#: src/pyams_content/shared/common/zmi/workflow.py:394
-msgid "Request retire"
-msgstr "Demander le retrait"
-
-#: src/pyams_content/shared/common/zmi/workflow.py:450
-msgid "Cancel retire request"
-msgstr "Annuler la demande de retrait"
-
-#: src/pyams_content/shared/common/zmi/workflow.py:490
-msgid "Retire"
-msgstr "Retirer"
-
-#: src/pyams_content/shared/common/zmi/workflow.py:531
-#: src/pyams_content/workflow/__init__.py:437
-msgid "Request archive"
-msgstr "Demander l'archivage"
-
-#: src/pyams_content/shared/common/zmi/workflow.py:574
-msgid "Cancel archive request"
-msgstr "Annuler la demande d'archivage"
-
-#: src/pyams_content/shared/common/zmi/workflow.py:614
-msgid "Archive"
-msgstr "Archiver"
-
-#: src/pyams_content/shared/common/zmi/workflow.py:655
-#: src/pyams_content/workflow/__init__.py:502
-#: src/pyams_content/workflow/__init__.py:514
-#: src/pyams_content/workflow/__init__.py:526
-#: src/pyams_content/workflow/__init__.py:538
-#: src/pyams_content/workflow/__init__.py:550
-#: src/pyams_content/workflow/basic.py:225
-#: src/pyams_content/workflow/basic.py:237
-msgid "Create new version"
-msgstr "Créer une nouvelle version"
-
-#: src/pyams_content/shared/common/zmi/workflow.py:706
-#: src/pyams_content/workflow/__init__.py:562
-#: src/pyams_content/workflow/basic.py:249
-msgid "Delete version"
-msgstr "Supprimer cette version"
-
-#: src/pyams_content/shared/common/zmi/workflow.py:793
-msgid "Previewed content?"
-msgstr "Prévisualisé ce contenu ?"
-
-#: src/pyams_content/shared/common/zmi/workflow.py:797
-msgid "Verified content?"
-msgstr "Audité ce contenu ?"
-
-#: src/pyams_content/shared/common/zmi/workflow.py:181
-#: src/pyams_content/shared/common/zmi/workflow.py:363
-msgid "Publication start date is required"
-msgstr "La date de début de publication est obligatoire"
-
-#: src/pyams_content/shared/common/zmi/workflow.py:274
-#: src/pyams_content/shared/common/zmi/workflow.py:420
-msgid "A comment is required"
-msgstr "Le commentaire est obligatoire"
-
-#: src/pyams_content/shared/common/zmi/workflow.py:732
-msgid "Delete content"
-msgstr "Supprimer définitivement ce contenu"
-
-#: src/pyams_content/shared/common/zmi/workflow.py:741
-msgid "Delete definitively"
-msgstr "Supprimer définitivement"
-
-#: src/pyams_content/shared/common/zmi/workflow.py:870
-msgid ""
-"You must confirm that you previewed and checked this content before "
-"requesting publication!!"
-msgstr ""
-"Vous devez avoir prévisualisé et audité ce contenu avant de pouvoir le "
-"publier !!"
-
-#: src/pyams_content/shared/common/zmi/workflow.py:88
-#, python-format
-msgid "{state} | by {principal}"
-msgstr "{state} | par {principal}"
-
-#: src/pyams_content/shared/common/zmi/workflow.py:873
-msgid ""
-"You must confirm that you checked this content before requesting "
-"publication!!"
-msgstr "Vous devez avoir audité ce contenu avant de pouvoir le publier !!"
-
-#: src/pyams_content/shared/common/zmi/workflow.py:84
-#: src/pyams_content/workflow/__init__.py:649
-#: src/pyams_content/workflow/__init__.py:620
-#: src/pyams_content/workflow/basic.py:316
-#: src/pyams_content/workflow/basic.py:287
-#, python-format
-msgid "{state} {date}"
-msgstr "{state} {date}"
-
-#: src/pyams_content/shared/common/zmi/__init__.py:265
-msgid "Duplicate content..."
-msgstr "Dupliquer le contenu"
-
-#: src/pyams_content/shared/common/zmi/__init__.py:285
-msgid "Duplicate content"
-msgstr "Dupliquer ce contenu"
-
-#: src/pyams_content/shared/common/zmi/__init__.py:86
-msgid "This title can be modified afterwards"
-msgstr "Pourra être modifié ultérieurement"
-
-#: src/pyams_content/shared/common/zmi/__init__.py:276
-msgid "Duplicate this content"
-msgstr "Dupliquer ce contenu"
-
-#: src/pyams_content/shared/common/zmi/__init__.py:332
-#, python-format
-msgid "Clone created from version {source} of {oid} (in « {state} » state)"
-msgstr ""
-"Duplication de la version {source} du contenu {oid} (alors en statut "
-"« {state} »)"
-
-#: src/pyams_content/shared/common/zmi/__init__.py:377
-msgid "Created or modified in this version"
-msgstr "Créé ou modifié dans cette version"
-
-#: src/pyams_content/shared/common/zmi/summary.py:51
-msgid "Display content summary"
-msgstr "Récapitulatif pour ce contenu"
-
-#: src/pyams_content/shared/common/zmi/summary.py:75
-msgid "Identity card"
-msgstr "Carte d'identité"
-
-#: src/pyams_content/shared/common/zmi/summary.py:93
-msgid "Requested action"
-msgstr "Évolution demandée"
-
-#: src/pyams_content/shared/common/zmi/summary.py:134
-msgid "Publication and retire dates"
-msgstr "Dates de publication et de retrait planifiées"
-
-#: src/pyams_content/shared/common/zmi/summary.py:153
-msgid "Current version"
-msgstr "À propos de cette version"
-
-#: src/pyams_content/shared/common/zmi/summary.py:183
-msgid "Content history"
-msgstr "Pour mémoire"
-
-#: src/pyams_content/shared/common/zmi/summary.py:124
-msgid "Associated comment"
-msgstr "Commentaire associé"
-
-#: src/pyams_content/shared/common/zmi/summary.py:165
-#: src/pyams_content/shared/common/zmi/dashboard.py:192
-msgid "Version"
-msgstr "Version"
-
-#: src/pyams_content/shared/common/zmi/summary.py:114
-#, python-format
-msgid "{state} {date} by {principal}"
-msgstr "{state} {date} par {principal}"
-
-#: src/pyams_content/shared/common/zmi/summary.py:171
-#, python-format
-msgid "{state} since {date}, by {principal}"
-msgstr "{state} depuis {date} par {principal}"
-
-#: src/pyams_content/shared/common/zmi/manager.py:107
-msgid "Shared tool properties"
-msgstr "Propriétés de l'outil"
-
-#: src/pyams_content/shared/common/zmi/manager.py:125
-msgid "WARNING"
-msgstr "ATTENTION"
-
-#: src/pyams_content/shared/common/zmi/manager.py:127
-msgid ""
-"Workflow shouldn't be modified if this tool already contains any shared "
-"content!"
-msgstr ""
-"Le workflow ne doit pas être modifié si cet outil renferme déjà des contenus "
-"partagés !"
-
-#: src/pyams_content/shared/common/zmi/manager.py:150
-msgid "Languages"
-msgstr "Langues"
-
-#: src/pyams_content/shared/common/zmi/manager.py:162
-msgid "Content languages"
-msgstr "Langues pour la traduction de cet outil"
-
-#: src/pyams_content/shared/common/zmi/manager.py:172
-msgid ""
-"Tool languages are used to translate own tool properties, and newly created "
-"contents will propose these languages by default"
-msgstr ""
-"Les langues sont utilisées pour traduire les propriétés de l'outil.\n"
-"\n"
-"Les nouveaux contenus proposeront également ces langues par défaut."
-
-#: src/pyams_content/shared/common/zmi/manager.py:80
-msgid "Content management"
-msgstr "Gérer ce gabarit"
-
-#: src/pyams_content/shared/common/zmi/manager.py:82
-msgid "Tool management"
-msgstr "Gérer cet outil"
-
-#: src/pyams_content/shared/common/zmi/owner.py:50
-msgid "Change owner..."
-msgstr "Changer de propriétaire"
-
-#: src/pyams_content/shared/common/zmi/owner.py:83
-msgid "Change content's owner"
-msgstr "Changement de propriétaire"
-
-#: src/pyams_content/shared/common/zmi/owner.py:125
-msgid ""
-"All versions of this content which are not archived will be transferred to "
-"newly selected owner"
-msgstr ""
-"Toutes les versions non archivées de ce contenu seront transférées au "
-"nouveau propriétaire sélectionné"
-
-#: src/pyams_content/shared/common/zmi/owner.py:60
-msgid "New owner"
-msgstr "Nouveau propriétaire"
-
-#: src/pyams_content/shared/common/zmi/owner.py:61
-msgid "The selected user will become the new content's owner"
-msgstr "L'utilisateur sélectionné deviendra le nouveau propriétaire du contenu"
-
-#: src/pyams_content/shared/common/zmi/owner.py:63
-msgid "Keep previous owner as contributor"
-msgstr "L'ancien propriétaire reste contributeur"
-
-#: src/pyams_content/shared/common/zmi/owner.py:64
-msgid "If 'yes', the previous owner will still be able to modify this content"
-msgstr ""
-"Si 'oui', l'actuel propriétaire du contenu en restera contributeur et pourra "
-"donc continuer à le mettre à jour"
-
-#: src/pyams_content/shared/common/zmi/owner.py:74
-msgid "Change owner"
-msgstr "Changer le propriétaire"
-
-#: src/pyams_content/shared/common/zmi/rename.py:62
-msgid "Change URL..."
-msgstr "Changer d'URL"
-
-#: src/pyams_content/shared/common/zmi/rename.py:79
-msgid "Change item URL"
-msgstr "Modification de l'URL"
-
-#: src/pyams_content/shared/common/zmi/rename.py:86
-msgid "Item URL part"
-msgstr "URL du contenu"
-
-#: src/pyams_content/shared/common/zmi/rename.py:87
-msgid "URL part used to access this content"
-msgstr "Portion de l'URL utilisée pour accéder à ce contenu"
-
-#: src/pyams_content/shared/common/zmi/rename.py:121
-msgid "You must provide an URL for this item!"
-msgstr "Vous devez fournir une URL pour ce contenu !"
-
-#: src/pyams_content/shared/common/zmi/reverse.py:57
-msgid "Reverse links"
-msgstr "Liens amont"
-
-#: src/pyams_content/shared/common/zmi/reverse.py:66
-msgid "Content's internal links"
-msgstr "Autres contenus qui pointent vers ce contenu"
-
-#: src/pyams_content/shared/common/zmi/site.py:38
-#, python-format
-msgid ""
-"SEARCH - Between all contents published into &laquo;&nbsp;{site}&nbsp;&raquo;"
-msgstr ""
-"RECHERCHE - Tous contenus présents dans &laquo;&nbsp;{site}&nbsp;&raquo; "
-"confondus"
-
-#: src/pyams_content/shared/common/zmi/portal.py:44
-msgid "Edit default template properties"
-msgstr "Modèle de présentation par défaut"
-
-#: src/pyams_content/shared/common/zmi/portal.py:54
-msgid ""
-"**This form allows you to select shared content default template.**\n"
-"\n"
-"If you choose to use a shared template, you can only adjust settings of each "
-"portlet individually but can't change portlets list or page configuration.\n"
-"\n"
-"If you use a local template, you can define a whole custom configuration but "
-"the template definition can't be reused anywhere..."
-msgstr ""
-"Vous pouvez modifier le modèle de présentation qui sera appliqué **par "
-"défaut** à tous les contenus de ce gabarit.\n"
-"\n"
-"Si vous choisissez d'utiliser un modèle de présentation partagé, vous "
-"pourrez ajuster les paramètres de chaque composant mais ne pourrez pas "
-"modifier la liste des composants ou leur position et la configuration de la "
-"page.\n"
-"\n"
-"Si vous choisissez d'utiliser un modèle de présentation \"local\", vous "
-"pourrez définir l'ensemble de la configuration mais le modèle de "
-"présentation ne pourra pas être réutilisé ailleurs que dans les contenus de "
-"ce gabarit."
-
-#: src/pyams_content/shared/common/zmi/portal.py:70
-msgid "Use tool default template"
-msgstr "Utiliser le modèle de présentation par défaut de ce gabarit"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:128
-msgid "Unique ID"
-msgstr "N° IN"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:175
-msgid "Status date"
-msgstr "En date du"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:207
-msgid "Status principal"
-msgstr "Intervenant"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:244
-msgid "Last modification"
-msgstr "Dernière modification"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:267
-#: src/pyams_content/root/zmi/__init__.py:110
-msgid "Dashboard"
-msgstr "Tableau de bord"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:277
-msgid "Contents dashboard"
-msgstr "Mon tableau de bord"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:323
-#: src/pyams_content/root/zmi/__init__.py:159
-#, python-format
-msgid "MANAGER - {0} content waiting for your action"
-msgstr "RESPONSABLE - {0} contenu en attente de votre intervention"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:324
-#: src/pyams_content/root/zmi/__init__.py:160
-#, python-format
-msgid "MANAGER - {0} contents waiting for your action"
-msgstr "RESPONSABLE - {0} contenus en attente de votre intervention"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:365
-#: src/pyams_content/root/zmi/__init__.py:204
-#, python-format
-msgid "CONTRIBUTOR - {0} content waiting for action"
-msgstr "CONTRIBUTEUR - {0} contenu soumis à un responsable"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:366
-#: src/pyams_content/root/zmi/__init__.py:205
-#, python-format
-msgid "CONTRIBUTOR - {0} contents waiting for action"
-msgstr "CONTRIBUTEUR - {0} contenus soumis à un responsable"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:398
-#: src/pyams_content/root/zmi/__init__.py:240
-#, python-format
-msgid "CONTRIBUTOR - {0} modified content"
-msgstr "CONTRIBUTEUR - {0} contenu modifié"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:439
-#: src/pyams_content/root/zmi/__init__.py:283
-msgid "My contents"
-msgstr "Mes contenus"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:454
-#: src/pyams_content/shared/common/zmi/templates/dashboard.pt:8
-#: src/pyams_content/root/zmi/__init__.py:298
-#: src/pyams_content/root/zmi/templates/dashboard.pt:8
-msgid "My favorites"
-msgstr "Mes favoris"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:463
-#: src/pyams_content/root/zmi/__init__.py:307
-#, python-format
-msgid "CONTRIBUTOR - {0} favorite"
-msgstr "CONTRIBUTEUR - {0} contenu favori"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:464
-#: src/pyams_content/root/zmi/__init__.py:308
-#, python-format
-msgid "CONTRIBUTOR - {0} favorites"
-msgstr "CONTRIBUTEUR - {0} contenus favoris"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:476
-#: src/pyams_content/shared/common/zmi/templates/header.pt:23
-msgid "Add/remove from favorites"
-msgstr "Ajouter/enlever des favoris"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:539
-#: src/pyams_content/root/zmi/__init__.py:346
-msgid "Your favorite contents"
-msgstr "Mes contenus favoris"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:552
-#: src/pyams_content/root/zmi/__init__.py:359
-msgid "My preparations"
-msgstr "Mes préparations"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:561
-#: src/pyams_content/root/zmi/__init__.py:368
-#, python-format
-msgid "CONTRIBUTOR - {0} prepared content"
-msgstr "CONTRIBUTEUR - {0} contenu en préparation"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:562
-#: src/pyams_content/root/zmi/__init__.py:369
-#, python-format
-msgid "CONTRIBUTOR - {0} prepared contents"
-msgstr "CONTRIBUTEUR - {0} contenus en préparation"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:603
-#: src/pyams_content/root/zmi/__init__.py:408
-msgid "Your prepared contents"
-msgstr "Mes contenus en préparation"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:616
-#: src/pyams_content/root/zmi/__init__.py:421
-msgid "My submissions"
-msgstr "Mes demandes"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:625
-#: src/pyams_content/root/zmi/__init__.py:430
-#, python-format
-msgid "CONTRIBUTOR - {0} submitted content"
-msgstr "CONTRIBUTEUR - {0} contenu soumis à un responsable"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:626
-#: src/pyams_content/root/zmi/__init__.py:431
-#, python-format
-msgid "CONTRIBUTOR - {0} submitted contents"
-msgstr "CONTRIBUTEUR - {0} contenus soumis à un responsable"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:667
-#: src/pyams_content/root/zmi/__init__.py:470
-msgid "Your submitted contents"
-msgstr "Mes contenus soumis à un responsable"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:680
-#: src/pyams_content/root/zmi/__init__.py:483
-msgid "My publications"
-msgstr "Mes publications"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:689
-#: src/pyams_content/root/zmi/__init__.py:492
-#, python-format
-msgid "CONTRIBUTOR - {0} published content"
-msgstr "CONTRIBUTEUR - {0} contenu publié"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:690
-#: src/pyams_content/root/zmi/__init__.py:493
-#, python-format
-msgid "CONTRIBUTOR - {0} published contents"
-msgstr "CONTRIBUTEUR - {0} contenus publiés"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:731
-#: src/pyams_content/root/zmi/__init__.py:532
-msgid "Your published contents"
-msgstr "Mes contenus publiés"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:744
-#: src/pyams_content/root/zmi/__init__.py:545
-msgid "My retired contents"
-msgstr "Mes contenus retirés"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:753
-#: src/pyams_content/root/zmi/__init__.py:554
-#, python-format
-msgid "CONTRIBUTOR - {0} retired content"
-msgstr "CONTRIBUTEUR - {0} contenu retiré"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:754
-#: src/pyams_content/root/zmi/__init__.py:555
-#, python-format
-msgid "CONTRIBUTOR - {0} retired contents"
-msgstr "CONTRIBUTEUR - {0} contenus retirés"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:795
-#: src/pyams_content/root/zmi/__init__.py:595
-msgid "Your retired contents"
-msgstr "Mes contenus retirés"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:808
-#: src/pyams_content/root/zmi/__init__.py:608
-msgid "My archived contents"
-msgstr "Mes contenus archivés"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:817
-#: src/pyams_content/root/zmi/__init__.py:617
-#, python-format
-msgid "CONTRIBUTOR - {0} archived content"
-msgstr "CONTRIBUTEUR - {0} contenu archivé"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:818
-#: src/pyams_content/root/zmi/__init__.py:618
-#, python-format
-msgid "CONTRIBUTOR - {0} archived contents"
-msgstr "CONTRIBUTEUR - {0} contenus archivés"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:865
-#: src/pyams_content/root/zmi/__init__.py:664
-msgid "Your archived contents"
-msgstr "Mes contenus archivés"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:879
-#: src/pyams_content/root/zmi/__init__.py:678
-msgid "Other interventions"
-msgstr "Toutes les interventions"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:894
-#: src/pyams_content/root/zmi/__init__.py:693
-msgid "Last publications"
-msgstr "Dernières publications"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:903
-#: src/pyams_content/root/zmi/__init__.py:702
-#, python-format
-msgid "CONTRIBUTORS - {0} published content"
-msgstr "TOUS CONTRIBUTEURS - {0} contenu publié"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:950
-#: src/pyams_content/root/zmi/__init__.py:748
-msgid "Last published contents"
-msgstr "Derniers contenus publiés"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:963
-#: src/pyams_content/root/zmi/__init__.py:761
-msgid "Last updates"
-msgstr "Dernières modifications"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:972
-#: src/pyams_content/root/zmi/__init__.py:770
-#, python-format
-msgid "CONTRIBUTORS - {0} updated content"
-msgstr "TOUS CONTRIBUTEURS - {0} contenu modifié"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:1017
-#: src/pyams_content/root/zmi/__init__.py:814
-msgid "Last updated contents"
-msgstr "Derniers contenus modifiés"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:403
-#: src/pyams_content/root/zmi/__init__.py:245
-#, python-format
-msgid "CONTRIBUTOR - {0} modified contents"
-msgstr "CONTRIBUTEUR - {0} contenus modifiés"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:405
-#: src/pyams_content/root/zmi/__init__.py:247
-#, python-format
-msgid "CONTRIBUTOR - Last {0} modified contents"
-msgstr "CONTRIBUTEUR - Les {0} dernières modifications"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:908
-#: src/pyams_content/root/zmi/__init__.py:707
-#, python-format
-msgid "CONTRIBUTORS - Last {0} published contents"
-msgstr "TOUS CONTRIBUTEURS - Les {0} dernières publications"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:910
-#: src/pyams_content/root/zmi/__init__.py:709
-msgid "CONTRIBUTORS - Last published contents (in the limit of 50)"
-msgstr "TOUS CONTRIBUTEURS - Les {0} dernières publications"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:977
-#: src/pyams_content/root/zmi/__init__.py:775
-#, python-format
-msgid "CONTRIBUTORS - Last {0} updated contents"
-msgstr "TOUS CONTRIBUTEURS - Les {0} dernières modifications"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:979
-#: src/pyams_content/root/zmi/__init__.py:777
-msgid "CONTRIBUTORS - Last updated contents (in the limit of 50)"
-msgstr "TOUS CONTRIBUTEURS - Les {0} dernières modifications"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:300
-#, python-format
-msgid "SEARCH - Between all contents of type &laquo;&nbsp;{type}&nbsp;&raquo;"
-msgstr "RECHERCHE - Tous contenus &laquo;&nbsp;{type}&nbsp;&raquo; confondus"
-
-#: src/pyams_content/shared/common/zmi/dashboard.py:165
-#: src/pyams_content/shared/common/zmi/header.py:91
-msgid "Content publication start date is not passed yet"
-msgstr "La date de début de publication n'est pas encore atteinte"
-
-#: src/pyams_content/shared/common/zmi/security.py:64
-msgid "Contributors restrictions"
-msgstr "Paramètres des contributeurs"
-
-#: src/pyams_content/shared/common/zmi/security.py:73
-msgid "Content contributors restrictions"
-msgstr "Liste des contributeurs"
-
-#: src/pyams_content/shared/common/zmi/security.py:107
-msgid "Contributor name"
-msgstr "Nom du contributeur"
-
-#: src/pyams_content/shared/common/zmi/security.py:118
-#: src/pyams_content/shared/common/zmi/security.py:272
-msgid "Activated publication checks?"
-msgstr "Tunnel de publication activé"
-
-#: src/pyams_content/shared/common/zmi/security.py:219
-msgid "Managers restrictions"
-msgstr "Paramètres des responsables"
-
-#: src/pyams_content/shared/common/zmi/security.py:228
-msgid "Content managers restrictions"
-msgstr "Liste des responsables"
-
-#: src/pyams_content/shared/common/zmi/security.py:261
-msgid "Manager name"
-msgstr "Nom du responsable"
-
-#: src/pyams_content/shared/common/zmi/security.py:289
-msgid "Restricted"
-msgstr "Restrictions"
-
-#: src/pyams_content/shared/common/zmi/security.py:306
-msgid "Owners"
-msgstr "Propriétaires"
-
-#: src/pyams_content/shared/common/zmi/security.py:396
-msgid "Publication workflow"
-msgstr "Workflow de publication"
-
-#: src/pyams_content/shared/common/zmi/security.py:167
-#, python-format
-msgid "Edit contributor restrictions for « {0} »"
-msgstr "Gérer les paramètres d'intervention de « {0} »"
-
-#: src/pyams_content/shared/common/zmi/security.py:355
-#, python-format
-msgid "Edit manager restrictions for « {0} »"
-msgstr "Gérer les paramètres d'intervention de « {0} »"
-
-#: src/pyams_content/shared/common/zmi/security.py:402
-msgid "Apply contents restrictions"
-msgstr "Appliquer des restrictions d'accès"
-
-#: src/pyams_content/shared/common/zmi/security.py:404
-msgid ""
-"You can specify which contents this manager will be able to manage. If you "
-"specify several criteria, the manager will be able to manage contents for "
-"which at least one criteria is matching."
-msgstr ""
-"Vous pouvez indiquer les propriétés des contenus que ce responsable sera "
-"autorisé à gérer. Si vous indiquez plusieurs critères, il pourra gérer les "
-"contenus pour lesquels au moins l'un des critères correspond."
-
-#: src/pyams_content/shared/common/zmi/header.py:79
-#, python-format
-msgid "{state} by {principal}"
-msgstr "{state} par {principal}"
-
-#: src/pyams_content/shared/common/zmi/header.py:112
-#, python-format
-msgid "since {date}"
-msgstr "depuis {date}"
-
-#: src/pyams_content/shared/common/zmi/header.py:124
-msgid "access published version"
-msgstr "accéder à la version en ligne"
-
-#: src/pyams_content/shared/common/zmi/header.py:131
-msgid "access new version"
-msgstr "accéder à la version en préparation"
-
-#: src/pyams_content/shared/common/zmi/header.py:141
-msgid "access waiting version"
-msgstr "accéder à la version en attente"
-
-#: src/pyams_content/shared/common/zmi/header.py:152
-msgid "access retired version"
-msgstr "accéder à la version retirée"
-
-#: src/pyams_content/shared/common/zmi/header.py:162
-msgid "access archived version"
-msgstr "accéder à la version archivée"
-
-#: src/pyams_content/shared/common/zmi/templates/wf-retiring-message.pt:2
-msgid ""
-"You considerate that the currently published version should no more be "
-"publicly visible."
-msgstr ""
-"Vous considérez que la version actuellement en ligne ne doit plus être "
-"consultable."
-
-#: src/pyams_content/shared/common/zmi/templates/wf-retiring-message.pt:3
-msgid ""
-"WARNING: the content will remain visible until a manager validate the "
-"request."
-msgstr ""
-"ATTENTION : ce contenu restera visible jusqu'à ce qu'un responsable prenne "
-"en charge votre demande."
-
-#: src/pyams_content/shared/common/zmi/templates/header.pt:6
-msgid "Back to previous page"
-msgstr "Revenir à la page précédente"
-
-#: src/pyams_content/shared/common/zmi/templates/header.pt:20
-msgid "by ${owner}"
-msgstr "de ${owner}"
-
-#: src/pyams_content/shared/common/zmi/templates/wf-archive-message.pt:2
-msgid "As a manager, you considerate that this content must be archived."
-msgstr ""
-"En tant que responsable, vous considérez que ce contenu doit être archivé."
-
-#: src/pyams_content/shared/common/zmi/templates/wf-archive-message.pt:3
-#: src/pyams_content/shared/common/zmi/templates/wf-archiving-message.pt:3
-msgid ""
-"After archiving, it will be backed up but you will not be able to publish it "
-"again except by creating a new version."
-msgstr ""
-"L'archivage permet de conserver une version d'un contenu dans son état "
-"actuel ; il pourra ensuite à nouveau être publié, en créant une nouvelle "
-"version."
-
-#: src/pyams_content/shared/common/zmi/templates/check-input.pt:34
-#: src/pyams_content/shared/common/zmi/templates/preview-input.pt:34
-#: src/pyams_content/shared/common/interfaces/types.py:47
-#: src/pyams_content/shared/form/zmi/field.py:167
-#: src/pyams_content/shared/form/interfaces/__init__.py:60
-#: src/pyams_content/features/menu/zmi/__init__.py:215
-msgid "Label"
-msgstr "Libellé"
-
-#: src/pyams_content/shared/common/zmi/templates/check-input.pt:39
-#: src/pyams_content/features/checker/zmi/__init__.py:43
-msgid "Audit"
-msgstr "Audit"
-
-#: src/pyams_content/shared/common/zmi/templates/dashboard.pt:29
-#: src/pyams_content/root/zmi/templates/dashboard.pt:29
-msgid "Quick search..."
-msgstr "Recherche rapide..."
-
-#: src/pyams_content/shared/common/zmi/templates/dashboard.pt:35
-#: src/pyams_content/root/zmi/templates/dashboard.pt:35
-msgid "Advanced search..."
-msgstr "Recherche avancée..."
-
-#: src/pyams_content/shared/common/zmi/templates/dashboard.pt:49
-#: src/pyams_content/root/zmi/templates/dashboard.pt:49
-msgid "You are not actually concerned by any content."
-msgstr "Vous n'êtes actuellement concerné par aucun contenu."
-
-#: src/pyams_content/shared/common/zmi/templates/wf-publish-message.pt:2
-msgid ""
-"As a manager, you considerate that this content is complete and can be "
-"published 'as is'."
-msgstr ""
-"En tant que responsable, vous considérez que ce contenu peut être publié en "
-"l'état."
-
-#: src/pyams_content/shared/common/zmi/templates/wf-publish-message.pt:4
-msgid ""
-"This operation will make the content publicly available (except if "
-"restricted access has been set)."
-msgstr ""
-"Cette opération va rendre le contenu visible de tous, sauf si des "
-"restrictions d'accès lui ont été appliquées."
-
-#: src/pyams_content/shared/common/zmi/templates/wf-create-message.pt:2
-msgid ""
-"This new content is going to be created in 'draft' mode, so that you can "
-"complete it before publication."
-msgstr ""
-"Ce nouveau contenu va être créé en statut 'Brouillon' pour vous permettre de "
-"le préparer."
-
-#: src/pyams_content/shared/common/zmi/templates/wf-create-message.pt:4
-msgid ""
-"A unique number is also going to be assigned to it. This number will be "
-"shared by all content's versions."
-msgstr ""
-"Un numéro unique va lui être attribué ; il sera permanent, quelle que soit "
-"la version."
-
-#: src/pyams_content/shared/common/zmi/templates/wf-operator-warning.pt:1
-msgid ""
-"WARNING: this request was made by a contributor which is not the owner of "
-"this content."
-msgstr ""
-"ATTENTION : cette demande est formulée par un contributeur habilité qui "
-"n'est pas le propriétaire."
-
-#: src/pyams_content/shared/common/zmi/templates/wf-clone-message.pt:2
-msgid "You considerate that the currently published must evolve."
-msgstr "Vous considérez que la version actuelle de ce contenu doit évoluer."
-
-#: src/pyams_content/shared/common/zmi/templates/wf-clone-message.pt:3
-msgid ""
-"By creating a new version, you can update it's content without impacting the "
-"currently published one."
-msgstr ""
-"En créant une nouvelle version, vous pourrez apporter des modifications sans "
-"impacter la version actuelle."
-
-#: src/pyams_content/shared/common/zmi/templates/wf-clone-message.pt:5
-msgid ""
-"When the new version will be complete, you will be able to make a new "
-"publication request to replace the currently published version (which will "
-"be archived automatically)."
-msgstr ""
-"Lorsque la nouvelle version sera prête, vous demanderez sa publication (et "
-"la version actuelle sera automatiquement archivée)."
-
-#: src/pyams_content/shared/common/zmi/templates/wf-propose-message.pt:1
-msgid ""
-"This publication request is going to be transmitted to a content manager."
-msgstr "Cette demande de publication va être soumise à un responsable."
-
-#: src/pyams_content/shared/common/zmi/templates/wf-duplicate-message.pt:2
-msgid "You are going to duplicate a whole content."
-msgstr ""
-"Vous vous apprêtez à dupliquer une version de ce contenu pour en créer un "
-"nouveau."
-
-#: src/pyams_content/shared/common/zmi/templates/wf-duplicate-message.pt:3
-msgid ""
-"The new copy is going to be created in 'draft' mode, so that you can modify "
-"it before publication."
-msgstr ""
-"Cette copie va être créée en statut 'Brouillon' pour vous permettre de la "
-"préparer."
-
-#: src/pyams_content/shared/common/zmi/templates/wf-duplicate-message.pt:5
-msgid ""
-"A new unique number is also going to be assigned to it. This number will be "
-"shared by all content's versions."
-msgstr ""
-"Un numéro unique lui sera également attribué ; ce numéro sera conservé "
-"pendant toute la vie du contenu, quelle que soit la version."
-
-#: src/pyams_content/shared/common/zmi/templates/advanced-search.pt:130
-#: src/pyams_content/root/zmi/templates/advanced-search.pt:130
-msgid "Created between"
-msgstr "Créé entre le"
-
-#: src/pyams_content/shared/common/zmi/templates/advanced-search.pt:142
-#: src/pyams_content/shared/common/zmi/templates/advanced-search.pt:168
-#: src/pyams_content/root/zmi/templates/advanced-search.pt:142
-#: src/pyams_content/root/zmi/templates/advanced-search.pt:168
-msgid "and"
-msgstr "et le"
-
-#: src/pyams_content/shared/common/zmi/templates/advanced-search.pt:156
-#: src/pyams_content/root/zmi/templates/advanced-search.pt:156
-msgid "Modified between"
-msgstr "Modifié entre le"
-
-#: src/pyams_content/shared/common/zmi/templates/advanced-search.pt:214
-#: src/pyams_content/root/zmi/templates/advanced-search.pt:211
-msgid "Tab label"
-msgstr "Libellé de l'onglet"
-
-#: src/pyams_content/shared/common/zmi/templates/wf-refuse-propose-message.pt:2
-msgid ""
-"As a content manager, you considerate that this content can't be published "
-"'as is'."
-msgstr ""
-"En tant que responsable, vous considérez que ce contenu ne peut pas être "
-"publié en l'état."
-
-#: src/pyams_content/shared/common/zmi/templates/wf-refuse-propose-message.pt:4
-msgid ""
-"The contributor will be notified of this and will be able to update the "
-"content before doing a new publication request."
-msgstr ""
-"Le contributeur qui vous a sollicité va être notifié de votre refus ; il "
-"pourra modifier ce contenu et effectuer une nouvelle demande de publication."
-
-#: src/pyams_content/shared/common/zmi/templates/wf-cancel-archiving-message.pt:1
-msgid ""
-"After cancelling this request, the content will return to it's previous "
-"retired state."
-msgstr "En annulant cette demande, ce contenu va retourner en statut 'Retiré'."
-
-#: src/pyams_content/shared/common/zmi/templates/wf-cancel-retiring-message.pt:1
-msgid ""
-"After cancelling this request, the content will return to it's normal "
-"published state."
-msgstr "En annulant cette demande, ce contenu va retourner en statut 'Publié'."
-
-#: src/pyams_content/shared/common/zmi/templates/wf-retire-message.pt:2
-msgid ""
-"As a content manager, you considerate that this content should no longer be "
-"published."
-msgstr ""
-"En tant que responsable, vous considérez que ce contenu ne doit plus être "
-"publié."
-
-#: src/pyams_content/shared/common/zmi/templates/wf-retire-message.pt:4
-msgid ""
-"Retired content won't be visible anymore, but it can be updated and "
-"published again, or archived."
-msgstr ""
-"Après ce retrait, il ne sera plus visible des internautes. Il pourra par "
-"contre être publié à nouveau, archivé, ou modifié en créant une nouvelle "
-"version."
-
-#: src/pyams_content/shared/common/zmi/templates/wf-cancel-propose-message.pt:1
-msgid ""
-"After canceling the request, you will be able to update the content again."
-msgstr "En annulant cette demande, ce contenu pourra à nouveau être modifié."
-
-#: src/pyams_content/shared/common/zmi/templates/wf-delete-message.pt:2
-msgid ""
-"This content was never published. If you confirm deletion, it won't be "
-"possible to restore it."
-msgstr ""
-"Ce contenu n'a jamais été publié. Une fois supprimé, il ne pourra pas être "
-"récupéré."
-
-#: src/pyams_content/shared/common/zmi/templates/wf-delete-message.pt:6
-msgid ""
-"The content version is going to be definitely deleted. Will only remain the "
-"currently published version."
-msgstr ""
-"Cette version va être définitivement supprimée, pour revenir à la version "
-"précédente."
-
-#: src/pyams_content/shared/common/zmi/templates/wf-owner-warning.pt:1
-msgid ""
-"RECALL: you are not the owner of the content on which you are intervening."
-msgstr ""
-"ATTENTION : vous intervenez sur un contenu dont vous n'êtes pas le "
-"propriétaire."
-
-#: src/pyams_content/shared/common/zmi/templates/wf-transition-info.pt:2
-msgid "FOR YOUR INFORMATION"
-msgstr "POUR VOTRE INFORMATION"
-
-#: src/pyams_content/shared/common/zmi/templates/wf-transition-info.pt:5
-msgid "Next step"
-msgstr "Étape suivante"
-
-#: src/pyams_content/shared/common/zmi/templates/wf-transition-info.pt:7
-msgid "Previous step"
-msgstr "Étape précédente"
-
-#: src/pyams_content/shared/common/zmi/templates/wf-transition-info.pt:10
-msgid "With this comment:"
-msgstr "Avec ce commentaire :"
-
-#: src/pyams_content/shared/common/zmi/templates/wf-archiving-message.pt:2
-msgid "This content is already retired and not visible."
-msgstr "Ce contenu est déjà retiré et n'est plus visible des internautes."
-
-#: src/pyams_content/shared/common/portlet/title.py:38
-msgid "Content title"
-msgstr "Titre du gabarit"
-
-#: src/pyams_content/shared/common/portlet/head.py:46
-msgid "Content header"
-msgstr "En-tête de gabarit"
-
-#: src/pyams_content/shared/common/portlet/zmi/templates/head-preview.pt:4
-msgid "Display breadcrumbs"
-msgstr "Afficher le fil d'Ariane"
-
-#: src/pyams_content/shared/common/portlet/zmi/templates/head-preview.pt:8
-msgid "Display title"
-msgstr "Afficher le titre"
-
-#: src/pyams_content/shared/common/portlet/zmi/templates/head-preview.pt:12
-msgid "Display tags"
-msgstr "Afficher les tags"
-
-#: src/pyams_content/shared/common/portlet/zmi/templates/head-preview.pt:16
-msgid "Display header"
-msgstr "Afficher le chapô"
-
-#: src/pyams_content/shared/common/portlet/zmi/templates/head-preview.pt:20
-msgid "Display specificities"
-msgstr "Afficher les spécificités"
-
-#: src/pyams_content/shared/common/portlet/interfaces/__init__.py:25
-msgid "Display breadcrumbs?"
-msgstr "Afficher le fil d'Ariane ?"
-
-#: src/pyams_content/shared/common/portlet/interfaces/__init__.py:29
-msgid "Display title?"
-msgstr "Afficher le titre ?"
-
-#: src/pyams_content/shared/common/portlet/interfaces/__init__.py:33
-msgid "Display tags?"
-msgstr "Afficher les tags ?"
-
-#: src/pyams_content/shared/common/portlet/interfaces/__init__.py:37
-msgid "Display header?"
-msgstr "Afficher le chapô ?"
-
-#: src/pyams_content/shared/common/portlet/interfaces/__init__.py:41
-msgid "Display specificities?"
-msgstr "Afficher les spécificités ?"
-
-#: src/pyams_content/shared/common/portlet/interfaces/__init__.py:42
-msgid "If 'no', specific content's informations won't be displayed..."
-msgstr ""
-"Si 'non', les informations spécifiques que le gabarit est susceptible "
-"d'intégrer dans l'en-tête de page ne seront pas affichées"
-
-#: src/pyams_content/shared/common/interfaces/types.py:43
-#: src/pyams_content/shared/form/zmi/field.py:156
-msgid "Name"
-msgstr "Nom"
-
 #: src/pyams_content/shared/common/interfaces/types.py:44
 msgid "Name of this data type; must be unique between all data types"
 msgstr "Nom de ce type de donnée ; doit être unique entre tous les types"
@@ -3299,11 +4287,6 @@
 msgid "Type of content data"
 msgstr "Type du contenu associé à ce gabarit"
 
-#: src/pyams_content/shared/common/interfaces/__init__.py:41
-#: src/pyams_content/root/interfaces/__init__.py:37
-msgid "Webmasters"
-msgstr "Webmestres"
-
 #: src/pyams_content/shared/common/interfaces/__init__.py:42
 msgid "Webmasters can handle all contents, including published ones"
 msgstr ""
@@ -3323,21 +4306,6 @@
 "et les contributeurs, et limitent si nécessaire l'intervention des "
 "responsables à certains contenus"
 
-#: src/pyams_content/shared/common/interfaces/__init__.py:52
-#: src/pyams_content/shared/common/interfaces/__init__.py:196
-msgid "Managers"
-msgstr "Responsables"
-
-#: src/pyams_content/shared/common/interfaces/__init__.py:53
-#: src/pyams_content/shared/common/interfaces/__init__.py:197
-msgid ""
-"Managers can handle main operations in tool's workflow, like publish or "
-"retire contents"
-msgstr ""
-"Les responsables peuvent intervenir sur les étapes importantes du workflow "
-"(comme la publication ou le retrait des contenus), dans la limite des "
-"restrictions qui leur sont imposées"
-
 #: src/pyams_content/shared/common/interfaces/__init__.py:58
 #: src/pyams_content/shared/common/interfaces/__init__.py:202
 msgid "Contributors"
@@ -3347,16 +4315,6 @@
 msgid "Contributors are users which are allowed to create new contents"
 msgstr "Les contributeurs sont autorisés à créer de nouveaux contenus"
 
-#: src/pyams_content/shared/common/interfaces/__init__.py:63
-#: src/pyams_content/shared/common/interfaces/__init__.py:208
-msgid "Designers"
-msgstr "Designers"
-
-#: src/pyams_content/shared/common/interfaces/__init__.py:64
-#: src/pyams_content/shared/common/interfaces/__init__.py:209
-msgid "Designers are users which are allowed to manage presentation templates"
-msgstr "Les designers sont autorisés à configurer les modèles de présentation"
-
 #: src/pyams_content/shared/common/interfaces/__init__.py:90
 msgid "Workflow name"
 msgstr "Nom du workflow"
@@ -3431,13 +4389,6 @@
 msgid "Content's header is generally displayed in page header"
 msgstr "Le chapô du contenu est généralement affiché en tête de page"
 
-#: src/pyams_content/shared/common/interfaces/__init__.py:157
-#: src/pyams_content/shared/site/interfaces/__init__.py:72
-#: src/pyams_content/shared/site/interfaces/__init__.py:117
-#: src/pyams_content/shared/blog/interfaces/__init__.py:68
-msgid "Meta-description"
-msgstr "Méta-description"
-
 #: src/pyams_content/shared/common/interfaces/__init__.py:158
 msgid ""
 "The content's description is 'hidden' into HTML's page headers; but it can "
@@ -3457,24 +4408,6 @@
 msgid "They will be included into HTML pages metadata"
 msgstr "Ces mots-clés seront intégrés dans les métadonnées des pages HTML"
 
-#: src/pyams_content/shared/common/interfaces/__init__.py:169
-#: src/pyams_content/shared/site/zmi/folder.py:74
-#: src/pyams_content/shared/site/interfaces/__init__.py:78
-#: src/pyams_content/shared/site/interfaces/__init__.py:123
-#: src/pyams_content/shared/blog/interfaces/__init__.py:74
-msgid "Notepad"
-msgstr "Bloc-notes"
-
-#: src/pyams_content/shared/common/interfaces/__init__.py:170
-#: src/pyams_content/shared/site/zmi/folder.py:75
-#: src/pyams_content/shared/site/interfaces/__init__.py:79
-#: src/pyams_content/shared/site/interfaces/__init__.py:124
-#: src/pyams_content/shared/blog/interfaces/__init__.py:75
-msgid "Internal information to be known about this content"
-msgstr ""
-"Pour prendre note d'informations internes utiles ou importantes à propos de "
-"ce contenu ; ces notes ne seront pas publiées sur internet."
-
 #: src/pyams_content/shared/common/interfaces/__init__.py:189
 msgid "Content owner"
 msgstr "Propriétaire"
@@ -3508,27 +4441,16 @@
 "Les relecteurs sont des utilisateurs qui sont sollicités pour vérifier et "
 "commenter un contenu avant sa publication"
 
-#: src/pyams_content/shared/common/interfaces/__init__.py:219
-msgid "Guests"
-msgstr "Invités"
-
-#: src/pyams_content/shared/common/interfaces/__init__.py:220
-msgid ""
-"Guests are users which are allowed to view contents with restricted access"
-msgstr ""
-"Les invités sont autorisés à consulter des contenus dont l'accès a été "
-"restreint"
-
-#: src/pyams_content/shared/common/interfaces/__init__.py:243
+#: src/pyams_content/shared/common/interfaces/__init__.py:245
 msgid "Principal ID"
 msgstr "ID utilisateur"
 
-#: src/pyams_content/shared/common/interfaces/__init__.py:282
-#: src/pyams_content/shared/common/interfaces/__init__.py:307
+#: src/pyams_content/shared/common/interfaces/__init__.py:284
+#: src/pyams_content/shared/common/interfaces/__init__.py:309
 msgid "Publication checks"
 msgstr "Activer le tunnel de publication"
 
-#: src/pyams_content/shared/common/interfaces/__init__.py:283
+#: src/pyams_content/shared/common/interfaces/__init__.py:285
 msgid ""
 "If 'yes', this contributor will have to confirm that contents have been "
 "previewed and checked before asking for publication"
@@ -3536,7 +4458,7 @@
 "Si 'oui', ce contributeur devra confirmer qu'il a bien prévisualisé et "
 "audité chaque contenu avant de pouvoir effectuer une demande de publication"
 
-#: src/pyams_content/shared/common/interfaces/__init__.py:308
+#: src/pyams_content/shared/common/interfaces/__init__.py:310
 msgid ""
 "If 'yes', this manager will have to confirm that contents have been "
 "previewed and checked before publishing a content"
@@ -3544,11 +4466,11 @@
 "Si 'oui', ce responsable devra confirmer qu'il a bien prévisualisé et audité "
 "chaque contenu avant de pouvoir effectuer une publication"
 
-#: src/pyams_content/shared/common/interfaces/__init__.py:313
+#: src/pyams_content/shared/common/interfaces/__init__.py:315
 msgid "Restricted contents"
 msgstr "Accès restreints"
 
-#: src/pyams_content/shared/common/interfaces/__init__.py:314
+#: src/pyams_content/shared/common/interfaces/__init__.py:316
 msgid ""
 "If 'yes', this manager will get restricted access to manage contents based "
 "on selected settings"
@@ -3556,269 +4478,848 @@
 "Si 'oui', ce responsable n'aura qu'un accès restreint à certains contenus en "
 "fonction de paramètres spécifiques"
 
-#: src/pyams_content/shared/common/interfaces/__init__.py:319
+#: src/pyams_content/shared/common/interfaces/__init__.py:321
 msgid "Selected owners"
 msgstr "Propriétaires"
 
-#: src/pyams_content/shared/common/interfaces/__init__.py:320
+#: src/pyams_content/shared/common/interfaces/__init__.py:322
 msgid "Manager will have access to contents owned by these principals"
 msgstr ""
 "Le responsable n'aura accès qu'aux contenus dont ces utilisateurs sont "
 "propriétaires"
 
-#: src/pyams_content/shared/form/__init__.py:97
-msgid "Form fields"
-msgstr "Champs de saisie"
-
-#: src/pyams_content/shared/form/__init__.py:98
-msgid "no field defined"
-msgstr "aucun champ défini"
-
-#: src/pyams_content/shared/form/handler.py:80
-msgid "Mailto form handler"
-msgstr "Envoi des données par mail"
-
-#: src/pyams_content/shared/form/handler.py:44
-msgid "No selected handler..."
-msgstr "Aucun gestionnaire sélectionné"
-
-#: src/pyams_content/shared/form/field.py:146
-msgid "Text"
-msgstr "Texte simple"
-
-#: src/pyams_content/shared/form/field.py:156
-msgid "Multi-lines text"
-msgstr "Texte multi-lignes"
-
-#: src/pyams_content/shared/form/field.py:166
-msgid "Boolean"
-msgstr "Booléen"
-
-#: src/pyams_content/shared/form/field.py:176
-msgid "Integer"
-msgstr "Nombre entier"
-
-#: src/pyams_content/shared/form/field.py:186
-msgid "Decimal"
-msgstr "Nombre décimal"
-
-#: src/pyams_content/shared/form/field.py:196
-msgid "E-mail address"
-msgstr "Adresse de messagerie"
-
-#: src/pyams_content/shared/form/field.py:206
-msgid "URI"
-msgstr "URI"
-
-#: src/pyams_content/shared/form/field.py:216
-msgid "Date"
-msgstr "Date"
-
-#: src/pyams_content/shared/form/field.py:230
-msgid "Choice"
-msgstr "Choix unique dans une liste"
-
-#: src/pyams_content/shared/form/field.py:250
-msgid "List"
-msgstr "Choix multiples dans une liste"
-
-#: src/pyams_content/shared/form/zmi/properties.py:41
-msgid "Main form settings"
-msgstr "Paramètres du formulaire"
-
-#: src/pyams_content/shared/form/zmi/properties.py:65
-msgid "Form handler settings"
-msgstr "Paramètres du gestionnaire"
-
-#: src/pyams_content/shared/form/zmi/__init__.py:44
-msgid "This form"
-msgstr "Ce formulaire"
-
-#: src/pyams_content/shared/form/zmi/__init__.py:63
-#: src/pyams_content/shared/form/zmi/__init__.py:74
-msgid "Add form"
-msgstr "Ajouter un formulaire"
-
-#: src/pyams_content/shared/form/zmi/__init__.py:54
+#: src/pyams_content/shared/common/portlet/title.py:38
+msgid "Content title"
+msgstr "Titre du gabarit"
+
+#: src/pyams_content/shared/common/portlet/head.py:46
+msgid "Content header"
+msgstr "En-tête de gabarit"
+
+#: src/pyams_content/shared/common/portlet/interfaces/__init__.py:25
+msgid "Display breadcrumbs?"
+msgstr "Afficher le fil d'Ariane ?"
+
+#: src/pyams_content/shared/common/portlet/interfaces/__init__.py:29
+msgid "Display title?"
+msgstr "Afficher le titre ?"
+
+#: src/pyams_content/shared/common/portlet/interfaces/__init__.py:33
+msgid "Display tags?"
+msgstr "Afficher les tags ?"
+
+#: src/pyams_content/shared/common/portlet/interfaces/__init__.py:37
+msgid "Display header?"
+msgstr "Afficher le chapô ?"
+
+#: src/pyams_content/shared/common/portlet/interfaces/__init__.py:41
+msgid "Display specificities?"
+msgstr "Afficher les spécificités ?"
+
+#: src/pyams_content/shared/common/portlet/interfaces/__init__.py:42
+msgid "If 'no', specific content's informations won't be displayed..."
+msgstr ""
+"Si 'non', les informations spécifiques que le gabarit est susceptible "
+"d'intégrer dans l'en-tête de page ne seront pas affichées"
+
+#: src/pyams_content/shared/common/portlet/zmi/templates/head-preview.pt:4
+msgid "Display breadcrumbs"
+msgstr "Afficher le fil d'Ariane"
+
+#: src/pyams_content/shared/common/portlet/zmi/templates/head-preview.pt:8
+msgid "Display title"
+msgstr "Afficher le titre"
+
+#: src/pyams_content/shared/common/portlet/zmi/templates/head-preview.pt:12
+msgid "Display tags"
+msgstr "Afficher les tags"
+
+#: src/pyams_content/shared/common/portlet/zmi/templates/head-preview.pt:16
+msgid "Display header"
+msgstr "Afficher le chapô"
+
+#: src/pyams_content/shared/common/portlet/zmi/templates/head-preview.pt:20
+msgid "Display specificities"
+msgstr "Afficher les spécificités"
+
+#: src/pyams_content/shared/common/zmi/portal.py:44
+msgid "Edit default template properties"
+msgstr "Modèle de présentation par défaut"
+
+#: src/pyams_content/shared/common/zmi/portal.py:54
+msgid ""
+"**This form allows you to select shared content default template.**\n"
+"\n"
+"If you choose to use a shared template, you can only adjust settings of each "
+"portlet individually but can't change portlets list or page configuration.\n"
+"\n"
+"If you use a local template, you can define a whole custom configuration but "
+"the template definition can't be reused anywhere..."
+msgstr ""
+"Vous pouvez modifier le modèle de présentation qui sera appliqué **par "
+"défaut** à tous les contenus de ce gabarit.\n"
+"\n"
+"Si vous choisissez d'utiliser un modèle de présentation partagé, vous "
+"pourrez ajuster les paramètres de chaque composant mais ne pourrez pas "
+"modifier la liste des composants ou leur position et la configuration de la "
+"page.\n"
+"\n"
+"Si vous choisissez d'utiliser un modèle de présentation \"local\", vous "
+"pourrez définir l'ensemble de la configuration mais le modèle de "
+"présentation ne pourra pas être réutilisé ailleurs que dans les contenus de "
+"ce gabarit."
+
+#: src/pyams_content/shared/common/zmi/portal.py:70
+msgid "Use tool default template"
+msgstr "Utiliser le modèle de présentation par défaut de ce gabarit"
+
+#: src/pyams_content/shared/common/zmi/properties.py:59
+msgid "Composition"
+msgstr "Composition"
+
+#: src/pyams_content/shared/common/zmi/properties.py:82
+msgid "Content properties"
+msgstr "Propriétés élémentaires"
+
+#: src/pyams_content/shared/common/zmi/site.py:38
+#, python-format
+msgid ""
+"SEARCH - Between all contents published into &laquo;&nbsp;{site}&nbsp;&raquo;"
+msgstr ""
+"RECHERCHE - Tous contenus présents dans &laquo;&nbsp;{site}&nbsp;&raquo; "
+"confondus"
+
+#: src/pyams_content/shared/common/zmi/header.py:79
+#, python-format
+msgid "{state} by {principal}"
+msgstr "{state} par {principal}"
+
+#: src/pyams_content/shared/common/zmi/header.py:112
+#, python-format
+msgid "since {date}"
+msgstr "depuis {date}"
+
+#: src/pyams_content/shared/common/zmi/header.py:91
+#: src/pyams_content/shared/common/zmi/dashboard.py:166
+msgid "Content publication start date is not passed yet"
+msgstr "La date de début de publication n'est pas encore atteinte"
+
+#: src/pyams_content/shared/common/zmi/header.py:124
+msgid "access published version"
+msgstr "accéder à la version en ligne"
+
+#: src/pyams_content/shared/common/zmi/header.py:131
+msgid "access new version"
+msgstr "accéder à la version en préparation"
+
+#: src/pyams_content/shared/common/zmi/header.py:141
+msgid "access waiting version"
+msgstr "accéder à la version en attente"
+
+#: src/pyams_content/shared/common/zmi/header.py:152
+msgid "access retired version"
+msgstr "accéder à la version retirée"
+
+#: src/pyams_content/shared/common/zmi/header.py:162
+msgid "access archived version"
+msgstr "accéder à la version archivée"
+
+#: src/pyams_content/shared/common/zmi/manager.py:107
+msgid "Shared tool properties"
+msgstr "Propriétés de l'outil"
+
+#: src/pyams_content/shared/common/zmi/manager.py:125
+msgid "WARNING"
+msgstr "ATTENTION"
+
+#: src/pyams_content/shared/common/zmi/manager.py:127
+msgid ""
+"Workflow shouldn't be modified if this tool already contains any shared "
+"content!"
+msgstr ""
+"Le workflow ne doit pas être modifié si cet outil renferme déjà des contenus "
+"partagés !"
+
+#: src/pyams_content/shared/common/zmi/manager.py:150
+msgid "Languages"
+msgstr "Langues"
+
+#: src/pyams_content/shared/common/zmi/manager.py:162
+msgid "Content languages"
+msgstr "Langues pour la traduction de cet outil"
+
+#: src/pyams_content/shared/common/zmi/manager.py:172
+msgid ""
+"Tool languages are used to translate own tool properties, and newly created "
+"contents will propose these languages by default"
+msgstr ""
+"Les langues sont utilisées pour traduire les propriétés de l'outil.\n"
+"\n"
+"Les nouveaux contenus proposeront également ces langues par défaut."
+
+#: src/pyams_content/shared/common/zmi/manager.py:80
+msgid "Content management"
+msgstr "Gérer ce gabarit"
+
+#: src/pyams_content/shared/common/zmi/manager.py:82
+msgid "Tool management"
+msgstr "Gérer cet outil"
+
+#: src/pyams_content/shared/common/zmi/types.py:69
+msgid "Data types"
+msgstr "Types de contenus"
+
+#: src/pyams_content/shared/common/zmi/types.py:147
+msgid "Data type label"
+msgstr "Libellé du type"
+
+#: src/pyams_content/shared/common/zmi/types.py:187
+#: src/pyams_content/shared/common/zmi/types.py:427
+msgid "Default associations"
+msgstr "Liens et pièces jointes par défaut"
+
+#: src/pyams_content/shared/common/zmi/types.py:203
+msgid "Default themes"
+msgstr "Thèmes par défaut"
+
+#: src/pyams_content/shared/common/zmi/types.py:231
+msgid "Content data types"
+msgstr "Types de contenus"
+
+#: src/pyams_content/shared/common/zmi/types.py:254
+msgid "Add data type"
+msgstr "Ajouter un type"
+
+#: src/pyams_content/shared/common/zmi/types.py:266
+msgid "Add new data type"
+msgstr "Ajout d'un type de contenu"
+
+#: src/pyams_content/shared/common/zmi/types.py:309
+msgid "Data type properties"
+msgstr "Propriétés du type de contenu"
+
+#: src/pyams_content/shared/common/zmi/types.py:390
+msgid "Subtype label"
+msgstr "Libellé du sous-type"
+
+#: src/pyams_content/shared/common/zmi/types.py:471
+msgid "Add subtype"
+msgstr "Ajouter un sous-type"
+
+#: src/pyams_content/shared/common/zmi/types.py:483
+msgid "Add new subtype"
+msgstr "Ajout d'un sous-type de contenu"
+
+#: src/pyams_content/shared/common/zmi/types.py:530
+msgid "Data subtype properties"
+msgstr "Propriétés du fichier standard"
+
+#: src/pyams_content/shared/common/zmi/types.py:572
+msgid "Select content type..."
+msgstr "Sélectionnez un type de contenu..."
+
+#: src/pyams_content/shared/common/zmi/types.py:114
+msgid "No currently defined data type."
+msgstr "Aucun type de contenu n'est actuellement défini."
+
+#: src/pyams_content/shared/common/zmi/types.py:299
+msgid "Specified type name is already used!"
+msgstr "Le nom indiqué pour ce type de contenu est déjà utilisé !"
+
+#: src/pyams_content/shared/common/zmi/types.py:506
+msgid "Subtype was correctly added."
+msgstr "Le sous-type a été ajouté."
+
+#: src/pyams_content/shared/common/zmi/types.py:520
+msgid "Specified subtype name is already used!"
+msgstr "Le nom indiqué pour ce sous-type de contenu est déjà utilisé !"
+
+#: src/pyams_content/shared/common/zmi/types.py:159
+msgid "Click to see subtypes"
+msgstr "Montrer ou caher les sous-types"
+
+#: src/pyams_content/shared/common/zmi/types.py:610
+#, python-format
+msgid "Custom properties for type « {0} »"
+msgstr "Propriétés spécifiques au type « {0} »"
+
+#: src/pyams_content/shared/common/zmi/dashboard.py:129
+msgid "Unique ID"
+msgstr "N° IN"
+
+#: src/pyams_content/shared/common/zmi/dashboard.py:149
+#: src/pyams_content/shared/common/zmi/search.py:173
+msgid "Status"
+msgstr "Statut"
+
+#: src/pyams_content/shared/common/zmi/dashboard.py:176
+msgid "Status date"
+msgstr "En date du"
+
+#: src/pyams_content/shared/common/zmi/dashboard.py:193
+#: src/pyams_content/shared/common/zmi/summary.py:167
+msgid "Version"
+msgstr "Version"
+
+#: src/pyams_content/shared/common/zmi/dashboard.py:208
+msgid "Status principal"
+msgstr "Intervenant"
+
+#: src/pyams_content/shared/common/zmi/dashboard.py:248
+msgid "Last modification"
+msgstr "Dernière modification"
+
+#: src/pyams_content/shared/common/zmi/dashboard.py:281
+msgid "Contents dashboard"
+msgstr "Mon tableau de bord"
+
+#: src/pyams_content/shared/common/zmi/dashboard.py:480
+#: src/pyams_content/shared/common/zmi/templates/header.pt:23
+msgid "Add/remove from favorites"
+msgstr "Ajouter/enlever des favoris"
+
+#: src/pyams_content/shared/common/zmi/dashboard.py:304
+#, python-format
+msgid "SEARCH - Between all contents of type &laquo;&nbsp;{type}&nbsp;&raquo;"
+msgstr "RECHERCHE - Tous contenus &laquo;&nbsp;{type}&nbsp;&raquo; confondus"
+
+#: src/pyams_content/shared/common/zmi/rename.py:58
+msgid "Change URL..."
+msgstr "Changer d'URL"
+
+#: src/pyams_content/shared/common/zmi/rename.py:75
+msgid "Change item URL"
+msgstr "Modification de l'URL"
+
+#: src/pyams_content/shared/common/zmi/rename.py:82
+msgid "Item URL part"
+msgstr "URL du contenu"
+
+#: src/pyams_content/shared/common/zmi/rename.py:83
+msgid "URL part used to access this content"
+msgstr "Portion de l'URL utilisée pour accéder à ce contenu"
+
+#: src/pyams_content/shared/common/zmi/rename.py:123
+msgid "You must provide an URL for this item!"
+msgstr "Vous devez fournir une URL pour ce contenu !"
+
+#: src/pyams_content/shared/common/zmi/security.py:64
+msgid "Contributors restrictions"
+msgstr "Paramètres des contributeurs"
+
+#: src/pyams_content/shared/common/zmi/security.py:73
+msgid "Content contributors restrictions"
+msgstr "Liste des contributeurs"
+
+#: src/pyams_content/shared/common/zmi/security.py:107
+msgid "Contributor name"
+msgstr "Nom du contributeur"
+
+#: src/pyams_content/shared/common/zmi/security.py:118
+#: src/pyams_content/shared/common/zmi/security.py:272
+msgid "Activated publication checks?"
+msgstr "Tunnel de publication activé"
+
+#: src/pyams_content/shared/common/zmi/security.py:219
+msgid "Managers restrictions"
+msgstr "Paramètres des responsables"
+
+#: src/pyams_content/shared/common/zmi/security.py:228
+msgid "Content managers restrictions"
+msgstr "Liste des responsables"
+
+#: src/pyams_content/shared/common/zmi/security.py:261
+msgid "Manager name"
+msgstr "Nom du responsable"
+
+#: src/pyams_content/shared/common/zmi/security.py:289
+msgid "Restricted"
+msgstr "Restrictions"
+
+#: src/pyams_content/shared/common/zmi/security.py:306
+msgid "Owners"
+msgstr "Propriétaires"
+
+#: src/pyams_content/shared/common/zmi/security.py:396
+msgid "Publication workflow"
+msgstr "Workflow de publication"
+
+#: src/pyams_content/shared/common/zmi/security.py:167
+#, python-format
+msgid "Edit contributor restrictions for « {0} »"
+msgstr "Gérer les paramètres d'intervention de « {0} »"
+
+#: src/pyams_content/shared/common/zmi/security.py:355
+#, python-format
+msgid "Edit manager restrictions for « {0} »"
+msgstr "Gérer les paramètres d'intervention de « {0} »"
+
+#: src/pyams_content/shared/common/zmi/security.py:402
+msgid "Apply contents restrictions"
+msgstr "Appliquer des restrictions d'accès"
+
+#: src/pyams_content/shared/common/zmi/security.py:404
+msgid ""
+"You can specify which contents this manager will be able to manage. If you "
+"specify several criteria, the manager will be able to manage contents for "
+"which at least one criteria is matching."
+msgstr ""
+"Vous pouvez indiquer les propriétés des contenus que ce responsable sera "
+"autorisé à gérer. Si vous indiquez plusieurs critères, il pourra gérer les "
+"contenus pour lesquels au moins l'un des critères correspond."
+
+#: src/pyams_content/shared/common/zmi/__init__.py:265
+msgid "Duplicate content..."
+msgstr "Dupliquer le contenu"
+
+#: src/pyams_content/shared/common/zmi/__init__.py:285
+msgid "Duplicate content"
+msgstr "Dupliquer ce contenu"
+
+#: src/pyams_content/shared/common/zmi/__init__.py:86
+msgid "This title can be modified afterwards"
+msgstr "Pourra être modifié ultérieurement"
+
+#: src/pyams_content/shared/common/zmi/__init__.py:276
+msgid "Duplicate this content"
+msgstr "Dupliquer ce contenu"
+
+#: src/pyams_content/shared/common/zmi/__init__.py:332
 #, python-format
-msgid "Form « {title} »"
-msgstr "Formulaire « {title} »"
-
-#: src/pyams_content/shared/form/zmi/field.py:69
-msgid "Form fields..."
-msgstr "Champs de saisie"
-
-#: src/pyams_content/shared/form/zmi/field.py:178
-#: src/pyams_content/shared/form/interfaces/__init__.py:55
-msgid "Field type"
-msgstr "Type de champ"
-
-#: src/pyams_content/shared/form/zmi/field.py:211
-msgid "Form fields list"
-msgstr "Liste des champs du formulaire"
-
-#: src/pyams_content/shared/form/zmi/field.py:234
-#: src/pyams_content/shared/form/zmi/field.py:247
-msgid "Add form field"
-msgstr "Ajouter un champ"
-
-#: src/pyams_content/shared/form/zmi/field.py:285
-msgid "Edit form field properties"
-msgstr "Propriétés du champ"
-
-#: src/pyams_content/shared/form/zmi/field.py:187
-msgid "-- unknown field type --"
-msgstr "-- type de champ inconnu --"
-
-#: src/pyams_content/shared/form/zmi/field.py:122
-msgid "No currently defined form field."
-msgstr "Ce formulaire ne comporte aucun champ."
-
-#: src/pyams_content/shared/form/zmi/field.py:269
-msgid "Specified name is already used!"
-msgstr "Le nom indiqué pour ce champ est déjà utilisé !"
-
-#: src/pyams_content/shared/form/interfaces/__init__.py:33
-msgid "Form"
-msgstr "Formulaire"
-
-#: src/pyams_content/shared/form/interfaces/__init__.py:51
-msgid "Field name"
-msgstr "Nom du champ"
-
-#: src/pyams_content/shared/form/interfaces/__init__.py:52
-msgid "Field internal name; must be unique for a given form"
-msgstr ""
-"Nom interne du champ ; ce nom doit être unique pour un formulaire donné"
-
-#: src/pyams_content/shared/form/interfaces/__init__.py:56
-msgid "Selected field type"
-msgstr "Type de champ proposé à l'internaute"
-
-#: src/pyams_content/shared/form/interfaces/__init__.py:61
-msgid "User field label"
-msgstr "Libellé affiché à l'internaute"
-
-#: src/pyams_content/shared/form/interfaces/__init__.py:65
-msgid "Field description can be displayed as hint"
-msgstr ""
-"Description du champ, qui pourra être affichée sous la forme d'une info-bulle"
-
-#: src/pyams_content/shared/form/interfaces/__init__.py:68
-msgid "Placeholder"
-msgstr "Espace réservé"
-
-#: src/pyams_content/shared/form/interfaces/__init__.py:69
-msgid "Some field types like textline can display a placeholder"
-msgstr ""
-"Certains champs tels que les zones de texte peuvent afficher ce texte tant "
-"qu'aucune valeur n'y a été saisie"
-
-#: src/pyams_content/shared/form/interfaces/__init__.py:72
-msgid "Optional values"
-msgstr "Liste de valeurs"
-
-#: src/pyams_content/shared/form/interfaces/__init__.py:73
-msgid "List of available values (for 'choice' and 'list' field types)"
-msgstr ""
-"Liste des valeurs disponibles (pour les champs de types 'Sélection simple' "
-"ou 'Sélection multiple')"
-
-#: src/pyams_content/shared/form/interfaces/__init__.py:76
-msgid "Default value"
-msgstr "Valeur par défaut"
-
-#: src/pyams_content/shared/form/interfaces/__init__.py:77
-msgid "Give default value if field type can use it"
-msgstr ""
-"Donner la valeur par défaut du champ ; attention, tous les types de champs "
-"ne peuvent pas utiliser une valeur par défaut !"
-
-#: src/pyams_content/shared/form/interfaces/__init__.py:80
-msgid "Required?"
-msgstr "Obligatoire ?"
-
-#: src/pyams_content/shared/form/interfaces/__init__.py:81
-msgid "Select 'yes' to set field as mandatory"
-msgstr "Sélectionnez 'oui' pour que la saisie de ce champ soit obligatoire"
-
-#: src/pyams_content/shared/form/interfaces/__init__.py:86
-msgid "Select 'no' to hide given field..."
-msgstr "Sélectionnez 'non' pour masquer ce champ"
-
-#: src/pyams_content/shared/form/interfaces/__init__.py:120
-msgid "Form title"
-msgstr "Titre du formulaire"
-
-#: src/pyams_content/shared/form/interfaces/__init__.py:123
-msgid "Form handler"
-msgstr "Gestionnaire du formulaire"
-
-#: src/pyams_content/shared/form/interfaces/__init__.py:124
-msgid "Select how form data is transmitted"
-msgstr ""
-"Le gestionnaire sélectionné détermine la façon dont les données saisies par "
-"les internautes seront stockées ou envoyées"
-
-#: src/pyams_content/shared/form/interfaces/__init__.py:127
-msgid "Authenticated only?"
-msgstr "Authentification requise ?"
-
-#: src/pyams_content/shared/form/interfaces/__init__.py:128
-msgid "If 'yes', only authenticated users will be able to see and submit form"
-msgstr ""
-"Si 'oui', seuls les utilisateurs authentifiés pourront saisir des données "
-"dans le formulaire et les soumettre"
-
-#: src/pyams_content/shared/form/interfaces/__init__.py:132
-msgid "Use captcha?"
-msgstr "Ajouter un captcha ?"
-
-#: src/pyams_content/shared/form/interfaces/__init__.py:133
-msgid "If 'yes', a captcha will be added automatically to the form"
-msgstr "Si 'oui', un captcha sera ajouté automatiquement au formulaire"
-
-#: src/pyams_content/shared/form/interfaces/__init__.py:137
-msgid "Submit label"
-msgstr "Libellé de soumission"
-
-#: src/pyams_content/shared/form/interfaces/__init__.py:138
-msgid "Label of form submit button"
-msgstr "Libellé du bouton de soumission du formulaire"
-
-#: src/pyams_content/shared/form/interfaces/__init__.py:175
-msgid "Source address"
-msgstr "Adresse source"
-
-#: src/pyams_content/shared/form/interfaces/__init__.py:176
-msgid "Mail address from which form data is sent"
-msgstr "Adresse de messagerie émettrice des données"
-
-#: src/pyams_content/shared/form/interfaces/__init__.py:179
-msgid "Source name"
-msgstr "Nom de la source"
-
-#: src/pyams_content/shared/form/interfaces/__init__.py:180
-msgid "Name of mail data sender"
-msgstr "Nom de l'émetteur des données"
-
-#: src/pyams_content/shared/form/interfaces/__init__.py:183
-msgid "Recipient address"
-msgstr "Adresse de destination"
-
-#: src/pyams_content/shared/form/interfaces/__init__.py:184
-msgid "Mail address to which form data is sent"
-msgstr ""
-"Adresse d'envoi des données; vous pouvez indiquer plusieurs adresses en les "
-"séparant par des point-virgules"
-
-#: src/pyams_content/shared/form/interfaces/__init__.py:187
-msgid "Recipient name"
-msgstr "Nom du destinataire"
-
-#: src/pyams_content/shared/form/interfaces/__init__.py:188
-msgid "Name of data recipient"
-msgstr "Nom du destinataire des messages"
+msgid "Clone created from version {source} of {oid} (in « {state} » state)"
+msgstr ""
+"Duplication de la version {source} du contenu {oid} (alors en statut "
+"« {state} »)"
+
+#: src/pyams_content/shared/common/zmi/__init__.py:377
+msgid "Created or modified in this version"
+msgstr "Créé ou modifié dans cette version"
+
+#: src/pyams_content/shared/common/zmi/owner.py:50
+msgid "Change owner..."
+msgstr "Changer de propriétaire"
+
+#: src/pyams_content/shared/common/zmi/owner.py:83
+msgid "Change content's owner"
+msgstr "Changement de propriétaire"
+
+#: src/pyams_content/shared/common/zmi/owner.py:125
+msgid ""
+"All versions of this content which are not archived will be transferred to "
+"newly selected owner"
+msgstr ""
+"Toutes les versions non archivées de ce contenu seront transférées au "
+"nouveau propriétaire sélectionné"
+
+#: src/pyams_content/shared/common/zmi/owner.py:60
+msgid "New owner"
+msgstr "Nouveau propriétaire"
+
+#: src/pyams_content/shared/common/zmi/owner.py:61
+msgid "The selected user will become the new content's owner"
+msgstr "L'utilisateur sélectionné deviendra le nouveau propriétaire du contenu"
+
+#: src/pyams_content/shared/common/zmi/owner.py:63
+msgid "Keep previous owner as contributor"
+msgstr "L'ancien propriétaire reste contributeur"
+
+#: src/pyams_content/shared/common/zmi/owner.py:64
+msgid "If 'yes', the previous owner will still be able to modify this content"
+msgstr ""
+"Si 'oui', l'actuel propriétaire du contenu en restera contributeur et pourra "
+"donc continuer à le mettre à jour"
+
+#: src/pyams_content/shared/common/zmi/owner.py:74
+msgid "Change owner"
+msgstr "Changer le propriétaire"
+
+#: src/pyams_content/shared/common/zmi/workflow.py:843
+msgid "Prior checks"
+msgstr "Contrôles préalables : avez-vous ?"
+
+#: src/pyams_content/shared/common/zmi/workflow.py:120
+msgid "Request publication"
+msgstr "Demander la publication"
+
+#: src/pyams_content/shared/common/zmi/workflow.py:207
+#: src/pyams_content/workflow/__init__.py:316
+msgid "Cancel publication request"
+msgstr "Annuler la demande de publication"
+
+#: src/pyams_content/shared/common/zmi/workflow.py:247
+msgid "Refuse publication request"
+msgstr "Refuser la demande de publication"
+
+#: src/pyams_content/shared/common/zmi/workflow.py:301
+#: src/pyams_content/workflow/basic.py:197
+msgid "Publish"
+msgstr "Publier"
+
+#: src/pyams_content/shared/common/zmi/workflow.py:390
+msgid "Request retire"
+msgstr "Demander le retrait"
+
+#: src/pyams_content/shared/common/zmi/workflow.py:446
+msgid "Cancel retire request"
+msgstr "Annuler la demande de retrait"
+
+#: src/pyams_content/shared/common/zmi/workflow.py:486
+msgid "Retire"
+msgstr "Retirer"
+
+#: src/pyams_content/shared/common/zmi/workflow.py:527
+#: src/pyams_content/workflow/__init__.py:437
+msgid "Request archive"
+msgstr "Demander l'archivage"
+
+#: src/pyams_content/shared/common/zmi/workflow.py:570
+msgid "Cancel archive request"
+msgstr "Annuler la demande d'archivage"
+
+#: src/pyams_content/shared/common/zmi/workflow.py:610
+msgid "Archive"
+msgstr "Archiver"
+
+#: src/pyams_content/shared/common/zmi/workflow.py:651
+#: src/pyams_content/workflow/__init__.py:502
+#: src/pyams_content/workflow/__init__.py:514
+#: src/pyams_content/workflow/__init__.py:526
+#: src/pyams_content/workflow/__init__.py:538
+#: src/pyams_content/workflow/__init__.py:550
+#: src/pyams_content/workflow/basic.py:225
+#: src/pyams_content/workflow/basic.py:237
+msgid "Create new version"
+msgstr "Créer une nouvelle version"
+
+#: src/pyams_content/shared/common/zmi/workflow.py:702
+#: src/pyams_content/workflow/__init__.py:562
+#: src/pyams_content/workflow/basic.py:249
+msgid "Delete version"
+msgstr "Supprimer cette version"
+
+#: src/pyams_content/shared/common/zmi/workflow.py:789
+msgid "Previewed content?"
+msgstr "Prévisualisé ce contenu ?"
+
+#: src/pyams_content/shared/common/zmi/workflow.py:793
+msgid "Verified content?"
+msgstr "Audité ce contenu ?"
+
+#: src/pyams_content/shared/common/zmi/workflow.py:177
+#: src/pyams_content/shared/common/zmi/workflow.py:359
+msgid "Publication start date is required"
+msgstr "La date de début de publication est obligatoire"
+
+#: src/pyams_content/shared/common/zmi/workflow.py:270
+#: src/pyams_content/shared/common/zmi/workflow.py:416
+msgid "A comment is required"
+msgstr "Le commentaire est obligatoire"
+
+#: src/pyams_content/shared/common/zmi/workflow.py:728
+msgid "Delete content"
+msgstr "Supprimer définitivement ce contenu"
+
+#: src/pyams_content/shared/common/zmi/workflow.py:737
+msgid "Delete definitively"
+msgstr "Supprimer définitivement"
+
+#: src/pyams_content/shared/common/zmi/workflow.py:866
+msgid ""
+"You must confirm that you previewed and checked this content before "
+"requesting publication!!"
+msgstr ""
+"Vous devez avoir prévisualisé et audité ce contenu avant de pouvoir le "
+"publier !!"
+
+#: src/pyams_content/shared/common/zmi/workflow.py:84
+#, python-format
+msgid "{state} | by {principal}"
+msgstr "{state} | par {principal}"
+
+#: src/pyams_content/shared/common/zmi/workflow.py:869
+msgid ""
+"You must confirm that you checked this content before requesting "
+"publication!!"
+msgstr "Vous devez avoir audité ce contenu avant de pouvoir le publier !!"
+
+#: src/pyams_content/shared/common/zmi/workflow.py:80
+#: src/pyams_content/workflow/__init__.py:649
+#: src/pyams_content/workflow/__init__.py:620
+#: src/pyams_content/workflow/basic.py:316
+#: src/pyams_content/workflow/basic.py:287
+#, python-format
+msgid "{state} {date}"
+msgstr "{state} {date}"
+
+#: src/pyams_content/shared/common/zmi/reverse.py:57
+msgid "Reverse links"
+msgstr "Liens amont"
+
+#: src/pyams_content/shared/common/zmi/reverse.py:66
+msgid "Content's internal links"
+msgstr "Autres contenus qui pointent vers ce contenu"
+
+#: src/pyams_content/shared/common/zmi/summary.py:47
+msgid "Display content summary"
+msgstr "Récapitulatif pour ce contenu"
+
+#: src/pyams_content/shared/common/zmi/summary.py:71
+msgid "Identity card"
+msgstr "Carte d'identité"
+
+#: src/pyams_content/shared/common/zmi/summary.py:89
+msgid "Requested action"
+msgstr "Évolution demandée"
+
+#: src/pyams_content/shared/common/zmi/summary.py:130
+msgid "Publication and retire dates"
+msgstr "Dates de publication et de retrait planifiées"
+
+#: src/pyams_content/shared/common/zmi/summary.py:149
+msgid "Current version"
+msgstr "À propos de cette version"
+
+#: src/pyams_content/shared/common/zmi/summary.py:185
+msgid "Content history"
+msgstr "Pour mémoire"
+
+#: src/pyams_content/shared/common/zmi/summary.py:120
+msgid "Associated comment"
+msgstr "Commentaire associé"
+
+#: src/pyams_content/shared/common/zmi/summary.py:110
+#, python-format
+msgid "{state} {date} by {principal}"
+msgstr "{state} {date} par {principal}"
+
+#: src/pyams_content/shared/common/zmi/summary.py:173
+#, python-format
+msgid "{state} since {date}, by {principal}"
+msgstr "{state} depuis {date} par {principal}"
+
+#: src/pyams_content/shared/common/zmi/templates/wf-owner-warning.pt:1
+msgid ""
+"RECALL: you are not the owner of the content on which you are intervening."
+msgstr ""
+"ATTENTION : vous intervenez sur un contenu dont vous n'êtes pas le "
+"propriétaire."
+
+#: src/pyams_content/shared/common/zmi/templates/wf-duplicate-message.pt:2
+msgid "You are going to duplicate a whole content."
+msgstr ""
+"Vous vous apprêtez à dupliquer une version de ce contenu pour en créer un "
+"nouveau."
+
+#: src/pyams_content/shared/common/zmi/templates/wf-duplicate-message.pt:3
+msgid ""
+"The new copy is going to be created in 'draft' mode, so that you can modify "
+"it before publication."
+msgstr ""
+"Cette copie va être créée en statut 'Brouillon' pour vous permettre de la "
+"préparer."
+
+#: src/pyams_content/shared/common/zmi/templates/wf-duplicate-message.pt:5
+msgid ""
+"A new unique number is also going to be assigned to it. This number will be "
+"shared by all content's versions."
+msgstr ""
+"Un numéro unique lui sera également attribué ; ce numéro sera conservé "
+"pendant toute la vie du contenu, quelle que soit la version."
+
+#: src/pyams_content/shared/common/zmi/templates/header.pt:6
+msgid "Back to previous page"
+msgstr "Revenir à la page précédente"
+
+#: src/pyams_content/shared/common/zmi/templates/header.pt:20
+msgid "by ${owner}"
+msgstr "de ${owner}"
+
+#: src/pyams_content/shared/common/zmi/templates/wf-operator-warning.pt:1
+msgid ""
+"WARNING: this request was made by a contributor which is not the owner of "
+"this content."
+msgstr ""
+"ATTENTION : cette demande est formulée par un contributeur habilité qui "
+"n'est pas le propriétaire."
+
+#: src/pyams_content/shared/common/zmi/templates/wf-propose-message.pt:1
+msgid ""
+"This publication request is going to be transmitted to a content manager."
+msgstr "Cette demande de publication va être soumise à un responsable."
+
+#: src/pyams_content/shared/common/zmi/templates/wf-create-message.pt:2
+msgid ""
+"This new content is going to be created in 'draft' mode, so that you can "
+"complete it before publication."
+msgstr ""
+"Ce nouveau contenu va être créé en statut 'Brouillon' pour vous permettre de "
+"le préparer."
+
+#: src/pyams_content/shared/common/zmi/templates/wf-create-message.pt:4
+msgid ""
+"A unique number is also going to be assigned to it. This number will be "
+"shared by all content's versions."
+msgstr ""
+"Un numéro unique va lui être attribué ; il sera permanent, quelle que soit "
+"la version."
+
+#: src/pyams_content/shared/common/zmi/templates/wf-cancel-propose-message.pt:1
+msgid ""
+"After canceling the request, you will be able to update the content again."
+msgstr "En annulant cette demande, ce contenu pourra à nouveau être modifié."
+
+#: src/pyams_content/shared/common/zmi/templates/wf-clone-message.pt:2
+msgid "You considerate that the currently published must evolve."
+msgstr "Vous considérez que la version actuelle de ce contenu doit évoluer."
+
+#: src/pyams_content/shared/common/zmi/templates/wf-clone-message.pt:3
+msgid ""
+"By creating a new version, you can update it's content without impacting the "
+"currently published one."
+msgstr ""
+"En créant une nouvelle version, vous pourrez apporter des modifications sans "
+"impacter la version actuelle."
+
+#: src/pyams_content/shared/common/zmi/templates/wf-clone-message.pt:5
+msgid ""
+"When the new version will be complete, you will be able to make a new "
+"publication request to replace the currently published version (which will "
+"be archived automatically)."
+msgstr ""
+"Lorsque la nouvelle version sera prête, vous demanderez sa publication (et "
+"la version actuelle sera automatiquement archivée)."
+
+#: src/pyams_content/shared/common/zmi/templates/wf-retiring-message.pt:2
+msgid ""
+"You considerate that the currently published version should no more be "
+"publicly visible."
+msgstr ""
+"Vous considérez que la version actuellement en ligne ne doit plus être "
+"consultable."
+
+#: src/pyams_content/shared/common/zmi/templates/wf-retiring-message.pt:3
+msgid ""
+"WARNING: the content will remain visible until a manager validate the "
+"request."
+msgstr ""
+"ATTENTION : ce contenu restera visible jusqu'à ce qu'un responsable prenne "
+"en charge votre demande."
+
+#: src/pyams_content/shared/common/zmi/templates/wf-archiving-message.pt:2
+msgid "This content is already retired and not visible."
+msgstr "Ce contenu est déjà retiré et n'est plus visible des internautes."
+
+#: src/pyams_content/shared/common/zmi/templates/wf-archiving-message.pt:3
+#: src/pyams_content/shared/common/zmi/templates/wf-archive-message.pt:3
+msgid ""
+"After archiving, it will be backed up but you will not be able to publish it "
+"again except by creating a new version."
+msgstr ""
+"L'archivage permet de conserver une version d'un contenu dans son état "
+"actuel ; il pourra ensuite à nouveau être publié, en créant une nouvelle "
+"version."
+
+#: src/pyams_content/shared/common/zmi/templates/wf-publish-message.pt:2
+msgid ""
+"As a manager, you considerate that this content is complete and can be "
+"published 'as is'."
+msgstr ""
+"En tant que responsable, vous considérez que ce contenu peut être publié en "
+"l'état."
+
+#: src/pyams_content/shared/common/zmi/templates/wf-publish-message.pt:4
+msgid ""
+"This operation will make the content publicly available (except if "
+"restricted access has been set)."
+msgstr ""
+"Cette opération va rendre le contenu visible de tous, sauf si des "
+"restrictions d'accès lui ont été appliquées."
+
+#: src/pyams_content/shared/common/zmi/templates/wf-refuse-propose-message.pt:2
+msgid ""
+"As a content manager, you considerate that this content can't be published "
+"'as is'."
+msgstr ""
+"En tant que responsable, vous considérez que ce contenu ne peut pas être "
+"publié en l'état."
+
+#: src/pyams_content/shared/common/zmi/templates/wf-refuse-propose-message.pt:4
+msgid ""
+"The contributor will be notified of this and will be able to update the "
+"content before doing a new publication request."
+msgstr ""
+"Le contributeur qui vous a sollicité va être notifié de votre refus ; il "
+"pourra modifier ce contenu et effectuer une nouvelle demande de publication."
+
+#: src/pyams_content/shared/common/zmi/templates/wf-archive-message.pt:2
+msgid "As a manager, you considerate that this content must be archived."
+msgstr ""
+"En tant que responsable, vous considérez que ce contenu doit être archivé."
+
+#: src/pyams_content/shared/common/zmi/templates/wf-cancel-archiving-message.pt:1
+msgid ""
+"After cancelling this request, the content will return to it's previous "
+"retired state."
+msgstr "En annulant cette demande, ce contenu va retourner en statut 'Retiré'."
+
+#: src/pyams_content/shared/common/zmi/templates/wf-retire-message.pt:2
+msgid ""
+"As a content manager, you considerate that this content should no longer be "
+"published."
+msgstr ""
+"En tant que responsable, vous considérez que ce contenu ne doit plus être "
+"publié."
+
+#: src/pyams_content/shared/common/zmi/templates/wf-retire-message.pt:4
+msgid ""
+"Retired content won't be visible anymore, but it can be updated and "
+"published again, or archived."
+msgstr ""
+"Après ce retrait, il ne sera plus visible des internautes. Il pourra par "
+"contre être publié à nouveau, archivé, ou modifié en créant une nouvelle "
+"version."
+
+#: src/pyams_content/shared/common/zmi/templates/wf-cancel-retiring-message.pt:1
+msgid ""
+"After cancelling this request, the content will return to it's normal "
+"published state."
+msgstr "En annulant cette demande, ce contenu va retourner en statut 'Publié'."
+
+#: src/pyams_content/shared/common/zmi/templates/wf-transition-info.pt:2
+msgid "FOR YOUR INFORMATION"
+msgstr "POUR VOTRE INFORMATION"
+
+#: src/pyams_content/shared/common/zmi/templates/wf-transition-info.pt:5
+msgid "Next step"
+msgstr "Étape suivante"
+
+#: src/pyams_content/shared/common/zmi/templates/wf-transition-info.pt:7
+msgid "Previous step"
+msgstr "Étape précédente"
+
+#: src/pyams_content/shared/common/zmi/templates/wf-transition-info.pt:10
+msgid "With this comment:"
+msgstr "Avec ce commentaire :"
+
+#: src/pyams_content/shared/common/zmi/templates/wf-delete-message.pt:2
+msgid ""
+"This content was never published. If you confirm deletion, it won't be "
+"possible to restore it."
+msgstr ""
+"Ce contenu n'a jamais été publié. Une fois supprimé, il ne pourra pas être "
+"récupéré."
+
+#: src/pyams_content/shared/common/zmi/templates/wf-delete-message.pt:6
+msgid ""
+"The content version is going to be definitely deleted. Will only remain the "
+"currently published version."
+msgstr ""
+"Cette version va être définitivement supprimée, pour revenir à la version "
+"précédente."
+
+#: src/pyams_content/shared/news/interfaces.py:29
+msgid "News topic"
+msgstr "Actualité"
 
 #: src/pyams_content/shared/news/zmi/__init__.py:44
 msgid "This news topic"
@@ -3834,351 +5335,275 @@
 msgid "News topic « {title} »"
 msgstr "Actualité « {title} »"
 
-#: src/pyams_content/shared/news/interfaces/__init__.py:29
-msgid "News topic"
-msgstr "Actualité"
-
-#: src/pyams_content/shared/view/merge.py:59
-msgid "Concatenate views items in order"
-msgstr "Concaténer les résultats de chaque vue dans l'ordre sélectionné"
-
-#: src/pyams_content/shared/view/merge.py:71
-msgid "Extract items randomly"
-msgstr "Extraire les résultats en ordre aléatoire"
-
-#: src/pyams_content/shared/view/merge.py:85
-msgid "Take items from views one by one, in views order"
-msgstr ""
-"Extraire les résultats de chaque vue, une par une (ordre des vues imposé)"
-
-#: src/pyams_content/shared/view/merge.py:98
-msgid "Take items from views one by one, in random order"
-msgstr ""
-"Extraire les résultats de chaque vue, une par une (ordre des vues aléatoire)"
-
-#: src/pyams_content/shared/view/merge.py:127
-msgid "Sort all results by creation date"
-msgstr ""
-"Trier tous les résultats sur la date de création (du plus récent au plus "
-"ancien)"
-
-#: src/pyams_content/shared/view/merge.py:136
-msgid "Sort all results by last update date"
-msgstr ""
-"Trier tous les résultats sur la date de dernière mise à jour (du plus récent "
-"au plus ancien)"
-
-#: src/pyams_content/shared/view/merge.py:145
-msgid "Sort all results by current publication date"
-msgstr ""
-"Trier tous les résultats sur la date de publication (du plus récent au plus "
-"ancien)"
-
-#: src/pyams_content/shared/view/merge.py:154
-msgid "Sort all results by first publication date"
-msgstr ""
-"Trier tous les résultats sur la date de première publication (du plus récent "
-"au plus ancien)"
-
-#: src/pyams_content/shared/view/zmi/properties.py:45
-msgid "Main view settings"
-msgstr "Paramètres de la vue"
-
-#: src/pyams_content/shared/view/zmi/__init__.py:44
-msgid "This view"
-msgstr "Cette vue"
-
-#: src/pyams_content/shared/view/zmi/__init__.py:63
-#: src/pyams_content/shared/view/zmi/__init__.py:73
-msgid "Add view"
-msgstr "Ajouter une vue"
-
-#: src/pyams_content/shared/view/zmi/__init__.py:54
-#, python-format
-msgid "View « {title} »"
-msgstr "Vue « {title} »"
-
-#: src/pyams_content/shared/view/zmi/theme.py:67
-msgid "View tags settings"
-msgstr "Paramétrage des tags de la vue"
-
-#: src/pyams_content/shared/view/zmi/theme.py:113
-msgid "View themes settings"
-msgstr "Paramétrage des thèmes de la vue"
-
-#: src/pyams_content/shared/view/zmi/theme.py:159
-msgid "View collections settings"
-msgstr "Paramétrage des collections de la vue"
-
-#: src/pyams_content/shared/view/zmi/reference.py:52
-msgid "References..."
-msgstr "Références"
-
-#: src/pyams_content/shared/view/zmi/reference.py:63
-msgid "View internal references settings"
-msgstr "Références internes de la vue"
-
-#: src/pyams_content/shared/view/portlet/__init__.py:87
-msgid "View items"
-msgstr "Contenu d'une vue"
-
-#: src/pyams_content/shared/view/portlet/interfaces.py:41
-msgid "Display context"
-msgstr "Contexte d'affichage"
-
-#: src/pyams_content/shared/view/portlet/interfaces.py:42
-msgid "Content context"
-msgstr "Contexte du contenu"
-
-#: src/pyams_content/shared/view/portlet/interfaces.py:59
-msgid "Selected views"
-msgstr "Vue(s) sélectionnée(s)"
-
-#: src/pyams_content/shared/view/portlet/interfaces.py:60
+#: src/pyams_content/shared/site/manager.py:66
+#: src/pyams_content/shared/site/zmi/manager.py:121
+msgid "Site manager"
+msgstr "Site"
+
+#: src/pyams_content/shared/site/folder.py:56
+msgid "Site folder"
+msgstr "Rubrique"
+
+#: src/pyams_content/shared/site/link.py:43
+msgid "Content link"
+msgstr "Contenu lié"
+
+#: src/pyams_content/shared/site/interfaces.py:147
+msgid "Site topic"
+msgstr "Article (dans un site)"
+
+#: src/pyams_content/shared/site/interfaces.py:39
+msgid "Redirect to first visible sub-folder or content"
+msgstr "Re-diriger vers le premier contenu publié"
+
+#: src/pyams_content/shared/site/interfaces.py:40
+msgid "Use presentation template"
+msgstr "Afficher le modèle de présentation de la rubrique"
+
+#: src/pyams_content/shared/site/interfaces.py:83
+msgid "Heading displayed according to presentation template"
+msgstr ""
+"Ce chapô pourra être affiché ou non en fonction du modèle de présentation "
+"retenu"
+
+#: src/pyams_content/shared/site/interfaces.py:87
 msgid ""
-"Reference to the view(s) from which items are extracted; you can combine "
-"several views together and specify in which order they should be mixed"
-msgstr ""
-"Références des vues dont sont extraits les résultats ; vous pouvez combiner "
-"plusieurs vues ensemble en indiquant la façon dont leurs résultats seront "
-"fusionnés"
-
-#: src/pyams_content/shared/view/portlet/interfaces.py:69
-msgid "Views context"
-msgstr "Contexte des vues"
-
-#: src/pyams_content/shared/view/portlet/interfaces.py:70
+"The folder's description is 'hidden' into HTML's page headers; but it can be "
+"seen, for example, in some search engines results as content's description; "
+"if description is empty, content's header will be used."
+msgstr ""
+"La méta-description de la rubrique est 'masquée' dans les en-têtes des pages "
+"HTML ; mais on peut la retrouver, par exemple, dans les listes de résultats "
+"des moteurs de recherche ; si la description n'est pas renseignée, le chapô "
+"(s'il existe pour ce contenu) sera utilisé."
+
+#: src/pyams_content/shared/site/interfaces.py:106
+msgid "Navigation mode"
+msgstr "Mode de navigation"
+
+#: src/pyams_content/shared/site/interfaces.py:107
+msgid "Folder behaviour when navigating to folder URL"
+msgstr "Comportement à adopter lorsqu'un internaute accède à cette rubrique"
+
+#: src/pyams_content/shared/site/interfaces.py:132
 msgid ""
-"When searching for items, a view receives a \"context\" which is the object "
-"from which settings can be extracted; this context can be the \"display\" "
-"context or the \"content\" context: when the portlet is used to display the "
-"site root, a site manager or a site folder, both are identical; when the "
-"portlet is used to display a shared content, the \"content\" context is the "
-"displayed content, while the \"display\" context is the container (site "
-"root, site manager or site folder) into which content is displayed"
-msgstr ""
-"Pour extraire sa liste de résultats, chaque vue est associée à un \"contexte"
-"\", qui est l'objet dont sont extraits les critères de recherche ; ce "
-"contexte peut être le contexte \"d'affichage\" ou le contexte \"du contenu"
-"\" : lorsque ce composant est associé à la page d'accueil, à un site ou à "
-"une rubrique, ces deux contextes sont identiques ; par contre, lorsque ce "
-"composant est associé à un contenu partagé, le contexte de contenu est le "
-"contenu partagé, tandis que le contexte d'affichage est le conteneur (page "
-"d'accueil, site ou rubrique) au sein duquel le contenu est affiché."
-
-#: src/pyams_content/shared/view/portlet/interfaces.py:81
-msgid "Views merge mode"
-msgstr "Mode de fusion des vues"
-
-#: src/pyams_content/shared/view/portlet/interfaces.py:82
+"The site's description is 'hidden' into HTML's page headers; but it can be "
+"seen, for example, in some search engines results as content's description; "
+"if description is empty, content's header will be used."
+msgstr ""
+"La méta-description du site est 'masquée' dans les en-têtes des pages HTML ; "
+"mais on peut la retrouver, par exemple, dans les listes de résultats des "
+"moteurs de recherche ; si la description n'est pas renseignée, le chapô "
+"(s'il existe pour ce contenu) sera utilisé."
+
+#: src/pyams_content/shared/site/interfaces.py:166
 msgid ""
-"If you select several views, you can select \"merge\" mode, which is the way "
-"used to merge items from several views"
-msgstr ""
-"Si vous sélectionnez plusieurs vues, vous devez indiquer la façon dont leurs "
-"résultats seront fusionnés; ce paramètre est sans effet lorsque vous ne "
-"sélectionnez qu'une seule vue, car l'ordre des résultats est alors basé "
-"uniquement sur les paramètres de la vue."
-
-#: src/pyams_content/shared/view/portlet/interfaces.py:91
-#: src/pyams_content/shared/view/interfaces/__init__.py:102
-msgid "Results count limit"
-msgstr "Limite de résultats"
-
-#: src/pyams_content/shared/view/portlet/interfaces.py:92
+"Alternate content's title displayed in navigation pages; original title will "
+"be used if none is specified"
+msgstr ""
+"Libellé utilisé en lieu et place du titre dans les composants de navigation "
+"(notamment dans les pages carrefour) ; si rien n'est indiqué, le titre "
+"original du contenu référencé sera utilisé"
+
+#: src/pyams_content/shared/site/interfaces.py:171
+msgid "If 'no', link is not visible"
+msgstr ""
+"Si 'non', le lien ne sera pas visible même si le contenu référencé est publié"
+
+#: src/pyams_content/shared/site/portlet/__init__.py:42
+msgid "Site summary"
+msgstr "Page carrefour (site, rubrique)"
+
+#: src/pyams_content/shared/site/portlet/interfaces.py:24
+msgid "Button's title"
+msgstr "Libellé des boutons"
+
+#: src/pyams_content/shared/site/portlet/interfaces.py:25
 msgid ""
-"Maximum number of results that the component may extract from merged views"
-msgstr ""
-"Nombre maximal de résultats que le composant doit extraire des vues "
-"fusionnées"
-
-#: src/pyams_content/shared/view/portlet/interfaces.py:95
-msgid "Starting from..."
-msgstr "A partir de"
-
-#: src/pyams_content/shared/view/portlet/interfaces.py:96
-msgid "You can skip several results if specifying an integer value here..."
-msgstr ""
-"Vous pouvez écarter un certain nombre de résultats, en indiquant ici la "
-"position du premier élément à prendre en compte"
-
-#: src/pyams_content/shared/view/portlet/zmi/templates/view-items-list-preview.pt:8
-msgid "Selected views:"
-msgstr "Vue(s) sélectionnée(s) : "
-
-#: src/pyams_content/shared/view/portlet/zmi/templates/view-items-list-preview.pt:9
-msgid "none"
-msgstr "aucune"
-
-#: src/pyams_content/shared/view/portlet/zmi/templates/view-items-list-preview.pt:15
-msgid "Extracted contents:"
-msgstr "Contenus extraits :"
-
-#: src/pyams_content/shared/view/portlet/zmi/templates/view-items-list-preview.pt:16
-msgid "none (no selected view)"
-msgstr "aucun (aucune vue sélectionnée)"
-
-#: src/pyams_content/shared/view/portlet/zmi/templates/view-items-list-preview.pt:22
-msgid "No result found"
-msgstr "aucun"
-
-#: src/pyams_content/shared/view/interfaces/__init__.py:34
-msgid "View"
-msgstr "Vue"
-
-#: src/pyams_content/shared/view/interfaces/__init__.py:166
-msgid "Always include selected internal references"
-msgstr "Toujours inclure toutes les références internes"
-
-#: src/pyams_content/shared/view/interfaces/__init__.py:167
-msgid "Include selected internal references only if empty"
-msgstr "Inclure les références internes seulement lorsque la vue est vide"
-
-#: src/pyams_content/shared/view/interfaces/__init__.py:43
-#: src/pyams_content/interfaces/__init__.py:113
-#: src/pyams_content/features/review/interfaces.py:74
-msgid "Creation date"
-msgstr "Date de création"
-
-#: src/pyams_content/shared/view/interfaces/__init__.py:44
-msgid "Last update date"
-msgstr "Date de dernière modification"
-
-#: src/pyams_content/shared/view/interfaces/__init__.py:45
-msgid "Current publication date"
-msgstr "Date de publication de la version actuelle"
-
-#: src/pyams_content/shared/view/interfaces/__init__.py:46
-msgid "First publication date"
-msgstr "Date de première publication"
-
-#: src/pyams_content/shared/view/interfaces/__init__.py:64
-msgid "Select context type?"
-msgstr "Même gabarit que le contexte ?"
-
-#: src/pyams_content/shared/view/interfaces/__init__.py:65
-msgid "If 'yes', content type will be extracted from context"
-msgstr ""
-"Si 'oui', seuls des contenus du même gabarit que le contexte seront "
-"automatiquement sélectionnés"
-
-#: src/pyams_content/shared/view/interfaces/__init__.py:69
-msgid "Other content types"
-msgstr "Autres gabarits"
-
-#: src/pyams_content/shared/view/interfaces/__init__.py:70
-msgid "Selected content types; leave empty for all"
-msgstr ""
-"Autres gabarits sélectionnés ; si l'on n'extrait pas le gabarit du contexte "
-"et si cette sélection est vide, tous les gabarits seront pris en charge"
-
-#: src/pyams_content/shared/view/interfaces/__init__.py:77
-msgid "Select context data type?"
-msgstr "Même type que le contexte ?"
-
-#: src/pyams_content/shared/view/interfaces/__init__.py:78
-msgid ""
-"If 'yes', content data type (if available) will be extracted from context"
-msgstr ""
-"Si 'oui', et si le contexte de la vue est \"typé\", seuls des contenus du "
-"même type que le contexte seront automatiquement sélectionnés"
-
-#: src/pyams_content/shared/view/interfaces/__init__.py:83
-msgid "Other data types"
-msgstr "Autres types de contenus"
-
-#: src/pyams_content/shared/view/interfaces/__init__.py:84
-msgid "Selected data types; leave empty for all"
-msgstr ""
-"Autres types de contenus sélectionnés ; si l'on n'extrait pas le type du "
-"contexte et si cette sélection est vide, tous les contenus (typés ou non) "
-"seront pris en charge"
-
-#: src/pyams_content/shared/view/interfaces/__init__.py:91
-msgid "Order by"
-msgstr "Ordre de tri"
-
-#: src/pyams_content/shared/view/interfaces/__init__.py:92
-msgid "Property to use to sort results"
-msgstr ""
-"Propriété utilisée pour trier les résultats ; par défaut, le tri se fait en "
-"ordre inverse, donc du plus récent au plus ancien"
-
-#: src/pyams_content/shared/view/interfaces/__init__.py:97
-msgid "Reversed order?"
-msgstr "Ordre inverse ?"
-
-#: src/pyams_content/shared/view/interfaces/__init__.py:98
-msgid "If 'yes', items order will be reversed"
-msgstr ""
-"Si 'non', le tri se fera en ordre \"naturel\", donc du plus ancien au plus "
-"récent"
-
-#: src/pyams_content/shared/view/interfaces/__init__.py:103
-msgid "Maximum number of results that the view may retrieve"
-msgstr "Nombre maximal de résultats que la vue doit renvoyer"
-
-#: src/pyams_content/shared/view/interfaces/__init__.py:176
-msgid "Internal references usage"
-msgstr "Utilisation des références internes"
-
-#: src/pyams_content/shared/view/interfaces/__init__.py:177
-msgid "Specify how selected references are included into view results"
-msgstr ""
-"Indique comment les références internes indiquées seront intégrées à la "
-"liste des résultats"
-
-#: src/pyams_content/shared/view/interfaces/__init__.py:182
-msgid "Exclude context?"
-msgstr "Exclure le contexte ?"
-
-#: src/pyams_content/shared/view/interfaces/__init__.py:183
-msgid "If 'yes', context will be excluded from results list"
-msgstr ""
-"Si 'oui', le contexte d'application de la vue sera automatiquement exclu de "
-"la liste des résultats"
-
-#: src/pyams_content/shared/view/interfaces/__init__.py:194
-msgid "Select context tags?"
-msgstr "Tags du contexte ?"
-
-#: src/pyams_content/shared/view/interfaces/__init__.py:195
-msgid "If 'yes', tags will be extracted from context"
-msgstr ""
-"Si 'oui', les tags associés au contexte d'application de la vue seront "
-"automatiquement sélectionnés"
-
-#: src/pyams_content/shared/view/interfaces/__init__.py:199
-msgid "Other tags"
-msgstr "Autres tags"
-
-#: src/pyams_content/shared/view/interfaces/__init__.py:215
-msgid "Select context themes?"
-msgstr "Thèmes du contexte ?"
-
-#: src/pyams_content/shared/view/interfaces/__init__.py:216
-msgid "If 'yes', themes will be extracted from context"
-msgstr ""
-"Si 'oui', les thèmes associés au contexte d'application de la vue seront "
-"automatiquement sélectionnés"
-
-#: src/pyams_content/shared/view/interfaces/__init__.py:220
-msgid "Other themes"
-msgstr "Autres thèmes"
-
-#: src/pyams_content/shared/view/interfaces/__init__.py:236
-msgid "Select context collections?"
-msgstr "Collections du contexte ?"
-
-#: src/pyams_content/shared/view/interfaces/__init__.py:237
-msgid "If 'yes', collections will be extracted from context"
-msgstr ""
-"Si 'oui', les collections associées au contexte d'application de la vue "
-"seront automatiquement sélectionnés"
-
-#: src/pyams_content/shared/view/interfaces/__init__.py:241
-msgid "Other collections"
-msgstr "Autres collections"
+"Navigation button's title is normally defined based on target's content "
+"type; you can override this label by giving a custom title here"
+msgstr ""
+"Le libellé des boutons de navigation vers les différents contenus est "
+"normalement défini par le type de la cible du lien ; mais vous pouvez "
+"remplacer ce libellé par un libellé de votre choix en l'indiquant ici."
+
+#: src/pyams_content/shared/site/portlet/zmi/templates/site-summary-preview.pt:2
+msgid "Navigation button title:"
+msgstr "Titre des boutons de navigation :"
+
+#: src/pyams_content/shared/site/zmi/container.py:305
+#: src/pyams_content/shared/site/zmi/container.py:151
+msgid "Visible element?"
+msgstr "Élément visible ?"
+
+#: src/pyams_content/shared/site/zmi/container.py:306
+msgid "Switch element visibility"
+msgstr "Cliquez pour rendre l'élément visible ou non"
+
+#: src/pyams_content/shared/site/zmi/container.py:368
+msgid "Folders and topics"
+msgstr "Rubriquage"
+
+#: src/pyams_content/shared/site/zmi/container.py:500
+msgid "Delete site item"
+msgstr "Supprimer ce contenu"
+
+#: src/pyams_content/shared/site/zmi/container.py:377
+msgid "Click to open/close all folders"
+msgstr "Afficher/masquer toutes les rubriques"
+
+#: src/pyams_content/shared/site/zmi/container.py:393
+msgid "Click to show/hide inner folders"
+msgstr "Cliquer pour afficher ou cache les sous-niveaux"
+
+#: src/pyams_content/shared/site/zmi/container.py:262
+msgid "Can't reparent object to one of it's children. Reloading..."
+msgstr ""
+"Impossible de déplacer une rubrique dans l'une de ses sous-rubriques ou "
+"contenus ! Rechargement de la page..."
+
+#: src/pyams_content/shared/site/zmi/manager.py:53
+msgid "Site management"
+msgstr "Gérer ce site"
+
+#: src/pyams_content/shared/site/zmi/manager.py:108
+#: src/pyams_content/shared/site/zmi/manager.py:122
+msgid "Add site manager"
+msgstr "Ajouter un site"
+
+#: src/pyams_content/shared/site/zmi/manager.py:150
+#: src/pyams_content/shared/site/zmi/folder.py:185
+msgid "Site folder properties"
+msgstr "Propriétés de la rubrique"
+
+#: src/pyams_content/shared/site/zmi/manager.py:167
+msgid "Specified site manager name is already used!"
+msgstr "Le nom indiqué pour ce site existe déjà !"
+
+#: src/pyams_content/shared/site/zmi/manager.py:171
+msgid "A site manager is already registered with this name!!"
+msgstr "Un site est déjà inscrit dans le registre avec ce nom !"
+
+#: src/pyams_content/shared/site/zmi/folder.py:57
+msgid "Add site folder..."
+msgstr "Ajouter une rubrique"
+
+#: src/pyams_content/shared/site/zmi/folder.py:89
+msgid "Add site folder"
+msgstr "Ajout d'une rubrique"
+
+#: src/pyams_content/shared/site/zmi/folder.py:156
+msgid "Site folder management"
+msgstr "Gérer cette rubrique"
+
+#: src/pyams_content/shared/site/zmi/folder.py:70
+#: src/pyams_content/shared/site/zmi/link.py:65
+#: src/pyams_content/shared/site/zmi/__init__.py:60
+msgid "Parent"
+msgstr "Niveau parent"
+
+#: src/pyams_content/shared/site/zmi/folder.py:71
+#: src/pyams_content/shared/site/zmi/link.py:66
+msgid "Folder's parent"
+msgstr "Niveau de rattachement de cette rubrique"
+
+#: src/pyams_content/shared/site/zmi/folder.py:149
+msgid "You must provide a folder name for default server language!"
+msgstr ""
+"Vous devez fournir un nom pour ce dossier pour la langue par défaut du "
+"serveur !"
+
+#: src/pyams_content/shared/site/zmi/link.py:56
+msgid "Rent content..."
+msgstr "Lier un contenu"
+
+#: src/pyams_content/shared/site/zmi/link.py:76
+msgid "Rent existing content"
+msgstr "Lier un contenu existant"
+
+#: src/pyams_content/shared/site/zmi/link.py:134
+msgid "Edit content link properties"
+msgstr "Propriétés du lien"
+
+#: src/pyams_content/shared/site/zmi/__init__.py:51
+msgid "Add topic..."
+msgstr "Ajouter un article"
+
+#: src/pyams_content/shared/site/zmi/__init__.py:74
+#: src/pyams_content/shared/topic/zmi/__init__.py:57
+#: src/pyams_content/shared/topic/zmi/__init__.py:68
+msgid "Add topic"
+msgstr "Ajout d'un article"
+
+#: src/pyams_content/shared/site/zmi/__init__.py:61
+msgid "Topic's parent"
+msgstr "Niveau parent"
+
+#: src/pyams_content/shared/topic/interfaces.py:23
+msgid "Topic"
+msgstr "Article"
+
+#: src/pyams_content/shared/topic/zmi/__init__.py:38
+msgid "This topic"
+msgstr "Cet article"
+
+#: src/pyams_content/shared/topic/zmi/__init__.py:48
+#, python-format
+msgid "Topic « {title} »"
+msgstr "Article « {title} »"
+
+#: src/pyams_content/shared/imagemap/__init__.py:152
+msgid "no area defined"
+msgstr "aucune zone définie"
+
+#: src/pyams_content/shared/imagemap/interfaces.py:36
+#: src/pyams_content/shared/imagemap/interfaces.py:89
+msgid "Image map"
+msgstr "Image cliquable"
+
+#: src/pyams_content/shared/imagemap/interfaces.py:50
+#: src/pyams_content/shared/imagemap/zmi/container.py:140
+msgid "Link target"
+msgstr "Cible du lien"
+
+#: src/pyams_content/shared/imagemap/interfaces.py:51
+msgid "Internal or external link associated with this map area"
+msgstr "Lien interne ou externe associé à cette zone"
+
+#: src/pyams_content/shared/imagemap/interfaces.py:56
+msgid "Alternate label associated with this area"
+msgstr "Libellé de substitution associé à cette zone"
+
+#: src/pyams_content/shared/imagemap/interfaces.py:59
+msgid "Map area coordinates"
+msgstr "Coordonnées"
+
+#: src/pyams_content/shared/imagemap/interfaces.py:60
+msgid "List of coordinates of image area"
+msgstr "Positionnement de la zone cliquable sur l'image"
+
+#: src/pyams_content/shared/imagemap/interfaces.py:68
+msgid "Image supporting map areas"
+msgstr "Sélection de l'image qui supportera les zones cliquables"
+
+#: src/pyams_content/shared/imagemap/interfaces.py:71
+#: src/pyams_content/shared/imagemap/zmi/container.py:65
+msgid "Image map areas"
+msgstr "Zones cliquables de l'image"
+
+#: src/pyams_content/shared/imagemap/interfaces.py:72
+msgid "List of defined map areas"
+msgstr "Liste des zones cliquables définies sur l'image"
+
+#: src/pyams_content/shared/imagemap/interfaces.py:97
+msgid "Reference to image map object"
+msgstr ""
+"Référence interne de l'image cliquable. Vous pouvez la rechercher par des "
+"mots de son titre, ou par son numéro interne (précédé d'un '+')."
+
+#: src/pyams_content/shared/imagemap/interfaces.py:100
+msgid "Image map template"
+msgstr "Mode de rendu"
 
 #: src/pyams_content/shared/imagemap/paragraph.py:88
 msgid "no selected image map"
@@ -4194,58 +5619,14 @@
 msgid "image map '{0}' is not published"
 msgstr "l'image cliquable '{0}' n'est pas publiée"
 
-#: src/pyams_content/shared/imagemap/__init__.py:152
-msgid "no area defined"
-msgstr "aucune zone définie"
-
-#: src/pyams_content/shared/imagemap/zmi/paragraph.py:50
-msgid "Image map..."
-msgstr "Image cliquable"
-
-#: src/pyams_content/shared/imagemap/zmi/paragraph.py:63
-msgid "Add new image map"
-msgstr "Ajout d'une image cliquable"
-
-#: src/pyams_content/shared/imagemap/zmi/paragraph.py:90
-#: src/pyams_content/shared/logo/zmi/paragraph.py:89
-msgid "Edit paragraph properties"
-msgstr "Propriétés de l'image cliquable"
-
 #: src/pyams_content/shared/imagemap/zmi/properties.py:40
 msgid "Background image"
 msgstr "Image de fond"
 
-#: src/pyams_content/shared/imagemap/zmi/__init__.py:44
-msgid "This image map"
-msgstr "Cette image"
-
-#: src/pyams_content/shared/imagemap/zmi/__init__.py:63
-msgid "Add image map"
-msgstr "Ajouter une image"
-
-#: src/pyams_content/shared/imagemap/zmi/__init__.py:73
-msgid "Adding image map"
-msgstr "Ajout d'une image"
-
-#: src/pyams_content/shared/imagemap/zmi/__init__.py:54
-#, python-format
-msgid "Image map « {title} »"
-msgstr "Article de blog « {title} »"
-
 #: src/pyams_content/shared/imagemap/zmi/container.py:54
 msgid "Image areas"
 msgstr "Zones de l'image"
 
-#: src/pyams_content/shared/imagemap/zmi/container.py:65
-#: src/pyams_content/shared/imagemap/interfaces/__init__.py:71
-msgid "Image map areas"
-msgstr "Zones cliquables de l'image"
-
-#: src/pyams_content/shared/imagemap/zmi/container.py:140
-#: src/pyams_content/shared/imagemap/interfaces/__init__.py:50
-msgid "Link target"
-msgstr "Cible du lien"
-
 #: src/pyams_content/shared/imagemap/zmi/container.py:113
 msgid "No currently defined image."
 msgstr "Aucun image de fond n'est actuellement définie."
@@ -4254,11 +5635,6 @@
 msgid "No currently defined area."
 msgstr "Aucune zone cliquable n'est actuellement définie."
 
-#: src/pyams_content/shared/imagemap/zmi/container.py:175
-#: src/pyams_content/root/zmi/sites.py:171
-msgid "No provided object_name argument!"
-msgstr "Argument 'object_name' non fourni !"
-
 #: src/pyams_content/shared/imagemap/zmi/container.py:194
 msgid "Given area name doesn't exist!"
 msgstr "La zone indiquée n'existe pas !"
@@ -4279,310 +5655,89 @@
 msgid "Edit image map properties"
 msgstr "Propriétés de l'image"
 
-#: src/pyams_content/shared/imagemap/interfaces/__init__.py:36
-#: src/pyams_content/shared/imagemap/interfaces/__init__.py:89
-msgid "Image map"
-msgstr "Image cliquable"
-
-#: src/pyams_content/shared/imagemap/interfaces/__init__.py:51
-msgid "Internal or external link associated with this map area"
-msgstr "Lien interne ou externe associé à cette zone"
-
-#: src/pyams_content/shared/imagemap/interfaces/__init__.py:56
-msgid "Alternate label associated with this area"
-msgstr "Libellé de substitution associé à cette zone"
-
-#: src/pyams_content/shared/imagemap/interfaces/__init__.py:59
-msgid "Map area coordinates"
-msgstr "Coordonnées"
-
-#: src/pyams_content/shared/imagemap/interfaces/__init__.py:60
-msgid "List of coordinates of image area"
-msgstr "Positionnement de la zone cliquable sur l'image"
-
-#: src/pyams_content/shared/imagemap/interfaces/__init__.py:68
-msgid "Image supporting map areas"
-msgstr "Sélection de l'image qui supportera les zones cliquables"
-
-#: src/pyams_content/shared/imagemap/interfaces/__init__.py:72
-msgid "List of defined map areas"
-msgstr "Liste des zones cliquables définies sur l'image"
-
-#: src/pyams_content/shared/imagemap/interfaces/__init__.py:96
-#: src/pyams_content/features/alert/interfaces.py:69
-#: src/pyams_content/features/menu/interfaces/__init__.py:64
-msgid "Internal reference"
-msgstr "Référence interne"
-
-#: src/pyams_content/shared/imagemap/interfaces/__init__.py:97
-msgid "Reference to image map object"
-msgstr ""
-"Référence interne de l'image cliquable. Vous pouvez la rechercher par des "
-"mots de son titre, ou par son numéro interne (précédé d'un '+')."
-
-#: src/pyams_content/shared/imagemap/interfaces/__init__.py:100
-msgid "Image map template"
-msgstr "Mode de rendu"
-
-#: src/pyams_content/shared/topic/zmi/__init__.py:38
-msgid "This topic"
-msgstr "Cet article"
-
-#: src/pyams_content/shared/topic/zmi/__init__.py:57
-#: src/pyams_content/shared/topic/zmi/__init__.py:68
-#: src/pyams_content/shared/site/zmi/__init__.py:74
-msgid "Add topic"
-msgstr "Ajout d'un article"
-
-#: src/pyams_content/shared/topic/zmi/__init__.py:48
+#: src/pyams_content/shared/imagemap/zmi/__init__.py:44
+msgid "This image map"
+msgstr "Cette image"
+
+#: src/pyams_content/shared/imagemap/zmi/__init__.py:63
+msgid "Add image map"
+msgstr "Ajouter une image"
+
+#: src/pyams_content/shared/imagemap/zmi/__init__.py:73
+msgid "Adding image map"
+msgstr "Ajout d'une image"
+
+#: src/pyams_content/shared/imagemap/zmi/__init__.py:54
 #, python-format
-msgid "Topic « {title} »"
-msgstr "Article « {title} »"
-
-#: src/pyams_content/shared/topic/interfaces/__init__.py:23
-msgid "Topic"
-msgstr "Article"
-
-#: src/pyams_content/shared/site/folder.py:56
-msgid "Site folder"
-msgstr "Rubrique"
-
-#: src/pyams_content/shared/site/link.py:43
-msgid "Content link"
-msgstr "Contenu lié"
-
-#: src/pyams_content/shared/site/manager.py:66
-#: src/pyams_content/shared/site/zmi/manager.py:121
-msgid "Site manager"
-msgstr "Site"
-
-#: src/pyams_content/shared/site/zmi/folder.py:57
-msgid "Add site folder..."
-msgstr "Ajouter une rubrique"
-
-#: src/pyams_content/shared/site/zmi/folder.py:89
-msgid "Add site folder"
-msgstr "Ajout d'une rubrique"
-
-#: src/pyams_content/shared/site/zmi/folder.py:156
-msgid "Site folder management"
-msgstr "Gérer cette rubrique"
-
-#: src/pyams_content/shared/site/zmi/folder.py:185
-#: src/pyams_content/shared/site/zmi/manager.py:150
-msgid "Site folder properties"
-msgstr "Propriétés de la rubrique"
-
-#: src/pyams_content/shared/site/zmi/folder.py:203
-msgid "Navigation properties"
-msgstr "Propriétés de navigation"
-
-#: src/pyams_content/shared/site/zmi/folder.py:67
-#: src/pyams_content/interfaces/__init__.py:102
-msgid "Visible label used to display content"
-msgstr "Le titre présenté aux internautes"
-
-#: src/pyams_content/shared/site/zmi/folder.py:70
-#: src/pyams_content/shared/site/zmi/__init__.py:60
-#: src/pyams_content/shared/site/zmi/link.py:65
-msgid "Parent"
-msgstr "Niveau parent"
-
-#: src/pyams_content/shared/site/zmi/folder.py:71
-#: src/pyams_content/shared/site/zmi/link.py:66
-msgid "Folder's parent"
-msgstr "Niveau de rattachement de cette rubrique"
-
-#: src/pyams_content/shared/site/zmi/folder.py:149
-msgid "You must provide a folder name for default server language!"
-msgstr ""
-"Vous devez fournir un nom pour ce dossier pour la langue par défaut du "
-"serveur !"
-
-#: src/pyams_content/shared/site/zmi/__init__.py:51
-msgid "Add topic..."
-msgstr "Ajouter un article"
-
-#: src/pyams_content/shared/site/zmi/__init__.py:61
-msgid "Topic's parent"
-msgstr "Niveau parent"
-
-#: src/pyams_content/shared/site/zmi/link.py:56
-msgid "Rent content..."
-msgstr "Lier un contenu"
-
-#: src/pyams_content/shared/site/zmi/link.py:76
-msgid "Rent existing content"
-msgstr "Lier un contenu existant"
-
-#: src/pyams_content/shared/site/zmi/link.py:134
-msgid "Edit content link properties"
-msgstr "Propriétés du lien"
-
-#: src/pyams_content/shared/site/zmi/container.py:104
-#: src/pyams_content/shared/site/zmi/container.py:116
-#: src/pyams_content/shared/blog/zmi/manager.py:163
-#: src/pyams_content/shared/blog/zmi/manager.py:175
-msgid "Publication dates..."
-msgstr "Dates de publication"
-
-#: src/pyams_content/shared/site/zmi/container.py:130
-#: src/pyams_content/shared/blog/zmi/manager.py:189
-msgid "Update publication dates"
-msgstr "Dates de publication"
-
-#: src/pyams_content/shared/site/zmi/container.py:176
-#: src/pyams_content/shared/site/zmi/container.py:186
-#: src/pyams_content/root/zmi/sites.py:68
-msgid "Site tree"
-msgstr "Arborescence du site"
-
-#: src/pyams_content/shared/site/zmi/container.py:308
-#: src/pyams_content/shared/site/zmi/container.py:154
-msgid "Visible element?"
-msgstr "Élément visible ?"
-
-#: src/pyams_content/shared/site/zmi/container.py:309
-msgid "Switch element visibility"
-msgstr "Cliquez pour rendre l'élément visible ou non"
-
-#: src/pyams_content/shared/site/zmi/container.py:371
-msgid "Folders and topics"
-msgstr "Rubriquage"
-
-#: src/pyams_content/shared/site/zmi/container.py:407
-#: src/pyams_content/root/zmi/__init__.py:825
-msgid "Content"
-msgstr "Contenu"
-
-#: src/pyams_content/shared/site/zmi/container.py:503
-msgid "Delete site item"
-msgstr "Supprimer ce contenu"
-
-#: src/pyams_content/shared/site/zmi/container.py:380
-msgid "Click to open/close all folders"
-msgstr "Afficher/masquer toutes les rubriques"
-
-#: src/pyams_content/shared/site/zmi/container.py:396
-msgid "Click to show/hide inner folders"
-msgstr "Cliquer pour afficher ou cache les sous-niveaux"
-
-#: src/pyams_content/shared/site/zmi/container.py:265
-msgid "Can't reparent object to one of it's children. Reloading..."
-msgstr ""
-"Impossible de déplacer une rubrique dans l'une de ses sous-rubriques ou "
-"contenus ! Rechargement de la page..."
-
-#: src/pyams_content/shared/site/zmi/manager.py:53
-msgid "Site management"
-msgstr "Gérer ce site"
-
-#: src/pyams_content/shared/site/zmi/manager.py:108
-#: src/pyams_content/shared/site/zmi/manager.py:122
-msgid "Add site manager"
-msgstr "Ajouter un site"
-
-#: src/pyams_content/shared/site/zmi/manager.py:163
-#: src/pyams_content/shared/blog/zmi/manager.py:124
-msgid "You must provide a short name for default server language!"
-msgstr "Vous devez fournir un nom court pour la langue par défaut du serveur !"
-
-#: src/pyams_content/shared/site/zmi/manager.py:167
-msgid "Specified site manager name is already used!"
-msgstr "Le nom indiqué pour ce site existe déjà !"
-
-#: src/pyams_content/shared/site/zmi/manager.py:171
-msgid "A site manager is already registered with this name!!"
-msgstr "Un site est déjà inscrit dans le registre avec ce nom !"
-
-#: src/pyams_content/shared/site/interfaces/__init__.py:133
-msgid "Site topic"
-msgstr "Article (dans un site)"
-
-#: src/pyams_content/shared/site/interfaces/__init__.py:38
-msgid "Redirect to first visible sub-folder or content"
-msgstr "Re-diriger vers le premier contenu publié"
-
-#: src/pyams_content/shared/site/interfaces/__init__.py:39
-msgid "Use presentation template"
-msgstr "Afficher le modèle de présentation de la rubrique"
-
-#: src/pyams_content/shared/site/interfaces/__init__.py:68
-msgid "Heading"
-msgstr "Chapô"
-
-#: src/pyams_content/shared/site/interfaces/__init__.py:69
-msgid "Heading displayed according to presentation template"
-msgstr ""
-"Ce chapô pourra être affiché ou non en fonction du modèle de présentation "
-"retenu"
-
-#: src/pyams_content/shared/site/interfaces/__init__.py:73
-msgid ""
-"The folder's description is 'hidden' into HTML's page headers; but it can be "
-"seen, for example, in some search engines results as content's description; "
-"if description is empty, content's header will be used."
-msgstr ""
-"La méta-description de la rubrique est 'masquée' dans les en-têtes des pages "
-"HTML ; mais on peut la retrouver, par exemple, dans les listes de résultats "
-"des moteurs de recherche ; si la description n'est pas renseignée, le chapô "
-"(s'il existe pour ce contenu) sera utilisé."
-
-#: src/pyams_content/shared/site/interfaces/__init__.py:82
-msgid "Visible in folders list"
-msgstr "Visible dans la liste des rubriques ?"
-
-#: src/pyams_content/shared/site/interfaces/__init__.py:83
-msgid "If 'no', folder will not be displayed into folders list"
-msgstr ""
-"Si 'non', cette rubrique ne sera pas affichée dans la liste des rubriques "
-"affichée par un composant de navigation"
-
-#: src/pyams_content/shared/site/interfaces/__init__.py:87
-#: src/pyams_content/shared/site/interfaces/__init__.py:151
-msgid "Navigation title"
-msgstr "Titre de navigation"
-
-#: src/pyams_content/shared/site/interfaces/__init__.py:88
-msgid ""
-"Folder's title displayed in navigation pages; original title will be used if "
-"none is specified"
-msgstr ""
-"Titre de substitution affiché dans les composants de navigation ; si rien "
-"n'est indiqué, le titre original de la rubrique sera utilisé"
-
-#: src/pyams_content/shared/site/interfaces/__init__.py:92
-msgid "Navigation mode"
-msgstr "Mode de navigation"
-
-#: src/pyams_content/shared/site/interfaces/__init__.py:93
-msgid "Folder behaviour when navigating to folder URL"
-msgstr "Comportement à adopter lorsqu'un internaute accède à cette rubrique"
-
-#: src/pyams_content/shared/site/interfaces/__init__.py:118
-msgid ""
-"The site's description is 'hidden' into HTML's page headers; but it can be "
-"seen, for example, in some search engines results as content's description; "
-"if description is empty, content's header will be used."
-msgstr ""
-"La méta-description du site est 'masquée' dans les en-têtes des pages HTML ; "
-"mais on peut la retrouver, par exemple, dans les listes de résultats des "
-"moteurs de recherche ; si la description n'est pas renseignée, le chapô "
-"(s'il existe pour ce contenu) sera utilisé."
-
-#: src/pyams_content/shared/site/interfaces/__init__.py:152
-msgid ""
-"Alternate content's title displayed in navigation pages; original title will "
-"be used if none is specified"
-msgstr ""
-"Libellé utilisé en lieu et place du titre dans les composants de navigation "
-"(notamment dans les pages carrefour) ; si rien n'est indiqué, le titre "
-"original du contenu référencé sera utilisé"
-
-#: src/pyams_content/shared/site/interfaces/__init__.py:157
-msgid "If 'no', link is not visible"
-msgstr ""
-"Si 'non', le lien ne sera pas visible même si le contenu référencé est publié"
+msgid "Image map « {title} »"
+msgstr "Article de blog « {title} »"
+
+#: src/pyams_content/shared/imagemap/zmi/paragraph.py:50
+msgid "Image map..."
+msgstr "Image cliquable"
+
+#: src/pyams_content/shared/imagemap/zmi/paragraph.py:63
+msgid "Add new image map"
+msgstr "Ajout d'une image cliquable"
+
+#: src/pyams_content/shared/imagemap/zmi/paragraph.py:90
+#: src/pyams_content/shared/logo/zmi/paragraph.py:89
+msgid "Edit paragraph properties"
+msgstr "Propriétés de l'image cliquable"
+
+#: src/pyams_content/shared/logo/__init__.py:73
+msgid "no image defined"
+msgstr "aucune image définie"
+
+#: src/pyams_content/shared/logo/__init__.py:76
+msgid "no URL defined"
+msgstr "aucune URL définie"
+
+#: src/pyams_content/shared/logo/interfaces.py:32
+msgid "Logo"
+msgstr "Logo"
+
+#: src/pyams_content/shared/logo/interfaces.py:77
+msgid "Logos"
+msgstr "Logos"
+
+#: src/pyams_content/shared/logo/interfaces.py:47
+msgid "Full name of logo organization"
+msgstr "Nom complet de l'organisme associé au logo"
+
+#: src/pyams_content/shared/logo/interfaces.py:50
+msgid "Acronym"
+msgstr "Acronyme"
+
+#: src/pyams_content/shared/logo/interfaces.py:51
+msgid "Matching logo acronym, without spaces or separators"
+msgstr "Acronyme de l'organisme, sans espace ni séparateur entre les lettres"
+
+#: src/pyams_content/shared/logo/interfaces.py:58
+msgid "Image (colored)"
+msgstr "Image (version couleur)"
+
+#: src/pyams_content/shared/logo/interfaces.py:62
+msgid "Image (monochrome)"
+msgstr "Image (version noir et blanc)"
+
+#: src/pyams_content/shared/logo/interfaces.py:63
+msgid "An alternate image which can be used by some presentation templates"
+msgstr ""
+"Image de substitution monochrome pouvant être utilisée par certains modes de "
+"rendu"
+
+#: src/pyams_content/shared/logo/interfaces.py:84
+msgid "Logos references"
+msgstr "Logos sélectionnés"
+
+#: src/pyams_content/shared/logo/interfaces.py:85
+msgid "List of internal logos references"
+msgstr "Liste de références internes vers les logos à afficher"
+
+#: src/pyams_content/shared/logo/interfaces.py:88
+msgid "Logos template"
+msgstr "Mode de rendu"
 
 #: src/pyams_content/shared/logo/paragraph.py:95
 msgid "no selected logo"
@@ -4598,22 +5753,6 @@
 msgid "logo '{0}' is not published"
 msgstr "le logo '{0}' n'est pas publié"
 
-#: src/pyams_content/shared/logo/__init__.py:73
-msgid "no image defined"
-msgstr "aucune image définie"
-
-#: src/pyams_content/shared/logo/__init__.py:76
-msgid "no URL defined"
-msgstr "aucune URL définie"
-
-#: src/pyams_content/shared/logo/zmi/paragraph.py:50
-msgid "Logos..."
-msgstr "Logos"
-
-#: src/pyams_content/shared/logo/zmi/paragraph.py:63
-msgid "Add new logos paragraph"
-msgstr "Ajout d'une sélection de logos"
-
 #: src/pyams_content/shared/logo/zmi/properties.py:65
 msgid "Main logo settings"
 msgstr "Autres propriétés"
@@ -4632,183 +5771,18 @@
 msgid "Logo « {title} »"
 msgstr "Logo « {title} »"
 
-#: src/pyams_content/shared/logo/interfaces/__init__.py:32
-msgid "Logo"
-msgstr "Logo"
-
-#: src/pyams_content/shared/logo/interfaces/__init__.py:77
-msgid "Logos"
+#: src/pyams_content/shared/logo/zmi/paragraph.py:50
+msgid "Logos..."
 msgstr "Logos"
 
-#: src/pyams_content/shared/logo/interfaces/__init__.py:47
-msgid "Full name of logo organization"
-msgstr "Nom complet de l'organisme associé au logo"
-
-#: src/pyams_content/shared/logo/interfaces/__init__.py:50
-msgid "Acronym"
-msgstr "Acronyme"
-
-#: src/pyams_content/shared/logo/interfaces/__init__.py:51
-msgid "Matching logo acronym, without spaces or separators"
-msgstr "Acronyme de l'organisme, sans espace ni séparateur entre les lettres"
-
-#: src/pyams_content/shared/logo/interfaces/__init__.py:58
-msgid "Image (colored)"
-msgstr "Image (version couleur)"
-
-#: src/pyams_content/shared/logo/interfaces/__init__.py:62
-msgid "Image (monochrome)"
-msgstr "Image (version noir et blanc)"
-
-#: src/pyams_content/shared/logo/interfaces/__init__.py:63
-msgid "An alternate image which can be used by some presentation templates"
-msgstr ""
-"Image de substitution monochrome pouvant être utilisée par certains modes de "
-"rendu"
-
-#: src/pyams_content/shared/logo/interfaces/__init__.py:84
-msgid "Logos references"
-msgstr "Logos sélectionnés"
-
-#: src/pyams_content/shared/logo/interfaces/__init__.py:85
-msgid "List of internal logos references"
-msgstr "Liste de références internes vers les logos à afficher"
-
-#: src/pyams_content/shared/logo/interfaces/__init__.py:88
-msgid "Logos template"
-msgstr "Mode de rendu"
-
-#: src/pyams_content/shared/blog/zmi/__init__.py:52
-msgid "This blog post"
-msgstr "Cet article"
-
-#: src/pyams_content/shared/blog/zmi/__init__.py:71
-#: src/pyams_content/shared/blog/zmi/__init__.py:81
-msgid "Add blog post"
-msgstr "Ajouter un article"
-
-#: src/pyams_content/shared/blog/zmi/__init__.py:62
-#, python-format
-msgid "Blog post « {title} »"
-msgstr "Article « {title} »"
-
-#: src/pyams_content/shared/blog/zmi/manager.py:57
-msgid "Blog management"
-msgstr "Gérer ce blog"
-
-#: src/pyams_content/shared/blog/zmi/manager.py:80
-#: src/pyams_content/shared/blog/zmi/manager.py:94
-msgid "Add blog manager"
-msgstr "Ajouter un blog"
-
-#: src/pyams_content/shared/blog/zmi/manager.py:93
-msgid "Blog manager"
-msgstr "Blog"
-
-#: src/pyams_content/shared/blog/zmi/manager.py:148
-msgid "Blog properties"
-msgstr "Propriétés du blog"
-
-#: src/pyams_content/shared/blog/zmi/manager.py:128
-msgid "Specified blog manager name is already used!"
-msgstr "Le nom indiqué pour ce blog existe déjà !"
-
-#: src/pyams_content/shared/blog/zmi/manager.py:132
-msgid "A blog manager is already registered with this name!!"
-msgstr "Un blog est déjà inscrit dans le registre avec ce nom !"
-
-#: src/pyams_content/shared/blog/interfaces/__init__.py:30
-msgid "Blog post"
-msgstr "Article (dans un blog)"
-
-#: src/pyams_content/shared/blog/interfaces/__init__.py:69
-msgid ""
-"The blog's description is 'hidden' into HTML's page headers; but it can be "
-"seen, for example, in some search engines results as content's description; "
-"if description is empty, content's header will be used."
-msgstr ""
-"La méta-description du blog est 'masquée' dans les en-têtes des pages HTML ; "
-"mais on peut la retrouver, par exemple, dans les listes de résultats des "
-"moteurs de recherche ; si la description n'est pas renseignée, le chapô "
-"(s'il existe pour ce contenu) sera utilisé."
-
-#: src/pyams_content/profile/zmi/__init__.py:42
-msgid "Admin. profile"
-msgstr "Profil intervenant"
-
-#: src/pyams_content/profile/interfaces/__init__.py:33
-msgid "User favorites"
-msgstr "Favoris de l'utilisateur"
-
-#: src/pyams_content/profile/interfaces/__init__.py:34
-msgid "List of internal numbers of shared contents stored for quick access"
-msgstr "Liste des numéros internes des contenus mémorisés pour un accès rapide"
-
-#: src/pyams_content/profile/interfaces/__init__.py:37
-msgid "Default table length"
-msgstr "Longueur des tableaux"
-
-#: src/pyams_content/profile/interfaces/__init__.py:38
-msgid "Default length used for inner tables and dashboards"
-msgstr "Longueur par défaut des tableaux internes et des tableaux de bord"
-
-#: src/pyams_content/root/__init__.py:63
-msgid "Site root"
-msgstr "Racine du site"
-
-#: src/pyams_content/root/zmi/sites.py:78
-msgid "Blogs and shared sites"
-msgstr "Blogs et sites partagés"
-
-#: src/pyams_content/root/zmi/sites.py:108
-msgid "Visible site?"
-msgstr "Site visible ?"
-
-#: src/pyams_content/root/zmi/sites.py:134
-msgid "OID"
-msgstr "N° IN"
-
-#: src/pyams_content/root/zmi/sites.py:152
-msgid "Delete shared site"
-msgstr "Supprimer ce site"
-
-#: src/pyams_content/root/zmi/sites.py:180
-msgid "Given element name doesn't exist!"
-msgstr "Le nom de l'élément indiqué n'existe pas !"
-
-#: src/pyams_content/root/zmi/search.py:160
-msgid "Content types"
-msgstr "Types de contenus"
-
-#: src/pyams_content/root/zmi/__init__.py:78
-msgid "Home"
-msgstr "Accueil"
-
-#: src/pyams_content/root/zmi/templates/dashboard.pt:7
-msgid "Your contents dashboard"
-msgstr "Les contenus qui me concernent"
-
-#: src/pyams_content/root/zmi/templates/dashboard.pt:18
-msgid "SEARCH - Between all contents"
-msgstr "RECHERCHE - Tous contenus confondus"
-
-#: src/pyams_content/root/interfaces/__init__.py:33
-msgid "Site managers"
-msgstr "Administrateurs"
-
-#: src/pyams_content/root/interfaces/__init__.py:41
-msgid "Templates managers"
-msgstr "Designers"
-
-#: src/pyams_content/root/interfaces/__init__.py:45
-msgid "Operators group"
-msgstr "Groupe des opérateurs"
-
-#: src/pyams_content/root/interfaces/__init__.py:46
-msgid "Name of group containing all roles owners"
-msgstr ""
-"Tous les utilisateurs auxquels sera attribué un rôle seront placés dans ce "
-"groupe"
+#: src/pyams_content/shared/logo/zmi/paragraph.py:63
+msgid "Add new logos paragraph"
+msgstr "Ajout d'une sélection de logos"
+
+#: src/pyams_content/workflow/task.py:62
+msgid "Automatic contents withdrawal:\n"
+msgstr ""
+"Retrait automatique des contenus après la date de fin de publication :\n"
 
 #: src/pyams_content/workflow/__init__.py:70
 #: src/pyams_content/workflow/basic.py:53
@@ -5125,11 +6099,6 @@
 msgid "Published version {0}"
 msgstr "Version {0} publiée"
 
-#: src/pyams_content/workflow/task.py:62
-msgid "Automatic contents withdrawal:\n"
-msgstr ""
-"Retrait automatique des contenus après la date de fin de publication :\n"
-
 #: src/pyams_content/workflow/zmi/task.py:42
 msgid "Add content archiver task..."
 msgstr "Ajouter une tâche d'archivage automatique"
@@ -5138,859 +6107,23 @@
 msgid "Add automatic content archiver"
 msgstr "Ajout d'une tâche d'archivage automatique"
 
-#: src/pyams_content/skin/zmi/viewlet/toplinks/__init__.py:43
-msgid "Shared sites"
-msgstr "Sites et blogs"
-
-#: src/pyams_content/skin/zmi/viewlet/toplinks/__init__.py:64
-msgid "Shared contents"
-msgstr "Gabarits"
-
-#: src/pyams_content/skin/zmi/viewlet/toplinks/__init__.py:87
-msgid "Shared tools"
-msgstr "Outils"
-
-#: src/pyams_content/skin/zmi/viewlet/toplinks/__init__.py:110
-msgid "My roles"
-msgstr "Mes rôles"
-
-#: src/pyams_content/skin/zmi/viewlet/toplinks/templates/user-addings.pt:7
-msgid "Create new content"
-msgstr "Créer un nouveau contenu"
-
-#: src/pyams_content/interfaces/__init__.py:95
-msgid "Unique key"
-msgstr "Clé unique"
-
-#: src/pyams_content/interfaces/__init__.py:96
-msgid ""
-"WARNING: this key can't be modified after creation!!! Spaces, uppercase "
-"letters ou accentuated characters will be replaced automatically."
-msgstr ""
-"ATTENTION : cette clé ne pourra plus être modifiée après sa création. Les "
-"espaces, les majuscules, les lettres accentuées et les caractères spéciaux "
-"seront remplacées automatiquement."
-
-#: src/pyams_content/interfaces/__init__.py:105
-msgid "Short name"
-msgstr "Fil d'Ariane"
-
-#: src/pyams_content/interfaces/__init__.py:106
-msgid "Short name used in breadcrumbs"
-msgstr "Libellé utilisé dans le fil d'Ariane"
-
-#: src/pyams_content/interfaces/__init__.py:117
-msgid "Modification date"
-msgstr "Dernière modification apportée"
-
-#: src/pyams_content/reference/zmi/table.py:73
-msgid "Contents"
-msgstr "Contenu"
-
-#: src/pyams_content/reference/zmi/table.py:83
-msgid "Table contents"
-msgstr "Contenu de la table"
-
-#: src/pyams_content/reference/zmi/table.py:129
-#: src/pyams_content/reference/zmi/__init__.py:68
-msgid "References tables"
-msgstr "Tables de références"
-
-#: src/pyams_content/reference/zmi/table.py:143
-msgid "Properties..."
-msgstr "Propriétés"
-
-#: src/pyams_content/reference/zmi/table.py:157
-msgid "Edit table properties"
-msgstr "Propriétés de la table"
-
-#: src/pyams_content/reference/zmi/table.py:167
-msgid "Table management"
-msgstr "Gérer cette table"
-
-#: src/pyams_content/reference/zmi/__init__.py:50
-msgid "References"
-msgstr "Tables de réf."
-
-#: src/pyams_content/reference/pictograms/zmi/__init__.py:169
-#: src/pyams_content/reference/pictograms/zmi/widget.py:55
-msgid "Default header: --"
-msgstr "En-tête par défaut : --"
-
-#: src/pyams_content/reference/pictograms/zmi/widget.py:36
-msgid "No selected pictogram"
-msgstr "Aucun pictogramme sélectionné"
-
-#: src/pyams_content/reference/pictograms/zmi/manager.py:50
-msgid "Pictograms selection..."
-msgstr "Sélection de pictogrammes"
-
-#: src/pyams_content/reference/pictograms/zmi/manager.py:62
-#: src/pyams_content/reference/pictograms/zmi/templates/manager-selection.pt:34
-#: src/pyams_content/reference/pictograms/interfaces/__init__.py:73
-msgid "Selected pictograms"
-msgstr "Pictogrammes sélectionnés"
-
-#: src/pyams_content/reference/pictograms/zmi/templates/manager-selection.pt:7
-msgid "Available pictograms"
-msgstr "Pictogrammes disponibles"
-
-#: src/pyams_content/reference/pictograms/zmi/templates/manager-selection.pt:21
-#: src/pyams_content/reference/pictograms/zmi/templates/manager-selection.pt:48
-msgid "Display pictogram properties"
-msgstr "Propriétés du pictogramme"
-
-#: src/pyams_content/reference/pictograms/zmi/templates/pictogram-header.pt:6
-msgid "Default header: ${header}"
-msgstr "En-tête par défaut : ${header}"
-
-#: src/pyams_content/reference/pictograms/interfaces/__init__.py:45
-msgid "Pictogram content"
-msgstr "Utilisez le bouton \"Parcourir\" pour modifier le contenu de l'image"
-
-#. Default: Header
-#: src/pyams_content/reference/pictograms/interfaces/__init__.py:52
-msgid "pictogram-header"
-msgstr "En-tête par défaut"
-
-#: src/pyams_content/reference/pictograms/interfaces/__init__.py:53
-msgid "Default header associated with this pictogram"
-msgstr "En-tête par défaut associé à ce pictogramme"
-
-#: src/pyams_content/reference/pictograms/interfaces/__init__.py:74
-msgid "List of selected pictograms which will be available to shared contents"
-msgstr "Liste des pictogrammes proposés dans les contenus partagés"
-
-#: src/pyams_content/features/renderer/zmi/__init__.py:71
-#: src/pyams_content/features/renderer/zmi/templates/renderer-input.pt:4
-msgid "Edit renderer properties"
-msgstr "Propriétés de ce mode de rendu"
-
-#: src/pyams_content/features/renderer/skin/__init__.py:65
-msgid "Hidden content"
-msgstr "NON affiché"
-
-#: src/pyams_content/features/checker/interfaces.py:27
-#, python-format
-msgid " - {field}: <span class=\"text-danger\">no value</span>"
-msgstr " - {field} : <span class=\"text-danger\">non renseigné</span>"
-
-#: src/pyams_content/features/checker/interfaces.py:28
-#, python-format
-msgid " - {field} ({lang}): <span class=\"text-danger\">no value</span>"
-msgstr " - {field} ({lang}) : <span class=\"text-danger\">non renseigné</span>"
-
-#: src/pyams_content/features/checker/interfaces.py:29
-#, python-format
-msgid " - {field}: <span class=\"text-danger\">{message}</span>"
-msgstr " - {field} : <span class=\"text-danger\">{message}</span>"
-
-#: src/pyams_content/features/checker/zmi/__init__.py:58
-msgid "Content check"
-msgstr "Audit du contenu"
-
-#: src/pyams_content/features/checker/zmi/__init__.py:82
-msgid "No checker available. This content is clean!"
-msgstr "Pas de vérificateur disponible pour ce contenu."
-
-#: src/pyams_content/features/checker/zmi/__init__.py:78
-#, python-format
-msgid "{0}:"
-msgstr "{0} :"
-
-#: src/pyams_content/features/preview/zmi/__init__.py:62
-msgid "Content preview"
-msgstr "Aperçu du contenu"
-
-#: src/pyams_content/features/preview/zmi/__init__.py:67
-#, python-format
-msgid "{title} ({preview})"
-msgstr "{title} ({preview})"
-
-#: src/pyams_content/features/preview/zmi/__init__.py:68
-msgid "preview"
-msgstr "aperçu"
-
-#: src/pyams_content/features/alert/interfaces.py:39
-msgid "Alert"
-msgstr "Alerte"
-
-#: src/pyams_content/features/alert/interfaces.py:40
-msgid "End of alert"
-msgstr "Levée d'alerte"
-
-#: src/pyams_content/features/alert/interfaces.py:41
-msgid "Information"
-msgstr "Information"
-
-#: src/pyams_content/features/alert/interfaces.py:42
-msgid "Warning"
-msgstr "Avertissement"
-
-#: src/pyams_content/features/alert/interfaces.py:43
-msgid "Recommendation"
-msgstr "Recommandation"
-
-#: src/pyams_content/features/alert/interfaces.py:55
-msgid "Is this alert visible in front-office?"
-msgstr "Si 'non', cette alerte ne sera pas présentée aux internautes"
-
-#: src/pyams_content/features/alert/interfaces.py:59
-msgid "Alert gravity"
-msgstr "Niveau de gravité"
-
-#: src/pyams_content/features/alert/interfaces.py:60
-msgid "Alert gravity will affect rendered alert style"
-msgstr "Le niveau de gravité choisi affectera le style de rendu de l'alerte"
-
-#: src/pyams_content/features/alert/interfaces.py:65
-#: src/pyams_content/features/alert/zmi/container.py:143
-msgid "Message"
-msgstr "Message"
-
-#: src/pyams_content/features/alert/interfaces.py:66
-msgid "Alert message"
-msgstr "Le message d'alerte doit être assez court et explicite"
-
-#: src/pyams_content/features/alert/interfaces.py:70
-msgid ""
-"Internal link target reference. You can search a reference using '+' "
-"followed by internal number, of by entering text matching content title."
-msgstr ""
-"Référence interne vers la cible du lien. Vous pouvez la rechercher par des "
-"mots de son titre, ou par son numéro interne (précédé d'un '+') ; le titre "
-"d'origine peut être modifié en utilisant le titre de substitution."
-
-#: src/pyams_content/features/alert/interfaces.py:75
-msgid "Display start date"
-msgstr "Date d'affichage"
-
-#: src/pyams_content/features/alert/interfaces.py:76
-msgid "First date at which alert should be displayed"
-msgstr ""
-"Première date à laquelle l'alerte sera affichée. Laissez la zone vide pour "
-"qu'elle soit affichée immédiatement."
-
-#: src/pyams_content/features/alert/interfaces.py:79
-msgid "Display end date"
-msgstr "Date de retrait"
-
-#: src/pyams_content/features/alert/interfaces.py:80
-msgid "Last date at which alert should be displayed"
-msgstr ""
-"Dernière date à laquelle l'alerte sera affichée. Laissez la zone vide pour "
-"qu'elle ne soit pas retirée."
-
-#: src/pyams_content/features/alert/interfaces.py:83
-msgid "Maximum interval"
-msgstr "Intervalle d'affichage"
-
-#: src/pyams_content/features/alert/interfaces.py:84
-msgid ""
-"Maximum interval between alert displays on a given device, given in hours; "
-"set to 0 to always display the alert"
-msgstr ""
-"Cet intervalle est donné en heures ; passé ce délai, pour un internaute "
-"donné, l'alerte apparaîtra à nouveau. Si aucun intervalle n'est indiqué, "
-"l'alerte s'affichera en permanence."
-
-#: src/pyams_content/features/alert/zmi/__init__.py:45
-msgid "Add alert"
-msgstr "Ajouter une alerte"
-
-#: src/pyams_content/features/alert/zmi/__init__.py:56
-msgid "Add new alert"
-msgstr "Ajout d'une alerte"
-
-#: src/pyams_content/features/alert/zmi/__init__.py:79
-msgid "Edit alert properties"
-msgstr "Propriétés de l'alerte"
-
-#: src/pyams_content/features/alert/zmi/container.py:53
-msgid "Alerts"
-msgstr "Alertes"
-
-#: src/pyams_content/features/alert/zmi/container.py:165
-msgid "Alert list"
-msgstr "Liste des alertes"
-
-#: src/pyams_content/features/alert/zmi/container.py:95
-msgid "No currently defined alert."
-msgstr "Aucune alerte n'est définie actuellement."
-
-#: src/pyams_content/features/redirect/container.py:81
-msgid "not matching"
-msgstr "pas de correspondance"
-
-#: src/pyams_content/features/redirect/zmi/__init__.py:50
-msgid "Add rule"
-msgstr "Ajouter une règle"
-
-#: src/pyams_content/features/redirect/zmi/__init__.py:63
-msgid "Add new redirection rule"
-msgstr "Ajout d'une règle de redirection"
-
-#: src/pyams_content/features/redirect/zmi/__init__.py:88
-msgid "Edit redirection rule properties"
-msgstr "Propriétés de la règle de redirection"
-
-#: src/pyams_content/features/redirect/zmi/__init__.py:109
-msgid ""
-"URL pattern and target URL are defined by *regular expressions* (see |"
-"regexp|).\n"
-"    \n"
-"In URL pattern, you can use any valid regular expression element, notably:\n"
-"\n"
-"- « .* » to match any list of characters \n"
-"\n"
-"- « ( ) » to \"memorize\" parts of the URL which can be replaced into target "
-"URL\n"
-"\n"
-"- special characters (like \"+\") must be escaped with an « \\\\ ».\n"
-"\n"
-"In target URL, memorized parts can be reused using « \\\\1 », « \\\\2 » and "
-"so on, where given number is\n"
-"the order of the matching pattern element.\n"
-"\n"
-".. |regexp| raw:: html\n"
-"\n"
-"    <a href=\"https://docs.python.org/3/library/re.html\" target=\"_blank"
-"\">Python Regular Expressions</a>\n"
-msgstr ""
-"Le schéma d'URL et l'URL cible sont définis en tant que « expressions "
-"rationelles » (voir |regexp|).\n"
-"\n"
-"Dans le schéma d'URL utilisé pour identifier les requêtes en entrée, vous "
-"pouvez utiliser tout élément d'une expression rationnelle valide, "
-"notamment :\n"
-"\n"
-"- « .* » pour rechercher n'importe quelle suite de caractères\n"
-"\n"
-"- « ^ » et « $ » pour identifier le début ou la fin de l'URL\n"
-"\n"
-"- « ( ) » pour \"mémoriser\" certains éléments de l'URL qui pourront être "
-"repris dans l'URL cible\n"
-"\n"
-"- les caractères spéciaux (comme les \"+\") doivent être protégés par un "
-"caractère « \\\\ ».\n"
-"\n"
-"For exemple : dans le schéma « ^/.*?oid=([a-z0-9]+)$ », toute URL contenant "
-"un paramètre \"oid\" composé de minuscules et/ou de chiffres sera mémorisé "
-"pour pouvoir être réutilisé dans l'URL cible.\n"
-"\n"
-"Dans l'URL cible, les éléments mémorisés peuvent être réutilisés en "
-"utilisant une expression comme « \\\\1 », « \\\\2 » (et ainsi de suite), le "
-"chiffre indiquant la position de l'élément dans la liste des éléments "
-"mémorisés.\n"
-"\n"
-".. |regexp| raw:: html\n"
-"\n"
-"    <a href=\"https://docs.python.org/fr/3/library/re.html\" target=\"_blank"
-"\">Expressions rationnelles en Python</a>\n"
-
-#: src/pyams_content/features/redirect/zmi/container.py:67
-msgid "Redirections"
-msgstr "Redirections"
-
-#: src/pyams_content/features/redirect/zmi/container.py:161
-msgid "Enable/disable rule"
-msgstr "Activer/désactiver la règle"
-
-#: src/pyams_content/features/redirect/zmi/container.py:188
-msgid "Chain/unchain rule"
-msgstr "Enchaîner la règle avec la suivante"
-
-#: src/pyams_content/features/redirect/zmi/container.py:210
-#: src/pyams_content/features/redirect/zmi/container.py:366
-#: src/pyams_content/features/redirect/interfaces/__init__.py:56
-msgid "URL pattern"
-msgstr "Schéma d'URL"
-
-#: src/pyams_content/features/redirect/zmi/container.py:220
-msgid "Target"
-msgstr "Cible"
-
-#: src/pyams_content/features/redirect/zmi/container.py:246
-msgid "Redirections list"
-msgstr "Liste des règles de redirection"
-
-#: src/pyams_content/features/redirect/zmi/container.py:261
-msgid "Redirection rules"
-msgstr "Règles de redirection"
-
-#: src/pyams_content/features/redirect/zmi/container.py:262
-msgid ""
-"Redirection rules are use to handle redirections responses when a request "
-"generates \n"
-"a famous « 404 NotFound » error.\n"
-"\n"
-"Redirections are particularly useful when you are migrating from a previous "
-"site and don't want to lose \n"
-"your SEO.\n"
-"\n"
-"You can define a set of rules which will be applied to every \"NotFound\" "
-"request; rules are based on \n"
-"regular expressions which are applied to input URL: if the rule is \"matching"
-"\", the target URL is rewritten\n"
-"and a \"Redirect\" response is send.\n"
-"\n"
-"You can chain rules together: when a rule is chained, it's rewritten URL is "
-"passed as input URL to the \n"
-"next rule, until a matching rule is found.\n"
-msgstr ""
-"Les règles de redirection sont utilisées pour transmettre des réponses de "
-"redirection au lieu de la fameuse erreur « 404 - Page non trouvée ».\n"
-"\n"
-"La gestion des redirections est particulièrement importante en phase de "
-"migration d'un site web, pour éviter les liens cassés, ne pas perdre votre "
-"référencement et faciliter la mise à jour des moteurs de recherche.\n"
-"\n"
-"Vous pouvez définir un ensemble de règles qui seront appliquées dès lors "
-"qu'une requête adressée au serveur génère une erreur de page non trouvée ; "
-"les règles sont basées sur des expressions rationnelles que l'on applique à "
-"l'URL de la requête reçue : si la règle correspond, l'URL est réécrite et "
-"une réponse de redirection vers cette nouvelle URL est renvoyée.\n"
-"\n"
-"Vous pouvez également enchaîner les règles : lorsqu'une règle est \"chaînée"
-"\", la nouvelle URL qu'elle génère est passée aux règles suivantes, jusqu'à "
-"ce qu'une règle s'applique à cette nouvelle URL.\n"
-
-#: src/pyams_content/features/redirect/zmi/container.py:288
-msgid "Test"
-msgstr "Tester !"
-
-#: src/pyams_content/features/redirect/zmi/container.py:323
-msgid "Test redirection rules"
-msgstr "Test des règles de redirection"
-
-#: src/pyams_content/features/redirect/zmi/container.py:301
-msgid "Test URL"
-msgstr "URL à tester"
-
-#: src/pyams_content/features/redirect/zmi/container.py:304
-msgid "Check inactive rules?"
-msgstr "Tester les règles inactive ?"
-
-#: src/pyams_content/features/redirect/zmi/container.py:305
-msgid "If 'yes', inactive rules will also be tested"
-msgstr "Si 'oui', les règles inactives seront également testées"
-
-#: src/pyams_content/features/redirect/zmi/container.py:313
-msgid "Close"
-msgstr "Fermer"
-
-#: src/pyams_content/features/redirect/zmi/container.py:314
-msgid "Test rules"
-msgstr "Tester cette URL"
-
-#: src/pyams_content/features/redirect/zmi/container.py:123
-msgid "No currently defined redirection rule."
-msgstr "Aucune règle de redirection n'est définie actuellement."
-
-#: src/pyams_content/features/redirect/zmi/container.py:371
-msgid "No matching rule!"
-msgstr "Aucune règle ne correspond !"
-
-#: src/pyams_content/features/redirect/zmi/container.py:365
-msgid "Input URL"
-msgstr "URL en entrée"
-
-#: src/pyams_content/features/redirect/zmi/container.py:367
-msgid "Output URL"
-msgstr "URL générée"
-
-#: src/pyams_content/features/redirect/interfaces/__init__.py:39
-msgid "Active rule?"
-msgstr "Règle active ?"
-
-#: src/pyams_content/features/redirect/interfaces/__init__.py:40
-msgid "If 'no', selected rule is inactive"
-msgstr "Si 'non', la règle est inactive"
-
-#: src/pyams_content/features/redirect/interfaces/__init__.py:44
-msgid "Chained rule?"
-msgstr "Règle chaînée ?"
-
-#: src/pyams_content/features/redirect/interfaces/__init__.py:45
-msgid ""
-"If 'no', and if this rule is matching received request URL, the rule returns "
-"a redirection response; otherwise, the rule just rewrites the input URL "
-"which is forwarded to the next rule"
-msgstr ""
-"Si 'non', et si cette règle correspond à l'URL reçue en entrée, une réponde "
-"de redirection est renvoyée directement ; dans le cas contraire, l'URL "
-"générée par cette règle est passée en entrée de la règle suivante"
-
-#: src/pyams_content/features/redirect/interfaces/__init__.py:51
-msgid "Permanent redirect?"
-msgstr "Redirection permanente ?"
-
-#: src/pyams_content/features/redirect/interfaces/__init__.py:52
-msgid "Define if this redirection should be permanent or temporary"
-msgstr ""
-"Indique si cette redirection doit être considérée comme permanente ou "
-"temporaire"
-
-#: src/pyams_content/features/redirect/interfaces/__init__.py:57
-msgid "Regexp pattern of matching URLs for this redirection rule"
-msgstr "Modèle de l'URL d'origine de cette règle de redirection"
-
-#: src/pyams_content/features/redirect/interfaces/__init__.py:62
-msgid "Internal redirection target"
-msgstr "Redirection interne"
-
-#: src/pyams_content/features/redirect/interfaces/__init__.py:63
-msgid ""
-"Internal redirection reference. You can search a reference using '+' "
-"followed by internal number, of by entering text matching content title."
-msgstr ""
-"Référence interne vers une cible de redirection. Vous pouvez la rechercher "
-"par des mots de son titre, ou par son numéro interne (précédé d'un '+')"
-
-#: src/pyams_content/features/redirect/interfaces/__init__.py:69
-msgid "URL to which source URL should be redirected"
-msgstr "URL vers laquelle l'URL d'origine doit être redirigée"
-
-#: src/pyams_content/features/redirect/interfaces/__init__.py:75
-msgid "You can only provide an internal reference OR a target URL"
-msgstr ""
-"Vous ne pouvez fournir qu'une référence interne OU une URL de redirection !"
-
-#: src/pyams_content/features/redirect/interfaces/__init__.py:77
-msgid "You must provide an internal reference OR a target URL"
-msgstr "Vous devez fournir une référence interne OU une URL de redirection !"
-
-#: src/pyams_content/features/menu/zmi/__init__.py:77
-msgid "Add menu..."
-msgstr "Ajouter une entrée"
-
-#: src/pyams_content/features/menu/zmi/__init__.py:88
-msgid "Add new menu"
-msgstr "Ajout d'un menu"
-
-#: src/pyams_content/features/menu/zmi/__init__.py:121
-msgid "Edit menu properties"
-msgstr "Propriétés du menu"
-
-#: src/pyams_content/features/menu/zmi/__init__.py:108
-msgid "Menu was correctly added."
-msgstr "Le menu a été ajouté."
-
-#: src/pyams_content/features/menu/zmi/__init__.py:395
-msgid "Link was correctly added."
-msgstr "Le lien a été ajouté."
-
-#: src/pyams_content/features/menu/zmi/templates/menu-name-cell.pt:7
-msgid "Click to see menu items"
-msgstr "Montrer ou cacher les éléments du menu"
-
-#: src/pyams_content/features/menu/portlet/navigation/simple.py:67
-msgid "Simple navigation"
-msgstr "Navigation à un niveau"
-
-#: src/pyams_content/features/menu/portlet/navigation/double.py:67
-msgid "Double navigation"
-msgstr "Navigation à deux niveaux"
-
-#: src/pyams_content/features/menu/portlet/navigation/zmi/simple.py:69
-msgid "Navigation links"
-msgstr "Liens de navigation"
-
-#: src/pyams_content/features/menu/portlet/navigation/zmi/double.py:69
-msgid "Navigation menus"
-msgstr "Menus de navigation"
-
-#: src/pyams_content/features/menu/portlet/navigation/zmi/templates/double-preview.pt:14
-#: src/pyams_content/features/menu/portlet/navigation/zmi/templates/simple-preview.pt:11
-msgid "Link has no illustration"
-msgstr "Le lien n'a pas d'illustration"
-
-#: src/pyams_content/features/menu/portlet/navigation/interfaces/simple.py:32
-#: src/pyams_content/features/menu/portlet/navigation/interfaces/double.py:32
-msgid "Portlet main title"
-msgstr "Titre du composant"
-
-#: src/pyams_content/features/menu/interfaces/__init__.py:60
-msgid "Menu title"
-msgstr "Libellé"
-
-#: src/pyams_content/features/menu/interfaces/__init__.py:61
-msgid "Displayed menu label"
-msgstr "Libellé du menu"
-
-#: src/pyams_content/features/menu/interfaces/__init__.py:65
-msgid "Direct reference to menu target"
-msgstr ""
-"Lorsque le menu est utilisé dans l'en-tête de page, référence interne vers "
-"la cible du menu (site ou rubrique) permettant de mettre en évidence le menu "
-"actif ; un lien sera également créé vers cette référence si le menu ne "
-"contient aucun lien."
-
-#: src/pyams_content/features/menu/interfaces/__init__.py:69
-msgid "Name of the pictogram associated with this menu"
-msgstr ""
-"Pictogramme à associer à ce menu. ATTENTION: ce pictogramme n'est affiché "
-"que par certains modes de rendu !!"
-
-#: src/pyams_content/features/footer/zmi/__init__.py:60
-msgid "Page footer"
-msgstr "Pied de pages"
-
-#: src/pyams_content/features/footer/zmi/__init__.py:78
-msgid "Edit footer settings"
-msgstr "Paramétrage des pieds de pages"
-
-#: src/pyams_content/features/footer/zmi/__init__.py:152
-msgid ""
-"WARNING: Footer properties are saved automatically when changing inherit "
-"mode!!"
-msgstr ""
-"ATTENTION : les propriétés du pied de page sont enregistrées automatiquement "
-"lorsque vous modifiez le mode d'héritage !!"
-
-#: src/pyams_content/features/footer/zmi/__init__.py:220
-msgid "Footer renderer settings"
-msgstr "Propriétés de ce mode de rendu"
-
-#: src/pyams_content/features/footer/zmi/__init__.py:107
-msgid "Don't inherit parent footer"
-msgstr "Ne pas hériter du pied de pages du parent"
-
-#: src/pyams_content/features/footer/skin/__init__.py:94
-msgid "Hidden footer"
-msgstr "Ne pas afficher de pied de pages"
-
-#: src/pyams_content/features/footer/interfaces/__init__.py:39
-msgid "Footer template"
-msgstr "Mode de rendu"
-
-#: src/pyams_content/features/footer/interfaces/__init__.py:40
-msgid "Presentation template used for this footer"
-msgstr "Mode de rendu utilisé par ce pied de page"
-
-#: src/pyams_content/features/review/__init__.py:181
-#, python-format
-msgid "Request comment: {comment}"
-msgstr "Commentaire joint : {comment}"
-
-#: src/pyams_content/features/review/__init__.py:211
-#, python-format
-msgid "A new comment was added on content « {0} »"
-msgstr "Un nouveau commentaire a été ajouté pour le contenu « {0} »"
-
-#: src/pyams_content/features/review/__init__.py:168
-#, python-format
-msgid "[{service_name}] A content review is requested"
-msgstr "[{service_name}] Demande de relecture"
-
-#: src/pyams_content/features/review/interfaces.py:32
-msgid "Review request"
-msgstr "Demande de relecture"
-
-#: src/pyams_content/features/review/interfaces.py:33
-msgid "Reviewer comment"
-msgstr "Commentaire"
-
-#: src/pyams_content/features/review/interfaces.py:56
-msgid "Comment writer"
-msgstr "Rédacteur"
-
-#: src/pyams_content/features/review/interfaces.py:59
-msgid "Content reviewers"
-msgstr "Relecteurs sollicités"
-
-#: src/pyams_content/features/review/interfaces.py:62
-msgid "Comment type"
-msgstr "Type de commentaire"
-
-#: src/pyams_content/features/review/interfaces.py:67
-msgid "Comment body"
-msgstr "Commentaire"
-
-#: src/pyams_content/features/review/interfaces.py:70
-msgid "Reviewer comment?"
-msgstr "Commentaire d'un relecteur ?"
-
-#: src/pyams_content/features/review/interfaces.py:86
-msgid "Reviewers list"
-msgstr "Liste des relecteurs"
-
-#: src/pyams_content/features/review/interfaces.py:87
-msgid "List of principals which reviewed the comment"
-msgstr "Liste des utilisateurs qui ont apporté des commentaires sur ce contenu"
-
-#: src/pyams_content/features/review/zmi/__init__.py:55
-msgid "Ask for review..."
-msgstr "Demander une relecture"
-
-#: src/pyams_content/features/review/zmi/__init__.py:94
-msgid "Content review request"
-msgstr "Demande de relecture"
-
-#: src/pyams_content/features/review/zmi/__init__.py:159
-msgid "Comments"
-msgstr "Commentaires"
-
-#: src/pyams_content/features/review/zmi/__init__.py:179
-msgid "Review comments"
-msgstr "Commentaires associés à cette version"
-
-#: src/pyams_content/features/review/zmi/__init__.py:65
-msgid "Sought principals"
-msgstr "Relecteurs sollicités"
-
-#: src/pyams_content/features/review/zmi/__init__.py:66
-msgid "List of principals from which a review is requested"
-msgstr ""
-"Liste des utilisateurs que vous souhaitez solliciter par mail pour relire ce "
-"contenu"
-
-#: src/pyams_content/features/review/zmi/__init__.py:69
-msgid "Comment"
-msgstr "Commentaire"
-
-#: src/pyams_content/features/review/zmi/__init__.py:70
-msgid "Comment associated with this request"
-msgstr ""
-"Ce commentaire associé à cette demande sera également transmis par mail"
-
-#: src/pyams_content/features/review/zmi/__init__.py:73
-msgid "Notify all reviewers"
-msgstr "Notifier tous les relecteurs"
-
-#: src/pyams_content/features/review/zmi/__init__.py:74
-msgid ""
-"If 'yes', selected reviewers will be notified by mail of your request, even "
-"if they were already members of the reviewers group. Otherwise, only new "
-"reviewers will be notified"
-msgstr ""
-"Si 'oui', tous les relecteurs sollicités seront notifiés par mail de votre "
-"demande, même s'ils avaient déjà été sollicités auparavant. Dans le cas "
-"contraire, seuls les nouveaux relecteurs seront notifiés."
-
-#: src/pyams_content/features/review/zmi/__init__.py:85
-msgid "Ask for content review"
-msgstr "Demander la relecture"
-
-#: src/pyams_content/features/review/zmi/__init__.py:140
-msgid "Request successful. No new notification have been sent"
-msgstr ""
-"Votre demande a été transmise. Aucune nouvelle notification n'a été envoyée."
-
-#: src/pyams_content/features/review/zmi/__init__.py:256
-msgid "Message is mandatory!"
-msgstr "Un commentaire est obligatoire !"
-
-#: src/pyams_content/features/review/zmi/__init__.py:128
-#, python-format
-msgid "Request successful. {count} new notification(s) have been sent"
-msgstr "Votre demande a été transmise. {count} notification(s) envoyée(s)."
-
-#: src/pyams_content/features/review/zmi/templates/review-comments.pt:32
-#: src/pyams_content/features/review/zmi/templates/review-comments-json.pt:15
-#: src/pyams_content/features/review/zmi/templates/review-add-comment.pt:14
-msgid "Review query from"
-msgstr "Demande de relecture de "
-
-#: src/pyams_content/features/review/zmi/templates/review-comments.pt:38
-#: src/pyams_content/features/review/zmi/templates/review-comments-json.pt:21
-#: src/pyams_content/features/review/zmi/templates/review-add-comment.pt:20
-msgid "(as reviewer)"
-msgstr "(relecteur)"
-
-#: src/pyams_content/features/review/zmi/templates/review-comments.pt:47
-#: src/pyams_content/features/review/zmi/templates/review-comments-json.pt:30
-msgid "Selected reviewers:"
-msgstr "Auprès de :"
-
-#: src/pyams_content/features/review/zmi/templates/review-comments.pt:64
-msgid "Add comment"
-msgstr "Déposer un commentaire"
-
-#: src/pyams_content/features/review/zmi/templates/review-comments.pt:67
-msgid "Add a comment..."
-msgstr "Votre commentaire..."
-
-#: src/pyams_content/features/review/zmi/templates/review-comments.pt:73
-msgid "Add this comment"
-msgstr "Ajouter ce commentaire"
-
-#: src/pyams_content/features/review/zmi/templates/review-add-comment.pt:22
-msgid "just now"
-msgstr "À l'instant !"
-
-#: src/pyams_content/features/review/zmi/templates/review-notification.pt:4
-msgid "[${service_name}] You are requested for a content review"
-msgstr "[${service_name}] Demande de relecture"
-
-#: src/pyams_content/features/review/zmi/templates/review-notification.pt:30
-msgid "Hello,"
-msgstr "Bonjour,"
-
-#: src/pyams_content/features/review/zmi/templates/review-notification.pt:31
-msgid ""
-"You have been requested by ${sender}, contributor of « ${service_name} » "
-"website, to make a review of a content."
-msgstr ""
-"Vous êtes sollicité par ${sender}, contributeur du site internet "
-"${service_name}, qui souhaite recueillir votre commentaire à propos d'un "
-"contenu."
-
-#: src/pyams_content/features/review/zmi/templates/review-notification.pt:36
-msgid "${sender} added the following message to his request:"
-msgstr "${sender} a accompagné sa demande de relecture du message suivant :"
-
-#: src/pyams_content/features/review/zmi/templates/review-notification.pt:41
-msgid ""
-"To review and comment this publication, please use the following link: "
-"${target}."
-msgstr "Pour accéder à cette contribution, cliquer ici : ${target}."
-
-#: src/pyams_content/features/review/zmi/templates/review-notification.pt:44
-msgid "After reading this content, please use the « Comments » menu entry."
-msgstr ""
-"Lorsque vous aurez pris connaissance du contenu, cliquez sur « Commentaires "
-"» dans le menu en colonne de gauche."
-
-#: src/pyams_content/features/review/zmi/templates/review-notification.pt:45
-msgid ""
-"If you don't want to reply to this request, please contact ${sender} "
-"directly by replying to this mail."
-msgstr ""
-"Si vous ne souhaitez pas donner suite à cette demande, vous pouvez répondre "
-"directement à ${sender} en lui adressant un message dans ce sens."
-
-#: src/pyams_content/features/review/zmi/templates/review-notification.pt:47
-msgid "Thank you."
-msgstr "Merci."
-
-#: src/pyams_content/features/header/zmi/__init__.py:66
-msgid "Page header"
-msgstr "En-tête de pages"
-
-#: src/pyams_content/features/header/zmi/__init__.py:84
-msgid "Edit header settings"
-msgstr "Paramétrage des en-têtes de pages"
-
-#: src/pyams_content/features/header/zmi/__init__.py:161
-msgid ""
-"WARNING: Header properties are saved automatically when changing inherit "
-"mode!!"
-msgstr ""
-"ATTENTION : les propriétés de l'en-tête sont enregistrées automatiquement "
-"lorsque vous modifiez le mode d'héritage !!"
-
-#: src/pyams_content/features/header/zmi/__init__.py:229
-msgid "Header renderer settings"
-msgstr "Propriétés de ce mode de rendu"
-
-#: src/pyams_content/features/header/zmi/__init__.py:113
-msgid "Don't inherit parent header"
-msgstr "Ne pas hériter de l'en-tête de pages du parent"
-
-#: src/pyams_content/features/header/skin/__init__.py:100
-msgid "Hidden header"
-msgstr "Ne pas afficher d'en-tête de pages"
+#~ msgid "Consult content"
+#~ msgstr "Accéder au contenu"
+
+#~ msgid "Consult folder"
+#~ msgstr "Consulter la rubrique"
+
+#~ msgid "Heading"
+#~ msgstr "Chapô"
+
+#~ msgid "CONTRIBUTOR - {0} prepared content"
+#~ msgstr "CONTRIBUTEUR - {0} contenu en préparation"
+
+#~ msgid "CONTRIBUTOR - {0} prepared contents"
+#~ msgstr "CONTRIBUTEUR - {0} contenus en préparation"
+
+#~ msgid "File title, as shown in front-office"
+#~ msgstr "Titre présenté aux internautes"
 
 #~ msgid "Display content title"
 #~ msgstr "Afficher le titre"
@@ -6509,8 +6642,5 @@
 #~ msgid "Manage this content"
 #~ msgstr "Gérer ce contenu"
 
-#~ msgid "Summary"
-#~ msgstr "Récapitulatif"
-
 #~ msgid "Add new news topic"
 #~ msgstr "Ajout d'une brève"
--- a/src/pyams_content/locales/pyams_content.pot	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/locales/pyams_content.pot	Tue Nov 13 14:05:02 2018 +0100
@@ -6,7 +6,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE 1.0\n"
-"POT-Creation-Date: 2018-10-09 13:56+0200\n"
+"POT-Creation-Date: 2018-11-07 18:21+0100\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -81,10 +81,379 @@
 msgid "Guest user (role)"
 msgstr ""
 
+#: ./src/pyams_content/reference/zmi/__init__.py:50
+msgid "References"
+msgstr ""
+
+#: ./src/pyams_content/reference/zmi/__init__.py:68
+#: ./src/pyams_content/reference/zmi/table.py:129
+msgid "References tables"
+msgstr ""
+
+#: ./src/pyams_content/reference/zmi/table.py:73
+msgid "Contents"
+msgstr ""
+
+#: ./src/pyams_content/reference/zmi/table.py:83
+msgid "Table contents"
+msgstr ""
+
+#: ./src/pyams_content/reference/zmi/table.py:143
+msgid "Properties..."
+msgstr ""
+
+#: ./src/pyams_content/reference/zmi/table.py:157
+msgid "Edit table properties"
+msgstr ""
+
+#: ./src/pyams_content/reference/zmi/table.py:167
+msgid "Table management"
+msgstr ""
+
+#: ./src/pyams_content/reference/pictograms/interfaces.py:44
+#: ./src/pyams_content/component/extfile/__init__.py:225
+#: ./src/pyams_content/component/extfile/__init__.py:241
+#: ./src/pyams_content/shared/imagemap/interfaces.py:67
+msgid "Image"
+msgstr ""
+
+#: ./src/pyams_content/reference/pictograms/interfaces.py:45
+msgid "Pictogram content"
+msgstr ""
+
+#: ./src/pyams_content/reference/pictograms/interfaces.py:48
+#: ./src/pyams_content/component/gallery/interfaces.py:49
+#: ./src/pyams_content/component/illustration/interfaces.py:50
+msgid "Accessibility title"
+msgstr ""
+
+#: ./src/pyams_content/reference/pictograms/interfaces.py:49
+#: ./src/pyams_content/component/illustration/interfaces.py:51
+msgid "Alternate title used to describe image content"
+msgstr ""
+
+#. Default: Header
+#: ./src/pyams_content/reference/pictograms/interfaces.py:52
+msgid "pictogram-header"
+msgstr ""
+
+#: ./src/pyams_content/reference/pictograms/interfaces.py:53
+msgid "Default header associated with this pictogram"
+msgstr ""
+
+#: ./src/pyams_content/reference/pictograms/interfaces.py:73
+#: ./src/pyams_content/reference/pictograms/zmi/manager.py:60
+#: ./src/pyams_content/reference/pictograms/zmi/templates/manager-selection.pt:35
+msgid "Selected pictograms"
+msgstr ""
+
+#: ./src/pyams_content/reference/pictograms/interfaces.py:74
+msgid "List of selected pictograms which will be available to shared contents"
+msgstr ""
+
+#: ./src/pyams_content/reference/pictograms/zmi/widget.py:36
+msgid "No selected pictogram"
+msgstr ""
+
+#: ./src/pyams_content/reference/pictograms/zmi/widget.py:55
+#: ./src/pyams_content/reference/pictograms/zmi/__init__.py:169
+msgid "Default header: --"
+msgstr ""
+
+#: ./src/pyams_content/reference/pictograms/zmi/manager.py:48
+msgid "Pictograms selection..."
+msgstr ""
+
+#: ./src/pyams_content/reference/pictograms/zmi/__init__.py:59
+#: ./src/pyams_content/component/paragraph/zmi/pictogram.py:310
+msgid "Add pictogram"
+msgstr ""
+
+#: ./src/pyams_content/reference/pictograms/zmi/__init__.py:71
+#: ./src/pyams_content/component/paragraph/zmi/pictogram.py:323
+msgid "Add new pictogram"
+msgstr ""
+
+#: ./src/pyams_content/reference/pictograms/zmi/__init__.py:95
+#: ./src/pyams_content/component/paragraph/zmi/pictogram.py:365
+msgid "Edit pictogram properties"
+msgstr ""
+
+#: ./src/pyams_content/reference/pictograms/zmi/__init__.py:150
+#: ./src/pyams_content/component/keynumber/portlet/interfaces.py:31
+#: ./src/pyams_content/component/gallery/interfaces.py:106
+#: ./src/pyams_content/component/paragraph/interfaces/milestone.py:43
+#: ./src/pyams_content/component/paragraph/zmi/container.py:266
+#: ./src/pyams_content/component/paragraph/zmi/milestone.py:235
+#: ./src/pyams_content/interfaces/__init__.py:101
+#: ./src/pyams_content/features/menu/portlet/navigation/interfaces/simple.py:31
+#: ./src/pyams_content/features/menu/portlet/navigation/interfaces/double.py:31
+#: ./src/pyams_content/root/zmi/templates/advanced-search.pt:197
+#: ./src/pyams_content/shared/view/portlet/interfaces.py:56
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:104
+#: ./src/pyams_content/shared/common/zmi/reverse.py:73
+#: ./src/pyams_content/shared/common/zmi/templates/advanced-search.pt:200
+#: ./src/pyams_content/shared/site/zmi/folder.py:66
+#: ./src/pyams_content/shared/imagemap/zmi/container.py:123
+#: ./src/pyams_content/shared/logo/interfaces.py:46
+msgid "Title"
+msgstr ""
+
+#: ./src/pyams_content/reference/pictograms/zmi/templates/manager-selection.pt:7
+msgid "Available pictograms"
+msgstr ""
+
+#: ./src/pyams_content/reference/pictograms/zmi/templates/manager-selection.pt:21
+#: ./src/pyams_content/reference/pictograms/zmi/templates/manager-selection.pt:49
+msgid "Display pictogram properties"
+msgstr ""
+
+#: ./src/pyams_content/reference/pictograms/zmi/templates/pictogram-header.pt:6
+msgid "Default header: ${header}"
+msgstr ""
+
+#: ./src/pyams_content/component/keynumber/__init__.py:189
+#: ./src/pyams_content/component/keynumber/interfaces.py:83
+#: ./src/pyams_content/component/keynumber/portlet/zmi/__init__.py:74
+#: ./src/pyams_content/component/keynumber/zmi/__init__.py:212
+msgid "Key numbers"
+msgstr ""
+
+#: ./src/pyams_content/component/keynumber/interfaces.py:40
+#: ./src/pyams_content/component/paragraph/interfaces/pictogram.py:41
+#: ./src/pyams_content/component/paragraph/interfaces/milestone.py:38
+#: ./src/pyams_content/component/paragraph/interfaces/__init__.py:42
+#: ./src/pyams_content/component/association/interfaces.py:42
+#: ./src/pyams_content/features/alert/interfaces.py:54
+#: ./src/pyams_content/features/menu/interfaces.py:55
+#: ./src/pyams_content/shared/form/interfaces.py:85
+#: ./src/pyams_content/shared/site/interfaces.py:170
+msgid "Visible?"
+msgstr ""
+
+#: ./src/pyams_content/component/keynumber/interfaces.py:41
+msgid "Is this key number visible in front-office?"
+msgstr ""
+
+#. Default: Header
+#: ./src/pyams_content/component/keynumber/interfaces.py:45
+#: ./src/pyams_content/component/keynumber/zmi/__init__.py:160
+msgid "key-number-label"
+msgstr ""
+
+#: ./src/pyams_content/component/keynumber/interfaces.py:46
+msgid ""
+"Small text to be displayed above number (according to selected renderer)"
+msgstr ""
+
+#: ./src/pyams_content/component/keynumber/interfaces.py:50
+#: ./src/pyams_content/component/keynumber/zmi/__init__.py:172
+msgid "Number"
+msgstr ""
+
+#: ./src/pyams_content/component/keynumber/interfaces.py:51
+msgid "Key number value"
+msgstr ""
+
+#. Default: Unit
+#: ./src/pyams_content/component/keynumber/interfaces.py:54
+#: ./src/pyams_content/component/keynumber/zmi/__init__.py:181
+msgid "key-number-unit"
+msgstr ""
+
+#: ./src/pyams_content/component/keynumber/interfaces.py:55
+msgid "Displayed unit"
+msgstr ""
+
+#: ./src/pyams_content/component/keynumber/interfaces.py:58
+#: ./src/pyams_content/component/keynumber/zmi/__init__.py:193
+#: ./src/pyams_content/component/video/interfaces.py:46
+#: ./src/pyams_content/component/paragraph/interfaces/video.py:50
+#: ./src/pyams_content/component/paragraph/interfaces/pictogram.py:58
+#: ./src/pyams_content/component/paragraph/interfaces/milestone.py:81
+#: ./src/pyams_content/component/paragraph/zmi/pictogram.py:273
+#: ./src/pyams_content/component/illustration/interfaces.py:62
+msgid "Associated text"
+msgstr ""
+
+#: ./src/pyams_content/component/keynumber/interfaces.py:59
+msgid "The way this text will be rendered depends on presentation template"
+msgstr ""
+
+#: ./src/pyams_content/component/keynumber/interfaces.py:94
+msgid "Key numbers template"
+msgstr ""
+
+#: ./src/pyams_content/component/keynumber/interfaces.py:95
+msgid "Presentation template used for key numbers"
+msgstr ""
+
+#: ./src/pyams_content/component/keynumber/portlet/__init__.py:71
+msgid "Key Numbers"
+msgstr ""
+
+#: ./src/pyams_content/component/keynumber/portlet/interfaces.py:32
+msgid "Portlet title"
+msgstr ""
+
+#: ./src/pyams_content/component/keynumber/portlet/interfaces.py:35
+msgid "Teaser"
+msgstr ""
+
+#: ./src/pyams_content/component/keynumber/portlet/interfaces.py:36
+msgid "Short text displayed above key numbers"
+msgstr ""
+
+#: ./src/pyams_content/component/keynumber/portlet/zmi/__init__.py:97
+#: ./src/pyams_content/component/keynumber/portlet/zmi/templates/keynumber-preview.pt:26
+msgid "Associated links"
+msgstr ""
+
+#: ./src/pyams_content/component/keynumber/portlet/zmi/templates/keynumber-preview.pt:31
+#: ./src/pyams_content/features/menu/portlet/navigation/zmi/templates/double-preview.pt:10
+#: ./src/pyams_content/features/menu/portlet/navigation/zmi/templates/simple-preview.pt:7
+msgid "Link target is not published!"
+msgstr ""
+
+#: ./src/pyams_content/component/keynumber/zmi/__init__.py:231
+msgid "Add keynumber"
+msgstr ""
+
+#: ./src/pyams_content/component/keynumber/zmi/__init__.py:243
+msgid "Add new keynumber"
+msgstr ""
+
+#: ./src/pyams_content/component/keynumber/zmi/__init__.py:272
+msgid "Edit keynumber properties"
+msgstr ""
+
+#: ./src/pyams_content/component/keynumber/zmi/__init__.py:258
+msgid "Key number was correctly added"
+msgstr ""
+
+#: ./src/pyams_content/component/keynumber/zmi/paragraph.py:49
+msgid "Key numbers..."
+msgstr ""
+
+#: ./src/pyams_content/component/keynumber/zmi/paragraph.py:62
+msgid "Add new key number paragraph"
+msgstr ""
+
+#: ./src/pyams_content/component/keynumber/zmi/paragraph.py:90
+msgid "Edit key number paragraph properties"
+msgstr ""
+
 #: ./src/pyams_content/component/gallery/__init__.py:155
 msgid "Gallery"
 msgstr ""
 
+#: ./src/pyams_content/component/gallery/interfaces.py:120
+msgid "Medias gallery"
+msgstr ""
+
+#: ./src/pyams_content/component/gallery/interfaces.py:42
+#: ./src/pyams_content/component/illustration/interfaces.py:40
+#: ./src/pyams_content/component/illustration/interfaces.py:103
+msgid "Image or video data"
+msgstr ""
+
+#: ./src/pyams_content/component/gallery/interfaces.py:43
+#: ./src/pyams_content/component/illustration/interfaces.py:41
+#: ./src/pyams_content/component/illustration/interfaces.py:104
+msgid "Image or video content"
+msgstr ""
+
+#: ./src/pyams_content/component/gallery/interfaces.py:46
+#: ./src/pyams_content/component/video/interfaces.py:69
+#: ./src/pyams_content/component/paragraph/interfaces/video.py:43
+#: ./src/pyams_content/component/paragraph/interfaces/audio.py:43
+#: ./src/pyams_content/component/illustration/interfaces.py:47
+msgid "Legend"
+msgstr ""
+
+#: ./src/pyams_content/component/gallery/interfaces.py:50
+msgid "Alternate title used to describe media content"
+msgstr ""
+
+#: ./src/pyams_content/component/gallery/interfaces.py:53
+#: ./src/pyams_content/component/gallery/interfaces.py:110
+#: ./src/pyams_content/component/links/interfaces.py:39
+#: ./src/pyams_content/component/paragraph/interfaces/audio.py:50
+#: ./src/pyams_content/component/extfile/interfaces.py:36
+#: ./src/pyams_content/shared/form/interfaces.py:64
+msgid "Description"
+msgstr ""
+
+#: ./src/pyams_content/component/gallery/interfaces.py:56
+#: ./src/pyams_content/component/gallery/zmi/interfaces.py:39
+#: ./src/pyams_content/component/video/interfaces.py:42
+#: ./src/pyams_content/component/paragraph/interfaces/video.py:46
+#: ./src/pyams_content/component/paragraph/interfaces/verbatim.py:44
+#: ./src/pyams_content/component/paragraph/interfaces/audio.py:46
+#: ./src/pyams_content/component/extfile/interfaces.py:40
+#: ./src/pyams_content/component/illustration/interfaces.py:54
+msgid "Author"
+msgstr ""
+
+#: ./src/pyams_content/component/gallery/interfaces.py:57
+#: ./src/pyams_content/component/gallery/zmi/interfaces.py:40
+#: ./src/pyams_content/component/video/interfaces.py:43
+#: ./src/pyams_content/component/paragraph/interfaces/video.py:47
+#: ./src/pyams_content/component/paragraph/interfaces/audio.py:47
+#: ./src/pyams_content/component/extfile/interfaces.py:41
+msgid "Name of document's author"
+msgstr ""
+
+#: ./src/pyams_content/component/gallery/interfaces.py:60
+#: ./src/pyams_content/component/paragraph/interfaces/audio.py:39
+#: ./src/pyams_content/component/extfile/interfaces.py:85
+msgid "Audio data"
+msgstr ""
+
+#: ./src/pyams_content/component/gallery/interfaces.py:61
+msgid "Sound file associated with the current media"
+msgstr ""
+
+#: ./src/pyams_content/component/gallery/interfaces.py:64
+msgid "Sound title"
+msgstr ""
+
+#: ./src/pyams_content/component/gallery/interfaces.py:65
+msgid "Title of associated sound file"
+msgstr ""
+
+#: ./src/pyams_content/component/gallery/interfaces.py:68
+msgid "Sound description"
+msgstr ""
+
+#: ./src/pyams_content/component/gallery/interfaces.py:69
+msgid "Short description of associated sound file"
+msgstr ""
+
+#: ./src/pyams_content/component/gallery/interfaces.py:72
+msgid "Visible media?"
+msgstr ""
+
+#: ./src/pyams_content/component/gallery/interfaces.py:73
+msgid "If 'no', this media won't be displayed in front office"
+msgstr ""
+
+#: ./src/pyams_content/component/gallery/interfaces.py:84
+msgid "Gallery template"
+msgstr ""
+
+#: ./src/pyams_content/component/gallery/interfaces.py:85
+msgid "Presentation template used for this gallery"
+msgstr ""
+
+#: ./src/pyams_content/component/gallery/interfaces.py:107
+msgid "Gallery title, as shown in front-office"
+msgstr ""
+
+#: ./src/pyams_content/component/gallery/interfaces.py:111
+msgid "Gallery description displayed by front-office template"
+msgstr ""
+
 #: ./src/pyams_content/component/gallery/zmi/file.py:57
 #: ./src/pyams_content/component/gallery/zmi/file.py:69
 #: ./src/pyams_content/component/gallery/zmi/paragraph.py:163
@@ -107,6 +476,22 @@
 msgid "Audio content"
 msgstr ""
 
+#: ./src/pyams_content/component/gallery/zmi/__init__.py:57
+msgid "Update gallery properties"
+msgstr ""
+
+#: ./src/pyams_content/component/gallery/zmi/__init__.py:84
+msgid "Update gallery contents"
+msgstr ""
+
+#: ./src/pyams_content/component/gallery/zmi/interfaces.py:35
+msgid "Images or videos data"
+msgstr ""
+
+#: ./src/pyams_content/component/gallery/zmi/interfaces.py:36
+msgid "You can upload a single file or choose to upload a whole ZIP archive"
+msgstr ""
+
 #: ./src/pyams_content/component/gallery/zmi/paragraph.py:61
 msgid "Medias gallery..."
 msgstr ""
@@ -136,47 +521,6 @@
 msgid "(gallery contains {0} medias)"
 msgstr ""
 
-#: ./src/pyams_content/component/gallery/zmi/__init__.py:57
-msgid "Update gallery properties"
-msgstr ""
-
-#: ./src/pyams_content/component/gallery/zmi/__init__.py:84
-msgid "Update gallery contents"
-msgstr ""
-
-#: ./src/pyams_content/component/gallery/zmi/interfaces.py:35
-msgid "Images or videos data"
-msgstr ""
-
-#: ./src/pyams_content/component/gallery/zmi/interfaces.py:36
-msgid "You can upload a single file or choose to upload a whole ZIP archive"
-msgstr ""
-
-#: ./src/pyams_content/component/gallery/zmi/interfaces.py:39
-#: ./src/pyams_content/component/gallery/interfaces/__init__.py:56
-#: ./src/pyams_content/component/extfile/interfaces/__init__.py:44
-#: ./src/pyams_content/component/illustration/interfaces/__init__.py:54
-#: ./src/pyams_content/component/paragraph/interfaces/video.py:46
-#: ./src/pyams_content/component/paragraph/interfaces/audio.py:46
-#: ./src/pyams_content/component/paragraph/interfaces/verbatim.py:44
-#: ./src/pyams_content/component/video/interfaces/__init__.py:42
-msgid "Author"
-msgstr ""
-
-#: ./src/pyams_content/component/gallery/zmi/interfaces.py:40
-#: ./src/pyams_content/component/gallery/interfaces/__init__.py:57
-#: ./src/pyams_content/component/extfile/interfaces/__init__.py:45
-#: ./src/pyams_content/component/paragraph/interfaces/video.py:47
-#: ./src/pyams_content/component/paragraph/interfaces/audio.py:47
-#: ./src/pyams_content/component/video/interfaces/__init__.py:43
-msgid "Name of document's author"
-msgstr ""
-
-#: ./src/pyams_content/component/gallery/zmi/templates/gallery-media.pt:9
-#: ./src/pyams_content/component/gallery/zmi/templates/gallery-medias.pt:42
-msgid "Zoom image"
-msgstr ""
-
 #: ./src/pyams_content/component/gallery/zmi/templates/gallery-medias.pt:12
 msgid "Gallery medias"
 msgstr ""
@@ -185,1482 +529,47 @@
 msgid "Download medias"
 msgstr ""
 
-#: ./src/pyams_content/component/gallery/interfaces/__init__.py:120
-msgid "Medias gallery"
-msgstr ""
-
-#: ./src/pyams_content/component/gallery/interfaces/__init__.py:42
-#: ./src/pyams_content/component/illustration/interfaces/__init__.py:40
-#: ./src/pyams_content/component/illustration/interfaces/__init__.py:103
-msgid "Image or video data"
-msgstr ""
-
-#: ./src/pyams_content/component/gallery/interfaces/__init__.py:43
-#: ./src/pyams_content/component/illustration/interfaces/__init__.py:41
-#: ./src/pyams_content/component/illustration/interfaces/__init__.py:104
-msgid "Image or video content"
-msgstr ""
-
-#: ./src/pyams_content/component/gallery/interfaces/__init__.py:46
-#: ./src/pyams_content/component/illustration/interfaces/__init__.py:47
-#: ./src/pyams_content/component/paragraph/interfaces/video.py:43
-#: ./src/pyams_content/component/paragraph/interfaces/audio.py:43
-#: ./src/pyams_content/component/video/interfaces/__init__.py:69
-msgid "Legend"
-msgstr ""
-
-#: ./src/pyams_content/component/gallery/interfaces/__init__.py:49
-#: ./src/pyams_content/component/illustration/interfaces/__init__.py:50
-#: ./src/pyams_content/reference/pictograms/interfaces/__init__.py:48
-msgid "Accessibility title"
-msgstr ""
-
-#: ./src/pyams_content/component/gallery/interfaces/__init__.py:50
-msgid "Alternate title used to describe media content"
-msgstr ""
-
-#: ./src/pyams_content/component/gallery/interfaces/__init__.py:53
-#: ./src/pyams_content/component/gallery/interfaces/__init__.py:110
-#: ./src/pyams_content/component/extfile/interfaces/__init__.py:40
-#: ./src/pyams_content/component/paragraph/interfaces/audio.py:50
-#: ./src/pyams_content/component/links/interfaces/__init__.py:39
-#: ./src/pyams_content/shared/form/interfaces/__init__.py:64
-msgid "Description"
-msgstr ""
-
-#: ./src/pyams_content/component/gallery/interfaces/__init__.py:60
-#: ./src/pyams_content/component/extfile/interfaces/__init__.py:89
-#: ./src/pyams_content/component/paragraph/interfaces/audio.py:39
-msgid "Audio data"
-msgstr ""
-
-#: ./src/pyams_content/component/gallery/interfaces/__init__.py:61
-msgid "Sound file associated with the current media"
-msgstr ""
-
-#: ./src/pyams_content/component/gallery/interfaces/__init__.py:64
-msgid "Sound title"
-msgstr ""
-
-#: ./src/pyams_content/component/gallery/interfaces/__init__.py:65
-msgid "Title of associated sound file"
-msgstr ""
-
-#: ./src/pyams_content/component/gallery/interfaces/__init__.py:68
-msgid "Sound description"
-msgstr ""
-
-#: ./src/pyams_content/component/gallery/interfaces/__init__.py:69
-msgid "Short description of associated sound file"
-msgstr ""
-
-#: ./src/pyams_content/component/gallery/interfaces/__init__.py:72
-msgid "Visible media?"
-msgstr ""
-
-#: ./src/pyams_content/component/gallery/interfaces/__init__.py:73
-msgid "If 'no', this media won't be displayed in front office"
-msgstr ""
-
-#: ./src/pyams_content/component/gallery/interfaces/__init__.py:84
-msgid "Gallery template"
-msgstr ""
-
-#: ./src/pyams_content/component/gallery/interfaces/__init__.py:85
-msgid "Presentation template used for this gallery"
-msgstr ""
-
-#: ./src/pyams_content/component/gallery/interfaces/__init__.py:106
-#: ./src/pyams_content/component/keynumber/portlet/interfaces/__init__.py:31
-#: ./src/pyams_content/component/paragraph/zmi/milestone.py:235
-#: ./src/pyams_content/component/paragraph/zmi/container.py:266
-#: ./src/pyams_content/component/paragraph/interfaces/milestone.py:43
-#: ./src/pyams_content/shared/common/zmi/reverse.py:73
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:103
-#: ./src/pyams_content/shared/common/zmi/templates/advanced-search.pt:200
-#: ./src/pyams_content/shared/view/portlet/interfaces.py:56
-#: ./src/pyams_content/shared/imagemap/zmi/container.py:123
-#: ./src/pyams_content/shared/site/zmi/folder.py:66
-#: ./src/pyams_content/shared/logo/interfaces/__init__.py:46
-#: ./src/pyams_content/root/zmi/templates/advanced-search.pt:197
-#: ./src/pyams_content/interfaces/__init__.py:101
-#: ./src/pyams_content/reference/pictograms/zmi/__init__.py:150
-#: ./src/pyams_content/features/menu/portlet/navigation/interfaces/simple.py:31
-#: ./src/pyams_content/features/menu/portlet/navigation/interfaces/double.py:31
-msgid "Title"
-msgstr ""
-
-#: ./src/pyams_content/component/gallery/interfaces/__init__.py:107
-msgid "Gallery title, as shown in front-office"
-msgstr ""
-
-#: ./src/pyams_content/component/gallery/interfaces/__init__.py:111
-msgid "Gallery description displayed by front-office template"
-msgstr ""
-
-#: ./src/pyams_content/component/extfile/__init__.py:172
-#: ./src/pyams_content/component/extfile/__init__.py:176
-msgid "Standard file"
-msgstr ""
-
-#: ./src/pyams_content/component/extfile/__init__.py:223
-#: ./src/pyams_content/component/extfile/__init__.py:238
-#: ./src/pyams_content/shared/imagemap/interfaces/__init__.py:67
-#: ./src/pyams_content/reference/pictograms/interfaces/__init__.py:44
-msgid "Image"
-msgstr ""
-
-#: ./src/pyams_content/component/extfile/__init__.py:253
-#: ./src/pyams_content/component/extfile/__init__.py:257
-#: ./src/pyams_content/component/paragraph/interfaces/video.py:32
-msgid "Video"
-msgstr ""
-
-#: ./src/pyams_content/component/extfile/__init__.py:272
-#: ./src/pyams_content/component/extfile/__init__.py:276
-msgid "Audio file"
-msgstr ""
-
-#: ./src/pyams_content/component/extfile/zmi/__init__.py:69
-msgid "External files"
-msgstr ""
-
-#: ./src/pyams_content/component/extfile/zmi/__init__.py:84
-msgid "Add external file"
-msgstr ""
-
-#: ./src/pyams_content/component/extfile/zmi/__init__.py:98
-msgid "Add new external file"
-msgstr ""
-
-#: ./src/pyams_content/component/extfile/zmi/__init__.py:128
-msgid "Update file properties"
-msgstr ""
-
-#: ./src/pyams_content/component/extfile/zmi/__init__.py:154
-msgid "Images"
-msgstr ""
-
-#: ./src/pyams_content/component/extfile/zmi/__init__.py:169
-msgid "Add image"
-msgstr ""
-
-#: ./src/pyams_content/component/extfile/zmi/__init__.py:183
-msgid "Add new image"
-msgstr ""
-
-#: ./src/pyams_content/component/extfile/zmi/__init__.py:214
-msgid "Update image properties"
-msgstr ""
-
-#: ./src/pyams_content/component/extfile/zmi/__init__.py:245
-msgid "Videos"
-msgstr ""
-
-#: ./src/pyams_content/component/extfile/zmi/__init__.py:260
-msgid "Add video"
-msgstr ""
-
-#: ./src/pyams_content/component/extfile/zmi/__init__.py:274
-msgid "Add new video"
-msgstr ""
-
-#: ./src/pyams_content/component/extfile/zmi/__init__.py:298
-msgid "Update video properties"
-msgstr ""
-
-#: ./src/pyams_content/component/extfile/zmi/__init__.py:322
-msgid "Audios files"
-msgstr ""
-
-#: ./src/pyams_content/component/extfile/zmi/__init__.py:337
-msgid "Add audio file"
-msgstr ""
-
-#: ./src/pyams_content/component/extfile/zmi/__init__.py:351
-msgid "Add new audio file"
-msgstr ""
-
-#: ./src/pyams_content/component/extfile/zmi/__init__.py:375
-msgid "Update audio file properties"
-msgstr ""
-
-#: ./src/pyams_content/component/extfile/zmi/__init__.py:45
-msgid "External file type"
-msgstr ""
-
-#: ./src/pyams_content/component/extfile/interfaces/__init__.py:36
-#: ./src/pyams_content/component/links/interfaces/__init__.py:35
-#: ./src/pyams_content/shared/imagemap/interfaces/__init__.py:55
-msgid "Alternate title"
-msgstr ""
-
-#: ./src/pyams_content/component/extfile/interfaces/__init__.py:37
-msgid "File title, as shown in front-office"
-msgstr ""
-
-#: ./src/pyams_content/component/extfile/interfaces/__init__.py:41
-#: ./src/pyams_content/component/paragraph/interfaces/audio.py:51
-msgid "File description displayed by front-office template"
-msgstr ""
-
-#: ./src/pyams_content/component/extfile/interfaces/__init__.py:48
-#: ./src/pyams_content/component/links/interfaces/__init__.py:65
-msgid "Language"
-msgstr ""
-
-#: ./src/pyams_content/component/extfile/interfaces/__init__.py:49
-msgid "File's content language"
-msgstr ""
-
-#: ./src/pyams_content/component/extfile/interfaces/__init__.py:53
-msgid "Save file as..."
-msgstr ""
-
-#: ./src/pyams_content/component/extfile/interfaces/__init__.py:54
-msgid "Name under which the file will be saved"
-msgstr ""
-
-#: ./src/pyams_content/component/extfile/interfaces/__init__.py:61
-msgid "File data"
-msgstr ""
-
-#: ./src/pyams_content/component/extfile/interfaces/__init__.py:62
-msgid "File content"
-msgstr ""
-
-#: ./src/pyams_content/component/extfile/interfaces/__init__.py:73
-#: ./src/pyams_content/shared/logo/interfaces/__init__.py:59
-msgid "Image data"
-msgstr ""
-
-#: ./src/pyams_content/component/extfile/interfaces/__init__.py:74
-msgid "Image content"
-msgstr ""
-
-#: ./src/pyams_content/component/extfile/interfaces/__init__.py:81
-#: ./src/pyams_content/component/paragraph/interfaces/video.py:39
-msgid "Video data"
-msgstr ""
-
-#: ./src/pyams_content/component/extfile/interfaces/__init__.py:82
-msgid "Video content"
-msgstr ""
-
-#: ./src/pyams_content/component/extfile/interfaces/__init__.py:90
-#: ./src/pyams_content/component/paragraph/interfaces/audio.py:40
-msgid "Audio file content"
-msgstr ""
-
-#: ./src/pyams_content/component/keynumber/__init__.py:189
-#: ./src/pyams_content/component/keynumber/zmi/__init__.py:212
-#: ./src/pyams_content/component/keynumber/portlet/zmi/__init__.py:74
-#: ./src/pyams_content/component/keynumber/interfaces/__init__.py:83
-msgid "Key numbers"
-msgstr ""
-
-#: ./src/pyams_content/component/keynumber/zmi/paragraph.py:49
-msgid "Key numbers..."
-msgstr ""
-
-#: ./src/pyams_content/component/keynumber/zmi/paragraph.py:62
-msgid "Add new key number paragraph"
-msgstr ""
-
-#: ./src/pyams_content/component/keynumber/zmi/paragraph.py:90
-msgid "Edit key number paragraph properties"
-msgstr ""
-
-#. Default: Header
-#: ./src/pyams_content/component/keynumber/zmi/__init__.py:160
-#: ./src/pyams_content/component/keynumber/interfaces/__init__.py:45
-msgid "key-number-label"
-msgstr ""
-
-#: ./src/pyams_content/component/keynumber/zmi/__init__.py:172
-#: ./src/pyams_content/component/keynumber/interfaces/__init__.py:50
-msgid "Number"
-msgstr ""
-
-#. Default: Unit
-#: ./src/pyams_content/component/keynumber/zmi/__init__.py:181
-#: ./src/pyams_content/component/keynumber/interfaces/__init__.py:54
-msgid "key-number-unit"
-msgstr ""
-
-#: ./src/pyams_content/component/keynumber/zmi/__init__.py:193
-#: ./src/pyams_content/component/keynumber/interfaces/__init__.py:58
-#: ./src/pyams_content/component/illustration/interfaces/__init__.py:62
-#: ./src/pyams_content/component/paragraph/zmi/pictogram.py:273
-#: ./src/pyams_content/component/paragraph/interfaces/milestone.py:81
-#: ./src/pyams_content/component/paragraph/interfaces/video.py:50
-#: ./src/pyams_content/component/paragraph/interfaces/pictogram.py:58
-#: ./src/pyams_content/component/video/interfaces/__init__.py:46
-msgid "Associated text"
-msgstr ""
-
-#: ./src/pyams_content/component/keynumber/zmi/__init__.py:231
-msgid "Add keynumber"
-msgstr ""
-
-#: ./src/pyams_content/component/keynumber/zmi/__init__.py:243
-msgid "Add new keynumber"
-msgstr ""
-
-#: ./src/pyams_content/component/keynumber/zmi/__init__.py:272
-msgid "Edit keynumber properties"
-msgstr ""
-
-#: ./src/pyams_content/component/keynumber/zmi/__init__.py:258
-msgid "Key number was correctly added"
-msgstr ""
-
-#: ./src/pyams_content/component/keynumber/portlet/__init__.py:71
-msgid "Key Numbers"
-msgstr ""
-
-#: ./src/pyams_content/component/keynumber/portlet/zmi/__init__.py:97
-#: ./src/pyams_content/component/keynumber/portlet/zmi/templates/keynumber-preview.pt:26
-msgid "Associated links"
-msgstr ""
-
-#: ./src/pyams_content/component/keynumber/portlet/zmi/templates/keynumber-preview.pt:31
-#: ./src/pyams_content/features/menu/portlet/navigation/zmi/templates/double-preview.pt:10
-#: ./src/pyams_content/features/menu/portlet/navigation/zmi/templates/simple-preview.pt:7
-msgid "Link target is not published!"
-msgstr ""
-
-#: ./src/pyams_content/component/keynumber/portlet/interfaces/__init__.py:32
-msgid "Portlet title"
-msgstr ""
-
-#: ./src/pyams_content/component/keynumber/portlet/interfaces/__init__.py:35
-msgid "Teaser"
-msgstr ""
-
-#: ./src/pyams_content/component/keynumber/portlet/interfaces/__init__.py:36
-msgid "Short text displayed above key numbers"
-msgstr ""
-
-#: ./src/pyams_content/component/keynumber/interfaces/__init__.py:40
-#: ./src/pyams_content/component/paragraph/interfaces/milestone.py:38
-#: ./src/pyams_content/component/paragraph/interfaces/__init__.py:42
-#: ./src/pyams_content/component/paragraph/interfaces/pictogram.py:41
-#: ./src/pyams_content/component/association/interfaces/__init__.py:42
-#: ./src/pyams_content/shared/form/interfaces/__init__.py:85
-#: ./src/pyams_content/shared/site/interfaces/__init__.py:156
-#: ./src/pyams_content/features/alert/interfaces.py:54
-#: ./src/pyams_content/features/menu/interfaces/__init__.py:55
-msgid "Visible?"
-msgstr ""
-
-#: ./src/pyams_content/component/keynumber/interfaces/__init__.py:41
-msgid "Is this key number visible in front-office?"
-msgstr ""
-
-#: ./src/pyams_content/component/keynumber/interfaces/__init__.py:46
-msgid ""
-"Small text to be displayed above number (according to selected renderer)"
-msgstr ""
-
-#: ./src/pyams_content/component/keynumber/interfaces/__init__.py:51
-msgid "Key number value"
-msgstr ""
-
-#: ./src/pyams_content/component/keynumber/interfaces/__init__.py:55
-msgid "Displayed unit"
-msgstr ""
-
-#: ./src/pyams_content/component/keynumber/interfaces/__init__.py:59
-msgid "The way this text will be rendered depends on presentation template"
-msgstr ""
-
-#: ./src/pyams_content/component/keynumber/interfaces/__init__.py:94
-msgid "Key numbers template"
-msgstr ""
-
-#: ./src/pyams_content/component/keynumber/interfaces/__init__.py:95
-msgid "Presentation template used for key numbers"
-msgstr ""
-
-#: ./src/pyams_content/component/illustration/__init__.py:171
-#: ./src/pyams_content/component/illustration/thesaurus.py:32
-#: ./src/pyams_content/component/illustration/zmi/paragraph.py:153
-#: ./src/pyams_content/component/illustration/zmi/__init__.py:57
-#: ./src/pyams_content/component/illustration/zmi/__init__.py:118
-#: ./src/pyams_content/component/illustration/interfaces/__init__.py:97
-msgid "Illustration"
-msgstr ""
-
-#: ./src/pyams_content/component/illustration/zmi/paragraph.py:55
-msgid "Illustration..."
-msgstr ""
-
-#: ./src/pyams_content/component/illustration/zmi/paragraph.py:68
-msgid "Add new illustration"
-msgstr ""
-
-#: ./src/pyams_content/component/illustration/zmi/paragraph.py:93
-#: ./src/pyams_content/component/illustration/zmi/thesaurus.py:42
-msgid "Edit illustration properties"
-msgstr ""
-
-#: ./src/pyams_content/component/illustration/zmi/__init__.py:152
-msgid "Navigation link illustration"
-msgstr ""
-
-#: ./src/pyams_content/component/illustration/zmi/__init__.py:169
-msgid "Add illustration"
-msgstr ""
-
-#: ./src/pyams_content/component/illustration/zmi/__init__.py:120
-msgid "Header illustration"
-msgstr ""
-
-#: ./src/pyams_content/component/illustration/interfaces/__init__.py:51
-#: ./src/pyams_content/reference/pictograms/interfaces/__init__.py:49
-msgid "Alternate title used to describe image content"
-msgstr ""
-
-#: ./src/pyams_content/component/illustration/interfaces/__init__.py:55
-msgid "Name of picture's author"
-msgstr ""
-
-#: ./src/pyams_content/component/illustration/interfaces/__init__.py:63
-msgid "Illustration description displayed in front-office templates"
-msgstr ""
-
-#: ./src/pyams_content/component/illustration/interfaces/__init__.py:66
-msgid "Illustration template"
-msgstr ""
-
-#: ./src/pyams_content/component/illustration/interfaces/__init__.py:67
-msgid "Presentation template used for illustration"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/milestone.py:138
-msgid "Selected paragraph is missing"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/milestone.py:141
-msgid "Selected paragraph is not visible"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/container.py:94
-msgid "Paragraphs"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/container.py:116
-msgid "no visible paragraph"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/pictogram.py:130
-msgid "Selected pictogram is missing"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/header.py:62
-msgid "This paragraph type is deprecated and should be removed!"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/milestone.py:74
-msgid "Milestones..."
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/milestone.py:87
-msgid "Add new milestone paragraph"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/milestone.py:114
-msgid "Edit milestone paragraph properties"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/milestone.py:247
-#: ./src/pyams_content/component/paragraph/interfaces/milestone.py:47
-msgid "Associated label"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/milestone.py:259
-#: ./src/pyams_content/component/paragraph/interfaces/milestone.py:51
-msgid "Anchor"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/milestone.py:288
-#: ./src/pyams_content/component/paragraph/interfaces/milestone.py:74
-msgid "Milestones"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/milestone.py:303
-msgid "Add milestone"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/milestone.py:316
-msgid "Add new milestone"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/milestone.py:343
-msgid "Edit milestone properties"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/milestone.py:331
-msgid "Milestone was correctly added"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/milestone.py:274
-msgid "(missing paragraph)"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/keypoint.py:46
-msgid "Key points..."
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/keypoint.py:59
-msgid "Add new key points paragraph"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/keypoint.py:86
-msgid "Edit key points paragraph properties"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/__init__.py:60
-msgid "Content block types..."
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/__init__.py:74
-msgid "Content block types"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/__init__.py:84
-msgid ""
-"You can define which types of paragraphs are allowed in this container.\n"
-"\n"
-"Default paragraphs will be added automatically (in selected order) to any new created content.\n"
-"\n"
-"NOTICE: removing types from allowed types list will have no effect on already created contents!"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/__init__.py:209
-#: ./src/pyams_content/component/paragraph/zmi/__init__.py:222
-#: ./src/pyams_content/shared/common/zmi/templates/preview-input.pt:39
-#: ./src/pyams_content/features/preview/zmi/__init__.py:45
-msgid "Preview"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/__init__.py:214
-#: ./src/pyams_content/component/paragraph/zmi/__init__.py:227
-#: ./src/pyams_content/shared/common/zmi/workflow.py:123
-#: ./src/pyams_content/shared/common/zmi/workflow.py:210
-#: ./src/pyams_content/shared/common/zmi/workflow.py:250
-#: ./src/pyams_content/shared/common/zmi/workflow.py:304
-#: ./src/pyams_content/shared/common/zmi/workflow.py:393
-#: ./src/pyams_content/shared/common/zmi/workflow.py:449
-#: ./src/pyams_content/shared/common/zmi/workflow.py:489
-#: ./src/pyams_content/shared/common/zmi/workflow.py:530
-#: ./src/pyams_content/shared/common/zmi/workflow.py:573
-#: ./src/pyams_content/shared/common/zmi/workflow.py:613
-#: ./src/pyams_content/shared/common/zmi/workflow.py:654
-#: ./src/pyams_content/shared/common/zmi/workflow.py:705
-#: ./src/pyams_content/shared/common/zmi/__init__.py:275
-#: ./src/pyams_content/shared/common/zmi/owner.py:73
-#: ./src/pyams_content/features/review/zmi/__init__.py:84
-msgid "Cancel"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/__init__.py:216
-#: ./src/pyams_content/component/paragraph/zmi/__init__.py:229
-msgid "Submit"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/__init__.py:197
-msgid "Paragraph was correctly added."
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/__init__.py:269
-msgid ""
-"You changed renderer selection. Don't omit to update new renderer "
-"properties..."
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/map.py:50
-msgid "Location map..."
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/map.py:63
-msgid "Add new location map"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/map.py:86
-msgid "Edit location map properties"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/video.py:50
-msgid "Video paragraph..."
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/video.py:63
-msgid "Add new video paragraph"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/video.py:86
-#: ./src/pyams_content/component/video/zmi/paragraph.py:183
-msgid "Edit video properties"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/container.py:70
-msgid "Contents..."
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/container.py:211
-msgid "Set navigation anchor"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/container.py:285
-msgid "Show/hide all paragraphs"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/container.py:333
-#: ./src/pyams_content/component/paragraph/zmi/container.py:342
-#: ./src/pyams_content/component/paragraph/zmi/container.py:355
-msgid "Content blocks"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/container.py:412
-msgid "Links and attachments..."
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/container.py:424
-msgid "Content blocks links and attachments"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/container.py:141
-msgid "No currently defined paragraph."
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/container.py:294
-msgid "Click to open/close all paragraphs editors"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/container.py:307
-msgid "Click to open/close paragraph editor"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/container.py:147
-msgid "Check allowed paragraph types to be able to create new paragraphs."
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/pictogram.py:79
-msgid "Pictograms..."
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/pictogram.py:92
-msgid "Add new pictogram paragraph"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/pictogram.py:119
-msgid "Edit pictogram paragraph properties"
-msgstr ""
-
-#. Default: Header
-#: ./src/pyams_content/component/paragraph/zmi/pictogram.py:256
-msgid "pictogram-item-header"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/pictogram.py:295
-#: ./src/pyams_content/component/paragraph/interfaces/pictogram.py:80
-msgid "Pictograms"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/pictogram.py:310
-#: ./src/pyams_content/reference/pictograms/zmi/__init__.py:59
-msgid "Add pictogram"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/pictogram.py:323
-#: ./src/pyams_content/reference/pictograms/zmi/__init__.py:71
-msgid "Add new pictogram"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/pictogram.py:365
-#: ./src/pyams_content/reference/pictograms/zmi/__init__.py:95
-msgid "Edit pictogram properties"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/pictogram.py:345
-msgid "Pictogram was correctly added"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/pictogram.py:355
-#: ./src/pyams_content/component/paragraph/zmi/pictogram.py:393
-msgid "You must select a pictogram!"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/audio.py:50
-msgid "Audio paragraph..."
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/audio.py:63
-msgid "Add new audio paragraph"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/audio.py:85
-msgid "Edit audio properties"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/frame.py:98
-msgid "Framed text..."
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/frame.py:112
-msgid "Add new framed text paragraph"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/frame.py:138
-msgid "Edit framed text paragraph properties"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/verbatim.py:57
-msgid "Verbatim..."
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/verbatim.py:70
-msgid "Add new verbatim paragraph"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/verbatim.py:104
-msgid "Edit verbatim paragraph properties"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/html.py:74
-msgid "Raw HTML..."
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/html.py:87
-msgid "Add new raw HTML paragraph"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/html.py:117
-msgid "Edit raw HTML paragraph properties"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/html.py:157
-msgid "Rich text..."
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/html.py:170
-msgid "Add new rich text paragraph"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/html.py:207
-msgid "Edit rich text paragraph properties"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/contact.py:48
-msgid "Contact card..."
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/contact.py:61
-msgid "Add new contact card"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/contact.py:84
-msgid "Edit contact card properties"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/zmi/header.py:44
-msgid "Edit header paragraph properties"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/portlet/__init__.py:83
-msgid "Content paragraphs"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/portlet/__init__.py:135
-msgid "Paragraphs navigation anchors"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/portlet/zmi/__init__.py:67
-#: ./src/pyams_content/component/paragraph/portlet/zmi/__init__.py:122
-msgid "No filter, all paragraphs selected"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/portlet/zmi/__init__.py:74
-#: ./src/pyams_content/component/paragraph/portlet/zmi/__init__.py:129
-msgid "No filter, all paragraph types selected"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/portlet/zmi/templates/navigation-preview.pt:4
-#: ./src/pyams_content/component/paragraph/portlet/zmi/templates/container-preview.pt:4
-msgid "Selected paragraphs:"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/portlet/zmi/templates/navigation-preview.pt:10
-#: ./src/pyams_content/component/paragraph/portlet/zmi/templates/container-preview.pt:10
-msgid "Paragraphs filters:"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/portlet/zmi/templates/navigation-preview.pt:13
-#: ./src/pyams_content/component/paragraph/portlet/zmi/templates/container-preview.pt:13
-msgid "Selected paragraph types:"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/portlet/zmi/templates/navigation-preview.pt:18
-#: ./src/pyams_content/component/paragraph/portlet/zmi/templates/container-preview.pt:18
-msgid "Only display anchors"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/portlet/interfaces/__init__.py:30
-#: ./src/pyams_content/component/paragraph/portlet/interfaces/__init__.py:52
-msgid "Selected paragraphs"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/portlet/interfaces/__init__.py:31
-msgid ""
-"List of selected paragraphs; an empty selection means that all paragraphs "
-"will be selectable by following filters; otherwise, this selection will have "
-"priority"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/portlet/interfaces/__init__.py:37
-#: ./src/pyams_content/component/paragraph/portlet/interfaces/__init__.py:59
-msgid "Paragraph types"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/portlet/interfaces/__init__.py:38
-msgid ""
-"Select list of paragraph types you want to include; an empty selection means "
-"that all paragraphs types will be selected"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/portlet/interfaces/__init__.py:43
-#: ./src/pyams_content/component/paragraph/portlet/interfaces/__init__.py:65
-msgid "Anchors only?"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/portlet/interfaces/__init__.py:44
-msgid "If 'yes', only paragraphs set as 'anchors' will be selected"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/portlet/interfaces/__init__.py:53
-msgid ""
-"List of paragraphs selected for navigation; an empty selection means that all"
-" paragraphs will be selectable by following filters; otherwise, this "
-"selection will have priority"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/portlet/interfaces/__init__.py:60
-msgid ""
-"Select list of paragraph types you want to use for navigation; an empty "
-"selection means that all paragraphs types will be selected"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/portlet/interfaces/__init__.py:66
-msgid "If 'no', all paragraphs will be used as navigation anchors"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/milestone.py:39
-msgid "Is this milestone visible in front-office?"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/milestone.py:44
-msgid "Milestone title"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/milestone.py:48
-msgid "The way this label will be rendered depends on presentation template"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/milestone.py:52
-msgid "Paragraph to which this milestone should lead"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/milestone.py:82
-msgid "Additional text associated to this milestone paragraph"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/milestone.py:85
-msgid "Milestones template"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/milestone.py:86
-msgid "Presentation template used for milestones"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/keypoint.py:33
-#: ./src/pyams_content/component/paragraph/interfaces/keypoint.py:40
-msgid "Key points"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/keypoint.py:41
-msgid "Enter one key point by line, without hyphen or prefix"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/keypoint.py:44
-msgid "Presentation template"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/keypoint.py:45
-#: ./src/pyams_content/component/paragraph/interfaces/frame.py:44
-#: ./src/pyams_content/component/paragraph/interfaces/verbatim.py:53
-#: ./src/pyams_content/component/paragraph/interfaces/html.py:46
-#: ./src/pyams_content/component/paragraph/interfaces/html.py:67
-#: ./src/pyams_content/shared/imagemap/interfaces/__init__.py:101
-#: ./src/pyams_content/shared/logo/interfaces/__init__.py:89
-msgid "Presentation template used for this paragraph"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/__init__.py:43
-msgid "Is this paragraph visible in front-office?"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/__init__.py:47
-msgid "Anchor?"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/__init__.py:48
-msgid "Is this paragraph a navigation anchor?"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/__init__.py:52
-msgid "§ Title"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/__init__.py:92
-msgid "Allowed paragraphs"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/__init__.py:93
-msgid "List of paragraphs allowed for this content type"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/__init__.py:97
-#: ./src/pyams_content/shared/common/zmi/types.py:171
-#: ./src/pyams_content/shared/common/zmi/types.py:411
-msgid "Default paragraphs"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/__init__.py:98
-msgid "List of paragraphs automatically added to a new content"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/map.py:41
-msgid "Location map"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/map.py:48
-#: ./src/pyams_content/component/paragraph/interfaces/contact.py:73
-msgid "GPS location"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/map.py:49
-msgid "GPS coordinates used to locate map"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/map.py:52
-msgid "Display location mark?"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/map.py:53
-msgid "If 'yes', a location marker will be displayed on map"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/map.py:57
-msgid "Map template"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/map.py:58
-msgid "Presentation template used for this map"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/video.py:40
-msgid "Video file content"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/video.py:51
-#: ./src/pyams_content/component/video/interfaces/__init__.py:47
-msgid "Video description displayed by front-office template"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/video.py:54
-#: ./src/pyams_content/component/video/interfaces/__init__.py:72
-msgid "Video template"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/video.py:55
-#: ./src/pyams_content/component/video/interfaces/__init__.py:73
-msgid "Presentation template used for this video"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/pictogram.py:42
-msgid "Is this pictogram visible in front-office?"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/pictogram.py:46
-#: ./src/pyams_content/component/links/interfaces/__init__.py:43
-#: ./src/pyams_content/shared/common/interfaces/types.py:75
-#: ./src/pyams_content/features/menu/interfaces/__init__.py:68
-msgid "Pictogram"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/pictogram.py:47
-msgid "Name of the pictogram to select"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/pictogram.py:53
-msgid "Alternate header"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/pictogram.py:54
-msgid ""
-"Alternate pictogram label; if not specified, the pictogram header will be "
-"used"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/pictogram.py:59
-msgid "Additional text associated to this pictogram"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/pictogram.py:87
-msgid "Pictograms template"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/pictogram.py:88
-msgid "Presentation template used for pictograms"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/audio.py:32
-msgid "Audio"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/audio.py:54
-msgid "Audio template"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/audio.py:55
-msgid "Presentation template used for this audio file"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/frame.py:33
-msgid "Framed text"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/frame.py:40
-msgid "Frame body"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/frame.py:43
-msgid "Text template"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/verbatim.py:33
-msgid "Verbatim"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/verbatim.py:40
-msgid "Quoted text"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/verbatim.py:41
-msgid "Quotation marks will be added automatically by presentation template"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/verbatim.py:45
-msgid "Name of the quote author"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/verbatim.py:48
-#: ./src/pyams_content/component/paragraph/interfaces/contact.py:55
-msgid "In charge of"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/verbatim.py:49
-msgid "Label of author function"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/verbatim.py:52
-msgid "Verbatim template"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/html.py:33
-msgid "Raw HTML "
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/html.py:56
-msgid "Rich text"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/html.py:40
-msgid "Raw HTML code"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/html.py:41
-msgid ""
-"This HTML code will be used 'as is', without any transformation. Use with "
-"care!!"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/html.py:45
-msgid "Raw HTML code template"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/html.py:63
-msgid "Body"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/html.py:66
-msgid "Body template"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/contact.py:44
-msgid "Contact card"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/contact.py:51
-msgid "Contact identity"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/contact.py:52
-msgid "Name of the contact"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/contact.py:56
-msgid "Label of contact function"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/contact.py:59
-msgid "Email address"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/contact.py:60
-msgid "Contact email address"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/contact.py:63
-msgid "Contact form"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/contact.py:64
-msgid "Reference of contact form"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/contact.py:68
-msgid "Photo"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/contact.py:69
-msgid "Use 'browse' button to select contact picture"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/contact.py:77
-msgid "Address"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/contact.py:80
-msgid "Contact template"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/contact.py:81
-msgid "Presentation template used for this contact"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/contact.py:74
-msgid "GPS coordinates used to locate contact"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/header.py:33
-#: ./src/pyams_content/component/paragraph/interfaces/header.py:40
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:151
-msgid "Header"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/header.py:43
-#: ./src/pyams_content/features/header/interfaces/__init__.py:39
-msgid "Header template"
-msgstr ""
-
-#: ./src/pyams_content/component/paragraph/interfaces/header.py:44
-#: ./src/pyams_content/features/header/interfaces/__init__.py:40
-msgid "Presentation template used for this header"
-msgstr ""
-
-#: ./src/pyams_content/component/theme/__init__.py:74
-#: ./src/pyams_content/component/theme/zmi/portlet.py:40
-#: ./src/pyams_content/component/theme/interfaces/__init__.py:64
-#: ./src/pyams_content/component/theme/interfaces/__init__.py:78
-#: ./src/pyams_content/shared/common/zmi/search.py:189
-#: ./src/pyams_content/root/zmi/search.py:179
-#: ./src/pyams_content/root/zmi/templates/advanced-search.pt:181
-msgid "Tags"
-msgstr ""
-
-#: ./src/pyams_content/component/theme/__init__.py:122
-#: ./src/pyams_content/component/theme/zmi/portlet.py:55
-#: ./src/pyams_content/component/theme/interfaces/__init__.py:105
-#: ./src/pyams_content/component/theme/interfaces/__init__.py:119
-#: ./src/pyams_content/shared/common/zmi/search.py:192
-msgid "Themes"
-msgstr ""
-
-#: ./src/pyams_content/component/theme/__init__.py:170
-#: ./src/pyams_content/component/theme/zmi/portlet.py:70
-#: ./src/pyams_content/component/theme/interfaces/__init__.py:146
-#: ./src/pyams_content/component/theme/interfaces/__init__.py:160
-#: ./src/pyams_content/shared/common/zmi/search.py:195
-msgid "Collections"
-msgstr ""
-
-#: ./src/pyams_content/component/theme/__init__.py:83
-msgid "no defined tag"
-msgstr ""
-
-#: ./src/pyams_content/component/theme/__init__.py:131
-msgid "no defined theme"
-msgstr ""
-
-#: ./src/pyams_content/component/theme/__init__.py:179
-msgid "no defined collection"
-msgstr ""
-
-#: ./src/pyams_content/component/theme/zmi/__init__.py:55
-#: ./src/pyams_content/shared/view/zmi/theme.py:56
-msgid "Tags..."
-msgstr ""
-
-#: ./src/pyams_content/component/theme/zmi/__init__.py:66
-msgid "Content tags"
-msgstr ""
-
-#: ./src/pyams_content/component/theme/zmi/__init__.py:99
-#: ./src/pyams_content/shared/view/zmi/theme.py:102
-msgid "Themes..."
-msgstr ""
-
-#: ./src/pyams_content/component/theme/zmi/__init__.py:107
-msgid "Content themes"
-msgstr ""
-
-#: ./src/pyams_content/component/theme/zmi/__init__.py:159
-#: ./src/pyams_content/shared/view/zmi/theme.py:148
-msgid "Collections..."
-msgstr ""
-
-#: ./src/pyams_content/component/theme/zmi/__init__.py:172
-msgid "Content collections"
-msgstr ""
-
-#: ./src/pyams_content/component/theme/zmi/manager.py:58
-msgid "Tags settings..."
-msgstr ""
-
-#: ./src/pyams_content/component/theme/zmi/manager.py:72
-msgid "Selected tags"
-msgstr ""
-
-#: ./src/pyams_content/component/theme/zmi/manager.py:109
-msgid "Themes settings..."
-msgstr ""
-
-#: ./src/pyams_content/component/theme/zmi/manager.py:123
-msgid "Selected themes"
-msgstr ""
-
-#: ./src/pyams_content/component/theme/zmi/manager.py:159
-msgid "Collections settings..."
-msgstr ""
-
-#: ./src/pyams_content/component/theme/zmi/manager.py:173
-msgid "Selected collections"
-msgstr ""
-
-#: ./src/pyams_content/component/theme/interfaces/__init__.py:41
-msgid "Enable search by tag?"
-msgstr ""
-
-#: ./src/pyams_content/component/theme/interfaces/__init__.py:42
-msgid ""
-"If 'yes', displayed tags will lead to a search engine displaying contents "
-"matching given tag"
-msgstr ""
-
-#: ./src/pyams_content/component/theme/interfaces/__init__.py:47
-msgid "Tags search target"
-msgstr ""
-
-#: ./src/pyams_content/component/theme/interfaces/__init__.py:48
-msgid "Site or folder where tags search is displayed"
-msgstr ""
-
-#: ./src/pyams_content/component/theme/interfaces/__init__.py:54
-msgid "You must specify search target when activating search by tags!"
-msgstr ""
-
-#: ./src/pyams_content/component/association/container.py:91
-#: ./src/pyams_content/component/association/zmi/__init__.py:313
-#: ./src/pyams_content/component/association/interfaces/__init__.py:93
-msgid "Associations"
-msgstr ""
-
-#: ./src/pyams_content/component/association/zmi/paragraph.py:54
-#: ./src/pyams_content/component/association/zmi/__init__.py:96
-msgid "Associations..."
-msgstr ""
-
-#: ./src/pyams_content/component/association/zmi/paragraph.py:67
-msgid "Add new association paragraph"
-msgstr ""
-
-#: ./src/pyams_content/component/association/zmi/paragraph.py:93
-msgid "Edit association paragraph properties"
-msgstr ""
-
-#: ./src/pyams_content/component/association/zmi/__init__.py:209
-msgid "Public title"
-msgstr ""
-
-#: ./src/pyams_content/component/association/zmi/__init__.py:229
-msgid "Inner title"
-msgstr ""
-
-#: ./src/pyams_content/component/association/zmi/__init__.py:247
-msgid "Size"
-msgstr ""
-
-#: ./src/pyams_content/component/association/zmi/__init__.py:290
-#: ./src/pyams_content/component/association/zmi/__init__.py:300
-msgid "Associations list"
-msgstr ""
-
-#: ./src/pyams_content/component/association/zmi/__init__.py:66
-msgid "Association was correctly added."
-msgstr ""
-
-#: ./src/pyams_content/component/association/interfaces/__init__.py:43
-#: ./src/pyams_content/features/menu/interfaces/__init__.py:56
-msgid "Is this item visible in front-office?"
-msgstr ""
-
-#: ./src/pyams_content/component/association/interfaces/__init__.py:100
-msgid "Associations template"
-msgstr ""
-
-#: ./src/pyams_content/component/association/interfaces/__init__.py:101
-msgid "Presentation template used for associations"
-msgstr ""
-
-#: ./src/pyams_content/component/links/__init__.py:144
-msgid "Internal link"
-msgstr ""
-
-#: ./src/pyams_content/component/links/__init__.py:230
-msgid "External link"
-msgstr ""
-
-#: ./src/pyams_content/component/links/__init__.py:283
-msgid "Mailto link"
-msgstr ""
-
-#: ./src/pyams_content/component/links/__init__.py:217
-msgid "target is not published"
-msgstr ""
-
-#: ./src/pyams_content/component/links/zmi/__init__.py:54
-msgid "Internal links"
-msgstr ""
-
-#: ./src/pyams_content/component/links/zmi/__init__.py:69
-msgid "Add internal link"
-msgstr ""
-
-#: ./src/pyams_content/component/links/zmi/__init__.py:83
-msgid "Add new internal link"
-msgstr ""
-
-#: ./src/pyams_content/component/links/zmi/__init__.py:114
-msgid "Edit internal link properties"
-msgstr ""
-
-#: ./src/pyams_content/component/links/zmi/__init__.py:142
-msgid "External links"
-msgstr ""
-
-#: ./src/pyams_content/component/links/zmi/__init__.py:157
-msgid "Add external link"
-msgstr ""
-
-#: ./src/pyams_content/component/links/zmi/__init__.py:171
-msgid "Add new external link"
-msgstr ""
-
-#: ./src/pyams_content/component/links/zmi/__init__.py:202
-msgid "Edit external link properties"
-msgstr ""
-
-#: ./src/pyams_content/component/links/zmi/__init__.py:230
-msgid "Mailto links"
-msgstr ""
-
-#: ./src/pyams_content/component/links/zmi/__init__.py:245
-msgid "Add mailto link"
-msgstr ""
-
-#: ./src/pyams_content/component/links/zmi/__init__.py:259
-msgid "Add new mailto link"
-msgstr ""
-
-#: ./src/pyams_content/component/links/zmi/__init__.py:290
-msgid "Edit mailto link properties"
-msgstr ""
-
-#: ./src/pyams_content/component/links/interfaces/__init__.py:36
-msgid "Link title, as shown in front-office"
-msgstr ""
-
-#: ./src/pyams_content/component/links/interfaces/__init__.py:40
-msgid "Link description displayed by front-office template"
-msgstr ""
-
-#: ./src/pyams_content/component/links/interfaces/__init__.py:44
-msgid "Name of the pictogram associated with this link"
-msgstr ""
-
-#: ./src/pyams_content/component/links/interfaces/__init__.py:61
-#: ./src/pyams_content/shared/logo/interfaces/__init__.py:54
-#: ./src/pyams_content/features/redirect/interfaces/__init__.py:68
-msgid "Target URL"
-msgstr ""
-
-#: ./src/pyams_content/component/links/interfaces/__init__.py:62
-#: ./src/pyams_content/shared/logo/interfaces/__init__.py:55
-msgid "URL used to access external resource"
-msgstr ""
-
-#: ./src/pyams_content/component/links/interfaces/__init__.py:66
-msgid "Language used in this remote resource"
-msgstr ""
-
-#: ./src/pyams_content/component/links/interfaces/__init__.py:74
-msgid "Target address"
-msgstr ""
-
-#: ./src/pyams_content/component/links/interfaces/__init__.py:75
-msgid "Target email address"
-msgstr ""
-
-#: ./src/pyams_content/component/links/interfaces/__init__.py:78
-msgid "Address name"
-msgstr ""
-
-#: ./src/pyams_content/component/links/interfaces/__init__.py:79
-msgid "Address as displayed in address book"
+#: ./src/pyams_content/component/gallery/zmi/templates/gallery-medias.pt:42
+#: ./src/pyams_content/component/gallery/zmi/templates/gallery-media.pt:9
+msgid "Zoom image"
 msgstr ""
 
 #: ./src/pyams_content/component/video/__init__.py:67
-#: ./src/pyams_content/component/video/interfaces/__init__.py:62
+#: ./src/pyams_content/component/video/interfaces.py:62
 msgid "External video"
 msgstr ""
 
+#: ./src/pyams_content/component/video/interfaces.py:47
+#: ./src/pyams_content/component/paragraph/interfaces/video.py:51
+msgid "Video description displayed by front-office template"
+msgstr ""
+
+#: ./src/pyams_content/component/video/interfaces.py:50
+msgid "Video provider"
+msgstr ""
+
+#: ./src/pyams_content/component/video/interfaces.py:51
+msgid "Name of external platform providing selected video"
+msgstr ""
+
+#: ./src/pyams_content/component/video/interfaces.py:72
+#: ./src/pyams_content/component/paragraph/interfaces/video.py:54
+msgid "Video template"
+msgstr ""
+
+#: ./src/pyams_content/component/video/interfaces.py:73
+#: ./src/pyams_content/component/paragraph/interfaces/video.py:55
+msgid "Presentation template used for this video"
+msgstr ""
+
 #: ./src/pyams_content/component/video/provider/dailymotion.py:94
 msgid "Dailymotion settings"
 msgstr ""
 
+#: ./src/pyams_content/component/video/provider/vimeo.py:92
+msgid "Vimeo settings"
+msgstr ""
+
 #: ./src/pyams_content/component/video/provider/__init__.py:63
 msgid "Other provider"
 msgstr ""
@@ -1669,10 +578,6 @@
 msgid "Custom video settings"
 msgstr ""
 
-#: ./src/pyams_content/component/video/provider/vimeo.py:92
-msgid "Vimeo settings"
-msgstr ""
-
 #: ./src/pyams_content/component/video/provider/interfaces.py:31
 msgid "Integration code"
 msgstr ""
@@ -1901,6 +806,11 @@
 msgid "Add new external video..."
 msgstr ""
 
+#: ./src/pyams_content/component/video/zmi/paragraph.py:183
+#: ./src/pyams_content/component/paragraph/zmi/video.py:86
+msgid "Edit video properties"
+msgstr ""
+
 #: ./src/pyams_content/component/video/zmi/paragraph.py:118
 msgid "Video provider is required"
 msgstr ""
@@ -1914,77 +824,3398 @@
 msgid "Other settings"
 msgstr ""
 
-#: ./src/pyams_content/component/video/interfaces/__init__.py:50
-msgid "Video provider"
-msgstr ""
-
-#: ./src/pyams_content/component/video/interfaces/__init__.py:51
-msgid "Name of external platform providing selected video"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/__init__.py:244
+#: ./src/pyams_content/component/links/__init__.py:144
+msgid "Internal link"
+msgstr ""
+
+#: ./src/pyams_content/component/links/__init__.py:230
+msgid "External link"
+msgstr ""
+
+#: ./src/pyams_content/component/links/__init__.py:283
+msgid "Mailto link"
+msgstr ""
+
+#: ./src/pyams_content/component/links/__init__.py:217
+msgid "target is not published"
+msgstr ""
+
+#: ./src/pyams_content/component/links/interfaces.py:35
+#: ./src/pyams_content/shared/imagemap/interfaces.py:55
+msgid "Alternate title"
+msgstr ""
+
+#: ./src/pyams_content/component/links/interfaces.py:36
+msgid "Link title, as shown in front-office"
+msgstr ""
+
+#: ./src/pyams_content/component/links/interfaces.py:40
+msgid "Link description displayed by front-office template"
+msgstr ""
+
+#: ./src/pyams_content/component/links/interfaces.py:43
+#: ./src/pyams_content/component/paragraph/interfaces/pictogram.py:46
+#: ./src/pyams_content/features/menu/interfaces.py:68
+#: ./src/pyams_content/shared/common/interfaces/types.py:75
+msgid "Pictogram"
+msgstr ""
+
+#: ./src/pyams_content/component/links/interfaces.py:44
+msgid "Name of the pictogram associated with this link"
+msgstr ""
+
+#: ./src/pyams_content/component/links/interfaces.py:61
+#: ./src/pyams_content/features/redirect/interfaces.py:68
+#: ./src/pyams_content/shared/logo/interfaces.py:54
+msgid "Target URL"
+msgstr ""
+
+#: ./src/pyams_content/component/links/interfaces.py:62
+#: ./src/pyams_content/shared/logo/interfaces.py:55
+msgid "URL used to access external resource"
+msgstr ""
+
+#: ./src/pyams_content/component/links/interfaces.py:65
+#: ./src/pyams_content/component/extfile/interfaces.py:44
+msgid "Language"
+msgstr ""
+
+#: ./src/pyams_content/component/links/interfaces.py:66
+msgid "Language used in this remote resource"
+msgstr ""
+
+#: ./src/pyams_content/component/links/interfaces.py:74
+msgid "Target address"
+msgstr ""
+
+#: ./src/pyams_content/component/links/interfaces.py:75
+msgid "Target email address"
+msgstr ""
+
+#: ./src/pyams_content/component/links/interfaces.py:78
+msgid "Address name"
+msgstr ""
+
+#: ./src/pyams_content/component/links/interfaces.py:79
+msgid "Address as displayed in address book"
+msgstr ""
+
+#: ./src/pyams_content/component/links/zmi/__init__.py:54
+msgid "Internal links"
+msgstr ""
+
+#: ./src/pyams_content/component/links/zmi/__init__.py:69
+msgid "Add internal link"
+msgstr ""
+
+#: ./src/pyams_content/component/links/zmi/__init__.py:83
+msgid "Add new internal link"
+msgstr ""
+
+#: ./src/pyams_content/component/links/zmi/__init__.py:114
+msgid "Edit internal link properties"
+msgstr ""
+
+#: ./src/pyams_content/component/links/zmi/__init__.py:142
+msgid "External links"
+msgstr ""
+
+#: ./src/pyams_content/component/links/zmi/__init__.py:157
+msgid "Add external link"
+msgstr ""
+
+#: ./src/pyams_content/component/links/zmi/__init__.py:171
+msgid "Add new external link"
+msgstr ""
+
+#: ./src/pyams_content/component/links/zmi/__init__.py:202
+msgid "Edit external link properties"
+msgstr ""
+
+#: ./src/pyams_content/component/links/zmi/__init__.py:230
+msgid "Mailto links"
+msgstr ""
+
+#: ./src/pyams_content/component/links/zmi/__init__.py:245
+msgid "Add mailto link"
+msgstr ""
+
+#: ./src/pyams_content/component/links/zmi/__init__.py:259
+msgid "Add new mailto link"
+msgstr ""
+
+#: ./src/pyams_content/component/links/zmi/__init__.py:290
+msgid "Edit mailto link properties"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/header.py:62
+msgid "This paragraph type is deprecated and should be removed!"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/container.py:94
+msgid "Paragraphs"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/container.py:116
+msgid "no visible paragraph"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/pictogram.py:130
+msgid "Selected pictogram is missing"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/milestone.py:138
+msgid "Selected paragraph is missing"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/milestone.py:141
+msgid "Selected paragraph is not visible"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/header.py:33
+#: ./src/pyams_content/component/paragraph/interfaces/header.py:40
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:151
+#: ./src/pyams_content/shared/site/interfaces.py:82
+msgid "Header"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/header.py:43
+#: ./src/pyams_content/features/header/interfaces.py:39
+msgid "Header template"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/header.py:44
+#: ./src/pyams_content/features/header/interfaces.py:40
+msgid "Presentation template used for this header"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/contact.py:44
+msgid "Contact card"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/contact.py:51
+msgid "Contact identity"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/contact.py:52
+msgid "Name of the contact"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/contact.py:55
+#: ./src/pyams_content/component/paragraph/interfaces/verbatim.py:48
+msgid "In charge of"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/contact.py:56
+msgid "Label of contact function"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/contact.py:59
+msgid "Email address"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/contact.py:60
+msgid "Contact email address"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/contact.py:63
+msgid "Contact form"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/contact.py:64
+msgid "Reference of contact form"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/contact.py:68
+msgid "Photo"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/contact.py:69
+msgid "Use 'browse' button to select contact picture"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/contact.py:77
+msgid "Address"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/contact.py:80
+msgid "Contact template"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/contact.py:81
+msgid "Presentation template used for this contact"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/contact.py:73
+#: ./src/pyams_content/component/paragraph/interfaces/map.py:48
+msgid "GPS location"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/contact.py:74
+msgid "GPS coordinates used to locate contact"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/video.py:32
+#: ./src/pyams_content/component/extfile/__init__.py:256
+#: ./src/pyams_content/component/extfile/__init__.py:261
+msgid "Video"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/video.py:39
+#: ./src/pyams_content/component/extfile/interfaces.py:77
+msgid "Video data"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/video.py:40
+msgid "Video file content"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/pictogram.py:80
+#: ./src/pyams_content/component/paragraph/zmi/pictogram.py:295
+msgid "Pictograms"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/pictogram.py:42
+msgid "Is this pictogram visible in front-office?"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/pictogram.py:47
+msgid "Name of the pictogram to select"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/pictogram.py:53
+msgid "Alternate header"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/pictogram.py:54
+msgid ""
+"Alternate pictogram label; if not specified, the pictogram header will be "
+"used"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/pictogram.py:59
+msgid "Additional text associated to this pictogram"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/pictogram.py:87
+msgid "Pictograms template"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/pictogram.py:88
+msgid "Presentation template used for pictograms"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/milestone.py:74
+#: ./src/pyams_content/component/paragraph/zmi/milestone.py:288
+msgid "Milestones"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/milestone.py:39
+msgid "Is this milestone visible in front-office?"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/milestone.py:44
+msgid "Milestone title"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/milestone.py:47
+#: ./src/pyams_content/component/paragraph/zmi/milestone.py:247
+msgid "Associated label"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/milestone.py:48
+msgid "The way this label will be rendered depends on presentation template"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/milestone.py:51
+#: ./src/pyams_content/component/paragraph/zmi/milestone.py:259
+msgid "Anchor"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/milestone.py:52
+msgid "Paragraph to which this milestone should lead"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/milestone.py:82
+msgid "Additional text associated to this milestone paragraph"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/milestone.py:85
+msgid "Milestones template"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/milestone.py:86
+msgid "Presentation template used for milestones"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/html.py:33
+msgid "Raw HTML "
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/html.py:56
+msgid "Rich text"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/html.py:40
+msgid "Raw HTML code"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/html.py:41
+msgid ""
+"This HTML code will be used 'as is', without any transformation. Use with "
+"care!!"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/html.py:45
+msgid "Raw HTML code template"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/html.py:46
+#: ./src/pyams_content/component/paragraph/interfaces/html.py:67
+#: ./src/pyams_content/component/paragraph/interfaces/verbatim.py:53
+#: ./src/pyams_content/component/paragraph/interfaces/keypoint.py:45
+#: ./src/pyams_content/component/paragraph/interfaces/frame.py:44
+#: ./src/pyams_content/shared/imagemap/interfaces.py:101
+#: ./src/pyams_content/shared/logo/interfaces.py:89
+msgid "Presentation template used for this paragraph"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/html.py:63
+msgid "Body"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/html.py:66
+msgid "Body template"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/verbatim.py:33
+msgid "Verbatim"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/verbatim.py:40
+msgid "Quoted text"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/verbatim.py:41
+msgid "Quotation marks will be added automatically by presentation template"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/verbatim.py:45
+msgid "Name of the quote author"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/verbatim.py:49
+msgid "Label of author function"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/verbatim.py:52
+msgid "Verbatim template"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/__init__.py:43
+msgid "Is this paragraph visible in front-office?"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/__init__.py:47
+msgid "Anchor?"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/__init__.py:48
+msgid "Is this paragraph a navigation anchor?"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/__init__.py:52
+msgid "§ Title"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/__init__.py:92
+msgid "Allowed paragraphs"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/__init__.py:93
+msgid "List of paragraphs allowed for this content type"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/__init__.py:97
+#: ./src/pyams_content/shared/common/zmi/types.py:171
+#: ./src/pyams_content/shared/common/zmi/types.py:411
+msgid "Default paragraphs"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/__init__.py:98
+msgid "List of paragraphs automatically added to a new content"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/map.py:41
+msgid "Location map"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/map.py:49
+msgid "GPS coordinates used to locate map"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/map.py:52
+msgid "Display location mark?"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/map.py:53
+msgid "If 'yes', a location marker will be displayed on map"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/map.py:57
+msgid "Map template"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/map.py:58
+msgid "Presentation template used for this map"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/keypoint.py:33
+#: ./src/pyams_content/component/paragraph/interfaces/keypoint.py:40
+msgid "Key points"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/keypoint.py:41
+msgid "Enter one key point by line, without hyphen or prefix"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/keypoint.py:44
+msgid "Presentation template"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/frame.py:33
+msgid "Framed text"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/frame.py:40
+msgid "Frame body"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/frame.py:43
+msgid "Text template"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/audio.py:32
+msgid "Audio"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/audio.py:40
+#: ./src/pyams_content/component/extfile/interfaces.py:86
+msgid "Audio file content"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/audio.py:51
+#: ./src/pyams_content/component/extfile/interfaces.py:37
+msgid "File description displayed by front-office template"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/audio.py:54
+msgid "Audio template"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/interfaces/audio.py:55
+msgid "Presentation template used for this audio file"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/portlet/__init__.py:83
+msgid "Content paragraphs"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/portlet/__init__.py:135
+msgid "Paragraphs navigation anchors"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/portlet/interfaces.py:30
+#: ./src/pyams_content/component/paragraph/portlet/interfaces.py:52
+msgid "Selected paragraphs"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/portlet/interfaces.py:31
+msgid ""
+"List of selected paragraphs; an empty selection means that all paragraphs "
+"will be selectable by following filters; otherwise, this selection will have "
+"priority"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/portlet/interfaces.py:37
+#: ./src/pyams_content/component/paragraph/portlet/interfaces.py:59
+msgid "Paragraph types"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/portlet/interfaces.py:38
+msgid ""
+"Select list of paragraph types you want to include; an empty selection means "
+"that all paragraphs types will be selected"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/portlet/interfaces.py:43
+#: ./src/pyams_content/component/paragraph/portlet/interfaces.py:65
+msgid "Anchors only?"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/portlet/interfaces.py:44
+msgid "If 'yes', only paragraphs set as 'anchors' will be selected"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/portlet/interfaces.py:53
+msgid ""
+"List of paragraphs selected for navigation; an empty selection means that all"
+" paragraphs will be selectable by following filters; otherwise, this "
+"selection will have priority"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/portlet/interfaces.py:60
+msgid ""
+"Select list of paragraph types you want to use for navigation; an empty "
+"selection means that all paragraphs types will be selected"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/portlet/interfaces.py:66
+msgid "If 'no', all paragraphs will be used as navigation anchors"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/portlet/zmi/__init__.py:67
+#: ./src/pyams_content/component/paragraph/portlet/zmi/__init__.py:122
+msgid "No filter, all paragraphs selected"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/portlet/zmi/__init__.py:74
+#: ./src/pyams_content/component/paragraph/portlet/zmi/__init__.py:129
+msgid "No filter, all paragraph types selected"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/portlet/zmi/templates/navigation-preview.pt:4
+#: ./src/pyams_content/component/paragraph/portlet/zmi/templates/container-preview.pt:4
+msgid "Selected paragraphs:"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/portlet/zmi/templates/navigation-preview.pt:10
+#: ./src/pyams_content/component/paragraph/portlet/zmi/templates/container-preview.pt:10
+msgid "Paragraphs filters:"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/portlet/zmi/templates/navigation-preview.pt:13
+#: ./src/pyams_content/component/paragraph/portlet/zmi/templates/container-preview.pt:13
+msgid "Selected paragraph types:"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/portlet/zmi/templates/navigation-preview.pt:18
+#: ./src/pyams_content/component/paragraph/portlet/zmi/templates/container-preview.pt:18
+msgid "Only display anchors"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/header.py:44
+msgid "Edit header paragraph properties"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/container.py:70
+msgid "Contents..."
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/container.py:211
+msgid "Set navigation anchor"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/container.py:285
+msgid "Show/hide all paragraphs"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/container.py:333
+#: ./src/pyams_content/component/paragraph/zmi/container.py:342
+#: ./src/pyams_content/component/paragraph/zmi/container.py:355
+msgid "Content blocks"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/container.py:412
+msgid "Links and attachments..."
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/container.py:424
+msgid "Content blocks links and attachments"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/container.py:141
+msgid "No currently defined paragraph."
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/container.py:294
+msgid "Click to open/close all paragraphs editors"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/container.py:307
+msgid "Click to open/close paragraph editor"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/container.py:147
+msgid "Check allowed paragraph types to be able to create new paragraphs."
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/contact.py:48
+msgid "Contact card..."
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/contact.py:61
+msgid "Add new contact card"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/contact.py:84
+msgid "Edit contact card properties"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/video.py:50
+msgid "Video paragraph..."
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/video.py:63
+msgid "Add new video paragraph"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/pictogram.py:79
+msgid "Pictograms..."
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/pictogram.py:92
+msgid "Add new pictogram paragraph"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/pictogram.py:119
+msgid "Edit pictogram paragraph properties"
+msgstr ""
+
+#. Default: Header
+#: ./src/pyams_content/component/paragraph/zmi/pictogram.py:256
+msgid "pictogram-item-header"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/pictogram.py:345
+msgid "Pictogram was correctly added"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/pictogram.py:355
+#: ./src/pyams_content/component/paragraph/zmi/pictogram.py:393
+msgid "You must select a pictogram!"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/milestone.py:74
+msgid "Milestones..."
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/milestone.py:87
+msgid "Add new milestone paragraph"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/milestone.py:114
+msgid "Edit milestone paragraph properties"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/milestone.py:303
+msgid "Add milestone"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/milestone.py:316
+msgid "Add new milestone"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/milestone.py:343
+msgid "Edit milestone properties"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/milestone.py:331
+msgid "Milestone was correctly added"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/milestone.py:274
+msgid "(missing paragraph)"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/html.py:74
+msgid "Raw HTML..."
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/html.py:87
+msgid "Add new raw HTML paragraph"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/html.py:117
+msgid "Edit raw HTML paragraph properties"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/html.py:157
+msgid "Rich text..."
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/html.py:170
+msgid "Add new rich text paragraph"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/html.py:207
+msgid "Edit rich text paragraph properties"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/verbatim.py:55
+msgid "Verbatim..."
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/verbatim.py:68
+msgid "Add new verbatim paragraph"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/verbatim.py:107
+msgid "Edit verbatim paragraph properties"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/__init__.py:60
+msgid "Content block types..."
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/__init__.py:74
+msgid "Content block types"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/__init__.py:84
+msgid ""
+"You can define which types of paragraphs are allowed in this container.\n"
+"\n"
+"Default paragraphs will be added automatically (in selected order) to any new created content.\n"
+"\n"
+"NOTICE: removing types from allowed types list will have no effect on already created contents!"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/__init__.py:209
+#: ./src/pyams_content/component/paragraph/zmi/__init__.py:222
+#: ./src/pyams_content/features/preview/zmi/__init__.py:45
+#: ./src/pyams_content/shared/common/zmi/templates/preview-input.pt:39
+msgid "Preview"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/__init__.py:214
+#: ./src/pyams_content/component/paragraph/zmi/__init__.py:227
+#: ./src/pyams_content/features/review/zmi/__init__.py:84
+#: ./src/pyams_content/shared/common/zmi/__init__.py:275
+#: ./src/pyams_content/shared/common/zmi/owner.py:73
+#: ./src/pyams_content/shared/common/zmi/workflow.py:119
+#: ./src/pyams_content/shared/common/zmi/workflow.py:206
+#: ./src/pyams_content/shared/common/zmi/workflow.py:246
+#: ./src/pyams_content/shared/common/zmi/workflow.py:300
+#: ./src/pyams_content/shared/common/zmi/workflow.py:389
+#: ./src/pyams_content/shared/common/zmi/workflow.py:445
+#: ./src/pyams_content/shared/common/zmi/workflow.py:485
+#: ./src/pyams_content/shared/common/zmi/workflow.py:526
+#: ./src/pyams_content/shared/common/zmi/workflow.py:569
+#: ./src/pyams_content/shared/common/zmi/workflow.py:609
+#: ./src/pyams_content/shared/common/zmi/workflow.py:650
+#: ./src/pyams_content/shared/common/zmi/workflow.py:701
+msgid "Cancel"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/__init__.py:216
+#: ./src/pyams_content/component/paragraph/zmi/__init__.py:229
+msgid "Submit"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/__init__.py:197
+msgid "Paragraph was correctly added."
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/__init__.py:269
+msgid ""
+"You changed renderer selection. Don't omit to update new renderer "
+"properties..."
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/map.py:50
+msgid "Location map..."
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/map.py:63
+msgid "Add new location map"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/map.py:86
+msgid "Edit location map properties"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/keypoint.py:46
+msgid "Key points..."
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/keypoint.py:59
+msgid "Add new key points paragraph"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/keypoint.py:86
+msgid "Edit key points paragraph properties"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/frame.py:96
+msgid "Framed text..."
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/frame.py:110
+msgid "Add new framed text paragraph"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/frame.py:136
+msgid "Edit framed text paragraph properties"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/audio.py:50
+msgid "Audio paragraph..."
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/audio.py:63
+msgid "Add new audio paragraph"
+msgstr ""
+
+#: ./src/pyams_content/component/paragraph/zmi/audio.py:85
+msgid "Edit audio properties"
+msgstr ""
+
+#: ./src/pyams_content/component/association/container.py:91
+#: ./src/pyams_content/component/association/interfaces.py:93
+#: ./src/pyams_content/component/association/zmi/__init__.py:313
+msgid "Associations"
+msgstr ""
+
+#: ./src/pyams_content/component/association/interfaces.py:43
+#: ./src/pyams_content/features/menu/interfaces.py:56
+msgid "Is this item visible in front-office?"
+msgstr ""
+
+#: ./src/pyams_content/component/association/interfaces.py:100
+msgid "Associations template"
+msgstr ""
+
+#: ./src/pyams_content/component/association/interfaces.py:101
+msgid "Presentation template used for associations"
+msgstr ""
+
+#: ./src/pyams_content/component/association/zmi/__init__.py:96
+#: ./src/pyams_content/component/association/zmi/paragraph.py:54
+msgid "Associations..."
+msgstr ""
+
+#: ./src/pyams_content/component/association/zmi/__init__.py:209
+msgid "Public title"
+msgstr ""
+
+#: ./src/pyams_content/component/association/zmi/__init__.py:229
+msgid "Inner title"
+msgstr ""
+
+#: ./src/pyams_content/component/association/zmi/__init__.py:247
+msgid "Size"
+msgstr ""
+
+#: ./src/pyams_content/component/association/zmi/__init__.py:290
+#: ./src/pyams_content/component/association/zmi/__init__.py:300
+msgid "Associations list"
+msgstr ""
+
+#: ./src/pyams_content/component/association/zmi/__init__.py:66
+msgid "Association was correctly added."
+msgstr ""
+
+#: ./src/pyams_content/component/association/zmi/paragraph.py:67
+msgid "Add new association paragraph"
+msgstr ""
+
+#: ./src/pyams_content/component/association/zmi/paragraph.py:93
+msgid "Edit association paragraph properties"
+msgstr ""
+
+#: ./src/pyams_content/component/extfile/__init__.py:173
+#: ./src/pyams_content/component/extfile/__init__.py:178
+msgid "Standard file"
+msgstr ""
+
+#: ./src/pyams_content/component/extfile/__init__.py:276
+#: ./src/pyams_content/component/extfile/__init__.py:281
+msgid "Audio file"
+msgstr ""
+
+#: ./src/pyams_content/component/extfile/interfaces.py:32
+msgid "Download link label"
+msgstr ""
+
+#: ./src/pyams_content/component/extfile/interfaces.py:33
+msgid "Label of download link, as shown in front-office"
+msgstr ""
+
+#: ./src/pyams_content/component/extfile/interfaces.py:45
+msgid "File's content language"
+msgstr ""
+
+#: ./src/pyams_content/component/extfile/interfaces.py:49
+msgid "Save file as..."
+msgstr ""
+
+#: ./src/pyams_content/component/extfile/interfaces.py:50
+msgid "Name under which the file will be saved"
+msgstr ""
+
+#: ./src/pyams_content/component/extfile/interfaces.py:57
+msgid "File data"
+msgstr ""
+
+#: ./src/pyams_content/component/extfile/interfaces.py:58
+msgid "File content"
+msgstr ""
+
+#: ./src/pyams_content/component/extfile/interfaces.py:69
+#: ./src/pyams_content/shared/logo/interfaces.py:59
+msgid "Image data"
+msgstr ""
+
+#: ./src/pyams_content/component/extfile/interfaces.py:70
+msgid "Image content"
+msgstr ""
+
+#: ./src/pyams_content/component/extfile/interfaces.py:78
+msgid "Video content"
+msgstr ""
+
+#: ./src/pyams_content/component/extfile/interfaces.py:104
+msgid "Default title prefix"
+msgstr ""
+
+#: ./src/pyams_content/component/extfile/interfaces.py:105
+msgid ""
+"If used, this prefix will be automatically added to download link's label of "
+"all files"
+msgstr ""
+
+#: ./src/pyams_content/component/extfile/zmi/manager.py:37
+msgid "External files..."
+msgstr ""
+
+#: ./src/pyams_content/component/extfile/zmi/manager.py:51
+msgid "External files properties"
+msgstr ""
+
+#: ./src/pyams_content/component/extfile/zmi/__init__.py:70
+msgid "External files"
+msgstr ""
+
+#: ./src/pyams_content/component/extfile/zmi/__init__.py:85
+msgid "Add external file"
+msgstr ""
+
+#: ./src/pyams_content/component/extfile/zmi/__init__.py:99
+msgid "Add new external file"
+msgstr ""
+
+#: ./src/pyams_content/component/extfile/zmi/__init__.py:131
+msgid "Update file properties"
+msgstr ""
+
+#: ./src/pyams_content/component/extfile/zmi/__init__.py:159
+msgid "Images"
+msgstr ""
+
+#: ./src/pyams_content/component/extfile/zmi/__init__.py:174
+msgid "Add image"
+msgstr ""
+
+#: ./src/pyams_content/component/extfile/zmi/__init__.py:188
+msgid "Add new image"
+msgstr ""
+
+#: ./src/pyams_content/component/extfile/zmi/__init__.py:220
+msgid "Update image properties"
+msgstr ""
+
+#: ./src/pyams_content/component/extfile/zmi/__init__.py:252
+msgid "Videos"
+msgstr ""
+
+#: ./src/pyams_content/component/extfile/zmi/__init__.py:267
+msgid "Add video"
+msgstr ""
+
+#: ./src/pyams_content/component/extfile/zmi/__init__.py:281
+msgid "Add new video"
+msgstr ""
+
+#: ./src/pyams_content/component/extfile/zmi/__init__.py:306
+msgid "Update video properties"
+msgstr ""
+
+#: ./src/pyams_content/component/extfile/zmi/__init__.py:331
+msgid "Audios files"
+msgstr ""
+
+#: ./src/pyams_content/component/extfile/zmi/__init__.py:346
+msgid "Add audio file"
+msgstr ""
+
+#: ./src/pyams_content/component/extfile/zmi/__init__.py:360
+msgid "Add new audio file"
+msgstr ""
+
+#: ./src/pyams_content/component/extfile/zmi/__init__.py:385
+msgid "Update audio file properties"
+msgstr ""
+
+#: ./src/pyams_content/component/extfile/zmi/__init__.py:46
+msgid "External file type"
+msgstr ""
+
+#: ./src/pyams_content/component/illustration/__init__.py:172
+#: ./src/pyams_content/component/illustration/interfaces.py:97
+#: ./src/pyams_content/component/illustration/thesaurus.py:32
+#: ./src/pyams_content/component/illustration/zmi/__init__.py:56
+#: ./src/pyams_content/component/illustration/zmi/__init__.py:126
+#: ./src/pyams_content/component/illustration/zmi/paragraph.py:153
+msgid "Illustration"
+msgstr ""
+
+#: ./src/pyams_content/component/illustration/interfaces.py:55
+msgid "Name of picture's author"
+msgstr ""
+
+#: ./src/pyams_content/component/illustration/interfaces.py:63
+msgid "Illustration description displayed in front-office templates"
+msgstr ""
+
+#: ./src/pyams_content/component/illustration/interfaces.py:66
+msgid "Illustration template"
+msgstr ""
+
+#: ./src/pyams_content/component/illustration/interfaces.py:67
+msgid "Presentation template used for illustration"
+msgstr ""
+
+#: ./src/pyams_content/component/illustration/zmi/__init__.py:151
+msgid "Navigation link illustration"
+msgstr ""
+
+#: ./src/pyams_content/component/illustration/zmi/__init__.py:168
+msgid "Add illustration"
+msgstr ""
+
+#: ./src/pyams_content/component/illustration/zmi/__init__.py:128
+msgid "Header illustration"
+msgstr ""
+
+#: ./src/pyams_content/component/illustration/zmi/thesaurus.py:42
+#: ./src/pyams_content/component/illustration/zmi/paragraph.py:93
+msgid "Edit illustration properties"
+msgstr ""
+
+#: ./src/pyams_content/component/illustration/zmi/paragraph.py:55
+msgid "Illustration..."
+msgstr ""
+
+#: ./src/pyams_content/component/illustration/zmi/paragraph.py:68
+msgid "Add new illustration"
+msgstr ""
+
+#: ./src/pyams_content/component/theme/__init__.py:74
+#: ./src/pyams_content/component/theme/interfaces.py:64
+#: ./src/pyams_content/component/theme/interfaces.py:78
+#: ./src/pyams_content/component/theme/zmi/portlet.py:40
+#: ./src/pyams_content/root/zmi/search.py:179
+#: ./src/pyams_content/root/zmi/templates/advanced-search.pt:181
+#: ./src/pyams_content/shared/common/zmi/search.py:189
+msgid "Tags"
+msgstr ""
+
+#: ./src/pyams_content/component/theme/__init__.py:122
+#: ./src/pyams_content/component/theme/interfaces.py:105
+#: ./src/pyams_content/component/theme/interfaces.py:119
+#: ./src/pyams_content/component/theme/zmi/portlet.py:55
+#: ./src/pyams_content/shared/common/zmi/search.py:192
+msgid "Themes"
+msgstr ""
+
+#: ./src/pyams_content/component/theme/__init__.py:170
+#: ./src/pyams_content/component/theme/interfaces.py:146
+#: ./src/pyams_content/component/theme/interfaces.py:160
+#: ./src/pyams_content/component/theme/zmi/portlet.py:70
+#: ./src/pyams_content/shared/common/zmi/search.py:195
+msgid "Collections"
+msgstr ""
+
+#: ./src/pyams_content/component/theme/__init__.py:83
+msgid "no defined tag"
+msgstr ""
+
+#: ./src/pyams_content/component/theme/__init__.py:131
+msgid "no defined theme"
+msgstr ""
+
+#: ./src/pyams_content/component/theme/__init__.py:179
+msgid "no defined collection"
+msgstr ""
+
+#: ./src/pyams_content/component/theme/interfaces.py:41
+msgid "Enable search by tag?"
+msgstr ""
+
+#: ./src/pyams_content/component/theme/interfaces.py:42
+msgid ""
+"If 'yes', displayed tags will lead to a search engine displaying contents "
+"matching given tag"
+msgstr ""
+
+#: ./src/pyams_content/component/theme/interfaces.py:47
+msgid "Tags search target"
+msgstr ""
+
+#: ./src/pyams_content/component/theme/interfaces.py:48
+msgid "Site or folder where tags search is displayed"
+msgstr ""
+
+#: ./src/pyams_content/component/theme/interfaces.py:54
+msgid "You must specify search target when activating search by tags!"
+msgstr ""
+
+#: ./src/pyams_content/component/theme/zmi/manager.py:58
+msgid "Tags settings..."
+msgstr ""
+
+#: ./src/pyams_content/component/theme/zmi/manager.py:72
+msgid "Selected tags"
+msgstr ""
+
+#: ./src/pyams_content/component/theme/zmi/manager.py:109
+msgid "Themes settings..."
+msgstr ""
+
+#: ./src/pyams_content/component/theme/zmi/manager.py:123
+msgid "Selected themes"
+msgstr ""
+
+#: ./src/pyams_content/component/theme/zmi/manager.py:159
+msgid "Collections settings..."
+msgstr ""
+
+#: ./src/pyams_content/component/theme/zmi/manager.py:173
+msgid "Selected collections"
+msgstr ""
+
+#: ./src/pyams_content/component/theme/zmi/__init__.py:55
+#: ./src/pyams_content/shared/view/zmi/theme.py:56
+msgid "Tags..."
+msgstr ""
+
+#: ./src/pyams_content/component/theme/zmi/__init__.py:66
+msgid "Content tags"
+msgstr ""
+
+#: ./src/pyams_content/component/theme/zmi/__init__.py:99
+#: ./src/pyams_content/shared/view/zmi/theme.py:102
+msgid "Themes..."
+msgstr ""
+
+#: ./src/pyams_content/component/theme/zmi/__init__.py:107
+msgid "Content themes"
+msgstr ""
+
+#: ./src/pyams_content/component/theme/zmi/__init__.py:159
+#: ./src/pyams_content/shared/view/zmi/theme.py:148
+msgid "Collections..."
+msgstr ""
+
+#: ./src/pyams_content/component/theme/zmi/__init__.py:172
+msgid "Content collections"
+msgstr ""
+
+#: ./src/pyams_content/interfaces/__init__.py:95
+msgid "Unique key"
+msgstr ""
+
+#: ./src/pyams_content/interfaces/__init__.py:96
+msgid ""
+"WARNING: this key can't be modified after creation!!! Spaces, uppercase "
+"letters ou accentuated characters will be replaced automatically."
+msgstr ""
+
+#: ./src/pyams_content/interfaces/__init__.py:102
+#: ./src/pyams_content/shared/site/zmi/folder.py:67
+msgid "Visible label used to display content"
+msgstr ""
+
+#: ./src/pyams_content/interfaces/__init__.py:105
+msgid "Short name"
+msgstr ""
+
+#: ./src/pyams_content/interfaces/__init__.py:106
+msgid "Short name used in breadcrumbs"
+msgstr ""
+
+#: ./src/pyams_content/interfaces/__init__.py:113
+#: ./src/pyams_content/features/review/interfaces.py:74
+#: ./src/pyams_content/shared/view/interfaces.py:37
+msgid "Creation date"
+msgstr ""
+
+#: ./src/pyams_content/interfaces/__init__.py:117
+msgid "Modification date"
+msgstr ""
+
+#: ./src/pyams_content/features/alert/interfaces.py:39
+msgid "Alert"
+msgstr ""
+
+#: ./src/pyams_content/features/alert/interfaces.py:40
+msgid "End of alert"
+msgstr ""
+
+#: ./src/pyams_content/features/alert/interfaces.py:41
+msgid "Information"
+msgstr ""
+
+#: ./src/pyams_content/features/alert/interfaces.py:42
+msgid "Warning"
+msgstr ""
+
+#: ./src/pyams_content/features/alert/interfaces.py:43
+msgid "Recommendation"
+msgstr ""
+
+#: ./src/pyams_content/features/alert/interfaces.py:55
+msgid "Is this alert visible in front-office?"
+msgstr ""
+
+#: ./src/pyams_content/features/alert/interfaces.py:59
+msgid "Alert gravity"
+msgstr ""
+
+#: ./src/pyams_content/features/alert/interfaces.py:60
+msgid "Alert gravity will affect rendered alert style"
+msgstr ""
+
+#: ./src/pyams_content/features/alert/interfaces.py:65
+#: ./src/pyams_content/features/alert/zmi/container.py:143
+msgid "Message"
+msgstr ""
+
+#: ./src/pyams_content/features/alert/interfaces.py:66
+msgid "Alert message"
+msgstr ""
+
+#: ./src/pyams_content/features/alert/interfaces.py:69
+#: ./src/pyams_content/features/menu/interfaces.py:64
+#: ./src/pyams_content/shared/imagemap/interfaces.py:96
+msgid "Internal reference"
+msgstr ""
+
+#: ./src/pyams_content/features/alert/interfaces.py:70
+msgid ""
+"Internal link target reference. You can search a reference using '+' followed"
+" by internal number, of by entering text matching content title."
+msgstr ""
+
+#: ./src/pyams_content/features/alert/interfaces.py:75
+msgid "Display start date"
+msgstr ""
+
+#: ./src/pyams_content/features/alert/interfaces.py:76
+msgid "First date at which alert should be displayed"
+msgstr ""
+
+#: ./src/pyams_content/features/alert/interfaces.py:79
+msgid "Display end date"
+msgstr ""
+
+#: ./src/pyams_content/features/alert/interfaces.py:80
+msgid "Last date at which alert should be displayed"
+msgstr ""
+
+#: ./src/pyams_content/features/alert/interfaces.py:83
+msgid "Maximum interval"
+msgstr ""
+
+#: ./src/pyams_content/features/alert/interfaces.py:84
+msgid ""
+"Maximum interval between alert displays on a given device, given in hours; "
+"set to 0 to always display the alert"
+msgstr ""
+
+#: ./src/pyams_content/features/alert/zmi/container.py:53
+msgid "Alerts"
+msgstr ""
+
+#: ./src/pyams_content/features/alert/zmi/container.py:165
+msgid "Alert list"
+msgstr ""
+
+#: ./src/pyams_content/features/alert/zmi/container.py:95
+msgid "No currently defined alert."
+msgstr ""
+
+#: ./src/pyams_content/features/alert/zmi/__init__.py:45
+msgid "Add alert"
+msgstr ""
+
+#: ./src/pyams_content/features/alert/zmi/__init__.py:56
+msgid "Add new alert"
+msgstr ""
+
+#: ./src/pyams_content/features/alert/zmi/__init__.py:79
+msgid "Edit alert properties"
+msgstr ""
+
+#: ./src/pyams_content/features/redirect/container.py:81
+msgid "not matching"
+msgstr ""
+
+#: ./src/pyams_content/features/redirect/interfaces.py:39
+msgid "Active rule?"
+msgstr ""
+
+#: ./src/pyams_content/features/redirect/interfaces.py:40
+msgid "If 'no', selected rule is inactive"
+msgstr ""
+
+#: ./src/pyams_content/features/redirect/interfaces.py:44
+msgid "Chained rule?"
+msgstr ""
+
+#: ./src/pyams_content/features/redirect/interfaces.py:45
+msgid ""
+"If 'no', and if this rule is matching received request URL, the rule returns "
+"a redirection response; otherwise, the rule just rewrites the input URL which"
+" is forwarded to the next rule"
+msgstr ""
+
+#: ./src/pyams_content/features/redirect/interfaces.py:51
+msgid "Permanent redirect?"
+msgstr ""
+
+#: ./src/pyams_content/features/redirect/interfaces.py:52
+msgid "Define if this redirection should be permanent or temporary"
+msgstr ""
+
+#: ./src/pyams_content/features/redirect/interfaces.py:56
+#: ./src/pyams_content/features/redirect/zmi/container.py:210
+#: ./src/pyams_content/features/redirect/zmi/container.py:366
+msgid "URL pattern"
+msgstr ""
+
+#: ./src/pyams_content/features/redirect/interfaces.py:57
+msgid "Regexp pattern of matching URLs for this redirection rule"
+msgstr ""
+
+#: ./src/pyams_content/features/redirect/interfaces.py:62
+msgid "Internal redirection target"
+msgstr ""
+
+#: ./src/pyams_content/features/redirect/interfaces.py:63
+msgid ""
+"Internal redirection reference. You can search a reference using '+' followed"
+" by internal number, of by entering text matching content title."
+msgstr ""
+
+#: ./src/pyams_content/features/redirect/interfaces.py:69
+msgid "URL to which source URL should be redirected"
+msgstr ""
+
+#: ./src/pyams_content/features/redirect/interfaces.py:75
+msgid "You can only provide an internal reference OR a target URL"
+msgstr ""
+
+#: ./src/pyams_content/features/redirect/interfaces.py:77
+msgid "You must provide an internal reference OR a target URL"
+msgstr ""
+
+#: ./src/pyams_content/features/redirect/zmi/container.py:67
+msgid "Redirections"
+msgstr ""
+
+#: ./src/pyams_content/features/redirect/zmi/container.py:161
+msgid "Enable/disable rule"
+msgstr ""
+
+#: ./src/pyams_content/features/redirect/zmi/container.py:188
+msgid "Chain/unchain rule"
+msgstr ""
+
+#: ./src/pyams_content/features/redirect/zmi/container.py:220
+msgid "Target"
+msgstr ""
+
+#: ./src/pyams_content/features/redirect/zmi/container.py:246
+msgid "Redirections list"
+msgstr ""
+
+#: ./src/pyams_content/features/redirect/zmi/container.py:261
+msgid "Redirection rules"
+msgstr ""
+
+#: ./src/pyams_content/features/redirect/zmi/container.py:262
+msgid ""
+"Redirection rules are use to handle redirections responses when a request generates \n"
+"a famous « 404 NotFound » error.\n"
+"\n"
+"Redirections are particularly useful when you are migrating from a previous site and don't want to lose \n"
+"your SEO.\n"
+"\n"
+"You can define a set of rules which will be applied to every \"NotFound\" request; rules are based on \n"
+"regular expressions which are applied to input URL: if the rule is \"matching\", the target URL is rewritten\n"
+"and a \"Redirect\" response is send.\n"
+"\n"
+"You can chain rules together: when a rule is chained, it's rewritten URL is passed as input URL to the \n"
+"next rule, until a matching rule is found.\n"
+msgstr ""
+
+#: ./src/pyams_content/features/redirect/zmi/container.py:288
+msgid "Test"
+msgstr ""
+
+#: ./src/pyams_content/features/redirect/zmi/container.py:323
+msgid "Test redirection rules"
+msgstr ""
+
+#: ./src/pyams_content/features/redirect/zmi/container.py:301
+msgid "Test URL"
+msgstr ""
+
+#: ./src/pyams_content/features/redirect/zmi/container.py:304
+msgid "Check inactive rules?"
+msgstr ""
+
+#: ./src/pyams_content/features/redirect/zmi/container.py:305
+msgid "If 'yes', inactive rules will also be tested"
+msgstr ""
+
+#: ./src/pyams_content/features/redirect/zmi/container.py:313
+msgid "Close"
+msgstr ""
+
+#: ./src/pyams_content/features/redirect/zmi/container.py:314
+msgid "Test rules"
+msgstr ""
+
+#: ./src/pyams_content/features/redirect/zmi/container.py:123
+msgid "No currently defined redirection rule."
+msgstr ""
+
+#: ./src/pyams_content/features/redirect/zmi/container.py:371
+msgid "No matching rule!"
+msgstr ""
+
+#: ./src/pyams_content/features/redirect/zmi/container.py:365
+msgid "Input URL"
+msgstr ""
+
+#: ./src/pyams_content/features/redirect/zmi/container.py:367
+msgid "Output URL"
+msgstr ""
+
+#: ./src/pyams_content/features/redirect/zmi/__init__.py:50
+msgid "Add rule"
+msgstr ""
+
+#: ./src/pyams_content/features/redirect/zmi/__init__.py:63
+msgid "Add new redirection rule"
+msgstr ""
+
+#: ./src/pyams_content/features/redirect/zmi/__init__.py:88
+msgid "Edit redirection rule properties"
+msgstr ""
+
+#: ./src/pyams_content/features/redirect/zmi/__init__.py:109
+msgid ""
+"URL pattern and target URL are defined by *regular expressions* (see |regexp|).\n"
+"    \n"
+"In URL pattern, you can use any valid regular expression element, notably:\n"
+"\n"
+"- « .* » to match any list of characters \n"
+"\n"
+"- « ( ) » to \"memorize\" parts of the URL which can be replaced into target URL\n"
+"\n"
+"- special characters (like \"+\") must be escaped with an « \\\\ ».\n"
+"\n"
+"In target URL, memorized parts can be reused using « \\\\1 », « \\\\2 » and so on, where given number is\n"
+"the order of the matching pattern element.\n"
+"\n"
+".. |regexp| raw:: html\n"
+"\n"
+"    <a href=\"https://docs.python.org/3/library/re.html\" target=\"_blank\">Python Regular Expressions</a>\n"
+msgstr ""
+
+#: ./src/pyams_content/features/review/__init__.py:181
+#, python-format
+msgid "Request comment: {comment}"
+msgstr ""
+
+#: ./src/pyams_content/features/review/__init__.py:211
+#, python-format
+msgid "A new comment was added on content « {0} »"
+msgstr ""
+
+#: ./src/pyams_content/features/review/__init__.py:168
+#, python-format
+msgid "[{service_name}] A content review is requested"
+msgstr ""
+
+#: ./src/pyams_content/features/review/interfaces.py:32
+msgid "Review request"
+msgstr ""
+
+#: ./src/pyams_content/features/review/interfaces.py:33
+msgid "Reviewer comment"
+msgstr ""
+
+#: ./src/pyams_content/features/review/interfaces.py:56
+msgid "Comment writer"
+msgstr ""
+
+#: ./src/pyams_content/features/review/interfaces.py:59
+msgid "Content reviewers"
+msgstr ""
+
+#: ./src/pyams_content/features/review/interfaces.py:62
+msgid "Comment type"
+msgstr ""
+
+#: ./src/pyams_content/features/review/interfaces.py:67
+msgid "Comment body"
+msgstr ""
+
+#: ./src/pyams_content/features/review/interfaces.py:70
+msgid "Reviewer comment?"
+msgstr ""
+
+#: ./src/pyams_content/features/review/interfaces.py:86
+msgid "Reviewers list"
+msgstr ""
+
+#: ./src/pyams_content/features/review/interfaces.py:87
+msgid "List of principals which reviewed the comment"
+msgstr ""
+
+#: ./src/pyams_content/features/review/zmi/__init__.py:55
+msgid "Ask for review..."
+msgstr ""
+
+#: ./src/pyams_content/features/review/zmi/__init__.py:94
+msgid "Content review request"
+msgstr ""
+
+#: ./src/pyams_content/features/review/zmi/__init__.py:159
+msgid "Comments"
+msgstr ""
+
+#: ./src/pyams_content/features/review/zmi/__init__.py:179
+msgid "Review comments"
+msgstr ""
+
+#: ./src/pyams_content/features/review/zmi/__init__.py:65
+msgid "Sought principals"
+msgstr ""
+
+#: ./src/pyams_content/features/review/zmi/__init__.py:66
+msgid "List of principals from which a review is requested"
+msgstr ""
+
+#: ./src/pyams_content/features/review/zmi/__init__.py:69
+msgid "Comment"
+msgstr ""
+
+#: ./src/pyams_content/features/review/zmi/__init__.py:70
+msgid "Comment associated with this request"
+msgstr ""
+
+#: ./src/pyams_content/features/review/zmi/__init__.py:73
+msgid "Notify all reviewers"
+msgstr ""
+
+#: ./src/pyams_content/features/review/zmi/__init__.py:74
+msgid ""
+"If 'yes', selected reviewers will be notified by mail of your request, even "
+"if they were already members of the reviewers group. Otherwise, only new "
+"reviewers will be notified"
+msgstr ""
+
+#: ./src/pyams_content/features/review/zmi/__init__.py:85
+msgid "Ask for content review"
+msgstr ""
+
+#: ./src/pyams_content/features/review/zmi/__init__.py:140
+msgid "Request successful. No new notification have been sent"
+msgstr ""
+
+#: ./src/pyams_content/features/review/zmi/__init__.py:256
+msgid "Message is mandatory!"
+msgstr ""
+
+#: ./src/pyams_content/features/review/zmi/__init__.py:128
+#, python-format
+msgid "Request successful. {count} new notification(s) have been sent"
+msgstr ""
+
+#: ./src/pyams_content/features/review/zmi/templates/review-comments-json.pt:15
+#: ./src/pyams_content/features/review/zmi/templates/review-comments.pt:32
+#: ./src/pyams_content/features/review/zmi/templates/review-add-comment.pt:14
+msgid "Review query from"
+msgstr ""
+
+#: ./src/pyams_content/features/review/zmi/templates/review-comments-json.pt:21
+#: ./src/pyams_content/features/review/zmi/templates/review-comments.pt:38
+#: ./src/pyams_content/features/review/zmi/templates/review-add-comment.pt:20
+msgid "(as reviewer)"
+msgstr ""
+
+#: ./src/pyams_content/features/review/zmi/templates/review-comments-json.pt:30
+#: ./src/pyams_content/features/review/zmi/templates/review-comments.pt:47
+msgid "Selected reviewers:"
+msgstr ""
+
+#: ./src/pyams_content/features/review/zmi/templates/review-comments.pt:64
+msgid "Add comment"
+msgstr ""
+
+#: ./src/pyams_content/features/review/zmi/templates/review-comments.pt:67
+msgid "Add a comment..."
+msgstr ""
+
+#: ./src/pyams_content/features/review/zmi/templates/review-comments.pt:73
+msgid "Add this comment"
+msgstr ""
+
+#: ./src/pyams_content/features/review/zmi/templates/review-notification.pt:4
+msgid "[${service_name}] You are requested for a content review"
+msgstr ""
+
+#: ./src/pyams_content/features/review/zmi/templates/review-notification.pt:30
+msgid "Hello,"
+msgstr ""
+
+#: ./src/pyams_content/features/review/zmi/templates/review-notification.pt:31
+msgid ""
+"You have been requested by ${sender}, contributor of « ${service_name} » "
+"website, to make a review of a content."
+msgstr ""
+
+#: ./src/pyams_content/features/review/zmi/templates/review-notification.pt:36
+msgid "${sender} added the following message to his request:"
+msgstr ""
+
+#: ./src/pyams_content/features/review/zmi/templates/review-notification.pt:41
+msgid ""
+"To review and comment this publication, please use the following link: "
+"${target}."
+msgstr ""
+
+#: ./src/pyams_content/features/review/zmi/templates/review-notification.pt:44
+msgid "After reading this content, please use the « Comments » menu entry."
+msgstr ""
+
+#: ./src/pyams_content/features/review/zmi/templates/review-notification.pt:45
+msgid ""
+"If you don't want to reply to this request, please contact ${sender} directly"
+" by replying to this mail."
+msgstr ""
+
+#: ./src/pyams_content/features/review/zmi/templates/review-notification.pt:47
+msgid "Thank you."
+msgstr ""
+
+#: ./src/pyams_content/features/review/zmi/templates/review-add-comment.pt:22
+msgid "just now"
+msgstr ""
+
+#: ./src/pyams_content/features/renderer/zmi/__init__.py:67
+#: ./src/pyams_content/features/renderer/zmi/templates/renderer-input.pt:4
+msgid "Edit renderer properties"
+msgstr ""
+
+#: ./src/pyams_content/features/renderer/skin/__init__.py:65
+msgid "Hidden content"
+msgstr ""
+
+#: ./src/pyams_content/features/preview/zmi/__init__.py:62
+msgid "Content preview"
+msgstr ""
+
+#: ./src/pyams_content/features/preview/zmi/__init__.py:67
+#, python-format
+msgid "{title} ({preview})"
+msgstr ""
+
+#: ./src/pyams_content/features/preview/zmi/__init__.py:68
+msgid "preview"
+msgstr ""
+
+#: ./src/pyams_content/features/footer/interfaces.py:39
+msgid "Footer template"
+msgstr ""
+
+#: ./src/pyams_content/features/footer/interfaces.py:40
+msgid "Presentation template used for this footer"
+msgstr ""
+
+#: ./src/pyams_content/features/footer/zmi/__init__.py:60
+msgid "Page footer"
+msgstr ""
+
+#: ./src/pyams_content/features/footer/zmi/__init__.py:78
+msgid "Edit footer settings"
+msgstr ""
+
+#: ./src/pyams_content/features/footer/zmi/__init__.py:152
+msgid ""
+"WARNING: Footer properties are saved automatically when changing inherit "
+"mode!!"
+msgstr ""
+
+#: ./src/pyams_content/features/footer/zmi/__init__.py:220
+msgid "Footer renderer settings"
+msgstr ""
+
+#: ./src/pyams_content/features/footer/zmi/__init__.py:107
+msgid "Don't inherit parent footer"
+msgstr ""
+
+#: ./src/pyams_content/features/footer/skin/__init__.py:91
+msgid "Hidden footer"
+msgstr ""
+
+#: ./src/pyams_content/features/menu/interfaces.py:60
+msgid "Menu title"
+msgstr ""
+
+#: ./src/pyams_content/features/menu/interfaces.py:61
+msgid "Displayed menu label"
+msgstr ""
+
+#: ./src/pyams_content/features/menu/interfaces.py:65
+msgid "Direct reference to menu target"
+msgstr ""
+
+#: ./src/pyams_content/features/menu/interfaces.py:69
+msgid "Name of the pictogram associated with this menu"
+msgstr ""
+
+#: ./src/pyams_content/features/menu/portlet/navigation/simple.py:67
+msgid "Simple navigation"
+msgstr ""
+
+#: ./src/pyams_content/features/menu/portlet/navigation/double.py:67
+msgid "Double navigation"
+msgstr ""
+
+#: ./src/pyams_content/features/menu/portlet/navigation/interfaces/simple.py:32
+#: ./src/pyams_content/features/menu/portlet/navigation/interfaces/double.py:32
+msgid "Portlet main title"
+msgstr ""
+
+#: ./src/pyams_content/features/menu/portlet/navigation/zmi/simple.py:69
+msgid "Navigation links"
+msgstr ""
+
+#: ./src/pyams_content/features/menu/portlet/navigation/zmi/double.py:69
+msgid "Navigation menus"
+msgstr ""
+
+#: ./src/pyams_content/features/menu/portlet/navigation/zmi/templates/double-preview.pt:14
+#: ./src/pyams_content/features/menu/portlet/navigation/zmi/templates/simple-preview.pt:11
+msgid "Link has no illustration"
+msgstr ""
+
+#: ./src/pyams_content/features/menu/zmi/__init__.py:77
+msgid "Add menu..."
+msgstr ""
+
+#: ./src/pyams_content/features/menu/zmi/__init__.py:88
+msgid "Add new menu"
+msgstr ""
+
+#: ./src/pyams_content/features/menu/zmi/__init__.py:121
+msgid "Edit menu properties"
+msgstr ""
+
+#: ./src/pyams_content/features/menu/zmi/__init__.py:215
+#: ./src/pyams_content/shared/form/interfaces.py:60
+#: ./src/pyams_content/shared/form/zmi/field.py:167
+#: ./src/pyams_content/shared/common/interfaces/types.py:47
+msgid "Label"
+msgstr ""
+
+#: ./src/pyams_content/features/menu/zmi/__init__.py:108
+msgid "Menu was correctly added."
+msgstr ""
+
+#: ./src/pyams_content/features/menu/zmi/__init__.py:395
+msgid "Link was correctly added."
+msgstr ""
+
+#: ./src/pyams_content/features/menu/zmi/templates/menu-name-cell.pt:7
+msgid "Click to see menu items"
+msgstr ""
+
+#: ./src/pyams_content/features/search/__init__.py:38
+msgid "Search folder"
+msgstr ""
+
+#: ./src/pyams_content/features/search/interfaces.py:36
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:52
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:196
+msgid "Managers"
+msgstr ""
+
+#: ./src/pyams_content/features/search/interfaces.py:37
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:53
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:197
+msgid ""
+"Managers can handle main operations in tool's workflow, like publish or "
+"retire contents"
+msgstr ""
+
+#: ./src/pyams_content/features/search/interfaces.py:42
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:63
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:208
+msgid "Designers"
+msgstr ""
+
+#: ./src/pyams_content/features/search/interfaces.py:43
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:64
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:209
+msgid "Designers are users which are allowed to manage presentation templates"
+msgstr ""
+
+#: ./src/pyams_content/features/search/interfaces.py:47
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:219
+msgid "Guests"
+msgstr ""
+
+#: ./src/pyams_content/features/search/interfaces.py:48
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:220
+msgid ""
+"Guests are users which are allowed to view contents with restricted access"
+msgstr ""
+
+#: ./src/pyams_content/features/search/interfaces.py:56
+#: ./src/pyams_content/shared/site/interfaces.py:96
+msgid "Visible in folders list"
+msgstr ""
+
+#: ./src/pyams_content/features/search/interfaces.py:57
+#: ./src/pyams_content/shared/site/interfaces.py:97
+msgid "If 'no', folder will not be displayed into folders list"
+msgstr ""
+
+#: ./src/pyams_content/features/search/interfaces.py:61
+#: ./src/pyams_content/shared/site/interfaces.py:101
+#: ./src/pyams_content/shared/site/interfaces.py:165
+msgid "Navigation title"
+msgstr ""
+
+#: ./src/pyams_content/features/search/interfaces.py:62
+#: ./src/pyams_content/shared/site/interfaces.py:102
+msgid ""
+"Folder's title displayed in navigation pages; original title will be used if "
+"none is specified"
+msgstr ""
+
+#: ./src/pyams_content/features/search/interfaces.py:66
+msgid "Selected content types"
+msgstr ""
+
+#: ./src/pyams_content/features/search/interfaces.py:67
+msgid "Searched content types; leave empty for all"
+msgstr ""
+
+#: ./src/pyams_content/features/search/interfaces.py:71
+msgid "Selected data types"
+msgstr ""
+
+#: ./src/pyams_content/features/search/interfaces.py:72
+msgid "Searched data types; leave empty for all"
+msgstr ""
+
+#: ./src/pyams_content/features/search/zmi/properties.py:36
+msgid "Main search settings"
+msgstr ""
+
+#: ./src/pyams_content/features/search/zmi/properties.py:56
+#: ./src/pyams_content/shared/site/zmi/folder.py:203
+msgid "Navigation properties"
+msgstr ""
+
+#: ./src/pyams_content/features/search/zmi/__init__.py:63
+msgid "This search folder"
+msgstr ""
+
+#: ./src/pyams_content/features/search/zmi/__init__.py:82
+msgid "Add search folder..."
+msgstr ""
+
+#: ./src/pyams_content/features/search/zmi/__init__.py:98
+msgid "Add search folder"
+msgstr ""
+
+#: ./src/pyams_content/features/search/zmi/__init__.py:73
+#, python-format
+msgid "Search folder « {title} »"
+msgstr ""
+
+#: ./src/pyams_content/features/search/zmi/theme.py:35
+msgid "Search folder tags settings"
+msgstr ""
+
+#: ./src/pyams_content/features/search/zmi/theme.py:51
+msgid "Search folder themes settings"
+msgstr ""
+
+#: ./src/pyams_content/features/search/zmi/theme.py:67
+msgid "Search folder collections settings"
+msgstr ""
+
+#: ./src/pyams_content/features/search/zmi/reference.py:31
+msgid "Search folder internal references settings"
+msgstr ""
+
+#: ./src/pyams_content/features/checker/interfaces.py:27
+#, python-format
+msgid " - {field}: <span class=\"text-danger\">no value</span>"
+msgstr ""
+
+#: ./src/pyams_content/features/checker/interfaces.py:28
+#, python-format
+msgid " - {field} ({lang}): <span class=\"text-danger\">no value</span>"
+msgstr ""
+
+#: ./src/pyams_content/features/checker/interfaces.py:29
+#, python-format
+msgid " - {field}: <span class=\"text-danger\">{message}</span>"
+msgstr ""
+
+#: ./src/pyams_content/features/checker/zmi/__init__.py:43
+#: ./src/pyams_content/shared/common/zmi/templates/check-input.pt:39
+msgid "Audit"
+msgstr ""
+
+#: ./src/pyams_content/features/checker/zmi/__init__.py:58
+msgid "Content check"
+msgstr ""
+
+#: ./src/pyams_content/features/checker/zmi/__init__.py:82
+msgid "No checker available. This content is clean!"
+msgstr ""
+
+#: ./src/pyams_content/features/checker/zmi/__init__.py:78
+#, python-format
+msgid "{0}:"
+msgstr ""
+
+#: ./src/pyams_content/features/header/zmi/__init__.py:66
+msgid "Page header"
+msgstr ""
+
+#: ./src/pyams_content/features/header/zmi/__init__.py:84
+msgid "Edit header settings"
+msgstr ""
+
+#: ./src/pyams_content/features/header/zmi/__init__.py:161
+msgid ""
+"WARNING: Header properties are saved automatically when changing inherit "
+"mode!!"
+msgstr ""
+
+#: ./src/pyams_content/features/header/zmi/__init__.py:229
+msgid "Header renderer settings"
+msgstr ""
+
+#: ./src/pyams_content/features/header/zmi/__init__.py:113
+msgid "Don't inherit parent header"
+msgstr ""
+
+#: ./src/pyams_content/features/header/skin/__init__.py:96
+msgid "Hidden header"
+msgstr ""
+
+#: ./src/pyams_content/profile/interfaces.py:33
+msgid "User favorites"
+msgstr ""
+
+#: ./src/pyams_content/profile/interfaces.py:34
+msgid "List of internal numbers of shared contents stored for quick access"
+msgstr ""
+
+#: ./src/pyams_content/profile/interfaces.py:37
+msgid "Default table length"
+msgstr ""
+
+#: ./src/pyams_content/profile/interfaces.py:38
+msgid "Default length used for inner tables and dashboards"
+msgstr ""
+
+#: ./src/pyams_content/profile/zmi/__init__.py:42
+msgid "Admin. profile"
+msgstr ""
+
+#: ./src/pyams_content/skin/zmi/viewlet/toplinks/__init__.py:43
+msgid "Shared sites"
+msgstr ""
+
+#: ./src/pyams_content/skin/zmi/viewlet/toplinks/__init__.py:64
+msgid "Shared contents"
+msgstr ""
+
+#: ./src/pyams_content/skin/zmi/viewlet/toplinks/__init__.py:87
+msgid "Shared tools"
+msgstr ""
+
+#: ./src/pyams_content/skin/zmi/viewlet/toplinks/__init__.py:110
+msgid "My roles"
+msgstr ""
+
+#: ./src/pyams_content/skin/zmi/viewlet/toplinks/templates/user-addings.pt:7
+msgid "Create new content"
+msgstr ""
+
+#: ./src/pyams_content/root/__init__.py:63
+msgid "Site root"
+msgstr ""
+
+#: ./src/pyams_content/root/interfaces.py:33
+msgid "Site managers"
+msgstr ""
+
+#: ./src/pyams_content/root/interfaces.py:37
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:41
+msgid "Webmasters"
+msgstr ""
+
+#: ./src/pyams_content/root/interfaces.py:41
+msgid "Templates managers"
+msgstr ""
+
+#: ./src/pyams_content/root/interfaces.py:45
+msgid "Operators group"
+msgstr ""
+
+#: ./src/pyams_content/root/interfaces.py:46
+msgid "Name of group containing all roles owners"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/sites.py:63
+#: ./src/pyams_content/shared/site/zmi/container.py:173
+#: ./src/pyams_content/shared/site/zmi/container.py:183
+msgid "Site tree"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/sites.py:73
+msgid "Blogs and shared sites"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/sites.py:103
+msgid "Visible site?"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/sites.py:129
+msgid "OID"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/sites.py:147
+msgid "Delete shared site"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/sites.py:166
+#: ./src/pyams_content/shared/imagemap/zmi/container.py:175
+msgid "No provided object_name argument!"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/sites.py:175
+msgid "Given element name doesn't exist!"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:78
+msgid "Home"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:110
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:271
+msgid "Dashboard"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:159
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:327
+#, python-format
+msgid "MANAGER - {0} content waiting for your action"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:160
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:328
+#, python-format
+msgid "MANAGER - {0} contents waiting for your action"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:204
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:369
+#, python-format
+msgid "CONTRIBUTOR - {0} content waiting for action"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:205
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:370
+#, python-format
+msgid "CONTRIBUTOR - {0} contents waiting for action"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:240
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:402
+#, python-format
+msgid "CONTRIBUTOR - {0} modified content"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:283
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:443
+msgid "My contents"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:298
+#: ./src/pyams_content/root/zmi/templates/dashboard.pt:8
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:458
+#: ./src/pyams_content/shared/common/zmi/templates/dashboard.pt:8
+msgid "My favorites"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:307
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:467
+#, python-format
+msgid "CONTRIBUTOR - {0} favorite"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:308
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:468
+#, python-format
+msgid "CONTRIBUTOR - {0} favorites"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:346
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:543
+msgid "Your favorite contents"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:359
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:556
+msgid "My drafts"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:368
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:565
+#, python-format
+msgid "CONTRIBUTOR - {0} content in preparation"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:369
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:566
+#, python-format
+msgid "CONTRIBUTOR - {0} contents in preparation"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:408
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:607
+msgid "Your prepared contents"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:421
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:620
+msgid "My submissions"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:430
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:629
+#, python-format
+msgid "CONTRIBUTOR - {0} submitted content"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:431
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:630
+#, python-format
+msgid "CONTRIBUTOR - {0} submitted contents"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:470
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:671
+msgid "Your submitted contents"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:483
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:684
+msgid "My publications"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:492
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:693
+#, python-format
+msgid "CONTRIBUTOR - {0} published content"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:493
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:694
+#, python-format
+msgid "CONTRIBUTOR - {0} published contents"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:532
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:735
+msgid "Your published contents"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:545
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:748
+msgid "My retired contents"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:554
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:757
+#, python-format
+msgid "CONTRIBUTOR - {0} retired content"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:555
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:758
+#, python-format
+msgid "CONTRIBUTOR - {0} retired contents"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:595
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:799
+msgid "Your retired contents"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:608
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:812
+msgid "My archived contents"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:617
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:821
+#, python-format
+msgid "CONTRIBUTOR - {0} archived content"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:618
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:822
+#, python-format
+msgid "CONTRIBUTOR - {0} archived contents"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:664
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:869
+msgid "Your archived contents"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:678
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:883
+msgid "Other interventions"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:693
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:898
+msgid "Last publications"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:702
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:907
+#, python-format
+msgid "CONTRIBUTORS - {0} published content"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:748
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:954
+msgid "Last published contents"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:761
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:967
+msgid "Last updates"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:770
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:976
+#, python-format
+msgid "CONTRIBUTORS - {0} updated content"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:814
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:1021
+msgid "Last updated contents"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:825
+#: ./src/pyams_content/shared/site/zmi/container.py:404
+msgid "Content"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:245
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:407
+#, python-format
+msgid "CONTRIBUTOR - {0} modified contents"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:247
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:409
+#, python-format
+msgid "CONTRIBUTOR - Last {0} modified contents"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:707
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:912
+#, python-format
+msgid "CONTRIBUTORS - Last {0} published contents"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:709
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:914
+msgid "CONTRIBUTORS - Last published contents (in the limit of 50)"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:775
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:981
+#, python-format
+msgid "CONTRIBUTORS - Last {0} updated contents"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/__init__.py:777
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:983
+msgid "CONTRIBUTORS - Last updated contents (in the limit of 50)"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/search.py:95
+#: ./src/pyams_content/shared/common/zmi/search.py:96
+msgid "Quick search results"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/search.py:152
+#: ./src/pyams_content/root/zmi/search.py:188
+#: ./src/pyams_content/shared/common/zmi/search.py:162
+#: ./src/pyams_content/shared/common/zmi/search.py:204
+msgid "Advanced search"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/search.py:280
+#: ./src/pyams_content/shared/common/zmi/search.py:332
+msgid "Advanced search results"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/search.py:160
+msgid "Content types"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/search.py:164
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:226
+#: ./src/pyams_content/shared/common/zmi/search.py:170
+msgid "Owner"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/search.py:167
+#: ./src/pyams_content/shared/common/zmi/search.py:177
+msgid "Created after..."
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/search.py:170
+#: ./src/pyams_content/shared/common/zmi/search.py:180
+msgid "Created before..."
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/search.py:173
+#: ./src/pyams_content/shared/common/zmi/search.py:183
+msgid "Modified after..."
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/search.py:176
+#: ./src/pyams_content/shared/common/zmi/search.py:186
+msgid "Modified before..."
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/templates/dashboard.pt:7
+msgid "Your contents dashboard"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/templates/dashboard.pt:18
+msgid "SEARCH - Between all contents"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/templates/dashboard.pt:29
+#: ./src/pyams_content/shared/common/zmi/templates/dashboard.pt:29
+msgid "Quick search..."
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/templates/dashboard.pt:35
+#: ./src/pyams_content/shared/common/zmi/templates/dashboard.pt:35
+msgid "Advanced search..."
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/templates/dashboard.pt:49
+#: ./src/pyams_content/shared/common/zmi/templates/dashboard.pt:49
+msgid "You are not actually concerned by any content."
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/templates/advanced-search.pt:130
+#: ./src/pyams_content/shared/common/zmi/templates/advanced-search.pt:130
+msgid "Created between"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/templates/advanced-search.pt:142
+#: ./src/pyams_content/root/zmi/templates/advanced-search.pt:168
+#: ./src/pyams_content/shared/common/zmi/templates/advanced-search.pt:142
+#: ./src/pyams_content/shared/common/zmi/templates/advanced-search.pt:168
+msgid "and"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/templates/advanced-search.pt:156
+#: ./src/pyams_content/shared/common/zmi/templates/advanced-search.pt:156
+msgid "Modified between"
+msgstr ""
+
+#: ./src/pyams_content/root/zmi/templates/advanced-search.pt:211
+#: ./src/pyams_content/shared/common/zmi/templates/advanced-search.pt:214
+msgid "Tab label"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/field.py:146
+msgid "Text"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/field.py:156
+msgid "Multi-lines text"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/field.py:166
+msgid "Boolean"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/field.py:176
+msgid "Integer"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/field.py:186
+msgid "Decimal"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/field.py:196
+msgid "E-mail address"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/field.py:206
+msgid "URI"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/field.py:216
+msgid "Date"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/field.py:230
+msgid "Choice"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/field.py:250
+msgid "List"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/handler.py:80
+msgid "Mailto form handler"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/handler.py:44
+msgid "No selected handler..."
+msgstr ""
+
+#: ./src/pyams_content/shared/form/__init__.py:97
+msgid "Form fields"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/__init__.py:98
+msgid "no field defined"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/interfaces.py:33
+msgid "Form"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/interfaces.py:51
+msgid "Field name"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/interfaces.py:52
+msgid "Field internal name; must be unique for a given form"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/interfaces.py:55
+#: ./src/pyams_content/shared/form/zmi/field.py:178
+msgid "Field type"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/interfaces.py:56
+msgid "Selected field type"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/interfaces.py:61
+msgid "User field label"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/interfaces.py:65
+msgid "Field description can be displayed as hint"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/interfaces.py:68
+msgid "Placeholder"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/interfaces.py:69
+msgid "Some field types like textline can display a placeholder"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/interfaces.py:72
+msgid "Optional values"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/interfaces.py:73
+msgid "List of available values (for 'choice' and 'list' field types)"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/interfaces.py:76
+msgid "Default value"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/interfaces.py:77
+msgid "Give default value if field type can use it"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/interfaces.py:80
+msgid "Required?"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/interfaces.py:81
+msgid "Select 'yes' to set field as mandatory"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/interfaces.py:86
+msgid "Select 'no' to hide given field..."
+msgstr ""
+
+#: ./src/pyams_content/shared/form/interfaces.py:120
+msgid "Form title"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/interfaces.py:123
+msgid "Form handler"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/interfaces.py:124
+msgid "Select how form data is transmitted"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/interfaces.py:127
+msgid "Authenticated only?"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/interfaces.py:128
+msgid "If 'yes', only authenticated users will be able to see and submit form"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/interfaces.py:132
+msgid "Use captcha?"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/interfaces.py:133
+msgid "If 'yes', a captcha will be added automatically to the form"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/interfaces.py:137
+msgid "Submit label"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/interfaces.py:138
+msgid "Label of form submit button"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/interfaces.py:175
+msgid "Source address"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/interfaces.py:176
+msgid "Mail address from which form data is sent"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/interfaces.py:179
+msgid "Source name"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/interfaces.py:180
+msgid "Name of mail data sender"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/interfaces.py:183
+msgid "Recipient address"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/interfaces.py:184
+msgid "Mail address to which form data is sent"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/interfaces.py:187
+msgid "Recipient name"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/interfaces.py:188
+msgid "Name of data recipient"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/zmi/properties.py:41
+msgid "Main form settings"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/zmi/properties.py:65
+msgid "Form handler settings"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/zmi/field.py:69
+msgid "Form fields..."
+msgstr ""
+
+#: ./src/pyams_content/shared/form/zmi/field.py:156
+#: ./src/pyams_content/shared/common/interfaces/types.py:43
+msgid "Name"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/zmi/field.py:211
+msgid "Form fields list"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/zmi/field.py:234
+#: ./src/pyams_content/shared/form/zmi/field.py:247
+msgid "Add form field"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/zmi/field.py:285
+msgid "Edit form field properties"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/zmi/field.py:187
+msgid "-- unknown field type --"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/zmi/field.py:122
+msgid "No currently defined form field."
+msgstr ""
+
+#: ./src/pyams_content/shared/form/zmi/field.py:269
+msgid "Specified name is already used!"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/zmi/__init__.py:44
+msgid "This form"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/zmi/__init__.py:63
+#: ./src/pyams_content/shared/form/zmi/__init__.py:74
+msgid "Add form"
+msgstr ""
+
+#: ./src/pyams_content/shared/form/zmi/__init__.py:54
+#, python-format
+msgid "Form « {title} »"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/merge.py:59
+msgid "Concatenate views items in order"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/merge.py:71
+msgid "Extract items randomly"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/merge.py:85
+msgid "Take items from views one by one, in views order"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/merge.py:98
+msgid "Take items from views one by one, in random order"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/merge.py:127
+msgid "Sort all results by creation date"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/merge.py:136
+msgid "Sort all results by last update date"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/merge.py:145
+msgid "Sort all results by current publication date"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/merge.py:154
+msgid "Sort all results by first publication date"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/interfaces.py:29
+msgid "View"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/interfaces.py:160
+msgid "Always include selected internal references"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/interfaces.py:161
+msgid "Include selected internal references only if empty"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/interfaces.py:38
+msgid "Last update date"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/interfaces.py:39
+msgid "Current publication date"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/interfaces.py:40
+msgid "First publication date"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/interfaces.py:58
+msgid "Select context type?"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/interfaces.py:59
+msgid "If 'yes', content type will be extracted from context"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/interfaces.py:63
+msgid "Other content types"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/interfaces.py:64
+msgid "Selected content types; leave empty for all"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/interfaces.py:71
+msgid "Select context data type?"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/interfaces.py:72
+msgid ""
+"If 'yes', content data type (if available) will be extracted from context"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/interfaces.py:77
+msgid "Other data types"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/interfaces.py:78
+msgid "Selected data types; leave empty for all"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/interfaces.py:85
+msgid "Order by"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/interfaces.py:86
+msgid "Property to use to sort results"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/interfaces.py:91
+msgid "Reversed order?"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/interfaces.py:92
+msgid "If 'yes', items order will be reversed"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/interfaces.py:96
+#: ./src/pyams_content/shared/view/portlet/interfaces.py:91
+msgid "Results count limit"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/interfaces.py:97
+msgid "Maximum number of results that the view may retrieve"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/interfaces.py:170
+msgid "Internal references usage"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/interfaces.py:171
+msgid "Specify how selected references are included into view results"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/interfaces.py:176
+msgid "Exclude context?"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/interfaces.py:177
+msgid "If 'yes', context will be excluded from results list"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/interfaces.py:188
+msgid "Select context tags?"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/interfaces.py:189
+msgid "If 'yes', tags will be extracted from context"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/interfaces.py:193
+msgid "Other tags"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/interfaces.py:209
+msgid "Select context themes?"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/interfaces.py:210
+msgid "If 'yes', themes will be extracted from context"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/interfaces.py:214
+msgid "Other themes"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/interfaces.py:230
+msgid "Select context collections?"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/interfaces.py:231
+msgid "If 'yes', collections will be extracted from context"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/interfaces.py:235
+msgid "Other collections"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/portlet/__init__.py:87
+msgid "View items"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/portlet/interfaces.py:41
+msgid "Display context"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/portlet/interfaces.py:42
+msgid "Content context"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/portlet/interfaces.py:59
+msgid "Selected views"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/portlet/interfaces.py:60
+msgid ""
+"Reference to the view(s) from which items are extracted; you can combine "
+"several views together and specify in which order they should be mixed"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/portlet/interfaces.py:69
+msgid "Views context"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/portlet/interfaces.py:70
+msgid ""
+"When searching for items, a view receives a \"context\" which is the object "
+"from which settings can be extracted; this context can be the \"display\" "
+"context or the \"content\" context: when the portlet is used to display the "
+"site root, a site manager or a site folder, both are identical; when the "
+"portlet is used to display a shared content, the \"content\" context is the "
+"displayed content, while the \"display\" context is the container (site root,"
+" site manager or site folder) into which content is displayed"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/portlet/interfaces.py:81
+msgid "Views merge mode"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/portlet/interfaces.py:82
+msgid ""
+"If you select several views, you can select \"merge\" mode, which is the way "
+"used to merge items from several views"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/portlet/interfaces.py:92
+msgid ""
+"Maximum number of results that the component may extract from merged views"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/portlet/interfaces.py:95
+msgid "Starting from..."
+msgstr ""
+
+#: ./src/pyams_content/shared/view/portlet/interfaces.py:96
+msgid "You can skip several results if specifying an integer value here..."
+msgstr ""
+
+#: ./src/pyams_content/shared/view/portlet/zmi/templates/view-items-list-preview.pt:8
+msgid "Selected views:"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/portlet/zmi/templates/view-items-list-preview.pt:9
+msgid "none"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/portlet/zmi/templates/view-items-list-preview.pt:15
+msgid "Extracted contents:"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/portlet/zmi/templates/view-items-list-preview.pt:16
+msgid "none (no selected view)"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/portlet/zmi/templates/view-items-list-preview.pt:22
+msgid "No result found"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/zmi/properties.py:45
+msgid "Main view settings"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/zmi/__init__.py:44
+msgid "This view"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/zmi/__init__.py:63
+#: ./src/pyams_content/shared/view/zmi/__init__.py:73
+msgid "Add view"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/zmi/__init__.py:54
+#, python-format
+msgid "View « {title} »"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/zmi/theme.py:67
+msgid "View tags settings"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/zmi/theme.py:113
+msgid "View themes settings"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/zmi/theme.py:159
+msgid "View collections settings"
+msgstr ""
+
+#: ./src/pyams_content/shared/view/zmi/reference.py:52
+msgid "References..."
+msgstr ""
+
+#: ./src/pyams_content/shared/view/zmi/reference.py:63
+msgid "View internal references settings"
+msgstr ""
+
+#: ./src/pyams_content/shared/blog/interfaces.py:30
+msgid "Blog post"
+msgstr ""
+
+#: ./src/pyams_content/shared/blog/interfaces.py:68
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:157
+#: ./src/pyams_content/shared/site/interfaces.py:86
+#: ./src/pyams_content/shared/site/interfaces.py:131
+msgid "Meta-description"
+msgstr ""
+
+#: ./src/pyams_content/shared/blog/interfaces.py:69
+msgid ""
+"The blog's description is 'hidden' into HTML's page headers; but it can be "
+"seen, for example, in some search engines results as content's description; "
+"if description is empty, content's header will be used."
+msgstr ""
+
+#: ./src/pyams_content/shared/blog/interfaces.py:74
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:169
+#: ./src/pyams_content/shared/site/interfaces.py:92
+#: ./src/pyams_content/shared/site/interfaces.py:137
+#: ./src/pyams_content/shared/site/zmi/folder.py:74
+msgid "Notepad"
+msgstr ""
+
+#: ./src/pyams_content/shared/blog/interfaces.py:75
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:170
+#: ./src/pyams_content/shared/site/interfaces.py:93
+#: ./src/pyams_content/shared/site/interfaces.py:138
+#: ./src/pyams_content/shared/site/zmi/folder.py:75
+msgid "Internal information to be known about this content"
+msgstr ""
+
+#: ./src/pyams_content/shared/blog/zmi/manager.py:57
+msgid "Blog management"
+msgstr ""
+
+#: ./src/pyams_content/shared/blog/zmi/manager.py:80
+#: ./src/pyams_content/shared/blog/zmi/manager.py:94
+msgid "Add blog manager"
+msgstr ""
+
+#: ./src/pyams_content/shared/blog/zmi/manager.py:93
+msgid "Blog manager"
+msgstr ""
+
+#: ./src/pyams_content/shared/blog/zmi/manager.py:148
+msgid "Blog properties"
+msgstr ""
+
+#: ./src/pyams_content/shared/blog/zmi/manager.py:163
+#: ./src/pyams_content/shared/blog/zmi/manager.py:175
+#: ./src/pyams_content/shared/site/zmi/container.py:101
+#: ./src/pyams_content/shared/site/zmi/container.py:113
+msgid "Publication dates..."
+msgstr ""
+
+#: ./src/pyams_content/shared/blog/zmi/manager.py:189
+#: ./src/pyams_content/shared/site/zmi/container.py:127
+msgid "Update publication dates"
+msgstr ""
+
+#: ./src/pyams_content/shared/blog/zmi/manager.py:124
+#: ./src/pyams_content/shared/site/zmi/manager.py:163
+msgid "You must provide a short name for default server language!"
+msgstr ""
+
+#: ./src/pyams_content/shared/blog/zmi/manager.py:128
+msgid "Specified blog manager name is already used!"
+msgstr ""
+
+#: ./src/pyams_content/shared/blog/zmi/manager.py:132
+msgid "A blog manager is already registered with this name!!"
+msgstr ""
+
+#: ./src/pyams_content/shared/blog/zmi/__init__.py:52
+msgid "This blog post"
+msgstr ""
+
+#: ./src/pyams_content/shared/blog/zmi/__init__.py:71
+#: ./src/pyams_content/shared/blog/zmi/__init__.py:81
+msgid "Add blog post"
+msgstr ""
+
+#: ./src/pyams_content/shared/blog/zmi/__init__.py:62
+#, python-format
+msgid "Blog post « {title} »"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/__init__.py:243
 #: ./src/pyams_content/shared/common/zmi/properties.py:69
 #: ./src/pyams_content/shared/common/zmi/manager.py:96
 msgid "Properties"
 msgstr ""
 
-#: ./src/pyams_content/shared/common/__init__.py:154
-#: ./src/pyams_content/shared/common/__init__.py:162
+#: ./src/pyams_content/shared/common/__init__.py:153
+#: ./src/pyams_content/shared/common/__init__.py:161
 #, python-format
 msgid "{date} by {principal}"
 msgstr ""
 
-#: ./src/pyams_content/shared/common/__init__.py:267
+#: ./src/pyams_content/shared/common/__init__.py:266
 #, python-format
 msgid "title length should be between 40 and 66 characters ({length} actually)"
 msgstr ""
 
-#: ./src/pyams_content/shared/common/zmi/search.py:96
-#: ./src/pyams_content/root/zmi/search.py:95
-msgid "Quick search results"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/search.py:162
-#: ./src/pyams_content/shared/common/zmi/search.py:204
-#: ./src/pyams_content/root/zmi/search.py:152
-#: ./src/pyams_content/root/zmi/search.py:188
-msgid "Advanced search"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/search.py:332
-#: ./src/pyams_content/root/zmi/search.py:280
-msgid "Advanced search results"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/search.py:170
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:225
-#: ./src/pyams_content/root/zmi/search.py:164
-msgid "Owner"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/search.py:173
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:148
-msgid "Status"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/search.py:177
-#: ./src/pyams_content/root/zmi/search.py:167
-msgid "Created after..."
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/search.py:180
-#: ./src/pyams_content/root/zmi/search.py:170
-msgid "Created before..."
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/search.py:183
-#: ./src/pyams_content/root/zmi/search.py:173
-msgid "Modified after..."
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/search.py:186
-#: ./src/pyams_content/root/zmi/search.py:176
-msgid "Modified before..."
+#: ./src/pyams_content/shared/common/interfaces/types.py:44
+msgid "Name of this data type; must be unique between all data types"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/types.py:50
+msgid "Navigation label"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/types.py:51
+msgid "Label used for navigation entries"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/types.py:54
+msgid "Tab-folder label"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/types.py:55
+msgid "Label used to include into tab folder"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/types.py:58
+msgid "'See also' label"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/types.py:59
+msgid ""
+"This label can be used when contents of this type will be displayed in a 'See"
+" also' entries block"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/types.py:63
+msgid "'Single value' label"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/types.py:64
+msgid "Label given to this type when a single value is displayed"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/types.py:67
+msgid "'Link to list' label"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/types.py:68
+msgid "Label used to display a link to a list of items of this type"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/types.py:71
+msgid "Next content label"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/types.py:72
+msgid "Label used to announce next date for this type"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/types.py:76
+msgid "Pictogram associated with this data type"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/types.py:90
+msgid "Field names"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/types.py:91
+msgid "List of fields associated with this data type"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/types.py:125
+msgid "Data type"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/types.py:126
+msgid "Type of content data"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:42
+msgid "Webmasters can handle all contents, including published ones"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:46
+msgid "Pilots"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:47
+msgid ""
+"Pilots can handle tool configuration, manage access rules, grant users roles "
+"and manage managers restrictions"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:58
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:202
+msgid "Contributors"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:59
+msgid "Contributors are users which are allowed to create new contents"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:90
+msgid "Workflow name"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:91
+msgid "Name of workflow utility used to manage tool contents"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:119
+msgid "Content URL"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:120
+msgid ""
+"URL used to access this content; this is important for SEO and should include"
+" most important words describing content; spaces and underscores will be "
+"automatically replaced by hyphens"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:127
+msgid "Version creator"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:128
+msgid ""
+"Name of content's version creator. The creator of the first version is also "
+"it's owner."
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:132
+msgid "First owner"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:133
+msgid "Name of content's first version owner"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:137
+msgid "Version creation"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:140
+msgid "Version modifiers"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:141
+msgid "List of principals who modified this content"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:144
+msgid "Last modifier"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:145
+msgid "Last principal who modified this content"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:148
+msgid "Last update"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:152
+msgid "Content's header is generally displayed in page header"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:158
+msgid ""
+"The content's description is 'hidden' into HTML's page headers; but it can be"
+" seen, for example, in some search engines results as content's description; "
+"if description is empty, content's header will be used."
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:165
+msgid "Keywords"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:166
+msgid "They will be included into HTML pages metadata"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:189
+msgid "Content owner"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:190
+msgid ""
+"The owner is the creator of content's first version, except if it was "
+"transferred afterwards to another owner"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:203
+msgid ""
+"Contributors are users which are allowed to update this content in addition "
+"to it's owner"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:213
+msgid "Readers"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:214
+msgid ""
+"Readers are users which are asked to verify and comment contents before they "
+"are published"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:245
+msgid "Principal ID"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:284
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:309
+msgid "Publication checks"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:285
+msgid ""
+"If 'yes', this contributor will have to confirm that contents have been "
+"previewed and checked before asking for publication"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:310
+msgid ""
+"If 'yes', this manager will have to confirm that contents have been previewed"
+" and checked before publishing a content"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:315
+msgid "Restricted contents"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:316
+msgid ""
+"If 'yes', this manager will get restricted access to manage contents based on"
+" selected settings"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:321
+msgid "Selected owners"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/interfaces/__init__.py:322
+msgid "Manager will have access to contents owned by these principals"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/portlet/title.py:38
+msgid "Content title"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/portlet/head.py:46
+msgid "Content header"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/portlet/interfaces/__init__.py:25
+msgid "Display breadcrumbs?"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/portlet/interfaces/__init__.py:29
+msgid "Display title?"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/portlet/interfaces/__init__.py:33
+msgid "Display tags?"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/portlet/interfaces/__init__.py:37
+msgid "Display header?"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/portlet/interfaces/__init__.py:41
+msgid "Display specificities?"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/portlet/interfaces/__init__.py:42
+msgid "If 'no', specific content's informations won't be displayed..."
+msgstr ""
+
+#: ./src/pyams_content/shared/common/portlet/zmi/templates/head-preview.pt:4
+msgid "Display breadcrumbs"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/portlet/zmi/templates/head-preview.pt:8
+msgid "Display title"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/portlet/zmi/templates/head-preview.pt:12
+msgid "Display tags"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/portlet/zmi/templates/head-preview.pt:16
+msgid "Display header"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/portlet/zmi/templates/head-preview.pt:20
+msgid "Display specificities"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/portal.py:44
+msgid "Edit default template properties"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/portal.py:54
+msgid ""
+"**This form allows you to select shared content default template.**\n"
+"\n"
+"If you choose to use a shared template, you can only adjust settings of each portlet individually but can't change portlets list or page configuration.\n"
+"\n"
+"If you use a local template, you can define a whole custom configuration but the template definition can't be reused anywhere..."
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/portal.py:70
+msgid "Use tool default template"
 msgstr ""
 
 #: ./src/pyams_content/shared/common/zmi/properties.py:59
@@ -1995,6 +4226,83 @@
 msgid "Content properties"
 msgstr ""
 
+#: ./src/pyams_content/shared/common/zmi/site.py:38
+#, python-format
+msgid ""
+"SEARCH - Between all contents published into &laquo;&nbsp;{site}&nbsp;&raquo;"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/header.py:79
+#, python-format
+msgid "{state} by {principal}"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/header.py:112
+#, python-format
+msgid "since {date}"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/header.py:91
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:166
+msgid "Content publication start date is not passed yet"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/header.py:124
+msgid "access published version"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/header.py:131
+msgid "access new version"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/header.py:141
+msgid "access waiting version"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/header.py:152
+msgid "access retired version"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/header.py:162
+msgid "access archived version"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/manager.py:107
+msgid "Shared tool properties"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/manager.py:125
+msgid "WARNING"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/manager.py:127
+msgid ""
+"Workflow shouldn't be modified if this tool already contains any shared "
+"content!"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/manager.py:150
+msgid "Languages"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/manager.py:162
+msgid "Content languages"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/manager.py:172
+msgid ""
+"Tool languages are used to translate own tool properties, and newly created "
+"contents will propose these languages by default"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/manager.py:80
+msgid "Content management"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/manager.py:82
+msgid "Tool management"
+msgstr ""
+
 #: ./src/pyams_content/shared/common/zmi/types.py:69
 msgid "Data types"
 msgstr ""
@@ -2073,589 +4381,64 @@
 msgid "Custom properties for type « {0} »"
 msgstr ""
 
-#: ./src/pyams_content/shared/common/zmi/workflow.py:847
-msgid "Prior checks"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/workflow.py:124
-msgid "Request publication"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/workflow.py:211
-#: ./src/pyams_content/workflow/__init__.py:316
-msgid "Cancel publication request"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/workflow.py:251
-msgid "Refuse publication request"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/workflow.py:305
-#: ./src/pyams_content/workflow/basic.py:197
-msgid "Publish"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/workflow.py:394
-msgid "Request retire"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/workflow.py:450
-msgid "Cancel retire request"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/workflow.py:490
-msgid "Retire"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/workflow.py:531
-#: ./src/pyams_content/workflow/__init__.py:437
-msgid "Request archive"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/workflow.py:574
-msgid "Cancel archive request"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/workflow.py:614
-msgid "Archive"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/workflow.py:655
-#: ./src/pyams_content/workflow/__init__.py:502
-#: ./src/pyams_content/workflow/__init__.py:514
-#: ./src/pyams_content/workflow/__init__.py:526
-#: ./src/pyams_content/workflow/__init__.py:538
-#: ./src/pyams_content/workflow/__init__.py:550
-#: ./src/pyams_content/workflow/basic.py:225
-#: ./src/pyams_content/workflow/basic.py:237
-msgid "Create new version"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/workflow.py:706
-#: ./src/pyams_content/workflow/__init__.py:562
-#: ./src/pyams_content/workflow/basic.py:249
-msgid "Delete version"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/workflow.py:793
-msgid "Previewed content?"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/workflow.py:797
-msgid "Verified content?"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/workflow.py:181
-#: ./src/pyams_content/shared/common/zmi/workflow.py:363
-msgid "Publication start date is required"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/workflow.py:274
-#: ./src/pyams_content/shared/common/zmi/workflow.py:420
-msgid "A comment is required"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/workflow.py:732
-msgid "Delete content"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/workflow.py:741
-msgid "Delete definitively"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/workflow.py:870
-msgid ""
-"You must confirm that you previewed and checked this content before "
-"requesting publication!!"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/workflow.py:88
-#, python-format
-msgid "{state} | by {principal}"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/workflow.py:873
-msgid ""
-"You must confirm that you checked this content before requesting "
-"publication!!"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/workflow.py:84
-#: ./src/pyams_content/workflow/__init__.py:649
-#: ./src/pyams_content/workflow/__init__.py:620
-#: ./src/pyams_content/workflow/basic.py:316
-#: ./src/pyams_content/workflow/basic.py:287
-#, python-format
-msgid "{state} {date}"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/__init__.py:265
-msgid "Duplicate content..."
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/__init__.py:285
-msgid "Duplicate content"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/__init__.py:86
-msgid "This title can be modified afterwards"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/__init__.py:276
-msgid "Duplicate this content"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/__init__.py:332
-#, python-format
-msgid "Clone created from version {source} of {oid} (in « {state} » state)"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/__init__.py:377
-msgid "Created or modified in this version"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/summary.py:51
-msgid "Display content summary"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/summary.py:75
-msgid "Identity card"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/summary.py:93
-msgid "Requested action"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/summary.py:134
-msgid "Publication and retire dates"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/summary.py:153
-msgid "Current version"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/summary.py:183
-msgid "Content history"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/summary.py:124
-msgid "Associated comment"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/summary.py:165
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:192
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:129
+msgid "Unique ID"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:149
+#: ./src/pyams_content/shared/common/zmi/search.py:173
+msgid "Status"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:176
+msgid "Status date"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:193
+#: ./src/pyams_content/shared/common/zmi/summary.py:167
 msgid "Version"
 msgstr ""
 
-#: ./src/pyams_content/shared/common/zmi/summary.py:114
-#, python-format
-msgid "{state} {date} by {principal}"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/summary.py:171
-#, python-format
-msgid "{state} since {date}, by {principal}"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/manager.py:107
-msgid "Shared tool properties"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/manager.py:125
-msgid "WARNING"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/manager.py:127
-msgid ""
-"Workflow shouldn't be modified if this tool already contains any shared "
-"content!"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/manager.py:150
-msgid "Languages"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/manager.py:162
-msgid "Content languages"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/manager.py:172
-msgid ""
-"Tool languages are used to translate own tool properties, and newly created "
-"contents will propose these languages by default"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/manager.py:80
-msgid "Content management"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/manager.py:82
-msgid "Tool management"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/owner.py:50
-msgid "Change owner..."
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/owner.py:83
-msgid "Change content's owner"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/owner.py:125
-msgid ""
-"All versions of this content which are not archived will be transferred to "
-"newly selected owner"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/owner.py:60
-msgid "New owner"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/owner.py:61
-msgid "The selected user will become the new content's owner"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/owner.py:63
-msgid "Keep previous owner as contributor"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/owner.py:64
-msgid "If 'yes', the previous owner will still be able to modify this content"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/owner.py:74
-msgid "Change owner"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/rename.py:62
-msgid "Change URL..."
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/rename.py:79
-msgid "Change item URL"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/rename.py:86
-msgid "Item URL part"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/rename.py:87
-msgid "URL part used to access this content"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/rename.py:121
-msgid "You must provide an URL for this item!"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/reverse.py:57
-msgid "Reverse links"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/reverse.py:66
-msgid "Content's internal links"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/site.py:38
-#, python-format
-msgid ""
-"SEARCH - Between all contents published into &laquo;&nbsp;{site}&nbsp;&raquo;"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/portal.py:44
-msgid "Edit default template properties"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/portal.py:54
-msgid ""
-"**This form allows you to select shared content default template.**\n"
-"\n"
-"If you choose to use a shared template, you can only adjust settings of each portlet individually but can't change portlets list or page configuration.\n"
-"\n"
-"If you use a local template, you can define a whole custom configuration but the template definition can't be reused anywhere..."
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/portal.py:70
-msgid "Use tool default template"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:128
-msgid "Unique ID"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:175
-msgid "Status date"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:207
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:208
 msgid "Status principal"
 msgstr ""
 
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:244
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:248
 msgid "Last modification"
 msgstr ""
 
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:267
-#: ./src/pyams_content/root/zmi/__init__.py:110
-msgid "Dashboard"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:277
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:281
 msgid "Contents dashboard"
 msgstr ""
 
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:323
-#: ./src/pyams_content/root/zmi/__init__.py:159
-#, python-format
-msgid "MANAGER - {0} content waiting for your action"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:324
-#: ./src/pyams_content/root/zmi/__init__.py:160
-#, python-format
-msgid "MANAGER - {0} contents waiting for your action"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:365
-#: ./src/pyams_content/root/zmi/__init__.py:204
-#, python-format
-msgid "CONTRIBUTOR - {0} content waiting for action"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:366
-#: ./src/pyams_content/root/zmi/__init__.py:205
-#, python-format
-msgid "CONTRIBUTOR - {0} contents waiting for action"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:398
-#: ./src/pyams_content/root/zmi/__init__.py:240
-#, python-format
-msgid "CONTRIBUTOR - {0} modified content"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:439
-#: ./src/pyams_content/root/zmi/__init__.py:283
-msgid "My contents"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:454
-#: ./src/pyams_content/shared/common/zmi/templates/dashboard.pt:8
-#: ./src/pyams_content/root/zmi/__init__.py:298
-#: ./src/pyams_content/root/zmi/templates/dashboard.pt:8
-msgid "My favorites"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:463
-#: ./src/pyams_content/root/zmi/__init__.py:307
-#, python-format
-msgid "CONTRIBUTOR - {0} favorite"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:464
-#: ./src/pyams_content/root/zmi/__init__.py:308
-#, python-format
-msgid "CONTRIBUTOR - {0} favorites"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:476
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:480
 #: ./src/pyams_content/shared/common/zmi/templates/header.pt:23
 msgid "Add/remove from favorites"
 msgstr ""
 
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:539
-#: ./src/pyams_content/root/zmi/__init__.py:346
-msgid "Your favorite contents"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:552
-#: ./src/pyams_content/root/zmi/__init__.py:359
-msgid "My preparations"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:561
-#: ./src/pyams_content/root/zmi/__init__.py:368
-#, python-format
-msgid "CONTRIBUTOR - {0} prepared content"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:562
-#: ./src/pyams_content/root/zmi/__init__.py:369
-#, python-format
-msgid "CONTRIBUTOR - {0} prepared contents"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:603
-#: ./src/pyams_content/root/zmi/__init__.py:408
-msgid "Your prepared contents"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:616
-#: ./src/pyams_content/root/zmi/__init__.py:421
-msgid "My submissions"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:625
-#: ./src/pyams_content/root/zmi/__init__.py:430
-#, python-format
-msgid "CONTRIBUTOR - {0} submitted content"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:626
-#: ./src/pyams_content/root/zmi/__init__.py:431
-#, python-format
-msgid "CONTRIBUTOR - {0} submitted contents"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:667
-#: ./src/pyams_content/root/zmi/__init__.py:470
-msgid "Your submitted contents"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:680
-#: ./src/pyams_content/root/zmi/__init__.py:483
-msgid "My publications"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:689
-#: ./src/pyams_content/root/zmi/__init__.py:492
-#, python-format
-msgid "CONTRIBUTOR - {0} published content"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:690
-#: ./src/pyams_content/root/zmi/__init__.py:493
-#, python-format
-msgid "CONTRIBUTOR - {0} published contents"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:731
-#: ./src/pyams_content/root/zmi/__init__.py:532
-msgid "Your published contents"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:744
-#: ./src/pyams_content/root/zmi/__init__.py:545
-msgid "My retired contents"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:753
-#: ./src/pyams_content/root/zmi/__init__.py:554
-#, python-format
-msgid "CONTRIBUTOR - {0} retired content"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:754
-#: ./src/pyams_content/root/zmi/__init__.py:555
-#, python-format
-msgid "CONTRIBUTOR - {0} retired contents"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:795
-#: ./src/pyams_content/root/zmi/__init__.py:595
-msgid "Your retired contents"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:808
-#: ./src/pyams_content/root/zmi/__init__.py:608
-msgid "My archived contents"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:817
-#: ./src/pyams_content/root/zmi/__init__.py:617
-#, python-format
-msgid "CONTRIBUTOR - {0} archived content"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:818
-#: ./src/pyams_content/root/zmi/__init__.py:618
-#, python-format
-msgid "CONTRIBUTOR - {0} archived contents"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:865
-#: ./src/pyams_content/root/zmi/__init__.py:664
-msgid "Your archived contents"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:879
-#: ./src/pyams_content/root/zmi/__init__.py:678
-msgid "Other interventions"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:894
-#: ./src/pyams_content/root/zmi/__init__.py:693
-msgid "Last publications"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:903
-#: ./src/pyams_content/root/zmi/__init__.py:702
-#, python-format
-msgid "CONTRIBUTORS - {0} published content"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:950
-#: ./src/pyams_content/root/zmi/__init__.py:748
-msgid "Last published contents"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:963
-#: ./src/pyams_content/root/zmi/__init__.py:761
-msgid "Last updates"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:972
-#: ./src/pyams_content/root/zmi/__init__.py:770
-#, python-format
-msgid "CONTRIBUTORS - {0} updated content"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:1017
-#: ./src/pyams_content/root/zmi/__init__.py:814
-msgid "Last updated contents"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:403
-#: ./src/pyams_content/root/zmi/__init__.py:245
-#, python-format
-msgid "CONTRIBUTOR - {0} modified contents"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:405
-#: ./src/pyams_content/root/zmi/__init__.py:247
-#, python-format
-msgid "CONTRIBUTOR - Last {0} modified contents"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:908
-#: ./src/pyams_content/root/zmi/__init__.py:707
-#, python-format
-msgid "CONTRIBUTORS - Last {0} published contents"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:910
-#: ./src/pyams_content/root/zmi/__init__.py:709
-msgid "CONTRIBUTORS - Last published contents (in the limit of 50)"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:977
-#: ./src/pyams_content/root/zmi/__init__.py:775
-#, python-format
-msgid "CONTRIBUTORS - Last {0} updated contents"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:979
-#: ./src/pyams_content/root/zmi/__init__.py:777
-msgid "CONTRIBUTORS - Last updated contents (in the limit of 50)"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:300
+#: ./src/pyams_content/shared/common/zmi/dashboard.py:304
 #, python-format
 msgid "SEARCH - Between all contents of type &laquo;&nbsp;{type}&nbsp;&raquo;"
 msgstr ""
 
-#: ./src/pyams_content/shared/common/zmi/dashboard.py:165
-#: ./src/pyams_content/shared/common/zmi/header.py:91
-msgid "Content publication start date is not passed yet"
+#: ./src/pyams_content/shared/common/zmi/rename.py:58
+msgid "Change URL..."
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/rename.py:75
+msgid "Change item URL"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/rename.py:82
+msgid "Item URL part"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/rename.py:83
+msgid "URL part used to access this content"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/rename.py:123
+msgid "You must provide an URL for this item!"
 msgstr ""
 
 #: ./src/pyams_content/shared/common/zmi/security.py:64
@@ -2720,46 +4503,246 @@
 "which at least one criteria is matching."
 msgstr ""
 
-#: ./src/pyams_content/shared/common/zmi/header.py:79
-#, python-format
-msgid "{state} by {principal}"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/header.py:112
+#: ./src/pyams_content/shared/common/zmi/__init__.py:265
+msgid "Duplicate content..."
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/__init__.py:285
+msgid "Duplicate content"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/__init__.py:86
+msgid "This title can be modified afterwards"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/__init__.py:276
+msgid "Duplicate this content"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/__init__.py:332
 #, python-format
-msgid "since {date}"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/header.py:124
-msgid "access published version"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/header.py:131
-msgid "access new version"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/header.py:141
-msgid "access waiting version"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/header.py:152
-msgid "access retired version"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/header.py:162
-msgid "access archived version"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/templates/wf-retiring-message.pt:2
+msgid "Clone created from version {source} of {oid} (in « {state} » state)"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/__init__.py:377
+msgid "Created or modified in this version"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/owner.py:50
+msgid "Change owner..."
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/owner.py:83
+msgid "Change content's owner"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/owner.py:125
 msgid ""
-"You considerate that the currently published version should no more be "
-"publicly visible."
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/templates/wf-retiring-message.pt:3
+"All versions of this content which are not archived will be transferred to "
+"newly selected owner"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/owner.py:60
+msgid "New owner"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/owner.py:61
+msgid "The selected user will become the new content's owner"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/owner.py:63
+msgid "Keep previous owner as contributor"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/owner.py:64
+msgid "If 'yes', the previous owner will still be able to modify this content"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/owner.py:74
+msgid "Change owner"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/workflow.py:843
+msgid "Prior checks"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/workflow.py:120
+msgid "Request publication"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/workflow.py:207
+#: ./src/pyams_content/workflow/__init__.py:316
+msgid "Cancel publication request"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/workflow.py:247
+msgid "Refuse publication request"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/workflow.py:301
+#: ./src/pyams_content/workflow/basic.py:197
+msgid "Publish"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/workflow.py:390
+msgid "Request retire"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/workflow.py:446
+msgid "Cancel retire request"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/workflow.py:486
+msgid "Retire"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/workflow.py:527
+#: ./src/pyams_content/workflow/__init__.py:437
+msgid "Request archive"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/workflow.py:570
+msgid "Cancel archive request"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/workflow.py:610
+msgid "Archive"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/workflow.py:651
+#: ./src/pyams_content/workflow/__init__.py:502
+#: ./src/pyams_content/workflow/__init__.py:514
+#: ./src/pyams_content/workflow/__init__.py:526
+#: ./src/pyams_content/workflow/__init__.py:538
+#: ./src/pyams_content/workflow/__init__.py:550
+#: ./src/pyams_content/workflow/basic.py:225
+#: ./src/pyams_content/workflow/basic.py:237
+msgid "Create new version"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/workflow.py:702
+#: ./src/pyams_content/workflow/__init__.py:562
+#: ./src/pyams_content/workflow/basic.py:249
+msgid "Delete version"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/workflow.py:789
+msgid "Previewed content?"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/workflow.py:793
+msgid "Verified content?"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/workflow.py:177
+#: ./src/pyams_content/shared/common/zmi/workflow.py:359
+msgid "Publication start date is required"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/workflow.py:270
+#: ./src/pyams_content/shared/common/zmi/workflow.py:416
+msgid "A comment is required"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/workflow.py:728
+msgid "Delete content"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/workflow.py:737
+msgid "Delete definitively"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/workflow.py:866
 msgid ""
-"WARNING: the content will remain visible until a manager validate the "
-"request."
+"You must confirm that you previewed and checked this content before "
+"requesting publication!!"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/workflow.py:84
+#, python-format
+msgid "{state} | by {principal}"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/workflow.py:869
+msgid ""
+"You must confirm that you checked this content before requesting "
+"publication!!"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/workflow.py:80
+#: ./src/pyams_content/workflow/__init__.py:649
+#: ./src/pyams_content/workflow/__init__.py:620
+#: ./src/pyams_content/workflow/basic.py:316
+#: ./src/pyams_content/workflow/basic.py:287
+#, python-format
+msgid "{state} {date}"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/reverse.py:57
+msgid "Reverse links"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/reverse.py:66
+msgid "Content's internal links"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/summary.py:47
+msgid "Display content summary"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/summary.py:71
+msgid "Identity card"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/summary.py:89
+msgid "Requested action"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/summary.py:130
+msgid "Publication and retire dates"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/summary.py:149
+msgid "Current version"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/summary.py:185
+msgid "Content history"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/summary.py:120
+msgid "Associated comment"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/summary.py:110
+#, python-format
+msgid "{state} {date} by {principal}"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/summary.py:173
+#, python-format
+msgid "{state} since {date}, by {principal}"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/templates/wf-owner-warning.pt:1
+msgid ""
+"RECALL: you are not the owner of the content on which you are intervening."
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/templates/wf-duplicate-message.pt:2
+msgid "You are going to duplicate a whole content."
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/templates/wf-duplicate-message.pt:3
+msgid ""
+"The new copy is going to be created in 'draft' mode, so that you can modify "
+"it before publication."
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/templates/wf-duplicate-message.pt:5
+msgid ""
+"A new unique number is also going to be assigned to it. This number will be "
+"shared by all content's versions."
 msgstr ""
 
 #: ./src/pyams_content/shared/common/zmi/templates/header.pt:6
@@ -2770,56 +4753,15 @@
 msgid "by ${owner}"
 msgstr ""
 
-#: ./src/pyams_content/shared/common/zmi/templates/wf-archive-message.pt:2
-msgid "As a manager, you considerate that this content must be archived."
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/templates/wf-archive-message.pt:3
-#: ./src/pyams_content/shared/common/zmi/templates/wf-archiving-message.pt:3
+#: ./src/pyams_content/shared/common/zmi/templates/wf-operator-warning.pt:1
 msgid ""
-"After archiving, it will be backed up but you will not be able to publish it "
-"again except by creating a new version."
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/templates/check-input.pt:34
-#: ./src/pyams_content/shared/common/zmi/templates/preview-input.pt:34
-#: ./src/pyams_content/shared/common/interfaces/types.py:47
-#: ./src/pyams_content/shared/form/zmi/field.py:167
-#: ./src/pyams_content/shared/form/interfaces/__init__.py:60
-#: ./src/pyams_content/features/menu/zmi/__init__.py:215
-msgid "Label"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/templates/check-input.pt:39
-#: ./src/pyams_content/features/checker/zmi/__init__.py:43
-msgid "Audit"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/templates/dashboard.pt:29
-#: ./src/pyams_content/root/zmi/templates/dashboard.pt:29
-msgid "Quick search..."
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/templates/dashboard.pt:35
-#: ./src/pyams_content/root/zmi/templates/dashboard.pt:35
-msgid "Advanced search..."
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/templates/dashboard.pt:49
-#: ./src/pyams_content/root/zmi/templates/dashboard.pt:49
-msgid "You are not actually concerned by any content."
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/templates/wf-publish-message.pt:2
+"WARNING: this request was made by a contributor which is not the owner of "
+"this content."
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/templates/wf-propose-message.pt:1
 msgid ""
-"As a manager, you considerate that this content is complete and can be "
-"published 'as is'."
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/templates/wf-publish-message.pt:4
-msgid ""
-"This operation will make the content publicly available (except if restricted"
-" access has been set)."
+"This publication request is going to be transmitted to a content manager."
 msgstr ""
 
 #: ./src/pyams_content/shared/common/zmi/templates/wf-create-message.pt:2
@@ -2834,10 +4776,9 @@
 "shared by all content's versions."
 msgstr ""
 
-#: ./src/pyams_content/shared/common/zmi/templates/wf-operator-warning.pt:1
+#: ./src/pyams_content/shared/common/zmi/templates/wf-cancel-propose-message.pt:1
 msgid ""
-"WARNING: this request was made by a contributor which is not the owner of "
-"this content."
+"After canceling the request, you will be able to update the content again."
 msgstr ""
 
 #: ./src/pyams_content/shared/common/zmi/templates/wf-clone-message.pt:2
@@ -2857,47 +4798,39 @@
 " archived automatically)."
 msgstr ""
 
-#: ./src/pyams_content/shared/common/zmi/templates/wf-propose-message.pt:1
+#: ./src/pyams_content/shared/common/zmi/templates/wf-retiring-message.pt:2
 msgid ""
-"This publication request is going to be transmitted to a content manager."
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/templates/wf-duplicate-message.pt:2
-msgid "You are going to duplicate a whole content."
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/templates/wf-duplicate-message.pt:3
-msgid ""
-"The new copy is going to be created in 'draft' mode, so that you can modify "
-"it before publication."
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/templates/wf-duplicate-message.pt:5
+"You considerate that the currently published version should no more be "
+"publicly visible."
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/templates/wf-retiring-message.pt:3
 msgid ""
-"A new unique number is also going to be assigned to it. This number will be "
-"shared by all content's versions."
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/templates/advanced-search.pt:130
-#: ./src/pyams_content/root/zmi/templates/advanced-search.pt:130
-msgid "Created between"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/templates/advanced-search.pt:142
-#: ./src/pyams_content/shared/common/zmi/templates/advanced-search.pt:168
-#: ./src/pyams_content/root/zmi/templates/advanced-search.pt:142
-#: ./src/pyams_content/root/zmi/templates/advanced-search.pt:168
-msgid "and"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/templates/advanced-search.pt:156
-#: ./src/pyams_content/root/zmi/templates/advanced-search.pt:156
-msgid "Modified between"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/templates/advanced-search.pt:214
-#: ./src/pyams_content/root/zmi/templates/advanced-search.pt:211
-msgid "Tab label"
+"WARNING: the content will remain visible until a manager validate the "
+"request."
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/templates/wf-archiving-message.pt:2
+msgid "This content is already retired and not visible."
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/templates/wf-archiving-message.pt:3
+#: ./src/pyams_content/shared/common/zmi/templates/wf-archive-message.pt:3
+msgid ""
+"After archiving, it will be backed up but you will not be able to publish it "
+"again except by creating a new version."
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/templates/wf-publish-message.pt:2
+msgid ""
+"As a manager, you considerate that this content is complete and can be "
+"published 'as is'."
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/templates/wf-publish-message.pt:4
+msgid ""
+"This operation will make the content publicly available (except if restricted"
+" access has been set)."
 msgstr ""
 
 #: ./src/pyams_content/shared/common/zmi/templates/wf-refuse-propose-message.pt:2
@@ -2912,18 +4845,16 @@
 "content before doing a new publication request."
 msgstr ""
 
+#: ./src/pyams_content/shared/common/zmi/templates/wf-archive-message.pt:2
+msgid "As a manager, you considerate that this content must be archived."
+msgstr ""
+
 #: ./src/pyams_content/shared/common/zmi/templates/wf-cancel-archiving-message.pt:1
 msgid ""
 "After cancelling this request, the content will return to it's previous "
 "retired state."
 msgstr ""
 
-#: ./src/pyams_content/shared/common/zmi/templates/wf-cancel-retiring-message.pt:1
-msgid ""
-"After cancelling this request, the content will return to it's normal "
-"published state."
-msgstr ""
-
 #: ./src/pyams_content/shared/common/zmi/templates/wf-retire-message.pt:2
 msgid ""
 "As a content manager, you considerate that this content should no longer be "
@@ -2936,26 +4867,10 @@
 " again, or archived."
 msgstr ""
 
-#: ./src/pyams_content/shared/common/zmi/templates/wf-cancel-propose-message.pt:1
-msgid ""
-"After canceling the request, you will be able to update the content again."
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/templates/wf-delete-message.pt:2
+#: ./src/pyams_content/shared/common/zmi/templates/wf-cancel-retiring-message.pt:1
 msgid ""
-"This content was never published. If you confirm deletion, it won't be "
-"possible to restore it."
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/templates/wf-delete-message.pt:6
-msgid ""
-"The content version is going to be definitely deleted. Will only remain the "
-"currently published version."
-msgstr ""
-
-#: ./src/pyams_content/shared/common/zmi/templates/wf-owner-warning.pt:1
-msgid ""
-"RECALL: you are not the owner of the content on which you are intervening."
+"After cancelling this request, the content will return to it's normal "
+"published state."
 msgstr ""
 
 #: ./src/pyams_content/shared/common/zmi/templates/wf-transition-info.pt:2
@@ -2974,606 +4889,20 @@
 msgid "With this comment:"
 msgstr ""
 
-#: ./src/pyams_content/shared/common/zmi/templates/wf-archiving-message.pt:2
-msgid "This content is already retired and not visible."
-msgstr ""
-
-#: ./src/pyams_content/shared/common/portlet/title.py:38
-msgid "Content title"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/portlet/head.py:46
-msgid "Content header"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/portlet/zmi/templates/head-preview.pt:4
-msgid "Display breadcrumbs"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/portlet/zmi/templates/head-preview.pt:8
-msgid "Display title"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/portlet/zmi/templates/head-preview.pt:12
-msgid "Display tags"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/portlet/zmi/templates/head-preview.pt:16
-msgid "Display header"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/portlet/zmi/templates/head-preview.pt:20
-msgid "Display specificities"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/portlet/interfaces/__init__.py:25
-msgid "Display breadcrumbs?"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/portlet/interfaces/__init__.py:29
-msgid "Display title?"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/portlet/interfaces/__init__.py:33
-msgid "Display tags?"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/portlet/interfaces/__init__.py:37
-msgid "Display header?"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/portlet/interfaces/__init__.py:41
-msgid "Display specificities?"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/portlet/interfaces/__init__.py:42
-msgid "If 'no', specific content's informations won't be displayed..."
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/types.py:43
-#: ./src/pyams_content/shared/form/zmi/field.py:156
-msgid "Name"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/types.py:44
-msgid "Name of this data type; must be unique between all data types"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/types.py:50
-msgid "Navigation label"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/types.py:51
-msgid "Label used for navigation entries"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/types.py:54
-msgid "Tab-folder label"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/types.py:55
-msgid "Label used to include into tab folder"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/types.py:58
-msgid "'See also' label"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/types.py:59
-msgid ""
-"This label can be used when contents of this type will be displayed in a 'See"
-" also' entries block"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/types.py:63
-msgid "'Single value' label"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/types.py:64
-msgid "Label given to this type when a single value is displayed"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/types.py:67
-msgid "'Link to list' label"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/types.py:68
-msgid "Label used to display a link to a list of items of this type"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/types.py:71
-msgid "Next content label"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/types.py:72
-msgid "Label used to announce next date for this type"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/types.py:76
-msgid "Pictogram associated with this data type"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/types.py:90
-msgid "Field names"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/types.py:91
-msgid "List of fields associated with this data type"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/types.py:125
-msgid "Data type"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/types.py:126
-msgid "Type of content data"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:41
-#: ./src/pyams_content/root/interfaces/__init__.py:37
-msgid "Webmasters"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:42
-msgid "Webmasters can handle all contents, including published ones"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:46
-msgid "Pilots"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:47
-msgid ""
-"Pilots can handle tool configuration, manage access rules, grant users roles "
-"and manage managers restrictions"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:52
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:196
-msgid "Managers"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:53
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:197
-msgid ""
-"Managers can handle main operations in tool's workflow, like publish or "
-"retire contents"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:58
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:202
-msgid "Contributors"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:59
-msgid "Contributors are users which are allowed to create new contents"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:63
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:208
-msgid "Designers"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:64
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:209
-msgid "Designers are users which are allowed to manage presentation templates"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:90
-msgid "Workflow name"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:91
-msgid "Name of workflow utility used to manage tool contents"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:119
-msgid "Content URL"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:120
-msgid ""
-"URL used to access this content; this is important for SEO and should include"
-" most important words describing content; spaces and underscores will be "
-"automatically replaced by hyphens"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:127
-msgid "Version creator"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:128
-msgid ""
-"Name of content's version creator. The creator of the first version is also "
-"it's owner."
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:132
-msgid "First owner"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:133
-msgid "Name of content's first version owner"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:137
-msgid "Version creation"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:140
-msgid "Version modifiers"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:141
-msgid "List of principals who modified this content"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:144
-msgid "Last modifier"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:145
-msgid "Last principal who modified this content"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:148
-msgid "Last update"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:152
-msgid "Content's header is generally displayed in page header"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:157
-#: ./src/pyams_content/shared/site/interfaces/__init__.py:72
-#: ./src/pyams_content/shared/site/interfaces/__init__.py:117
-#: ./src/pyams_content/shared/blog/interfaces/__init__.py:68
-msgid "Meta-description"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:158
-msgid ""
-"The content's description is 'hidden' into HTML's page headers; but it can be"
-" seen, for example, in some search engines results as content's description; "
-"if description is empty, content's header will be used."
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:165
-msgid "Keywords"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:166
-msgid "They will be included into HTML pages metadata"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:169
-#: ./src/pyams_content/shared/site/zmi/folder.py:74
-#: ./src/pyams_content/shared/site/interfaces/__init__.py:78
-#: ./src/pyams_content/shared/site/interfaces/__init__.py:123
-#: ./src/pyams_content/shared/blog/interfaces/__init__.py:74
-msgid "Notepad"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:170
-#: ./src/pyams_content/shared/site/zmi/folder.py:75
-#: ./src/pyams_content/shared/site/interfaces/__init__.py:79
-#: ./src/pyams_content/shared/site/interfaces/__init__.py:124
-#: ./src/pyams_content/shared/blog/interfaces/__init__.py:75
-msgid "Internal information to be known about this content"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:189
-msgid "Content owner"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:190
-msgid ""
-"The owner is the creator of content's first version, except if it was "
-"transferred afterwards to another owner"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:203
+#: ./src/pyams_content/shared/common/zmi/templates/wf-delete-message.pt:2
 msgid ""
-"Contributors are users which are allowed to update this content in addition "
-"to it's owner"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:213
-msgid "Readers"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:214
-msgid ""
-"Readers are users which are asked to verify and comment contents before they "
-"are published"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:219
-msgid "Guests"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:220
-msgid ""
-"Guests are users which are allowed to view contents with restricted access"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:243
-msgid "Principal ID"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:282
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:307
-msgid "Publication checks"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:283
-msgid ""
-"If 'yes', this contributor will have to confirm that contents have been "
-"previewed and checked before asking for publication"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:308
-msgid ""
-"If 'yes', this manager will have to confirm that contents have been previewed"
-" and checked before publishing a content"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:313
-msgid "Restricted contents"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:314
+"This content was never published. If you confirm deletion, it won't be "
+"possible to restore it."
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/templates/wf-delete-message.pt:6
 msgid ""
-"If 'yes', this manager will get restricted access to manage contents based on"
-" selected settings"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:319
-msgid "Selected owners"
-msgstr ""
-
-#: ./src/pyams_content/shared/common/interfaces/__init__.py:320
-msgid "Manager will have access to contents owned by these principals"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/__init__.py:97
-msgid "Form fields"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/__init__.py:98
-msgid "no field defined"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/handler.py:80
-msgid "Mailto form handler"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/handler.py:44
-msgid "No selected handler..."
-msgstr ""
-
-#: ./src/pyams_content/shared/form/field.py:146
-msgid "Text"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/field.py:156
-msgid "Multi-lines text"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/field.py:166
-msgid "Boolean"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/field.py:176
-msgid "Integer"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/field.py:186
-msgid "Decimal"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/field.py:196
-msgid "E-mail address"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/field.py:206
-msgid "URI"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/field.py:216
-msgid "Date"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/field.py:230
-msgid "Choice"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/field.py:250
-msgid "List"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/zmi/properties.py:41
-msgid "Main form settings"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/zmi/properties.py:65
-msgid "Form handler settings"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/zmi/__init__.py:44
-msgid "This form"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/zmi/__init__.py:63
-#: ./src/pyams_content/shared/form/zmi/__init__.py:74
-msgid "Add form"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/zmi/__init__.py:54
-#, python-format
-msgid "Form « {title} »"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/zmi/field.py:69
-msgid "Form fields..."
-msgstr ""
-
-#: ./src/pyams_content/shared/form/zmi/field.py:178
-#: ./src/pyams_content/shared/form/interfaces/__init__.py:55
-msgid "Field type"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/zmi/field.py:211
-msgid "Form fields list"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/zmi/field.py:234
-#: ./src/pyams_content/shared/form/zmi/field.py:247
-msgid "Add form field"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/zmi/field.py:285
-msgid "Edit form field properties"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/zmi/field.py:187
-msgid "-- unknown field type --"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/zmi/field.py:122
-msgid "No currently defined form field."
-msgstr ""
-
-#: ./src/pyams_content/shared/form/zmi/field.py:269
-msgid "Specified name is already used!"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/interfaces/__init__.py:33
-msgid "Form"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/interfaces/__init__.py:51
-msgid "Field name"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/interfaces/__init__.py:52
-msgid "Field internal name; must be unique for a given form"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/interfaces/__init__.py:56
-msgid "Selected field type"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/interfaces/__init__.py:61
-msgid "User field label"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/interfaces/__init__.py:65
-msgid "Field description can be displayed as hint"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/interfaces/__init__.py:68
-msgid "Placeholder"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/interfaces/__init__.py:69
-msgid "Some field types like textline can display a placeholder"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/interfaces/__init__.py:72
-msgid "Optional values"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/interfaces/__init__.py:73
-msgid "List of available values (for 'choice' and 'list' field types)"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/interfaces/__init__.py:76
-msgid "Default value"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/interfaces/__init__.py:77
-msgid "Give default value if field type can use it"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/interfaces/__init__.py:80
-msgid "Required?"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/interfaces/__init__.py:81
-msgid "Select 'yes' to set field as mandatory"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/interfaces/__init__.py:86
-msgid "Select 'no' to hide given field..."
-msgstr ""
-
-#: ./src/pyams_content/shared/form/interfaces/__init__.py:120
-msgid "Form title"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/interfaces/__init__.py:123
-msgid "Form handler"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/interfaces/__init__.py:124
-msgid "Select how form data is transmitted"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/interfaces/__init__.py:127
-msgid "Authenticated only?"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/interfaces/__init__.py:128
-msgid "If 'yes', only authenticated users will be able to see and submit form"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/interfaces/__init__.py:132
-msgid "Use captcha?"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/interfaces/__init__.py:133
-msgid "If 'yes', a captcha will be added automatically to the form"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/interfaces/__init__.py:137
-msgid "Submit label"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/interfaces/__init__.py:138
-msgid "Label of form submit button"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/interfaces/__init__.py:175
-msgid "Source address"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/interfaces/__init__.py:176
-msgid "Mail address from which form data is sent"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/interfaces/__init__.py:179
-msgid "Source name"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/interfaces/__init__.py:180
-msgid "Name of mail data sender"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/interfaces/__init__.py:183
-msgid "Recipient address"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/interfaces/__init__.py:184
-msgid "Mail address to which form data is sent"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/interfaces/__init__.py:187
-msgid "Recipient name"
-msgstr ""
-
-#: ./src/pyams_content/shared/form/interfaces/__init__.py:188
-msgid "Name of data recipient"
+"The content version is going to be definitely deleted. Will only remain the "
+"currently published version."
+msgstr ""
+
+#: ./src/pyams_content/shared/news/interfaces.py:29
+msgid "News topic"
 msgstr ""
 
 #: ./src/pyams_content/shared/news/zmi/__init__.py:44
@@ -3590,298 +4919,251 @@
 msgid "News topic « {title} »"
 msgstr ""
 
-#: ./src/pyams_content/shared/news/interfaces/__init__.py:29
-msgid "News topic"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/merge.py:59
-msgid "Concatenate views items in order"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/merge.py:71
-msgid "Extract items randomly"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/merge.py:85
-msgid "Take items from views one by one, in views order"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/merge.py:98
-msgid "Take items from views one by one, in random order"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/merge.py:127
-msgid "Sort all results by creation date"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/merge.py:136
-msgid "Sort all results by last update date"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/merge.py:145
-msgid "Sort all results by current publication date"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/merge.py:154
-msgid "Sort all results by first publication date"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/zmi/properties.py:45
-msgid "Main view settings"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/zmi/__init__.py:44
-msgid "This view"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/zmi/__init__.py:63
-#: ./src/pyams_content/shared/view/zmi/__init__.py:73
-msgid "Add view"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/zmi/__init__.py:54
-#, python-format
-msgid "View « {title} »"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/zmi/theme.py:67
-msgid "View tags settings"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/zmi/theme.py:113
-msgid "View themes settings"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/zmi/theme.py:159
-msgid "View collections settings"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/zmi/reference.py:52
-msgid "References..."
-msgstr ""
-
-#: ./src/pyams_content/shared/view/zmi/reference.py:63
-msgid "View internal references settings"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/portlet/__init__.py:87
-msgid "View items"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/portlet/interfaces.py:41
-msgid "Display context"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/portlet/interfaces.py:42
-msgid "Content context"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/portlet/interfaces.py:59
-msgid "Selected views"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/portlet/interfaces.py:60
+#: ./src/pyams_content/shared/site/manager.py:66
+#: ./src/pyams_content/shared/site/zmi/manager.py:121
+msgid "Site manager"
+msgstr ""
+
+#: ./src/pyams_content/shared/site/folder.py:56
+msgid "Site folder"
+msgstr ""
+
+#: ./src/pyams_content/shared/site/link.py:43
+msgid "Content link"
+msgstr ""
+
+#: ./src/pyams_content/shared/site/interfaces.py:147
+msgid "Site topic"
+msgstr ""
+
+#: ./src/pyams_content/shared/site/interfaces.py:39
+msgid "Redirect to first visible sub-folder or content"
+msgstr ""
+
+#: ./src/pyams_content/shared/site/interfaces.py:40
+msgid "Use presentation template"
+msgstr ""
+
+#: ./src/pyams_content/shared/site/interfaces.py:83
+msgid "Heading displayed according to presentation template"
+msgstr ""
+
+#: ./src/pyams_content/shared/site/interfaces.py:87
 msgid ""
-"Reference to the view(s) from which items are extracted; you can combine "
-"several views together and specify in which order they should be mixed"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/portlet/interfaces.py:69
-msgid "Views context"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/portlet/interfaces.py:70
+"The folder's description is 'hidden' into HTML's page headers; but it can be "
+"seen, for example, in some search engines results as content's description; "
+"if description is empty, content's header will be used."
+msgstr ""
+
+#: ./src/pyams_content/shared/site/interfaces.py:106
+msgid "Navigation mode"
+msgstr ""
+
+#: ./src/pyams_content/shared/site/interfaces.py:107
+msgid "Folder behaviour when navigating to folder URL"
+msgstr ""
+
+#: ./src/pyams_content/shared/site/interfaces.py:132
 msgid ""
-"When searching for items, a view receives a \"context\" which is the object "
-"from which settings can be extracted; this context can be the \"display\" "
-"context or the \"content\" context: when the portlet is used to display the "
-"site root, a site manager or a site folder, both are identical; when the "
-"portlet is used to display a shared content, the \"content\" context is the "
-"displayed content, while the \"display\" context is the container (site root,"
-" site manager or site folder) into which content is displayed"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/portlet/interfaces.py:81
-msgid "Views merge mode"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/portlet/interfaces.py:82
+"The site's description is 'hidden' into HTML's page headers; but it can be "
+"seen, for example, in some search engines results as content's description; "
+"if description is empty, content's header will be used."
+msgstr ""
+
+#: ./src/pyams_content/shared/site/interfaces.py:166
 msgid ""
-"If you select several views, you can select \"merge\" mode, which is the way "
-"used to merge items from several views"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/portlet/interfaces.py:91
-#: ./src/pyams_content/shared/view/interfaces/__init__.py:102
-msgid "Results count limit"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/portlet/interfaces.py:92
+"Alternate content's title displayed in navigation pages; original title will "
+"be used if none is specified"
+msgstr ""
+
+#: ./src/pyams_content/shared/site/interfaces.py:171
+msgid "If 'no', link is not visible"
+msgstr ""
+
+#: ./src/pyams_content/shared/site/portlet/__init__.py:42
+msgid "Site summary"
+msgstr ""
+
+#: ./src/pyams_content/shared/site/portlet/interfaces.py:24
+msgid "Button's title"
+msgstr ""
+
+#: ./src/pyams_content/shared/site/portlet/interfaces.py:25
 msgid ""
-"Maximum number of results that the component may extract from merged views"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/portlet/interfaces.py:95
-msgid "Starting from..."
-msgstr ""
-
-#: ./src/pyams_content/shared/view/portlet/interfaces.py:96
-msgid "You can skip several results if specifying an integer value here..."
-msgstr ""
-
-#: ./src/pyams_content/shared/view/portlet/zmi/templates/view-items-list-preview.pt:8
-msgid "Selected views:"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/portlet/zmi/templates/view-items-list-preview.pt:9
-msgid "none"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/portlet/zmi/templates/view-items-list-preview.pt:15
-msgid "Extracted contents:"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/portlet/zmi/templates/view-items-list-preview.pt:16
-msgid "none (no selected view)"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/portlet/zmi/templates/view-items-list-preview.pt:22
-msgid "No result found"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/interfaces/__init__.py:34
-msgid "View"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/interfaces/__init__.py:166
-msgid "Always include selected internal references"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/interfaces/__init__.py:167
-msgid "Include selected internal references only if empty"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/interfaces/__init__.py:43
-#: ./src/pyams_content/interfaces/__init__.py:113
-#: ./src/pyams_content/features/review/interfaces.py:74
-msgid "Creation date"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/interfaces/__init__.py:44
-msgid "Last update date"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/interfaces/__init__.py:45
-msgid "Current publication date"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/interfaces/__init__.py:46
-msgid "First publication date"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/interfaces/__init__.py:64
-msgid "Select context type?"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/interfaces/__init__.py:65
-msgid "If 'yes', content type will be extracted from context"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/interfaces/__init__.py:69
-msgid "Other content types"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/interfaces/__init__.py:70
-msgid "Selected content types; leave empty for all"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/interfaces/__init__.py:77
-msgid "Select context data type?"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/interfaces/__init__.py:78
-msgid ""
-"If 'yes', content data type (if available) will be extracted from context"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/interfaces/__init__.py:83
-msgid "Other data types"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/interfaces/__init__.py:84
-msgid "Selected data types; leave empty for all"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/interfaces/__init__.py:91
-msgid "Order by"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/interfaces/__init__.py:92
-msgid "Property to use to sort results"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/interfaces/__init__.py:97
-msgid "Reversed order?"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/interfaces/__init__.py:98
-msgid "If 'yes', items order will be reversed"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/interfaces/__init__.py:103
-msgid "Maximum number of results that the view may retrieve"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/interfaces/__init__.py:176
-msgid "Internal references usage"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/interfaces/__init__.py:177
-msgid "Specify how selected references are included into view results"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/interfaces/__init__.py:182
-msgid "Exclude context?"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/interfaces/__init__.py:183
-msgid "If 'yes', context will be excluded from results list"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/interfaces/__init__.py:194
-msgid "Select context tags?"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/interfaces/__init__.py:195
-msgid "If 'yes', tags will be extracted from context"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/interfaces/__init__.py:199
-msgid "Other tags"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/interfaces/__init__.py:215
-msgid "Select context themes?"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/interfaces/__init__.py:216
-msgid "If 'yes', themes will be extracted from context"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/interfaces/__init__.py:220
-msgid "Other themes"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/interfaces/__init__.py:236
-msgid "Select context collections?"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/interfaces/__init__.py:237
-msgid "If 'yes', collections will be extracted from context"
-msgstr ""
-
-#: ./src/pyams_content/shared/view/interfaces/__init__.py:241
-msgid "Other collections"
+"Navigation button's title is normally defined based on target's content type;"
+" you can override this label by giving a custom title here"
+msgstr ""
+
+#: ./src/pyams_content/shared/site/portlet/zmi/templates/site-summary-preview.pt:2
+msgid "Navigation button title:"
+msgstr ""
+
+#: ./src/pyams_content/shared/site/zmi/container.py:305
+#: ./src/pyams_content/shared/site/zmi/container.py:151
+msgid "Visible element?"
+msgstr ""
+
+#: ./src/pyams_content/shared/site/zmi/container.py:306
+msgid "Switch element visibility"
+msgstr ""
+
+#: ./src/pyams_content/shared/site/zmi/container.py:368
+msgid "Folders and topics"
+msgstr ""
+
+#: ./src/pyams_content/shared/site/zmi/container.py:500
+msgid "Delete site item"
+msgstr ""
+
+#: ./src/pyams_content/shared/site/zmi/container.py:377
+msgid "Click to open/close all folders"
+msgstr ""
+
+#: ./src/pyams_content/shared/site/zmi/container.py:393
+msgid "Click to show/hide inner folders"
+msgstr ""
+
+#: ./src/pyams_content/shared/site/zmi/container.py:262
+msgid "Can't reparent object to one of it's children. Reloading..."
+msgstr ""
+
+#: ./src/pyams_content/shared/site/zmi/manager.py:53
+msgid "Site management"
+msgstr ""
+
+#: ./src/pyams_content/shared/site/zmi/manager.py:108
+#: ./src/pyams_content/shared/site/zmi/manager.py:122
+msgid "Add site manager"
+msgstr ""
+
+#: ./src/pyams_content/shared/site/zmi/manager.py:150
+#: ./src/pyams_content/shared/site/zmi/folder.py:185
+msgid "Site folder properties"
+msgstr ""
+
+#: ./src/pyams_content/shared/site/zmi/manager.py:167
+msgid "Specified site manager name is already used!"
+msgstr ""
+
+#: ./src/pyams_content/shared/site/zmi/manager.py:171
+msgid "A site manager is already registered with this name!!"
+msgstr ""
+
+#: ./src/pyams_content/shared/site/zmi/folder.py:57
+msgid "Add site folder..."
+msgstr ""
+
+#: ./src/pyams_content/shared/site/zmi/folder.py:89
+msgid "Add site folder"
+msgstr ""
+
+#: ./src/pyams_content/shared/site/zmi/folder.py:156
+msgid "Site folder management"
+msgstr ""
+
+#: ./src/pyams_content/shared/site/zmi/folder.py:70
+#: ./src/pyams_content/shared/site/zmi/link.py:65
+#: ./src/pyams_content/shared/site/zmi/__init__.py:60
+msgid "Parent"
+msgstr ""
+
+#: ./src/pyams_content/shared/site/zmi/folder.py:71
+#: ./src/pyams_content/shared/site/zmi/link.py:66
+msgid "Folder's parent"
+msgstr ""
+
+#: ./src/pyams_content/shared/site/zmi/folder.py:149
+msgid "You must provide a folder name for default server language!"
+msgstr ""
+
+#: ./src/pyams_content/shared/site/zmi/link.py:56
+msgid "Rent content..."
+msgstr ""
+
+#: ./src/pyams_content/shared/site/zmi/link.py:76
+msgid "Rent existing content"
+msgstr ""
+
+#: ./src/pyams_content/shared/site/zmi/link.py:134
+msgid "Edit content link properties"
+msgstr ""
+
+#: ./src/pyams_content/shared/site/zmi/__init__.py:51
+msgid "Add topic..."
+msgstr ""
+
+#: ./src/pyams_content/shared/site/zmi/__init__.py:74
+#: ./src/pyams_content/shared/topic/zmi/__init__.py:57
+#: ./src/pyams_content/shared/topic/zmi/__init__.py:68
+msgid "Add topic"
+msgstr ""
+
+#: ./src/pyams_content/shared/site/zmi/__init__.py:61
+msgid "Topic's parent"
+msgstr ""
+
+#: ./src/pyams_content/shared/topic/interfaces.py:23
+msgid "Topic"
+msgstr ""
+
+#: ./src/pyams_content/shared/topic/zmi/__init__.py:38
+msgid "This topic"
+msgstr ""
+
+#: ./src/pyams_content/shared/topic/zmi/__init__.py:48
+#, python-format
+msgid "Topic « {title} »"
+msgstr ""
+
+#: ./src/pyams_content/shared/imagemap/__init__.py:152
+msgid "no area defined"
+msgstr ""
+
+#: ./src/pyams_content/shared/imagemap/interfaces.py:36
+#: ./src/pyams_content/shared/imagemap/interfaces.py:89
+msgid "Image map"
+msgstr ""
+
+#: ./src/pyams_content/shared/imagemap/interfaces.py:50
+#: ./src/pyams_content/shared/imagemap/zmi/container.py:140
+msgid "Link target"
+msgstr ""
+
+#: ./src/pyams_content/shared/imagemap/interfaces.py:51
+msgid "Internal or external link associated with this map area"
+msgstr ""
+
+#: ./src/pyams_content/shared/imagemap/interfaces.py:56
+msgid "Alternate label associated with this area"
+msgstr ""
+
+#: ./src/pyams_content/shared/imagemap/interfaces.py:59
+msgid "Map area coordinates"
+msgstr ""
+
+#: ./src/pyams_content/shared/imagemap/interfaces.py:60
+msgid "List of coordinates of image area"
+msgstr ""
+
+#: ./src/pyams_content/shared/imagemap/interfaces.py:68
+msgid "Image supporting map areas"
+msgstr ""
+
+#: ./src/pyams_content/shared/imagemap/interfaces.py:71
+#: ./src/pyams_content/shared/imagemap/zmi/container.py:65
+msgid "Image map areas"
+msgstr ""
+
+#: ./src/pyams_content/shared/imagemap/interfaces.py:72
+msgid "List of defined map areas"
+msgstr ""
+
+#: ./src/pyams_content/shared/imagemap/interfaces.py:97
+msgid "Reference to image map object"
+msgstr ""
+
+#: ./src/pyams_content/shared/imagemap/interfaces.py:100
+msgid "Image map template"
 msgstr ""
 
 #: ./src/pyams_content/shared/imagemap/paragraph.py:88
@@ -3898,58 +5180,14 @@
 msgid "image map '{0}' is not published"
 msgstr ""
 
-#: ./src/pyams_content/shared/imagemap/__init__.py:152
-msgid "no area defined"
-msgstr ""
-
-#: ./src/pyams_content/shared/imagemap/zmi/paragraph.py:50
-msgid "Image map..."
-msgstr ""
-
-#: ./src/pyams_content/shared/imagemap/zmi/paragraph.py:63
-msgid "Add new image map"
-msgstr ""
-
-#: ./src/pyams_content/shared/imagemap/zmi/paragraph.py:90
-#: ./src/pyams_content/shared/logo/zmi/paragraph.py:89
-msgid "Edit paragraph properties"
-msgstr ""
-
 #: ./src/pyams_content/shared/imagemap/zmi/properties.py:40
 msgid "Background image"
 msgstr ""
 
-#: ./src/pyams_content/shared/imagemap/zmi/__init__.py:44
-msgid "This image map"
-msgstr ""
-
-#: ./src/pyams_content/shared/imagemap/zmi/__init__.py:63
-msgid "Add image map"
-msgstr ""
-
-#: ./src/pyams_content/shared/imagemap/zmi/__init__.py:73
-msgid "Adding image map"
-msgstr ""
-
-#: ./src/pyams_content/shared/imagemap/zmi/__init__.py:54
-#, python-format
-msgid "Image map « {title} »"
-msgstr ""
-
 #: ./src/pyams_content/shared/imagemap/zmi/container.py:54
 msgid "Image areas"
 msgstr ""
 
-#: ./src/pyams_content/shared/imagemap/zmi/container.py:65
-#: ./src/pyams_content/shared/imagemap/interfaces/__init__.py:71
-msgid "Image map areas"
-msgstr ""
-
-#: ./src/pyams_content/shared/imagemap/zmi/container.py:140
-#: ./src/pyams_content/shared/imagemap/interfaces/__init__.py:50
-msgid "Link target"
-msgstr ""
-
 #: ./src/pyams_content/shared/imagemap/zmi/container.py:113
 msgid "No currently defined image."
 msgstr ""
@@ -3958,11 +5196,6 @@
 msgid "No currently defined area."
 msgstr ""
 
-#: ./src/pyams_content/shared/imagemap/zmi/container.py:175
-#: ./src/pyams_content/root/zmi/sites.py:171
-msgid "No provided object_name argument!"
-msgstr ""
-
 #: ./src/pyams_content/shared/imagemap/zmi/container.py:194
 msgid "Given area name doesn't exist!"
 msgstr ""
@@ -3983,285 +5216,86 @@
 msgid "Edit image map properties"
 msgstr ""
 
-#: ./src/pyams_content/shared/imagemap/interfaces/__init__.py:36
-#: ./src/pyams_content/shared/imagemap/interfaces/__init__.py:89
-msgid "Image map"
-msgstr ""
-
-#: ./src/pyams_content/shared/imagemap/interfaces/__init__.py:51
-msgid "Internal or external link associated with this map area"
-msgstr ""
-
-#: ./src/pyams_content/shared/imagemap/interfaces/__init__.py:56
-msgid "Alternate label associated with this area"
-msgstr ""
-
-#: ./src/pyams_content/shared/imagemap/interfaces/__init__.py:59
-msgid "Map area coordinates"
-msgstr ""
-
-#: ./src/pyams_content/shared/imagemap/interfaces/__init__.py:60
-msgid "List of coordinates of image area"
-msgstr ""
-
-#: ./src/pyams_content/shared/imagemap/interfaces/__init__.py:68
-msgid "Image supporting map areas"
-msgstr ""
-
-#: ./src/pyams_content/shared/imagemap/interfaces/__init__.py:72
-msgid "List of defined map areas"
-msgstr ""
-
-#: ./src/pyams_content/shared/imagemap/interfaces/__init__.py:96
-#: ./src/pyams_content/features/alert/interfaces.py:69
-#: ./src/pyams_content/features/menu/interfaces/__init__.py:64
-msgid "Internal reference"
-msgstr ""
-
-#: ./src/pyams_content/shared/imagemap/interfaces/__init__.py:97
-msgid "Reference to image map object"
-msgstr ""
-
-#: ./src/pyams_content/shared/imagemap/interfaces/__init__.py:100
-msgid "Image map template"
-msgstr ""
-
-#: ./src/pyams_content/shared/topic/zmi/__init__.py:38
-msgid "This topic"
-msgstr ""
-
-#: ./src/pyams_content/shared/topic/zmi/__init__.py:57
-#: ./src/pyams_content/shared/topic/zmi/__init__.py:68
-#: ./src/pyams_content/shared/site/zmi/__init__.py:74
-msgid "Add topic"
-msgstr ""
-
-#: ./src/pyams_content/shared/topic/zmi/__init__.py:48
+#: ./src/pyams_content/shared/imagemap/zmi/__init__.py:44
+msgid "This image map"
+msgstr ""
+
+#: ./src/pyams_content/shared/imagemap/zmi/__init__.py:63
+msgid "Add image map"
+msgstr ""
+
+#: ./src/pyams_content/shared/imagemap/zmi/__init__.py:73
+msgid "Adding image map"
+msgstr ""
+
+#: ./src/pyams_content/shared/imagemap/zmi/__init__.py:54
 #, python-format
-msgid "Topic « {title} »"
-msgstr ""
-
-#: ./src/pyams_content/shared/topic/interfaces/__init__.py:23
-msgid "Topic"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/folder.py:56
-msgid "Site folder"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/link.py:43
-msgid "Content link"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/manager.py:66
-#: ./src/pyams_content/shared/site/zmi/manager.py:121
-msgid "Site manager"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/zmi/folder.py:57
-msgid "Add site folder..."
-msgstr ""
-
-#: ./src/pyams_content/shared/site/zmi/folder.py:89
-msgid "Add site folder"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/zmi/folder.py:156
-msgid "Site folder management"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/zmi/folder.py:185
-#: ./src/pyams_content/shared/site/zmi/manager.py:150
-msgid "Site folder properties"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/zmi/folder.py:203
-msgid "Navigation properties"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/zmi/folder.py:67
-#: ./src/pyams_content/interfaces/__init__.py:102
-msgid "Visible label used to display content"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/zmi/folder.py:70
-#: ./src/pyams_content/shared/site/zmi/__init__.py:60
-#: ./src/pyams_content/shared/site/zmi/link.py:65
-msgid "Parent"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/zmi/folder.py:71
-#: ./src/pyams_content/shared/site/zmi/link.py:66
-msgid "Folder's parent"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/zmi/folder.py:149
-msgid "You must provide a folder name for default server language!"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/zmi/__init__.py:51
-msgid "Add topic..."
-msgstr ""
-
-#: ./src/pyams_content/shared/site/zmi/__init__.py:61
-msgid "Topic's parent"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/zmi/link.py:56
-msgid "Rent content..."
-msgstr ""
-
-#: ./src/pyams_content/shared/site/zmi/link.py:76
-msgid "Rent existing content"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/zmi/link.py:134
-msgid "Edit content link properties"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/zmi/container.py:104
-#: ./src/pyams_content/shared/site/zmi/container.py:116
-#: ./src/pyams_content/shared/blog/zmi/manager.py:163
-#: ./src/pyams_content/shared/blog/zmi/manager.py:175
-msgid "Publication dates..."
-msgstr ""
-
-#: ./src/pyams_content/shared/site/zmi/container.py:130
-#: ./src/pyams_content/shared/blog/zmi/manager.py:189
-msgid "Update publication dates"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/zmi/container.py:176
-#: ./src/pyams_content/shared/site/zmi/container.py:186
-#: ./src/pyams_content/root/zmi/sites.py:68
-msgid "Site tree"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/zmi/container.py:308
-#: ./src/pyams_content/shared/site/zmi/container.py:154
-msgid "Visible element?"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/zmi/container.py:309
-msgid "Switch element visibility"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/zmi/container.py:371
-msgid "Folders and topics"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/zmi/container.py:407
-#: ./src/pyams_content/root/zmi/__init__.py:825
-msgid "Content"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/zmi/container.py:503
-msgid "Delete site item"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/zmi/container.py:380
-msgid "Click to open/close all folders"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/zmi/container.py:396
-msgid "Click to show/hide inner folders"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/zmi/container.py:265
-msgid "Can't reparent object to one of it's children. Reloading..."
-msgstr ""
-
-#: ./src/pyams_content/shared/site/zmi/manager.py:53
-msgid "Site management"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/zmi/manager.py:108
-#: ./src/pyams_content/shared/site/zmi/manager.py:122
-msgid "Add site manager"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/zmi/manager.py:163
-#: ./src/pyams_content/shared/blog/zmi/manager.py:124
-msgid "You must provide a short name for default server language!"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/zmi/manager.py:167
-msgid "Specified site manager name is already used!"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/zmi/manager.py:171
-msgid "A site manager is already registered with this name!!"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/interfaces/__init__.py:133
-msgid "Site topic"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/interfaces/__init__.py:38
-msgid "Redirect to first visible sub-folder or content"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/interfaces/__init__.py:39
-msgid "Use presentation template"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/interfaces/__init__.py:68
-msgid "Heading"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/interfaces/__init__.py:69
-msgid "Heading displayed according to presentation template"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/interfaces/__init__.py:73
-msgid ""
-"The folder's description is 'hidden' into HTML's page headers; but it can be "
-"seen, for example, in some search engines results as content's description; "
-"if description is empty, content's header will be used."
-msgstr ""
-
-#: ./src/pyams_content/shared/site/interfaces/__init__.py:82
-msgid "Visible in folders list"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/interfaces/__init__.py:83
-msgid "If 'no', folder will not be displayed into folders list"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/interfaces/__init__.py:87
-#: ./src/pyams_content/shared/site/interfaces/__init__.py:151
-msgid "Navigation title"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/interfaces/__init__.py:88
-msgid ""
-"Folder's title displayed in navigation pages; original title will be used if "
-"none is specified"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/interfaces/__init__.py:92
-msgid "Navigation mode"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/interfaces/__init__.py:93
-msgid "Folder behaviour when navigating to folder URL"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/interfaces/__init__.py:118
-msgid ""
-"The site's description is 'hidden' into HTML's page headers; but it can be "
-"seen, for example, in some search engines results as content's description; "
-"if description is empty, content's header will be used."
-msgstr ""
-
-#: ./src/pyams_content/shared/site/interfaces/__init__.py:152
-msgid ""
-"Alternate content's title displayed in navigation pages; original title will "
-"be used if none is specified"
-msgstr ""
-
-#: ./src/pyams_content/shared/site/interfaces/__init__.py:157
-msgid "If 'no', link is not visible"
+msgid "Image map « {title} »"
+msgstr ""
+
+#: ./src/pyams_content/shared/imagemap/zmi/paragraph.py:50
+msgid "Image map..."
+msgstr ""
+
+#: ./src/pyams_content/shared/imagemap/zmi/paragraph.py:63
+msgid "Add new image map"
+msgstr ""
+
+#: ./src/pyams_content/shared/imagemap/zmi/paragraph.py:90
+#: ./src/pyams_content/shared/logo/zmi/paragraph.py:89
+msgid "Edit paragraph properties"
+msgstr ""
+
+#: ./src/pyams_content/shared/logo/__init__.py:73
+msgid "no image defined"
+msgstr ""
+
+#: ./src/pyams_content/shared/logo/__init__.py:76
+msgid "no URL defined"
+msgstr ""
+
+#: ./src/pyams_content/shared/logo/interfaces.py:32
+msgid "Logo"
+msgstr ""
+
+#: ./src/pyams_content/shared/logo/interfaces.py:77
+msgid "Logos"
+msgstr ""
+
+#: ./src/pyams_content/shared/logo/interfaces.py:47
+msgid "Full name of logo organization"
+msgstr ""
+
+#: ./src/pyams_content/shared/logo/interfaces.py:50
+msgid "Acronym"
+msgstr ""
+
+#: ./src/pyams_content/shared/logo/interfaces.py:51
+msgid "Matching logo acronym, without spaces or separators"
+msgstr ""
+
+#: ./src/pyams_content/shared/logo/interfaces.py:58
+msgid "Image (colored)"
+msgstr ""
+
+#: ./src/pyams_content/shared/logo/interfaces.py:62
+msgid "Image (monochrome)"
+msgstr ""
+
+#: ./src/pyams_content/shared/logo/interfaces.py:63
+msgid "An alternate image which can be used by some presentation templates"
+msgstr ""
+
+#: ./src/pyams_content/shared/logo/interfaces.py:84
+msgid "Logos references"
+msgstr ""
+
+#: ./src/pyams_content/shared/logo/interfaces.py:85
+msgid "List of internal logos references"
+msgstr ""
+
+#: ./src/pyams_content/shared/logo/interfaces.py:88
+msgid "Logos template"
 msgstr ""
 
 #: ./src/pyams_content/shared/logo/paragraph.py:95
@@ -4278,22 +5312,6 @@
 msgid "logo '{0}' is not published"
 msgstr ""
 
-#: ./src/pyams_content/shared/logo/__init__.py:73
-msgid "no image defined"
-msgstr ""
-
-#: ./src/pyams_content/shared/logo/__init__.py:76
-msgid "no URL defined"
-msgstr ""
-
-#: ./src/pyams_content/shared/logo/zmi/paragraph.py:50
-msgid "Logos..."
-msgstr ""
-
-#: ./src/pyams_content/shared/logo/zmi/paragraph.py:63
-msgid "Add new logos paragraph"
-msgstr ""
-
 #: ./src/pyams_content/shared/logo/zmi/properties.py:65
 msgid "Main logo settings"
 msgstr ""
@@ -4312,174 +5330,16 @@
 msgid "Logo « {title} »"
 msgstr ""
 
-#: ./src/pyams_content/shared/logo/interfaces/__init__.py:32
-msgid "Logo"
-msgstr ""
-
-#: ./src/pyams_content/shared/logo/interfaces/__init__.py:77
-msgid "Logos"
-msgstr ""
-
-#: ./src/pyams_content/shared/logo/interfaces/__init__.py:47
-msgid "Full name of logo organization"
-msgstr ""
-
-#: ./src/pyams_content/shared/logo/interfaces/__init__.py:50
-msgid "Acronym"
-msgstr ""
-
-#: ./src/pyams_content/shared/logo/interfaces/__init__.py:51
-msgid "Matching logo acronym, without spaces or separators"
-msgstr ""
-
-#: ./src/pyams_content/shared/logo/interfaces/__init__.py:58
-msgid "Image (colored)"
-msgstr ""
-
-#: ./src/pyams_content/shared/logo/interfaces/__init__.py:62
-msgid "Image (monochrome)"
-msgstr ""
-
-#: ./src/pyams_content/shared/logo/interfaces/__init__.py:63
-msgid "An alternate image which can be used by some presentation templates"
-msgstr ""
-
-#: ./src/pyams_content/shared/logo/interfaces/__init__.py:84
-msgid "Logos references"
-msgstr ""
-
-#: ./src/pyams_content/shared/logo/interfaces/__init__.py:85
-msgid "List of internal logos references"
-msgstr ""
-
-#: ./src/pyams_content/shared/logo/interfaces/__init__.py:88
-msgid "Logos template"
-msgstr ""
-
-#: ./src/pyams_content/shared/blog/zmi/__init__.py:52
-msgid "This blog post"
-msgstr ""
-
-#: ./src/pyams_content/shared/blog/zmi/__init__.py:71
-#: ./src/pyams_content/shared/blog/zmi/__init__.py:81
-msgid "Add blog post"
-msgstr ""
-
-#: ./src/pyams_content/shared/blog/zmi/__init__.py:62
-#, python-format
-msgid "Blog post « {title} »"
-msgstr ""
-
-#: ./src/pyams_content/shared/blog/zmi/manager.py:57
-msgid "Blog management"
-msgstr ""
-
-#: ./src/pyams_content/shared/blog/zmi/manager.py:80
-#: ./src/pyams_content/shared/blog/zmi/manager.py:94
-msgid "Add blog manager"
-msgstr ""
-
-#: ./src/pyams_content/shared/blog/zmi/manager.py:93
-msgid "Blog manager"
-msgstr ""
-
-#: ./src/pyams_content/shared/blog/zmi/manager.py:148
-msgid "Blog properties"
-msgstr ""
-
-#: ./src/pyams_content/shared/blog/zmi/manager.py:128
-msgid "Specified blog manager name is already used!"
-msgstr ""
-
-#: ./src/pyams_content/shared/blog/zmi/manager.py:132
-msgid "A blog manager is already registered with this name!!"
-msgstr ""
-
-#: ./src/pyams_content/shared/blog/interfaces/__init__.py:30
-msgid "Blog post"
-msgstr ""
-
-#: ./src/pyams_content/shared/blog/interfaces/__init__.py:69
-msgid ""
-"The blog's description is 'hidden' into HTML's page headers; but it can be "
-"seen, for example, in some search engines results as content's description; "
-"if description is empty, content's header will be used."
-msgstr ""
-
-#: ./src/pyams_content/profile/zmi/__init__.py:42
-msgid "Admin. profile"
-msgstr ""
-
-#: ./src/pyams_content/profile/interfaces/__init__.py:33
-msgid "User favorites"
-msgstr ""
-
-#: ./src/pyams_content/profile/interfaces/__init__.py:34
-msgid "List of internal numbers of shared contents stored for quick access"
-msgstr ""
-
-#: ./src/pyams_content/profile/interfaces/__init__.py:37
-msgid "Default table length"
-msgstr ""
-
-#: ./src/pyams_content/profile/interfaces/__init__.py:38
-msgid "Default length used for inner tables and dashboards"
-msgstr ""
-
-#: ./src/pyams_content/root/__init__.py:63
-msgid "Site root"
-msgstr ""
-
-#: ./src/pyams_content/root/zmi/sites.py:78
-msgid "Blogs and shared sites"
-msgstr ""
-
-#: ./src/pyams_content/root/zmi/sites.py:108
-msgid "Visible site?"
-msgstr ""
-
-#: ./src/pyams_content/root/zmi/sites.py:134
-msgid "OID"
-msgstr ""
-
-#: ./src/pyams_content/root/zmi/sites.py:152
-msgid "Delete shared site"
-msgstr ""
-
-#: ./src/pyams_content/root/zmi/sites.py:180
-msgid "Given element name doesn't exist!"
-msgstr ""
-
-#: ./src/pyams_content/root/zmi/search.py:160
-msgid "Content types"
-msgstr ""
-
-#: ./src/pyams_content/root/zmi/__init__.py:78
-msgid "Home"
-msgstr ""
-
-#: ./src/pyams_content/root/zmi/templates/dashboard.pt:7
-msgid "Your contents dashboard"
-msgstr ""
-
-#: ./src/pyams_content/root/zmi/templates/dashboard.pt:18
-msgid "SEARCH - Between all contents"
-msgstr ""
-
-#: ./src/pyams_content/root/interfaces/__init__.py:33
-msgid "Site managers"
-msgstr ""
-
-#: ./src/pyams_content/root/interfaces/__init__.py:41
-msgid "Templates managers"
-msgstr ""
-
-#: ./src/pyams_content/root/interfaces/__init__.py:45
-msgid "Operators group"
-msgstr ""
-
-#: ./src/pyams_content/root/interfaces/__init__.py:46
-msgid "Name of group containing all roles owners"
+#: ./src/pyams_content/shared/logo/zmi/paragraph.py:50
+msgid "Logos..."
+msgstr ""
+
+#: ./src/pyams_content/shared/logo/zmi/paragraph.py:63
+msgid "Add new logos paragraph"
+msgstr ""
+
+#: ./src/pyams_content/workflow/task.py:62
+msgid "Automatic contents withdrawal:\n"
 msgstr ""
 
 #: ./src/pyams_content/workflow/__init__.py:70
@@ -4795,10 +5655,6 @@
 msgid "Published version {0}"
 msgstr ""
 
-#: ./src/pyams_content/workflow/task.py:62
-msgid "Automatic contents withdrawal:\n"
-msgstr ""
-
 #: ./src/pyams_content/workflow/zmi/task.py:42
 msgid "Add content archiver task..."
 msgstr ""
@@ -4806,757 +5662,3 @@
 #: ./src/pyams_content/workflow/zmi/task.py:55
 msgid "Add automatic content archiver"
 msgstr ""
-
-#: ./src/pyams_content/skin/zmi/viewlet/toplinks/__init__.py:43
-msgid "Shared sites"
-msgstr ""
-
-#: ./src/pyams_content/skin/zmi/viewlet/toplinks/__init__.py:64
-msgid "Shared contents"
-msgstr ""
-
-#: ./src/pyams_content/skin/zmi/viewlet/toplinks/__init__.py:87
-msgid "Shared tools"
-msgstr ""
-
-#: ./src/pyams_content/skin/zmi/viewlet/toplinks/__init__.py:110
-msgid "My roles"
-msgstr ""
-
-#: ./src/pyams_content/skin/zmi/viewlet/toplinks/templates/user-addings.pt:7
-msgid "Create new content"
-msgstr ""
-
-#: ./src/pyams_content/interfaces/__init__.py:95
-msgid "Unique key"
-msgstr ""
-
-#: ./src/pyams_content/interfaces/__init__.py:96
-msgid ""
-"WARNING: this key can't be modified after creation!!! Spaces, uppercase "
-"letters ou accentuated characters will be replaced automatically."
-msgstr ""
-
-#: ./src/pyams_content/interfaces/__init__.py:105
-msgid "Short name"
-msgstr ""
-
-#: ./src/pyams_content/interfaces/__init__.py:106
-msgid "Short name used in breadcrumbs"
-msgstr ""
-
-#: ./src/pyams_content/interfaces/__init__.py:117
-msgid "Modification date"
-msgstr ""
-
-#: ./src/pyams_content/reference/zmi/table.py:73
-msgid "Contents"
-msgstr ""
-
-#: ./src/pyams_content/reference/zmi/table.py:83
-msgid "Table contents"
-msgstr ""
-
-#: ./src/pyams_content/reference/zmi/table.py:129
-#: ./src/pyams_content/reference/zmi/__init__.py:68
-msgid "References tables"
-msgstr ""
-
-#: ./src/pyams_content/reference/zmi/table.py:143
-msgid "Properties..."
-msgstr ""
-
-#: ./src/pyams_content/reference/zmi/table.py:157
-msgid "Edit table properties"
-msgstr ""
-
-#: ./src/pyams_content/reference/zmi/table.py:167
-msgid "Table management"
-msgstr ""
-
-#: ./src/pyams_content/reference/zmi/__init__.py:50
-msgid "References"
-msgstr ""
-
-#: ./src/pyams_content/reference/pictograms/zmi/__init__.py:169
-#: ./src/pyams_content/reference/pictograms/zmi/widget.py:55
-msgid "Default header: --"
-msgstr ""
-
-#: ./src/pyams_content/reference/pictograms/zmi/widget.py:36
-msgid "No selected pictogram"
-msgstr ""
-
-#: ./src/pyams_content/reference/pictograms/zmi/manager.py:50
-msgid "Pictograms selection..."
-msgstr ""
-
-#: ./src/pyams_content/reference/pictograms/zmi/manager.py:62
-#: ./src/pyams_content/reference/pictograms/zmi/templates/manager-selection.pt:34
-#: ./src/pyams_content/reference/pictograms/interfaces/__init__.py:73
-msgid "Selected pictograms"
-msgstr ""
-
-#: ./src/pyams_content/reference/pictograms/zmi/templates/manager-selection.pt:7
-msgid "Available pictograms"
-msgstr ""
-
-#: ./src/pyams_content/reference/pictograms/zmi/templates/manager-selection.pt:21
-#: ./src/pyams_content/reference/pictograms/zmi/templates/manager-selection.pt:48
-msgid "Display pictogram properties"
-msgstr ""
-
-#: ./src/pyams_content/reference/pictograms/zmi/templates/pictogram-header.pt:6
-msgid "Default header: ${header}"
-msgstr ""
-
-#: ./src/pyams_content/reference/pictograms/interfaces/__init__.py:45
-msgid "Pictogram content"
-msgstr ""
-
-#. Default: Header
-#: ./src/pyams_content/reference/pictograms/interfaces/__init__.py:52
-msgid "pictogram-header"
-msgstr ""
-
-#: ./src/pyams_content/reference/pictograms/interfaces/__init__.py:53
-msgid "Default header associated with this pictogram"
-msgstr ""
-
-#: ./src/pyams_content/reference/pictograms/interfaces/__init__.py:74
-msgid "List of selected pictograms which will be available to shared contents"
-msgstr ""
-
-#: ./src/pyams_content/features/renderer/zmi/__init__.py:71
-#: ./src/pyams_content/features/renderer/zmi/templates/renderer-input.pt:4
-msgid "Edit renderer properties"
-msgstr ""
-
-#: ./src/pyams_content/features/renderer/skin/__init__.py:65
-msgid "Hidden content"
-msgstr ""
-
-#: ./src/pyams_content/features/checker/interfaces.py:27
-#, python-format
-msgid " - {field}: <span class=\"text-danger\">no value</span>"
-msgstr ""
-
-#: ./src/pyams_content/features/checker/interfaces.py:28
-#, python-format
-msgid " - {field} ({lang}): <span class=\"text-danger\">no value</span>"
-msgstr ""
-
-#: ./src/pyams_content/features/checker/interfaces.py:29
-#, python-format
-msgid " - {field}: <span class=\"text-danger\">{message}</span>"
-msgstr ""
-
-#: ./src/pyams_content/features/checker/zmi/__init__.py:58
-msgid "Content check"
-msgstr ""
-
-#: ./src/pyams_content/features/checker/zmi/__init__.py:82
-msgid "No checker available. This content is clean!"
-msgstr ""
-
-#: ./src/pyams_content/features/checker/zmi/__init__.py:78
-#, python-format
-msgid "{0}:"
-msgstr ""
-
-#: ./src/pyams_content/features/preview/zmi/__init__.py:62
-msgid "Content preview"
-msgstr ""
-
-#: ./src/pyams_content/features/preview/zmi/__init__.py:67
-#, python-format
-msgid "{title} ({preview})"
-msgstr ""
-
-#: ./src/pyams_content/features/preview/zmi/__init__.py:68
-msgid "preview"
-msgstr ""
-
-#: ./src/pyams_content/features/alert/interfaces.py:39
-msgid "Alert"
-msgstr ""
-
-#: ./src/pyams_content/features/alert/interfaces.py:40
-msgid "End of alert"
-msgstr ""
-
-#: ./src/pyams_content/features/alert/interfaces.py:41
-msgid "Information"
-msgstr ""
-
-#: ./src/pyams_content/features/alert/interfaces.py:42
-msgid "Warning"
-msgstr ""
-
-#: ./src/pyams_content/features/alert/interfaces.py:43
-msgid "Recommendation"
-msgstr ""
-
-#: ./src/pyams_content/features/alert/interfaces.py:55
-msgid "Is this alert visible in front-office?"
-msgstr ""
-
-#: ./src/pyams_content/features/alert/interfaces.py:59
-msgid "Alert gravity"
-msgstr ""
-
-#: ./src/pyams_content/features/alert/interfaces.py:60
-msgid "Alert gravity will affect rendered alert style"
-msgstr ""
-
-#: ./src/pyams_content/features/alert/interfaces.py:65
-#: ./src/pyams_content/features/alert/zmi/container.py:143
-msgid "Message"
-msgstr ""
-
-#: ./src/pyams_content/features/alert/interfaces.py:66
-msgid "Alert message"
-msgstr ""
-
-#: ./src/pyams_content/features/alert/interfaces.py:70
-msgid ""
-"Internal link target reference. You can search a reference using '+' followed"
-" by internal number, of by entering text matching content title."
-msgstr ""
-
-#: ./src/pyams_content/features/alert/interfaces.py:75
-msgid "Display start date"
-msgstr ""
-
-#: ./src/pyams_content/features/alert/interfaces.py:76
-msgid "First date at which alert should be displayed"
-msgstr ""
-
-#: ./src/pyams_content/features/alert/interfaces.py:79
-msgid "Display end date"
-msgstr ""
-
-#: ./src/pyams_content/features/alert/interfaces.py:80
-msgid "Last date at which alert should be displayed"
-msgstr ""
-
-#: ./src/pyams_content/features/alert/interfaces.py:83
-msgid "Maximum interval"
-msgstr ""
-
-#: ./src/pyams_content/features/alert/interfaces.py:84
-msgid ""
-"Maximum interval between alert displays on a given device, given in hours; "
-"set to 0 to always display the alert"
-msgstr ""
-
-#: ./src/pyams_content/features/alert/zmi/__init__.py:45
-msgid "Add alert"
-msgstr ""
-
-#: ./src/pyams_content/features/alert/zmi/__init__.py:56
-msgid "Add new alert"
-msgstr ""
-
-#: ./src/pyams_content/features/alert/zmi/__init__.py:79
-msgid "Edit alert properties"
-msgstr ""
-
-#: ./src/pyams_content/features/alert/zmi/container.py:53
-msgid "Alerts"
-msgstr ""
-
-#: ./src/pyams_content/features/alert/zmi/container.py:165
-msgid "Alert list"
-msgstr ""
-
-#: ./src/pyams_content/features/alert/zmi/container.py:95
-msgid "No currently defined alert."
-msgstr ""
-
-#: ./src/pyams_content/features/redirect/container.py:81
-msgid "not matching"
-msgstr ""
-
-#: ./src/pyams_content/features/redirect/zmi/__init__.py:50
-msgid "Add rule"
-msgstr ""
-
-#: ./src/pyams_content/features/redirect/zmi/__init__.py:63
-msgid "Add new redirection rule"
-msgstr ""
-
-#: ./src/pyams_content/features/redirect/zmi/__init__.py:88
-msgid "Edit redirection rule properties"
-msgstr ""
-
-#: ./src/pyams_content/features/redirect/zmi/__init__.py:109
-msgid ""
-"URL pattern and target URL are defined by *regular expressions* (see |regexp|).\n"
-"    \n"
-"In URL pattern, you can use any valid regular expression element, notably:\n"
-"\n"
-"- « .* » to match any list of characters \n"
-"\n"
-"- « ( ) » to \"memorize\" parts of the URL which can be replaced into target URL\n"
-"\n"
-"- special characters (like \"+\") must be escaped with an « \\\\ ».\n"
-"\n"
-"In target URL, memorized parts can be reused using « \\\\1 », « \\\\2 » and so on, where given number is\n"
-"the order of the matching pattern element.\n"
-"\n"
-".. |regexp| raw:: html\n"
-"\n"
-"    <a href=\"https://docs.python.org/3/library/re.html\" target=\"_blank\">Python Regular Expressions</a>\n"
-msgstr ""
-
-#: ./src/pyams_content/features/redirect/zmi/container.py:67
-msgid "Redirections"
-msgstr ""
-
-#: ./src/pyams_content/features/redirect/zmi/container.py:161
-msgid "Enable/disable rule"
-msgstr ""
-
-#: ./src/pyams_content/features/redirect/zmi/container.py:188
-msgid "Chain/unchain rule"
-msgstr ""
-
-#: ./src/pyams_content/features/redirect/zmi/container.py:210
-#: ./src/pyams_content/features/redirect/zmi/container.py:366
-#: ./src/pyams_content/features/redirect/interfaces/__init__.py:56
-msgid "URL pattern"
-msgstr ""
-
-#: ./src/pyams_content/features/redirect/zmi/container.py:220
-msgid "Target"
-msgstr ""
-
-#: ./src/pyams_content/features/redirect/zmi/container.py:246
-msgid "Redirections list"
-msgstr ""
-
-#: ./src/pyams_content/features/redirect/zmi/container.py:261
-msgid "Redirection rules"
-msgstr ""
-
-#: ./src/pyams_content/features/redirect/zmi/container.py:262
-msgid ""
-"Redirection rules are use to handle redirections responses when a request generates \n"
-"a famous « 404 NotFound » error.\n"
-"\n"
-"Redirections are particularly useful when you are migrating from a previous site and don't want to lose \n"
-"your SEO.\n"
-"\n"
-"You can define a set of rules which will be applied to every \"NotFound\" request; rules are based on \n"
-"regular expressions which are applied to input URL: if the rule is \"matching\", the target URL is rewritten\n"
-"and a \"Redirect\" response is send.\n"
-"\n"
-"You can chain rules together: when a rule is chained, it's rewritten URL is passed as input URL to the \n"
-"next rule, until a matching rule is found.\n"
-msgstr ""
-
-#: ./src/pyams_content/features/redirect/zmi/container.py:288
-msgid "Test"
-msgstr ""
-
-#: ./src/pyams_content/features/redirect/zmi/container.py:323
-msgid "Test redirection rules"
-msgstr ""
-
-#: ./src/pyams_content/features/redirect/zmi/container.py:301
-msgid "Test URL"
-msgstr ""
-
-#: ./src/pyams_content/features/redirect/zmi/container.py:304
-msgid "Check inactive rules?"
-msgstr ""
-
-#: ./src/pyams_content/features/redirect/zmi/container.py:305
-msgid "If 'yes', inactive rules will also be tested"
-msgstr ""
-
-#: ./src/pyams_content/features/redirect/zmi/container.py:313
-msgid "Close"
-msgstr ""
-
-#: ./src/pyams_content/features/redirect/zmi/container.py:314
-msgid "Test rules"
-msgstr ""
-
-#: ./src/pyams_content/features/redirect/zmi/container.py:123
-msgid "No currently defined redirection rule."
-msgstr ""
-
-#: ./src/pyams_content/features/redirect/zmi/container.py:371
-msgid "No matching rule!"
-msgstr ""
-
-#: ./src/pyams_content/features/redirect/zmi/container.py:365
-msgid "Input URL"
-msgstr ""
-
-#: ./src/pyams_content/features/redirect/zmi/container.py:367
-msgid "Output URL"
-msgstr ""
-
-#: ./src/pyams_content/features/redirect/interfaces/__init__.py:39
-msgid "Active rule?"
-msgstr ""
-
-#: ./src/pyams_content/features/redirect/interfaces/__init__.py:40
-msgid "If 'no', selected rule is inactive"
-msgstr ""
-
-#: ./src/pyams_content/features/redirect/interfaces/__init__.py:44
-msgid "Chained rule?"
-msgstr ""
-
-#: ./src/pyams_content/features/redirect/interfaces/__init__.py:45
-msgid ""
-"If 'no', and if this rule is matching received request URL, the rule returns "
-"a redirection response; otherwise, the rule just rewrites the input URL which"
-" is forwarded to the next rule"
-msgstr ""
-
-#: ./src/pyams_content/features/redirect/interfaces/__init__.py:51
-msgid "Permanent redirect?"
-msgstr ""
-
-#: ./src/pyams_content/features/redirect/interfaces/__init__.py:52
-msgid "Define if this redirection should be permanent or temporary"
-msgstr ""
-
-#: ./src/pyams_content/features/redirect/interfaces/__init__.py:57
-msgid "Regexp pattern of matching URLs for this redirection rule"
-msgstr ""
-
-#: ./src/pyams_content/features/redirect/interfaces/__init__.py:62
-msgid "Internal redirection target"
-msgstr ""
-
-#: ./src/pyams_content/features/redirect/interfaces/__init__.py:63
-msgid ""
-"Internal redirection reference. You can search a reference using '+' followed"
-" by internal number, of by entering text matching content title."
-msgstr ""
-
-#: ./src/pyams_content/features/redirect/interfaces/__init__.py:69
-msgid "URL to which source URL should be redirected"
-msgstr ""
-
-#: ./src/pyams_content/features/redirect/interfaces/__init__.py:75
-msgid "You can only provide an internal reference OR a target URL"
-msgstr ""
-
-#: ./src/pyams_content/features/redirect/interfaces/__init__.py:77
-msgid "You must provide an internal reference OR a target URL"
-msgstr ""
-
-#: ./src/pyams_content/features/menu/zmi/__init__.py:77
-msgid "Add menu..."
-msgstr ""
-
-#: ./src/pyams_content/features/menu/zmi/__init__.py:88
-msgid "Add new menu"
-msgstr ""
-
-#: ./src/pyams_content/features/menu/zmi/__init__.py:121
-msgid "Edit menu properties"
-msgstr ""
-
-#: ./src/pyams_content/features/menu/zmi/__init__.py:108
-msgid "Menu was correctly added."
-msgstr ""
-
-#: ./src/pyams_content/features/menu/zmi/__init__.py:395
-msgid "Link was correctly added."
-msgstr ""
-
-#: ./src/pyams_content/features/menu/zmi/templates/menu-name-cell.pt:7
-msgid "Click to see menu items"
-msgstr ""
-
-#: ./src/pyams_content/features/menu/portlet/navigation/simple.py:67
-msgid "Simple navigation"
-msgstr ""
-
-#: ./src/pyams_content/features/menu/portlet/navigation/double.py:67
-msgid "Double navigation"
-msgstr ""
-
-#: ./src/pyams_content/features/menu/portlet/navigation/zmi/simple.py:69
-msgid "Navigation links"
-msgstr ""
-
-#: ./src/pyams_content/features/menu/portlet/navigation/zmi/double.py:69
-msgid "Navigation menus"
-msgstr ""
-
-#: ./src/pyams_content/features/menu/portlet/navigation/zmi/templates/double-preview.pt:14
-#: ./src/pyams_content/features/menu/portlet/navigation/zmi/templates/simple-preview.pt:11
-msgid "Link has no illustration"
-msgstr ""
-
-#: ./src/pyams_content/features/menu/portlet/navigation/interfaces/simple.py:32
-#: ./src/pyams_content/features/menu/portlet/navigation/interfaces/double.py:32
-msgid "Portlet main title"
-msgstr ""
-
-#: ./src/pyams_content/features/menu/interfaces/__init__.py:60
-msgid "Menu title"
-msgstr ""
-
-#: ./src/pyams_content/features/menu/interfaces/__init__.py:61
-msgid "Displayed menu label"
-msgstr ""
-
-#: ./src/pyams_content/features/menu/interfaces/__init__.py:65
-msgid "Direct reference to menu target"
-msgstr ""
-
-#: ./src/pyams_content/features/menu/interfaces/__init__.py:69
-msgid "Name of the pictogram associated with this menu"
-msgstr ""
-
-#: ./src/pyams_content/features/footer/zmi/__init__.py:60
-msgid "Page footer"
-msgstr ""
-
-#: ./src/pyams_content/features/footer/zmi/__init__.py:78
-msgid "Edit footer settings"
-msgstr ""
-
-#: ./src/pyams_content/features/footer/zmi/__init__.py:152
-msgid ""
-"WARNING: Footer properties are saved automatically when changing inherit "
-"mode!!"
-msgstr ""
-
-#: ./src/pyams_content/features/footer/zmi/__init__.py:220
-msgid "Footer renderer settings"
-msgstr ""
-
-#: ./src/pyams_content/features/footer/zmi/__init__.py:107
-msgid "Don't inherit parent footer"
-msgstr ""
-
-#: ./src/pyams_content/features/footer/skin/__init__.py:94
-msgid "Hidden footer"
-msgstr ""
-
-#: ./src/pyams_content/features/footer/interfaces/__init__.py:39
-msgid "Footer template"
-msgstr ""
-
-#: ./src/pyams_content/features/footer/interfaces/__init__.py:40
-msgid "Presentation template used for this footer"
-msgstr ""
-
-#: ./src/pyams_content/features/review/__init__.py:181
-#, python-format
-msgid "Request comment: {comment}"
-msgstr ""
-
-#: ./src/pyams_content/features/review/__init__.py:211
-#, python-format
-msgid "A new comment was added on content « {0} »"
-msgstr ""
-
-#: ./src/pyams_content/features/review/__init__.py:168
-#, python-format
-msgid "[{service_name}] A content review is requested"
-msgstr ""
-
-#: ./src/pyams_content/features/review/interfaces.py:32
-msgid "Review request"
-msgstr ""
-
-#: ./src/pyams_content/features/review/interfaces.py:33
-msgid "Reviewer comment"
-msgstr ""
-
-#: ./src/pyams_content/features/review/interfaces.py:56
-msgid "Comment writer"
-msgstr ""
-
-#: ./src/pyams_content/features/review/interfaces.py:59
-msgid "Content reviewers"
-msgstr ""
-
-#: ./src/pyams_content/features/review/interfaces.py:62
-msgid "Comment type"
-msgstr ""
-
-#: ./src/pyams_content/features/review/interfaces.py:67
-msgid "Comment body"
-msgstr ""
-
-#: ./src/pyams_content/features/review/interfaces.py:70
-msgid "Reviewer comment?"
-msgstr ""
-
-#: ./src/pyams_content/features/review/interfaces.py:86
-msgid "Reviewers list"
-msgstr ""
-
-#: ./src/pyams_content/features/review/interfaces.py:87
-msgid "List of principals which reviewed the comment"
-msgstr ""
-
-#: ./src/pyams_content/features/review/zmi/__init__.py:55
-msgid "Ask for review..."
-msgstr ""
-
-#: ./src/pyams_content/features/review/zmi/__init__.py:94
-msgid "Content review request"
-msgstr ""
-
-#: ./src/pyams_content/features/review/zmi/__init__.py:159
-msgid "Comments"
-msgstr ""
-
-#: ./src/pyams_content/features/review/zmi/__init__.py:179
-msgid "Review comments"
-msgstr ""
-
-#: ./src/pyams_content/features/review/zmi/__init__.py:65
-msgid "Sought principals"
-msgstr ""
-
-#: ./src/pyams_content/features/review/zmi/__init__.py:66
-msgid "List of principals from which a review is requested"
-msgstr ""
-
-#: ./src/pyams_content/features/review/zmi/__init__.py:69
-msgid "Comment"
-msgstr ""
-
-#: ./src/pyams_content/features/review/zmi/__init__.py:70
-msgid "Comment associated with this request"
-msgstr ""
-
-#: ./src/pyams_content/features/review/zmi/__init__.py:73
-msgid "Notify all reviewers"
-msgstr ""
-
-#: ./src/pyams_content/features/review/zmi/__init__.py:74
-msgid ""
-"If 'yes', selected reviewers will be notified by mail of your request, even "
-"if they were already members of the reviewers group. Otherwise, only new "
-"reviewers will be notified"
-msgstr ""
-
-#: ./src/pyams_content/features/review/zmi/__init__.py:85
-msgid "Ask for content review"
-msgstr ""
-
-#: ./src/pyams_content/features/review/zmi/__init__.py:140
-msgid "Request successful. No new notification have been sent"
-msgstr ""
-
-#: ./src/pyams_content/features/review/zmi/__init__.py:256
-msgid "Message is mandatory!"
-msgstr ""
-
-#: ./src/pyams_content/features/review/zmi/__init__.py:128
-#, python-format
-msgid "Request successful. {count} new notification(s) have been sent"
-msgstr ""
-
-#: ./src/pyams_content/features/review/zmi/templates/review-comments.pt:32
-#: ./src/pyams_content/features/review/zmi/templates/review-comments-json.pt:15
-#: ./src/pyams_content/features/review/zmi/templates/review-add-comment.pt:14
-msgid "Review query from"
-msgstr ""
-
-#: ./src/pyams_content/features/review/zmi/templates/review-comments.pt:38
-#: ./src/pyams_content/features/review/zmi/templates/review-comments-json.pt:21
-#: ./src/pyams_content/features/review/zmi/templates/review-add-comment.pt:20
-msgid "(as reviewer)"
-msgstr ""
-
-#: ./src/pyams_content/features/review/zmi/templates/review-comments.pt:47
-#: ./src/pyams_content/features/review/zmi/templates/review-comments-json.pt:30
-msgid "Selected reviewers:"
-msgstr ""
-
-#: ./src/pyams_content/features/review/zmi/templates/review-comments.pt:64
-msgid "Add comment"
-msgstr ""
-
-#: ./src/pyams_content/features/review/zmi/templates/review-comments.pt:67
-msgid "Add a comment..."
-msgstr ""
-
-#: ./src/pyams_content/features/review/zmi/templates/review-comments.pt:73
-msgid "Add this comment"
-msgstr ""
-
-#: ./src/pyams_content/features/review/zmi/templates/review-add-comment.pt:22
-msgid "just now"
-msgstr ""
-
-#: ./src/pyams_content/features/review/zmi/templates/review-notification.pt:4
-msgid "[${service_name}] You are requested for a content review"
-msgstr ""
-
-#: ./src/pyams_content/features/review/zmi/templates/review-notification.pt:30
-msgid "Hello,"
-msgstr ""
-
-#: ./src/pyams_content/features/review/zmi/templates/review-notification.pt:31
-msgid ""
-"You have been requested by ${sender}, contributor of « ${service_name} » "
-"website, to make a review of a content."
-msgstr ""
-
-#: ./src/pyams_content/features/review/zmi/templates/review-notification.pt:36
-msgid "${sender} added the following message to his request:"
-msgstr ""
-
-#: ./src/pyams_content/features/review/zmi/templates/review-notification.pt:41
-msgid ""
-"To review and comment this publication, please use the following link: "
-"${target}."
-msgstr ""
-
-#: ./src/pyams_content/features/review/zmi/templates/review-notification.pt:44
-msgid "After reading this content, please use the « Comments » menu entry."
-msgstr ""
-
-#: ./src/pyams_content/features/review/zmi/templates/review-notification.pt:45
-msgid ""
-"If you don't want to reply to this request, please contact ${sender} directly"
-" by replying to this mail."
-msgstr ""
-
-#: ./src/pyams_content/features/review/zmi/templates/review-notification.pt:47
-msgid "Thank you."
-msgstr ""
-
-#: ./src/pyams_content/features/header/zmi/__init__.py:66
-msgid "Page header"
-msgstr ""
-
-#: ./src/pyams_content/features/header/zmi/__init__.py:84
-msgid "Edit header settings"
-msgstr ""
-
-#: ./src/pyams_content/features/header/zmi/__init__.py:161
-msgid ""
-"WARNING: Header properties are saved automatically when changing inherit "
-"mode!!"
-msgstr ""
-
-#: ./src/pyams_content/features/header/zmi/__init__.py:229
-msgid "Header renderer settings"
-msgstr ""
-
-#: ./src/pyams_content/features/header/zmi/__init__.py:113
-msgid "Don't inherit parent header"
-msgstr ""
-
-#: ./src/pyams_content/features/header/skin/__init__.py:100
-msgid "Hidden header"
-msgstr ""
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/profile/interfaces.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,40 @@
+#
+# 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
+from zope.annotation.interfaces import IAttributeAnnotatable
+
+# import packages
+from zope.schema import Choice, List, TextLine
+
+from pyams_content import _
+
+
+ADMIN_PROFILE_KEY = 'pyams_content.admin_profile'
+
+
+class IAdminProfile(IAttributeAnnotatable):
+    """User admin profile preferences"""
+
+    favorites = List(title=_("User favorites"),
+                     description=_("List of internal numbers of shared contents stored for quick access"),
+                     value_type=TextLine())
+
+    table_page_length = Choice(title=_("Default table length"),
+                               description=_("Default length used for inner tables and dashboards"),
+                               values=(10, 25, 50, 100),
+                               default=10)
--- a/src/pyams_content/profile/interfaces/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-#
-# 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
-from zope.annotation.interfaces import IAttributeAnnotatable
-
-# import packages
-from zope.schema import Choice, List, TextLine
-
-from pyams_content import _
-
-
-ADMIN_PROFILE_KEY = 'pyams_content.admin_profile'
-
-
-class IAdminProfile(IAttributeAnnotatable):
-    """User admin profile preferences"""
-
-    favorites = List(title=_("User favorites"),
-                     description=_("List of internal numbers of shared contents stored for quick access"),
-                     value_type=TextLine())
-
-    table_page_length = Choice(title=_("Default table length"),
-                               description=_("Default length used for inner tables and dashboards"),
-                               values=(10, 25, 50, 100),
-                               default=10)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/reference/interfaces.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,42 @@
+#
+# 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
+from pyams_content.interfaces import IBaseContent
+from zope.container.interfaces import IContainer
+
+# import packages
+from zope.container.constraints import containers, contains
+
+
+class IReferenceInfo(IBaseContent):
+    """Base reference interface"""
+
+    containers('.IReferenceTable')
+
+
+class IReferenceTable(IBaseContent):
+    """Reference table interface"""
+
+    containers('.IReferenceTableContainer')
+    contains(IReferenceInfo)
+
+
+class IReferenceManager(IBaseContent, IContainer):
+    """References tables container"""
+
+    contains(IReferenceTable)
--- a/src/pyams_content/reference/interfaces/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-#
-# 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
-from pyams_content.interfaces import IBaseContent
-from zope.container.interfaces import IContainer
-
-# import packages
-from zope.container.constraints import containers, contains
-
-
-class IReferenceInfo(IBaseContent):
-    """Base reference interface"""
-
-    containers('.IReferenceTable')
-
-
-class IReferenceTable(IBaseContent):
-    """Reference table interface"""
-
-    containers('.IReferenceTableContainer')
-    contains(IReferenceInfo)
-
-
-class IReferenceManager(IBaseContent, IContainer):
-    """References tables container"""
-
-    contains(IReferenceTable)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/reference/pictograms/interfaces.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,80 @@
+#
+# 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
+from pyams_content.reference.interfaces import IReferenceInfo, IReferenceTable
+from zope.annotation.interfaces import IAttributeAnnotatable
+
+# import packages
+from pyams_i18n.schema import I18nImageField, I18nTextLineField
+from zope.container.constraints import containers, contains
+from zope.interface import Interface
+from zope.schema import List, Choice
+
+from pyams_content import _
+
+
+PICTOGRAM_VOCABULARY = 'PyAMS pictograms'
+SELECTED_PICTOGRAM_VOCABULARY = 'PyAMS selected pictograms'
+
+
+class IPictogram(IReferenceInfo):
+    """Pictogram interface
+
+    Pictograms are managed in a specific reference table to be easily reused by the application
+    into any shared content.
+    """
+
+    containers('.IPictogramTable')
+
+    image = I18nImageField(title=_("Image"),
+                           description=_("Pictogram content"),
+                           required=True)
+
+    alt_title = I18nTextLineField(title=_("Accessibility title"),
+                                  description=_("Alternate title used to describe image content"),
+                                  required=False)
+
+    header = I18nTextLineField(title=_('pictogram-header', default="Header"),
+                               description=_("Default header associated with this pictogram"),
+                               required=False)
+
+
+class IPictogramTable(IReferenceTable):
+    """Pictograms table interface"""
+
+    contains(IPictogram)
+
+
+PICTOGRAM_MANAGER_KEY = 'pyams_content.pictogram.manager'
+
+
+class IPictogramManager(Interface):
+    """Pictogram manager interface
+
+    A pictogram manager (typically, a shared tool) is a component which allows selection of a set of
+    pictogram which will be available for selection into shared content.
+    """
+
+    selected_pictograms = List(title=_("Selected pictograms"),
+                               description=_("List of selected pictograms which will be available to shared contents"),
+                               required=False,
+                               value_type=Choice(vocabulary='PyAMS pictograms'))
+
+
+class IPictogramManagerTarget(IAttributeAnnotatable):
+    """Pictogram manager target interface"""
--- a/src/pyams_content/reference/pictograms/interfaces/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,80 +0,0 @@
-#
-# 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
-from pyams_content.reference.interfaces import IReferenceInfo, IReferenceTable
-from zope.annotation.interfaces import IAttributeAnnotatable
-
-# import packages
-from pyams_i18n.schema import I18nImageField, I18nTextLineField
-from zope.container.constraints import containers, contains
-from zope.interface import Interface
-from zope.schema import List, Choice
-
-from pyams_content import _
-
-
-PICTOGRAM_VOCABULARY = 'PyAMS pictograms'
-SELECTED_PICTOGRAM_VOCABULARY = 'PyAMS selected pictograms'
-
-
-class IPictogram(IReferenceInfo):
-    """Pictogram interface
-
-    Pictograms are managed in a specific reference table to be easily reused by the application
-    into any shared content.
-    """
-
-    containers('.IPictogramTable')
-
-    image = I18nImageField(title=_("Image"),
-                           description=_("Pictogram content"),
-                           required=True)
-
-    alt_title = I18nTextLineField(title=_("Accessibility title"),
-                                  description=_("Alternate title used to describe image content"),
-                                  required=False)
-
-    header = I18nTextLineField(title=_('pictogram-header', default="Header"),
-                               description=_("Default header associated with this pictogram"),
-                               required=False)
-
-
-class IPictogramTable(IReferenceTable):
-    """Pictograms table interface"""
-
-    contains(IPictogram)
-
-
-PICTOGRAM_MANAGER_KEY = 'pyams_content.pictogram.manager'
-
-
-class IPictogramManager(Interface):
-    """Pictogram manager interface
-
-    A pictogram manager (typically, a shared tool) is a component which allows selection of a set of
-    pictogram which will be available for selection into shared content.
-    """
-
-    selected_pictograms = List(title=_("Selected pictograms"),
-                               description=_("List of selected pictograms which will be available to shared contents"),
-                               required=False,
-                               value_type=Choice(vocabulary='PyAMS pictograms'))
-
-
-class IPictogramManagerTarget(IAttributeAnnotatable):
-    """Pictogram manager target interface"""
--- a/src/pyams_content/reference/pictograms/zmi/manager.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/reference/pictograms/zmi/manager.py	Tue Nov 13 14:05:02 2018 +0100
@@ -96,15 +96,15 @@
     @property
     def sorted_pictograms(self):
         yield from sorted(self.pictogram_table.values(),
-                          key=lambda x: locale.strxfrm(II18n(x).query_attribute('title',
-                                                                                request=self.request) or '').lower())
+                          key=lambda x: locale.strxfrm((II18n(x).query_attribute('title',
+                                                                                 request=self.request) or '').lower()))
 
     @property
     def available_pictograms(self):
         manager = self.pictogram_manager
         if manager is not None:
             for pictogram in self.sorted_pictograms:
-                if pictogram.__name__ not in manager.selected_pictograms:
+                if pictogram.__name__ not in (manager.selected_pictograms or ()):
                     yield pictogram
 
     @property
--- a/src/pyams_content/reference/pictograms/zmi/templates/manager-selection.pt	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/reference/pictograms/zmi/templates/manager-selection.pt	Tue Nov 13 14:05:02 2018 +0100
@@ -1,8 +1,8 @@
 <div class="pictograms-manager" i18n:domain="pyams_content"
 	 data-ams-plugins="pyams_content"
 	 data-ams-plugin-pyams_content-async="false"
-	 tal:attributes="data-ams-plugin-pyams_content-src tales:resource_path('pyams_content.skin:pyams_content');
-					 data-ams-plugin-pyams_content-css tales:resource_path('pyams_content.skin:pyams_content_css');">
+	 data-ams-plugin-pyams_content-src="${tales:resource_path('pyams_content.zmi:pyams_content')}"
+	 data-ams-plugin-pyams_content-css="${tales:resource_path('pyams_content.zmi:pyams_content_css')}">
 	<fieldset class="bordered margin-x-20 col-md-5">
 		<legend class="inner" i18n:translate="">Available pictograms</legend>
 		<div class="droppable sortable height-min-100 pictograms available-pictograms viewport-y viewport-500"
@@ -12,10 +12,10 @@
 				 data-ams-events-handlers='{"dblclick": "PyAMS_content.pictograms.switchPictogram"}'
 				 tal:repeat="pictogram view.available_pictograms">
 				<input type="hidden" name="form.widgets.selected_pictograms:list"
-					   tal:attributes="value pictogram.__name__" />
+					   value="${pictogram.__name__}" />
 				<div class="pull-right margin-right-5">
 					<a data-toggle="modal"
-					   tal:attributes="data-ams-url tales:absolute_url(pictogram, 'properties.html')">
+					   data-ams-url="${tales:absolute_url(pictogram, 'properties.html')}">
 						<i class="fa fa-fw fa-search hint opaque baseline"
 						   data-ams-hint-gravity="se" data-ams-hint-offset="3"
 						   title="Display pictogram properties" i18n:attributes="title"></i>
@@ -23,10 +23,11 @@
 				</div>
 				<div class="width-50 text-center pull-left margin-right-10">
 					<tal:var define="img i18n:pictogram.image"
-							 condition="img"
-							 content="structure tales:thumbnail(img, 48, 48)" />
+							 condition="img">
+						${structure:tales:thumbnail(img, 48, 48)}
+					</tal:var>
 				</div>
-				<span tal:content="i18n:pictogram.title">Title</span>
+				<span>${i18n:pictogram.title}</span>
 			</div>
 		</div>
 	</fieldset>
@@ -39,10 +40,10 @@
 				 data-ams-events-handlers='{"dblclick": "PyAMS_content.pictograms.switchPictogram"}'
 				 tal:repeat="pictogram view.selected_pictograms">
 				<input type="hidden" name="form.widgets.selected_pictograms:list"
-					   tal:attributes="value pictogram.__name__" />
+					   value="${pictogram.__name__}" />
 				<div class="pull-right margin-right-5">
 					<a data-toggle="modal"
-					   tal:attributes="data-ams-url tales:absolute_url(pictogram, 'properties.html')">
+					   data-ams-url="${tales:absolute_url(pictogram, 'properties.html')}">
 						<i class="fa fa-fw fa-search hint opaque baseline"
 						   data-ams-hint-gravity="se" data-ams-hint-offset="3"
 						   title="Display pictogram properties" i18n:attributes="title"></i>
@@ -50,10 +51,11 @@
 				</div>
 				<div class="width-50 text-center pull-left margin-right-10">
 					<tal:var define="img i18n:pictogram.image"
-							 condition="img"
-							 content="structure tales:thumbnail(img, 48, 48)" />
+							 condition="img">
+						${structure:tales:thumbnail(img, 48, 48)}
+					</tal:var>
 				</div>
-				<span tal:content="i18n:pictogram.title">Title</span>
+				<span>${i18n:pictogram.title}</span>
 			</div>
 		</div>
 	</fieldset>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/root/interfaces.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,74 @@
+#
+# 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'
+
+from zope.interface import Attribute, Interface
+
+from pyams_content import _
+from pyams_content.interfaces import OPERATOR_ROLE, WEBMASTER_ROLE
+from pyams_portal.interfaces import DESIGNER_ROLE
+from pyams_security.interfaces import SYSTEM_ADMIN_ROLE
+from pyams_security.schema import Principal, PrincipalsSet
+from pyams_skin.interfaces.configuration import IBackOfficeConfiguration, IConfiguration
+from pyams_utils.interfaces.site import ISiteRoot as ISiteRootBase
+
+
+class ISiteRoot(ISiteRootBase):
+    """Main site root interface"""
+
+
+class ISiteRootRoles(Interface):
+    """Main site roles"""
+
+    managers = PrincipalsSet(title=_("Site managers"),
+                             role_id=SYSTEM_ADMIN_ROLE,
+                             required=False)
+
+    webmasters = PrincipalsSet(title=_("Webmasters"),
+                               role_id=WEBMASTER_ROLE,
+                               required=False)
+
+    designers = PrincipalsSet(title=_("Templates managers"),
+                              role_id=DESIGNER_ROLE,
+                              required=False)
+
+    operators = Principal(title=_("Operators group"),
+                          description=_("Name of group containing all roles owners"),
+                          role_id=OPERATOR_ROLE,
+                          required=False)
+
+
+class ISiteRootConfiguration(IConfiguration):
+    """Site root configuration interface"""
+
+
+class ISiteRootToolsConfiguration(Interface):
+    """Site root tools configuration interface"""
+
+    tables_name = Attribute("References tables manager name")
+
+    pictograms_table_name = Attribute("Pictograms reference table name")
+
+    tools_name = Attribute("Tools name")
+
+    views_tool_name = Attribute("Views tool name")
+    forms_tool_name = Attribute("Forms tool name")
+    imagemaps_tool_name = Attribute("Image maps tool name")
+    logos_tool_name = Attribute("Logos tool name")
+
+    news_tool_name = Attribute("News tool name")
+    topics_tool_name = Attribute("Topics tool name")
+
+
+class ISiteRootBackOfficeConfiguration(IBackOfficeConfiguration):
+    """Site root back-office configuration interface"""
--- a/src/pyams_content/root/interfaces/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,74 +0,0 @@
-#
-# 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'
-
-from zope.interface import Attribute, Interface
-
-from pyams_content import _
-from pyams_content.interfaces import OPERATOR_ROLE, WEBMASTER_ROLE
-from pyams_portal.interfaces import DESIGNER_ROLE
-from pyams_security.interfaces import SYSTEM_ADMIN_ROLE
-from pyams_security.schema import Principal, PrincipalsSet
-from pyams_skin.interfaces.configuration import IBackOfficeConfiguration, IConfiguration
-from pyams_utils.interfaces.site import ISiteRoot as ISiteRootBase
-
-
-class ISiteRoot(ISiteRootBase):
-    """Main site root interface"""
-
-
-class ISiteRootRoles(Interface):
-    """Main site roles"""
-
-    managers = PrincipalsSet(title=_("Site managers"),
-                             role_id=SYSTEM_ADMIN_ROLE,
-                             required=False)
-
-    webmasters = PrincipalsSet(title=_("Webmasters"),
-                               role_id=WEBMASTER_ROLE,
-                               required=False)
-
-    designers = PrincipalsSet(title=_("Templates managers"),
-                              role_id=DESIGNER_ROLE,
-                              required=False)
-
-    operators = Principal(title=_("Operators group"),
-                          description=_("Name of group containing all roles owners"),
-                          role_id=OPERATOR_ROLE,
-                          required=False)
-
-
-class ISiteRootConfiguration(IConfiguration):
-    """Site root configuration interface"""
-
-
-class ISiteRootToolsConfiguration(Interface):
-    """Site root tools configuration interface"""
-
-    tables_name = Attribute("References tables manager name")
-
-    pictograms_table_name = Attribute("Pictograms reference table name")
-
-    tools_name = Attribute("Tools name")
-
-    views_tool_name = Attribute("Views tool name")
-    forms_tool_name = Attribute("Forms tool name")
-    imagemaps_tool_name = Attribute("Image maps tool name")
-    logos_tool_name = Attribute("Logos tool name")
-
-    news_tool_name = Attribute("News tool name")
-    topics_tool_name = Attribute("Topics tool name")
-
-
-class ISiteRootBackOfficeConfiguration(IBackOfficeConfiguration):
-    """Site root back-office configuration interface"""
--- a/src/pyams_content/root/zmi/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/root/zmi/__init__.py	Tue Nov 13 14:05:02 2018 +0100
@@ -22,7 +22,7 @@
 from pyams_content.root.interfaces import ISiteRoot
 from pyams_content.shared.common.interfaces import IBaseSharedTool, IManagerRestrictions
 from pyams_content.shared.common.interfaces.zmi import ISiteRootDashboardTable
-from pyams_content.skin.zmi.interfaces import IDashboardMenu, IMyDashboardMenu, IAllContentsMenu
+from pyams_content.zmi.interfaces import IDashboardMenu, IMyDashboardMenu, IAllContentsMenu
 from pyams_i18n.interfaces import II18n
 from pyams_skin.interfaces import IInnerPage, IPageHeader
 from pyams_skin.interfaces.configuration import IBackOfficeConfiguration, IConfiguration
@@ -356,7 +356,7 @@
 class SiteRootPreparationsMenu(MenuItem):
     """Site root preparations dashboard menu"""
 
-    label = _("My preparations")
+    label = _("My drafts")
     icon_class = None
     url = '#my-preparations.html'
 
@@ -365,8 +365,8 @@
 class SiteRootPreparationsTable(BaseDashboardTable):
     """Site root preparations table"""
 
-    _single_title = _("CONTRIBUTOR - {0} prepared content")
-    _plural_title = _("CONTRIBUTOR - {0} prepared contents")
+    _single_title = _("CONTRIBUTOR - {0} content in preparation")
+    _plural_title = _("CONTRIBUTOR - {0} contents in preparation")
 
 
 @adapter_config(context=(ISiteRoot, IPyAMSLayer, SiteRootPreparationsTable), provides=IValues)
--- a/src/pyams_content/root/zmi/search.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/root/zmi/search.py	Tue Nov 13 14:05:02 2018 +0100
@@ -22,7 +22,7 @@
 from pyams_content.root import ISiteRoot
 from pyams_content.shared.common.interfaces import CONTENT_TYPES_VOCABULARY
 from pyams_content.shared.common.interfaces.zmi import ISiteRootDashboardTable
-from pyams_content.skin.zmi.interfaces import IAllContentsMenu
+from pyams_content.zmi.interfaces import IAllContentsMenu
 from pyams_form.search import ISearchFields, SearchForm, SearchView, SearchResultsView
 from pyams_i18n.interfaces import INegotiator
 from pyams_sequence.interfaces import ISequentialIntIds
--- a/src/pyams_content/root/zmi/sites.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/root/zmi/sites.py	Tue Nov 13 14:05:02 2018 +0100
@@ -12,44 +12,39 @@
 
 __docformat__ = 'restructuredtext'
 
+from pyramid.exceptions import NotFound
+from pyramid.view import view_config
+from z3c.table.column import GetAttrColumn
+from z3c.table.interfaces import IColumn, IValues
+from zope.interface import implementer
+from zope.intid.interfaces import IIntIds
 
-# import standard library
-
-# import interfaces
 from pyams_content.interfaces import MANAGE_SITE_ROOT_PERMISSION
 from pyams_content.root.interfaces import ISiteRoot
-from pyams_content.shared.common.interfaces import ISharedSite, IBaseSharedTool
+from pyams_content.shared.common.interfaces import IBaseSharedTool, ISharedSite
 from pyams_content.shared.common.interfaces.zmi import IDashboardTable
-from pyams_content.skin.zmi.interfaces import ISiteTreeMenu, ISiteTreeTable
+from pyams_content.zmi import pyams_content
+from pyams_content.zmi.interfaces import ISiteTreeMenu, ISiteTreeTable
+from pyams_pagelet.pagelet import pagelet_config
 from pyams_sequence.interfaces import ISequentialIdInfo
+from pyams_skin.container import ContainerView, delete_container_element
 from pyams_skin.interfaces import IInnerPage, IPageHeader
 from pyams_skin.interfaces.container import ITableWithActions
 from pyams_skin.layer import IPyAMSLayer
+from pyams_skin.page import DefaultPageHeaderAdapter
+from pyams_skin.table import ActionColumn, BaseTable, I18nColumn, TrashColumn
+from pyams_skin.viewlet.menu import MenuItem
+from pyams_utils.adapter import ContextRequestViewAdapter, adapter_config
+from pyams_utils.fanstatic import get_resource_path
 from pyams_utils.interfaces import VIEW_SYSTEM_PERMISSION
-from pyams_workflow.interfaces import IWorkflowPublicationInfo
-from pyams_zmi.interfaces.menu import ISiteManagementMenu
-from pyams_zmi.layer import IAdminLayer
-from z3c.table.interfaces import IColumn, IValues
-from zope.intid.interfaces import IIntIds
-
-# import packages
-from pyams_content.skin import pyams_content
-from pyams_pagelet.pagelet import pagelet_config
-from pyams_skin.container import ContainerView, delete_container_element
-from pyams_skin.page import DefaultPageHeaderAdapter
-from pyams_skin.table import BaseTable, TrashColumn, ActionColumn, I18nColumn
-from pyams_skin.viewlet.menu import MenuItem
-from pyams_utils.adapter import adapter_config, ContextRequestViewAdapter
-from pyams_utils.fanstatic import get_resource_path
 from pyams_utils.registry import get_utility
 from pyams_utils.url import absolute_url
 from pyams_viewlet.manager import viewletmanager_config
 from pyams_viewlet.viewlet import viewlet_config
+from pyams_workflow.interfaces import IWorkflowPublicationInfo
+from pyams_zmi.interfaces.menu import ISiteManagementMenu
+from pyams_zmi.layer import IAdminLayer
 from pyams_zmi.view import AdminView
-from pyramid.exceptions import NotFound
-from pyramid.view import view_config
-from z3c.table.column import GetAttrColumn
-from zope.interface import implementer
 
 from pyams_content import _
 
@@ -74,7 +69,7 @@
 class SiteTreeTable(BaseTable):
     """Site tree table"""
 
-    prefix = 'site_tree'
+    id = 'site_tree_table'
     title = _("Blogs and shared sites")
 
     sortOn = None
--- a/src/pyams_content/scripts/index.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/scripts/index.py	Tue Nov 13 14:05:02 2018 +0100
@@ -12,17 +12,13 @@
 
 __docformat__ = 'restructuredtext'
 
-
-# import standard library
 import argparse
 import sys
 import textwrap
 
-# import interfaces
+from pyramid.paster import bootstrap
 
-# import packages
-from pyams_content.site import site_index
-from pyramid.paster import bootstrap
+from pyams_content.features.catalog import site_index
 
 
 def index_site():
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/shared/blog/interfaces.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,80 @@
+#
+# Copyright (c) 2008-2016 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'
+
+from zope.container.constraints import containers, contains
+from zope.container.interfaces import IContainer
+from zope.interface import Attribute, Interface
+from zope.schema import Text
+
+from pyams_content.shared.common.interfaces import ISharedSite, IBaseSharedTool, ISharedContent, \
+    IDeletableElement, IWfSharedContentPortalContext
+from pyams_i18n.schema import I18nTextField
+from pyams_sequence.interfaces import ISequentialIdTarget
+from pyams_workflow.interfaces import IWorkflowPublicationSupport
+
+from pyams_content import _
+
+
+BLOG_CONTENT_TYPE = 'blog'
+BLOG_CONTENT_NAME = _("Blog post")
+
+
+class IWfBlogPost(IWfSharedContentPortalContext):
+    """Blog topic interface"""
+
+
+class IWfBlogPostFactory(Interface):
+    """Blog post factory interface"""
+
+
+class IBlogPost(ISharedContent, IDeletableElement):
+    """Workflow managed blog post interface"""
+
+    containers('.IBlogFolder')
+
+
+class IBlogFolder(IContainer, IDeletableElement):
+    """Blog folder interface"""
+
+    containers('.IBlogManager', '.IBlogFolder')
+    contains('.IBlogFolder', '.IBlogPost')
+
+
+class IBlogFolderFactory(Interface):
+    """Blog folder factory interface"""
+
+
+class IBlogManager(ISharedSite, IBaseSharedTool, IWorkflowPublicationSupport, IDeletableElement, ISequentialIdTarget):
+    """Blog manager interface"""
+
+    contains(IBlogFolder)
+
+    folder_factory = Attribute("Blog folder factory")
+
+    topic_content_type = Attribute("Topic content type")
+    topic_content_factory = Attribute("Topic content factory")
+
+    description = I18nTextField(title=_("Meta-description"),
+                                description=_("The blog's description is 'hidden' into HTML's page headers; but it "
+                                              "can be seen, for example, in some search engines results as content's "
+                                              "description; if description is empty, content's header will be used."),
+                                required=False)
+
+    notepad = Text(title=_("Notepad"),
+                   description=_("Internal information to be known about this content"),
+                   required=False)
+
+
+class IBlogManagerFactory(Interface):
+    """Blog manager factory interface"""
--- a/src/pyams_content/shared/blog/interfaces/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,80 +0,0 @@
-#
-# Copyright (c) 2008-2016 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'
-
-from zope.container.constraints import containers, contains
-from zope.container.interfaces import IContainer
-from zope.interface import Attribute, Interface
-from zope.schema import Text
-
-from pyams_content.shared.common.interfaces import ISharedSite, IBaseSharedTool, ISharedContent, \
-    IDeletableElement, IWfSharedContentPortalContext
-from pyams_i18n.schema import I18nTextField
-from pyams_sequence.interfaces import ISequentialIdTarget
-from pyams_workflow.interfaces import IWorkflowPublicationSupport
-
-from pyams_content import _
-
-
-BLOG_CONTENT_TYPE = 'blog'
-BLOG_CONTENT_NAME = _("Blog post")
-
-
-class IWfBlogPost(IWfSharedContentPortalContext):
-    """Blog topic interface"""
-
-
-class IWfBlogPostFactory(Interface):
-    """Blog post factory interface"""
-
-
-class IBlogPost(ISharedContent, IDeletableElement):
-    """Workflow managed blog post interface"""
-
-    containers('.IBlogFolder')
-
-
-class IBlogFolder(IContainer, IDeletableElement):
-    """Blog folder interface"""
-
-    containers('.IBlogManager', '.IBlogFolder')
-    contains('.IBlogFolder', '.IBlogPost')
-
-
-class IBlogFolderFactory(Interface):
-    """Blog folder factory interface"""
-
-
-class IBlogManager(ISharedSite, IBaseSharedTool, IWorkflowPublicationSupport, IDeletableElement, ISequentialIdTarget):
-    """Blog manager interface"""
-
-    contains(IBlogFolder)
-
-    folder_factory = Attribute("Blog folder factory")
-
-    topic_content_type = Attribute("Topic content type")
-    topic_content_factory = Attribute("Topic content factory")
-
-    description = I18nTextField(title=_("Meta-description"),
-                                description=_("The blog's description is 'hidden' into HTML's page headers; but it "
-                                              "can be seen, for example, in some search engines results as content's "
-                                              "description; if description is empty, content's header will be used."),
-                                required=False)
-
-    notepad = Text(title=_("Notepad"),
-                   description=_("Internal information to be known about this content"),
-                   required=False)
-
-
-class IBlogManagerFactory(Interface):
-    """Blog manager factory interface"""
--- a/src/pyams_content/shared/blog/zmi/manager.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/shared/blog/zmi/manager.py	Tue Nov 13 14:05:02 2018 +0100
@@ -26,7 +26,7 @@
 from pyams_content.shared.blog.manager import BlogManager
 from pyams_content.shared.common import IBaseSharedTool
 from pyams_content.shared.common.zmi.manager import SharedToolPropertiesEditForm
-from pyams_content.skin.zmi.interfaces import ISiteTreeTable, IUserAddingsMenuLabel
+from pyams_content.zmi.interfaces import ISiteTreeTable, IUserAddingsMenuLabel
 from pyams_form.form import AJAXAddForm, ajax_config
 from pyams_i18n.interfaces import II18n, INegotiator
 from pyams_pagelet.pagelet import pagelet_config
--- a/src/pyams_content/shared/common/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/shared/common/__init__.py	Tue Nov 13 14:05:02 2018 +0100
@@ -12,10 +12,6 @@
 
 __docformat__ = 'restructuredtext'
 
-
-# import standard library
-
-# import interfaces
 from hypatia.interfaces import ICatalog
 from persistent import Persistent
 from pyramid.events import subscriber
@@ -28,35 +24,37 @@
 from zope.intid.interfaces import IIntIds
 from zope.lifecycleevent.interfaces import IObjectModifiedEvent
 from zope.schema.fieldproperty import FieldProperty
-from zope.schema.vocabulary import SimpleVocabulary, SimpleTerm
+from zope.schema.vocabulary import SimpleTerm, SimpleVocabulary
 
-from pyams_content import _
-# import packages
 from pyams_content.features.checker import BaseContentChecker
-from pyams_content.features.checker.interfaces import IContentChecker, MISSING_VALUE, MISSING_LANG_VALUE, ERROR_VALUE
+from pyams_content.features.checker.interfaces import ERROR_VALUE, IContentChecker, MISSING_LANG_VALUE, MISSING_VALUE
 from pyams_content.features.review.interfaces import IReviewComments
-from pyams_content.interfaces import IBaseContentInfo, OWNER_ROLE, MANAGER_ROLE, CONTRIBUTOR_ROLE, READER_ROLE, \
-    GUEST_ROLE
-from pyams_content.shared.common.interfaces import IWfSharedContent, IWfSharedContentRoles, ISharedContent, \
-    IBaseSharedTool, ISharedSite, IWfSharedContentFactory, CONTENT_TYPES_VOCABULARY
+from pyams_content.interfaces import CONTRIBUTOR_ROLE, GUEST_ROLE, IBaseContentInfo, MANAGER_ROLE, OWNER_ROLE, \
+    READER_ROLE
+from pyams_content.shared.common.interfaces import CONTENT_TYPES_VOCABULARY, IBaseSharedTool, ISharedContent, \
+    ISharedSite, IWfSharedContent, IWfSharedContentFactory, IWfSharedContentRoles
 from pyams_i18n.content import I18nManagerMixin
-from pyams_i18n.interfaces import II18nManager, II18n
+from pyams_i18n.interfaces import II18n, II18nManager
 from pyams_portal.interfaces import DESIGNER_ROLE
 from pyams_security.interfaces import IDefaultProtectionPolicy
 from pyams_security.property import RolePrincipalsFieldProperty
 from pyams_security.security import ProtectedObject
 from pyams_security.utility import get_principal
-from pyams_sequence.interfaces import ISequentialIdTarget, ISequentialIdInfo
-from pyams_utils.adapter import adapter_config, ContextAdapter
+from pyams_sequence.interfaces import ISequentialIdInfo, ISequentialIdTarget
+from pyams_utils.adapter import ContextAdapter, adapter_config
 from pyams_utils.date import format_datetime
 from pyams_utils.interfaces import VIEW_PERMISSION
 from pyams_utils.property import classproperty, classproperty_support
-from pyams_utils.registry import query_utility, get_utilities_for
-from pyams_utils.request import query_request, check_request
+from pyams_utils.registry import get_utilities_for, query_utility
+from pyams_utils.request import check_request, query_request
 from pyams_utils.timezone import tztime
 from pyams_utils.traversing import get_parent
 from pyams_utils.vocabulary import vocabulary_config
-from pyams_workflow.interfaces import IWorkflowPublicationSupport, IWorkflow, IObjectClonedEvent, IWorkflowVersions
+from pyams_utils.zodb import volatile_property
+from pyams_workflow.interfaces import IObjectClonedEvent, IWorkflow, IWorkflowPublicationSupport, \
+    IWorkflowTransitionEvent, IWorkflowVersions
+
+from pyams_content import _
 
 
 @vocabulary_config(name='PyAMS shared sites')
@@ -144,8 +142,9 @@
 
     @property
     def first_owner(self):
-        versions = IWorkflowVersions(self)
-        return versions.get_version(1).creator
+        versions = IWorkflowVersions(self, None)
+        if versions is not None:
+            return versions.get_version(1).creator
 
     @property
     def creation_label(self):
@@ -294,6 +293,13 @@
     def workflow_name(self):
         return get_parent(self, IBaseSharedTool).shared_content_workflow
 
+    @volatile_property
+    def published_version(self):
+        workflow = IWorkflow(self)
+        versions = IWorkflowVersions(self).get_versions(workflow.published_states, sort=True)
+        if versions:
+            return versions[-1]
+
 
 @adapter_config(context=ISharedContent, provides=IBaseContentInfo)
 class SharedContentInfoAdapter(ContextAdapter):
@@ -313,3 +319,11 @@
     """Shared content workflow adapter"""
     parent = get_parent(context, IBaseSharedTool)
     return query_utility(IWorkflow, name=parent.shared_content_workflow)
+
+
+@subscriber(IWorkflowTransitionEvent)
+def handle_workflow_event(event):
+    """Reste target on workflow transition"""
+    content = get_parent(event.object, ISharedContent)
+    if content is not None:
+        del content.published_version
--- a/src/pyams_content/shared/common/interfaces/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/shared/common/interfaces/__init__.py	Tue Nov 13 14:05:02 2018 +0100
@@ -225,6 +225,8 @@
 class ISharedContent(IWorkflowManagedContent):
     """Workflow managed shared content interface"""
 
+    published_version = Attribute("Link to actually published version")
+
 
 class ISharedContentFactory(Interface):
     """Workflow managed shared content factory interface"""
--- a/src/pyams_content/shared/common/skin/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-#
-# Copyright (c) 2008-2018 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
--- a/src/pyams_content/shared/common/skin/oid.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,56 +0,0 @@
-#
-# Copyright (c) 2008-2018 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
-from pyams_sequence.interfaces import ISequentialIntIds
-from pyams_skin.layer import IPyAMSUserLayer
-from pyams_utils.interfaces.url import DISPLAY_CONTEXT
-from pyams_workflow.interfaces import IWorkflow, IWorkflowVersions
-from zope.traversing.interfaces import ITraversable
-
-# import packages
-from pyams_sequence.reference import get_reference_target
-from pyams_utils.adapter import adapter_config, ContextRequestAdapter
-from pyams_utils.registry import get_utility
-from pyramid.exceptions import NotFound
-from zope.interface import Interface
-
-
-@adapter_config(name='oid', context=(Interface, IPyAMSUserLayer), provides=ITraversable)
-class OidTraverser(ContextRequestAdapter):
-    """++oid++ traverser"""
-
-    def traverse(self, name, furtherpath=None):
-        if not name:
-            raise NotFound()
-        if '::' in name:
-            oid, label = name.split('::', 1)
-        else:
-            oid = name
-        sequence = get_utility(ISequentialIntIds)
-        reference = sequence.get_full_oid(oid)
-        target = get_reference_target(reference)
-        if target is not None:
-            workflow = IWorkflow(target, None)
-            if workflow is not None:
-                versions = IWorkflowVersions(target).get_versions(workflow.published_states, sort=True)
-                if versions:
-                    target = versions[-1]
-        if target is not None:
-            self.request.annotations[DISPLAY_CONTEXT] = self.context
-            return target
-        raise NotFound()
--- a/src/pyams_content/shared/common/skin/opengraph.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,98 +0,0 @@
-#
-# Copyright (c) 2008-2018 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
-from pyams_content.component.illustration import IIllustration, IIllustrationTarget
-from pyams_content.component.theme.interfaces import ITagsInfo
-from pyams_content.shared.common.interfaces import IWfSharedContent
-from pyams_i18n.interfaces import II18n, INegotiator, II18nManager
-from pyams_file.interfaces import IThumbnails
-from pyams_skin.interfaces.configuration import IConfiguration
-from pyams_skin.interfaces.metas import IHTMLContentMetas
-from pyams_skin.layer import IPyAMSUserLayer
-from pyams_workflow.interfaces import IWorkflowPublicationInfo
-from zope.dublincore.interfaces import IZopeDublinCore
-
-# import packages
-from pyams_skin.metas import PropertyMeta
-from pyams_utils.adapter import adapter_config, ContextRequestViewAdapter
-from pyams_utils.registry import get_utility
-from pyams_utils.traversing import get_parent
-from pyams_utils.url import canonical_url, absolute_url
-from zope.interface import Interface
-
-
-@adapter_config(name='opengraph', context=(IWfSharedContent, IPyAMSUserLayer, Interface), provides=IHTMLContentMetas)
-class OpengraphSharedContentMetasAdapter(ContextRequestViewAdapter):
-    """Opengraph shared content metas adapter"""
-
-    order = 15
-
-    def get_metas(self):
-        context = self.context
-        i18n = II18n(context)
-        request = self.request
-        negotiator = get_utility(INegotiator)
-        lang = negotiator.server_language
-        # main properties
-        yield PropertyMeta('og:title', i18n.query_attribute('title', lang=lang, request=request))
-        yield PropertyMeta('og:description', i18n.query_attribute('description', lang=lang, request=request) or '')
-        yield PropertyMeta('og:type', 'article')
-        # workflow informations
-        dc = IZopeDublinCore(context, None)
-        if (dc is not None) and dc.modified:
-            yield PropertyMeta('article:modified_time', dc.modified.isoformat())
-        pub_info = IWorkflowPublicationInfo(context, None)
-        if pub_info is not None:
-            if pub_info.first_publication_date:
-                yield PropertyMeta('article:published_time', pub_info.first_publication_date.isoformat())
-            if pub_info.publication_expiration_date:
-                yield PropertyMeta('article:expiration_time', pub_info.publication_expiration_date.isoformat())
-        # tags
-        tags = ITagsInfo(context, None)
-        if tags is not None:
-            for tag in tags.tags or ():
-                yield PropertyMeta('article:tag', tag.label)
-        # URL and site name
-        yield PropertyMeta('og:url', canonical_url(context, request))
-        configuration = IConfiguration(request.root)
-        yield PropertyMeta('og:site_name', configuration.title)
-        # illustration properties
-        registry = request.registry
-        illustration = None
-        target = context
-        while target is not None:
-            illustration = registry.queryAdapter(target, IIllustration, name='link')
-            if (illustration is None) or (not illustration.has_data()):
-                illustration = registry.queryAdapter(target, IIllustration)
-            if (illustration is not None) and illustration.has_data():
-                break
-            target = get_parent(target, IIllustrationTarget, allow_context=False)
-        if (target is not None) and (illustration is not None):
-            data = II18n(illustration).query_attribute('data', lang=lang, request=request)
-            thumbnail = IThumbnails(data).get_thumbnail('800x600')
-            yield PropertyMeta('og:image:url', absolute_url(thumbnail, self.request))
-            yield PropertyMeta('og:image:type', thumbnail.content_type)
-            image_size = thumbnail.image_size
-            yield PropertyMeta('og:image:width', image_size[0])
-            yield PropertyMeta('og:image:height', image_size[1])
-            yield PropertyMeta('og:image:alt', II18n(illustration).query_attribute('alt_title', lang=lang,
-                                                                                   request=request))
-        # locales properties
-        yield PropertyMeta('of:locale', lang)
-        for lang in II18nManager(context).languages or ():
-            yield PropertyMeta('of:locale:alternate', lang)
--- a/src/pyams_content/shared/common/skin/url.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,37 +0,0 @@
-#
-# Copyright (c) 2008-2018 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
-from pyams_content.shared.common import IWfSharedContent
-from pyams_sequence.interfaces import ISequentialIdInfo
-from pyams_skin.layer import IPyAMSUserLayer
-from pyams_utils.interfaces.url import IRelativeURL
-
-# import packages
-from pyams_utils.adapter import adapter_config, ContextRequestAdapter
-from pyams_utils.url import absolute_url
-
-
-@adapter_config(context=(IWfSharedContent, IPyAMSUserLayer), provides=IRelativeURL)
-class SharedContentRelativeUrlAdapter(ContextRequestAdapter):
-    """Shared content relative URL adapter"""
-
-    def get_url(self, display_context=None, view_name=None, query=None):
-        return absolute_url(display_context, self.request,
-                            '++oid++{0}::{1}.html'.format(
-                                ISequentialIdInfo(self.context).get_base_oid().strip(),
-                                self.context.content_url))
--- a/src/pyams_content/shared/common/zmi/dashboard.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/shared/common/zmi/dashboard.py	Tue Nov 13 14:05:02 2018 +0100
@@ -22,15 +22,14 @@
 from zope.intid.interfaces import IIntIds
 
 from pyams_catalog.query import CatalogResultSet
-from pyams_content import _
 from pyams_content.interfaces import MANAGE_SITE_ROOT_PERMISSION, PUBLISH_CONTENT_PERMISSION
 from pyams_content.profile.interfaces import IAdminProfile
 from pyams_content.shared.common import CONTENT_TYPES
 from pyams_content.shared.common.interfaces import IBaseSharedTool, IWfSharedContent, IManagerRestrictions
 from pyams_content.shared.common.interfaces.zmi import IDashboardTable, ISharedToolDashboardTable, \
     IDashboardSearchHeader
-from pyams_content.skin import pyams_content
-from pyams_content.skin.zmi.interfaces import IDashboardMenu, IMyDashboardMenu, IAllContentsMenu
+from pyams_content.zmi import pyams_content
+from pyams_content.zmi.interfaces import IDashboardMenu, IMyDashboardMenu, IAllContentsMenu
 from pyams_i18n.interfaces import II18n
 from pyams_pagelet.pagelet import pagelet_config
 from pyams_security.interfaces import ISecurityManager
@@ -59,6 +58,8 @@
 from pyams_zmi.layer import IAdminLayer
 from pyams_zmi.view import InnerAdminView
 
+from pyams_content import _
+
 
 #
 # Shared tools common adapters
@@ -233,8 +234,11 @@
         except AttributeError:
             return '--'
         else:
-            manager = get_utility(ISecurityManager)
-            return manager.get_principal(next(iter(owner))).title
+            if owner:
+                manager = get_utility(ISecurityManager)
+                return manager.get_principal(next(iter(owner))).title
+            else:
+                return '--'
 
 
 @adapter_config(name='modified', context=(Interface, IPyAMSLayer, IDashboardTable), provides=IColumn)
@@ -549,7 +553,7 @@
 class SharedToolPreparationsMenu(MenuItem):
     """Shared tool preparations dashboard menu"""
 
-    label = _("My preparations")
+    label = _("My drafts")
     icon_class = None
     url = '#my-preparations.html'
 
@@ -558,8 +562,8 @@
 class SharedToolPreparationsTable(BaseDashboardTable):
     """Shared tool preparations table"""
 
-    _single_title = _("CONTRIBUTOR - {0} prepared content")
-    _plural_title = _("CONTRIBUTOR - {0} prepared contents")
+    _single_title = _("CONTRIBUTOR - {0} content in preparation")
+    _plural_title = _("CONTRIBUTOR - {0} contents in preparation")
 
 
 @adapter_config(context=(IBaseSharedTool, IPyAMSLayer, SharedToolPreparationsTable), provides=IValues)
--- a/src/pyams_content/shared/common/zmi/properties.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/shared/common/zmi/properties.py	Tue Nov 13 14:05:02 2018 +0100
@@ -62,7 +62,7 @@
 
 
 @viewlet_config(name='properties.submenu', context=IWfSharedContent, layer=IAdminLayer,
-                manager=IPropertiesMenu, permission=MANAGE_CONTENT_PERMISSION, weight=10)
+                manager=IPropertiesMenu, permission=VIEW_SYSTEM_PERMISSION, weight=10)
 class SharedContentPropertiesMenu(MenuItem):
     """Shared content properties menu"""
 
@@ -72,7 +72,7 @@
 
 
 @pagelet_config(name='properties.html', context=IWfSharedContent, layer=IPyAMSLayer,
-                permission=MANAGE_CONTENT_PERMISSION)
+                permission=VIEW_SYSTEM_PERMISSION)
 @ajax_config(name='properties.json', context=IWfSharedContent, layer=IPyAMSLayer,
              permission=MANAGE_CONTENT_PERMISSION)
 @implementer(IPropertiesEditForm, IWidgetForm, IInnerPage)
--- a/src/pyams_content/shared/common/zmi/rename.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/shared/common/zmi/rename.py	Tue Nov 13 14:05:02 2018 +0100
@@ -12,30 +12,26 @@
 
 __docformat__ = 'restructuredtext'
 
+from pyramid.events import subscriber
+from z3c.form import field
+from z3c.form.interfaces import IDataExtractedEvent
+from zope.container.interfaces import IOrderedContainer
+from zope.interface import Interface, Invalid
+from zope.location.interfaces import ILocation
 
-# import standard library
-
-# import interfaces
 from pyams_content.interfaces import MANAGE_SITE_PERMISSION
 from pyams_content.shared.common.interfaces import ISharedSite
-from pyams_content.shared.site.interfaces import ISiteFolder
-from pyams_content.skin.zmi.interfaces import ISiteTreeTable
-from pyams_skin.interfaces.viewlet import ITableItemColumnActionsMenu, IContextActions
-from pyams_skin.layer import IPyAMSLayer
-from z3c.form.interfaces import IDataExtractedEvent
-from zope.location.interfaces import ILocation
-
-# import packages
+from pyams_content.shared.site.interfaces import IBaseSiteItem
+from pyams_content.zmi.interfaces import ISiteTreeTable
 from pyams_form.form import ajax_config
 from pyams_pagelet.pagelet import pagelet_config
+from pyams_skin.interfaces.viewlet import IContextActions, ITableItemColumnActionsMenu
+from pyams_skin.layer import IPyAMSLayer
 from pyams_skin.viewlet.toolbar import ToolbarMenuItem
 from pyams_utils.unicode import translate_string
 from pyams_utils.url import absolute_url
 from pyams_viewlet.viewlet import viewlet_config
 from pyams_zmi.form import AdminDialogEditForm
-from pyramid.events import subscriber
-from z3c.form import field
-from zope.interface import Interface, Invalid
 
 from pyams_content import _
 
@@ -50,10 +46,10 @@
 @viewlet_config(name='rename-item.menu', context=ISharedSite, layer=IPyAMSLayer,
                 view=Interface, manager=IContextActions,
                 permission=MANAGE_SITE_PERMISSION, weight=900)
-@viewlet_config(name='rename-item.menu', context=ISiteFolder, layer=IPyAMSLayer,
+@viewlet_config(name='rename-item.menu', context=IBaseSiteItem, layer=IPyAMSLayer,
                 view=ISiteTreeTable, manager=ITableItemColumnActionsMenu,
                 permission=MANAGE_SITE_PERMISSION, weight=900)
-@viewlet_config(name='rename-item.menu', context=ISiteFolder, layer=IPyAMSLayer,
+@viewlet_config(name='rename-item.menu', context=IBaseSiteItem, layer=IPyAMSLayer,
                 view=Interface, manager=IContextActions,
                 permission=MANAGE_SITE_PERMISSION, weight=900)
 class SiteContainerRenameMenu(ToolbarMenuItem):
@@ -68,9 +64,9 @@
 @pagelet_config(name='rename-item.html', context=ISharedSite, layer=IPyAMSLayer,
                 permission=MANAGE_SITE_PERMISSION)
 @ajax_config(name='rename-item.json', context=ISharedSite, layer=IPyAMSLayer)
-@pagelet_config(name='rename-item.html', context=ISiteFolder, layer=IPyAMSLayer,
+@pagelet_config(name='rename-item.html', context=IBaseSiteItem, layer=IPyAMSLayer,
                 permission=MANAGE_SITE_PERMISSION)
-@ajax_config(name='rename-item.json', context=ISiteFolder, layer=IPyAMSLayer)
+@ajax_config(name='rename-item.json', context=IBaseSiteItem, layer=IPyAMSLayer)
 class SiteContainerRenameForm(AdminDialogEditForm):
     """Site container rename form"""
 
@@ -95,8 +91,14 @@
             # revert rename to adjust container properties
             content.__name__ = old_name
             parent = content.__parent__
+            # memoize keys order before renaming object
+            order = list(parent.keys())
             parent[new_name] = content
             del parent[old_name]
+            # restore keys order
+            if IOrderedContainer.providedBy(parent):
+                order[order.index(old_name)] = new_name
+                parent.updateOrder(order)
         return changes
 
     def get_ajax_output(self, changes):
--- a/src/pyams_content/shared/common/zmi/search.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/shared/common/zmi/search.py	Tue Nov 13 14:05:02 2018 +0100
@@ -22,7 +22,7 @@
 from pyams_content.profile.interfaces import IAdminProfile
 from pyams_content.shared.common.interfaces import IBaseSharedTool
 from pyams_content.shared.common.interfaces.zmi import ISharedToolDashboardTable
-from pyams_content.skin.zmi.interfaces import IAllContentsMenu
+from pyams_content.zmi.interfaces import IAllContentsMenu
 from pyams_i18n.interfaces import INegotiator
 from pyams_pagelet.interfaces import PageletCreatedEvent
 from pyams_sequence.interfaces import ISequentialIntIds
--- a/src/pyams_content/shared/common/zmi/summary.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/shared/common/zmi/summary.py	Tue Nov 13 14:05:02 2018 +0100
@@ -12,20 +12,14 @@
 
 __docformat__ = 'restructuredtext'
 
-
-# import standard library
-
 from z3c.form import field
 from z3c.form.interfaces import DISPLAY_MODE, IDataConverter
-from zope.interface import implementer, Interface
+from zope.interface import Interface, implementer
 
-from pyams_content import _
-# import interfaces
-from pyams_content.shared.common.interfaces import IWfSharedContent, IWfSharedContentRoles, IBaseSharedTool
+from pyams_content.shared.common.interfaces import IBaseSharedTool, IWfSharedContent, IWfSharedContentRoles
 from pyams_content.shared.common.interfaces.types import IWfTypedSharedContent
-# import packages
 from pyams_content.shared.common.zmi.header import SharedContentHeaderContentProvider
-from pyams_form.interfaces.form import IWidgetForm, IInnerTabForm, IInnerSubForm
+from pyams_form.interfaces.form import IInnerSubForm, IInnerTabForm, IWidgetForm
 from pyams_pagelet.pagelet import pagelet_config
 from pyams_security.utility import get_principal
 from pyams_sequence.interfaces import ISequentialIdInfo
@@ -38,9 +32,11 @@
 from pyams_utils.traversing import get_parent
 from pyams_utils.url import absolute_url
 from pyams_viewlet.viewlet import contentprovider_config
-from pyams_workflow.interfaces import IWorkflowState, IWorkflow, IWorkflowPublicationInfo, IWorkflowStateHistoryItem, \
+from pyams_workflow.interfaces import IWorkflow, IWorkflowPublicationInfo, IWorkflowState, IWorkflowStateHistoryItem, \
     IWorkflowVersions
-from pyams_zmi.form import AdminDisplayForm, InnerAdminDisplayForm, InnerAdminAddForm
+from pyams_zmi.form import AdminDisplayForm, InnerAdminAddForm, InnerAdminDisplayForm
+
+from pyams_content import _
 
 
 @pagelet_config(name='summary.html', context=IWfSharedContent, layer=IPyAMSLayer, permission=VIEW_SYSTEM_PERMISSION)
@@ -97,13 +93,13 @@
 
     def __new__(cls, context, request, form):
         workflow = IWorkflow(context)
-        state = IWorkflowState(context)
-        if state.state not in workflow.waiting_states:
+        state = IWorkflowState(context, None)
+        if (state is None) or (state.state not in workflow.waiting_states):
             return None
         return InnerAdminDisplayForm.__new__(cls)
 
     fields = field.Fields(IWorkflowState).select('state', 'state_urgency') + \
-        field.Fields(IWorkflowStateHistoryItem).select('comment')
+             field.Fields(IWorkflowStateHistoryItem).select('comment')
 
     def updateWidgets(self, prefix=None):
         super(SharedContentWorkflowWaitingState, self).updateWidgets(prefix)
@@ -135,8 +131,8 @@
     weight = 20
 
     def __new__(cls, context, request, form):
-        info = IWorkflowPublicationInfo(context)
-        if not info.publication_effective_date:
+        info = IWorkflowPublicationInfo(context, None)
+        if (info is None) or not info.publication_effective_date:
             return None
         return InnerAdminDisplayForm.__new__(cls)
 
@@ -153,11 +149,17 @@
     legend = _("Current version")
     weight = 30
 
+    def __new__(cls, context, request, form):
+        state = IWorkflowState(context, None)
+        if state is None:
+            return None
+        return InnerAdminDisplayForm.__new__(cls)
+
     fields = field.Fields(IWorkflowState).select('version_id', 'state') + \
-        field.Fields(IWfSharedContent).select('creation_label') + \
-        field.Fields(IWfSharedContentRoles).select('owner') + \
-        field.Fields(IWfSharedContent).select('last_update_label') + \
-        field.Fields(IWfSharedContent).select('modifiers')
+             field.Fields(IWfSharedContent).select('creation_label') + \
+             field.Fields(IWfSharedContentRoles).select('owner') + \
+             field.Fields(IWfSharedContent).select('last_update_label') + \
+             field.Fields(IWfSharedContent).select('modifiers')
 
     def updateWidgets(self, prefix=None):
         super(SharedContentWorkflowVersionSummary, self).updateWidgets(prefix)
@@ -182,20 +184,31 @@
 
     legend = _("Content history")
 
+    def __new__(cls, context, request, form):
+        info = IWorkflowPublicationInfo(context, None)
+        if info is None:
+            return None
+        return InnerAdminDisplayForm.__new__(cls)
+
     fields = field.Fields(IWorkflowPublicationInfo).select('first_publication_date') + \
-        field.Fields(IWfSharedContent).select('first_owner')
+             field.Fields(IWfSharedContent).select('first_owner')
 
     weight = 40
 
     def updateWidgets(self, prefix=None):
         super(SharedContentWorkflowHistorySummary, self).updateWidgets(prefix)
-        workflow = IWorkflow(self.context)
-        versions = IWorkflowVersions(self.context)
-        value = ''
-        for version in versions.get_versions():
-            state = IWorkflowState(version)
-            pub_date = tztime(state.get_first_state_date(workflow.published_states))
-            if pub_date is not None:
-                value = format_datetime(pub_date)
-                break
-        self.widgets['first_publication_date'].value = value
+        if 'first_publication_date' in self.widgets:
+            versions = IWorkflowVersions(self.context, None)
+            if versions is not None:
+                workflow = IWorkflow(self.context)
+                value = ''
+                for version in versions.get_versions():
+                    state = IWorkflowState(version)
+                    pub_date = tztime(state.get_first_state_date(workflow.published_states))
+                    if pub_date is not None:
+                        value = format_datetime(pub_date)
+                        break
+            else:
+                info = IWorkflowPublicationInfo(self.context, None)
+                value = format_datetime(info.first_publication_date)
+            self.widgets['first_publication_date'].value = value
--- a/src/pyams_content/shared/common/zmi/templates/check-input.pt	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/shared/common/zmi/templates/check-input.pt	Tue Nov 13 14:05:02 2018 +0100
@@ -1,4 +1,4 @@
-<div class="inline-group" i18n:domain="pyams_form">
+<div class="inline-group" i18n:domain="pyams_content">
 	<label class="radio"
 		   tal:repeat="item view/items">
 		<input type="radio"
@@ -31,7 +31,7 @@
 								onselect view/onselect;
 								checked python: checked and 'checked' or None;
 								data-ams-data tales:object_data(view);" />
-		<i></i><span tal:replace="item/label" i18n:translate="">Label</span>
+		<i></i><span tal:replace="python:request.localizer.translate(item['label'])">Label</span>
 	</label>
 	<button class="btn btn-xs col-md-2" i18n:domain="pyams_content"
 			data-ams-url="content-check.html" data-toggle="modal">
--- a/src/pyams_content/shared/common/zmi/templates/header.pt	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/shared/common/zmi/templates/header.pt	Tue Nov 13 14:05:02 2018 +0100
@@ -22,7 +22,7 @@
 		   data-ams-click-handler="PyAMS_content.profile.switchFavorite"
 		   data-ams-hint-gravity="w" title="Add/remove from favorites" i18n:attributes="title"
 		   tal:attributes="class 'fa fa-star{0} txt-color-blue hint opaque align-middle padding-left-10 padding-bottom-5'.format('' if view.favorite_content else '-o');
-						   data-ams-plugin-pyams_content-src tales:resource_path('pyams_content.skin:pyams_content');
+						   data-ams-plugin-pyams_content-src tales:resource_path('pyams_content.zmi:pyams_content');
 						   data-sequence-oid view.hex_oid;"></i><br />
 		<span class="content-version" tal:content="string:V${view.version_id}">Version</span> =
 		<span class="content-state" tal:content="structure view.state">state</span> |
--- a/src/pyams_content/shared/common/zmi/templates/preview-input.pt	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/shared/common/zmi/templates/preview-input.pt	Tue Nov 13 14:05:02 2018 +0100
@@ -1,4 +1,4 @@
-<div class="inline-group" i18n:domain="pyams_form">
+<div class="inline-group" i18n:domain="pyams_content">
 	<label class="radio"
 		   tal:repeat="item view/items">
 		<input type="radio"
@@ -31,7 +31,7 @@
 								onselect view/onselect;
 								checked python: checked and 'checked' or None;
 								data-ams-data tales:object_data(view);" />
-		<i></i><span tal:replace="item/label" i18n:translate="">Label</span>
+		<i></i><span tal:replace="python:request.localizer.translate(item['label'])">Label</span>
 	</label>
 	<button class="btn btn-xs col-md-2" i18n:domain="pyams_content"
 			data-ams-url="content-preview.html" data-toggle="modal">
--- a/src/pyams_content/shared/common/zmi/types.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/shared/common/zmi/types.py	Tue Nov 13 14:05:02 2018 +0100
@@ -32,7 +32,7 @@
 from pyams_content.shared.common.types import DataType, SubType
 from pyams_content.shared.common.zmi import SharedContentAddForm
 from pyams_content.shared.common.zmi.properties import SharedContentPropertiesEditForm
-from pyams_content.skin import pyams_content
+from pyams_content.zmi import pyams_content
 from pyams_form.form import AJAXAddForm, ajax_config
 from pyams_form.interfaces.form import IWidgetForm
 from pyams_form.security import ProtectedFormObjectMixin
--- a/src/pyams_content/shared/common/zmi/workflow.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/shared/common/zmi/workflow.py	Tue Nov 13 14:05:02 2018 +0100
@@ -9,33 +9,32 @@
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE.
 #
-from pyams_content.features.preview.interfaces import IPreviewTarget
 
 __docformat__ = 'restructuredtext'
 
-
-# import standard library
 from datetime import datetime
 
-# import interfaces
-from pyams_content.interfaces import PUBLISH_CONTENT_PERMISSION, CREATE_CONTENT_PERMISSION, MANAGE_CONTENT_PERMISSION
-from pyams_content.shared.common.interfaces import IWfSharedContent, IBaseSharedTool, ISharedContent, \
-    IContributorRestrictions, IManagerRestrictions
+from pyramid.events import subscriber
+from z3c.form import button, field
+from z3c.form.browser.radio import RadioWidget
+from z3c.form.interfaces import IDataExtractedEvent
+from z3c.form.widget import FieldWidget
+from zope.interface import Interface, Invalid
+from zope.schema import Bool
+
+from pyams_content.features.preview.interfaces import IPreviewTarget
+from pyams_content.interfaces import CREATE_CONTENT_PERMISSION, MANAGE_CONTENT_PERMISSION, PUBLISH_CONTENT_PERMISSION
+from pyams_content.shared.common.interfaces import IBaseSharedTool, IContributorRestrictions, IManagerRestrictions, \
+    ISharedContent, IWfSharedContent
+from pyams_content.workflow import DELETED, DRAFT
+from pyams_form.form import AJAXAddForm, ajax_config
 from pyams_form.interfaces import IFormLayer
-from pyams_form.interfaces.form import IWidgetsPrefixViewletsManager, IFormSuffixViewletsManager, IInnerSubForm
-from pyams_security.interfaces import ISecurityManager
-from pyams_skin.layer import IPyAMSLayer
-from pyams_workflow.interfaces import IWorkflowInfo, IWorkflowTransitionInfo, IWorkflowPublicationInfo, \
-    IWorkflowCommentInfo, IWorkflowVersions, IWorkflowState, IWorkflow, IWorkflowStateLabel, \
-    IWorkflowRequestUrgencyInfo, SYSTEM, MANUAL
-from z3c.form.interfaces import IDataExtractedEvent
-
-# import packages
-from pyams_content.workflow import DRAFT, DELETED
-from pyams_form.form import AJAXAddForm, ajax_config
+from pyams_form.interfaces.form import IFormSuffixViewletsManager, IInnerSubForm, IWidgetsPrefixViewletsManager
 from pyams_form.schema import CloseButton
 from pyams_form.widget import widgettemplate_config
 from pyams_pagelet.pagelet import pagelet_config
+from pyams_security.interfaces import ISecurityManager
+from pyams_skin.layer import IPyAMSLayer
 from pyams_template.template import template_config
 from pyams_utils.adapter import adapter_config
 from pyams_utils.date import format_datetime
@@ -44,15 +43,12 @@
 from pyams_utils.timezone import tztime
 from pyams_utils.traversing import get_parent
 from pyams_utils.url import absolute_url
-from pyams_viewlet.viewlet import viewlet_config, Viewlet
+from pyams_viewlet.viewlet import Viewlet, viewlet_config
+from pyams_workflow.interfaces import IWorkflow, IWorkflowCommentInfo, IWorkflowInfo, IWorkflowPublicationInfo, \
+    IWorkflowRequestUrgencyInfo, IWorkflowState, IWorkflowStateLabel, IWorkflowTransitionInfo, IWorkflowVersions, \
+    MANUAL, SYSTEM
 from pyams_workflow.zmi.transition import WorkflowContentTransitionForm
 from pyams_zmi.form import InnerAdminAddForm
-from pyramid.events import subscriber
-from z3c.form import field, button
-from z3c.form.browser.radio import RadioWidget
-from z3c.form.widget import FieldWidget
-from zope.interface import Interface, Invalid
-from zope.schema import Bool
 
 from pyams_content import _
 
@@ -139,11 +135,11 @@
         pub_fields = ('publication_effective_date', 'push_end_date', 'publication_expiration_date')
         state = IWorkflowState(self.context)
         if state.version_id > 1:
-            pub_fields += ('displayed_publication_date', )
+            pub_fields += ('displayed_publication_date',)
         return field.Fields(IWorkflowTransitionInfo) + \
-            field.Fields(IWorkflowPublicationInfo).select(*pub_fields) + \
-            field.Fields(IWorkflowRequestUrgencyInfo) + \
-            field.Fields(IWorkflowCommentInfo)
+               field.Fields(IWorkflowPublicationInfo).select(*pub_fields) + \
+               field.Fields(IWorkflowRequestUrgencyInfo) + \
+               field.Fields(IWorkflowCommentInfo)
 
     buttons = button.Buttons(IPublicationRequestButtons)
 
@@ -178,7 +174,7 @@
     """Handle publication request form data extraction"""
     data = event.data
     if not data.get('publication_effective_date'):
-        event.form.widgets.errors += (Invalid(_("Publication start date is required")), )
+        event.form.widgets.errors += (Invalid(_("Publication start date is required")),)
 
 
 @viewlet_config(name='wf-propose-message', context=IWfSharedContent, layer=IPyAMSLayer, view=PublicationRequestForm,
@@ -271,7 +267,7 @@
     """Handle publication request refuse form data extraction"""
     comment = (event.data.get('comment') or '').strip()
     if not comment:
-        event.form.widgets.errors += (Invalid(_("A comment is required")), )
+        event.form.widgets.errors += (Invalid(_("A comment is required")),)
 
 
 @viewlet_config(name='wf-refuse-message', context=IWfSharedContent, layer=IPyAMSLayer,
@@ -320,10 +316,10 @@
         pub_fields = ('publication_effective_date', 'push_end_date', 'publication_expiration_date')
         state = IWorkflowState(self.context)
         if state.version_id > 1:
-            pub_fields += ('displayed_publication_date', )
+            pub_fields += ('displayed_publication_date',)
         return field.Fields(IWorkflowTransitionInfo) + \
-            field.Fields(IWorkflowPublicationInfo).select(*pub_fields) + \
-            field.Fields(IWorkflowCommentInfo)
+               field.Fields(IWorkflowPublicationInfo).select(*pub_fields) + \
+               field.Fields(IWorkflowCommentInfo)
 
     buttons = button.Buttons(IPublicationButtons)
 
@@ -331,10 +327,12 @@
         super(PublicationForm, self).updateWidgets(prefix)
         pub_info = IWorkflowPublicationInfo(self.context)
         if 'publication_effective_date' in self.widgets:
-            self.widgets['publication_effective_date'].required = True
+            widget = self.widgets['publication_effective_date']
+            widget.required = True
             if pub_info.publication_effective_date:
-                self.widgets['publication_effective_date'].value = \
-                    tztime(pub_info.publication_effective_date).strftime('%d/%m/%y %H:%M')
+                widget.value = tztime(pub_info.publication_effective_date).strftime('%d/%m/%y %H:%M')
+            else:
+                widget.value = tztime(datetime.utcnow()).strftime('%d/%m/%y %H:%M')
         if ('push_end_date' in self.widgets) and pub_info.push_end_date:
             self.widgets['push_end_date'].value = \
                 tztime(pub_info.push_end_date).strftime('%d/%m/%y %H:%M')
@@ -360,7 +358,7 @@
     """Handle publication form data extraction"""
     data = event.data
     if not data.get('publication_effective_date'):
-        event.form.widgets.errors += (Invalid(_("Publication start date is required")), )
+        event.form.widgets.errors += (Invalid(_("Publication start date is required")),)
 
 
 @viewlet_config(name='wf-publish-message', context=IWfSharedContent, layer=IPyAMSLayer,
@@ -402,8 +400,8 @@
     """Shared content publication request refuse form"""
 
     fields = field.Fields(IWorkflowTransitionInfo) + \
-        field.Fields(IWorkflowRequestUrgencyInfo) + \
-        field.Fields(IWorkflowCommentInfo)
+             field.Fields(IWorkflowRequestUrgencyInfo) + \
+             field.Fields(IWorkflowCommentInfo)
     buttons = button.Buttons(IPublicationRetireRequestButtons)
 
     def updateWidgets(self, prefix=None):
@@ -417,7 +415,7 @@
     """Handle publication retire request form data extraction"""
     comment = (event.data.get('comment') or '').strip()
     if not comment:
-        event.form.widgets.errors += (Invalid(_("A comment is required")), )
+        event.form.widgets.errors += (Invalid(_("A comment is required")),)
 
 
 @viewlet_config(name='wf-retiring-message', context=IWfSharedContent, layer=IPyAMSLayer,
@@ -539,8 +537,8 @@
     """Shared content publication request archive form"""
 
     fields = field.Fields(IWorkflowTransitionInfo) + \
-        field.Fields(IWorkflowRequestUrgencyInfo) + \
-        field.Fields(IWorkflowCommentInfo)
+             field.Fields(IWorkflowRequestUrgencyInfo) + \
+             field.Fields(IWorkflowCommentInfo)
     buttons = button.Buttons(IPublicationArchiveRequestButtons)
 
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/shared/form/interfaces.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,193 @@
+#
+# 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
+
+from zope.annotation.interfaces import IAttributeAnnotatable
+from zope.container.constraints import containers, contains
+from zope.container.interfaces import IContainer, IContained
+from zope.interface import Interface, Attribute
+from zope.schema import TextLine, Choice, Bool
+
+from pyams_content import _
+# import interfaces
+from pyams_content.shared.common.interfaces import ISharedContent, IWfSharedContentPortalContext, \
+    ISharedToolPortalContext
+# import packages
+from pyams_i18n.schema import I18nTextLineField, I18nTextField
+from pyams_utils.schema import MailAddressField, TextLineListField
+
+FORM_CONTENT_TYPE = 'form'
+FORM_CONTENT_NAME = _('Form')
+
+FORM_FIELD_CONTAINER_KEY = 'pyams_content.shared.form_fields'
+
+
+class IFormsManager(ISharedToolPortalContext):
+    """Forms manager interface"""
+
+
+class IFormsManagerFactory(Interface):
+    """Forms manager factory interface"""
+
+
+class IFormField(IContained):
+    """Form field interface"""
+
+    containers('.IFormFieldContainer')
+
+    name = TextLine(title=_("Field name"),
+                    description=_("Field internal name; must be unique for a given form"),
+                    required=True)
+
+    field_type = Choice(title=_("Field type"),
+                        description=_("Selected field type"),
+                        vocabulary='PyAMS form field types',
+                        required=True)
+
+    label = I18nTextLineField(title=_("Label"),
+                              description=_("User field label"),
+                              required=True)
+
+    description = I18nTextField(title=_("Description"),
+                                description=_("Field description can be displayed as hint"),
+                                required=False)
+
+    placeholder = TextLine(title=_("Placeholder"),
+                           description=_("Some field types like textline can display a placeholder"),
+                           required=False)
+
+    values = TextLineListField(title=_("Optional values"),
+                               description=_("List of available values (for 'choice' and 'list' field types)"),
+                               required=False)
+
+    default = I18nTextLineField(title=_("Default value"),
+                                description=_("Give default value if field type can use it"),
+                                required=False)
+
+    required = Bool(title=_("Required?"),
+                    description=_("Select 'yes' to set field as mandatory"),
+                    required=True,
+                    default=False)
+
+    visible = Bool(title=_("Visible?"),
+                   description=_("Select 'no' to hide given field..."),
+                   required=True,
+                   default=True)
+
+
+class IFormFieldFactory(Interface):
+    """Form field factory interface"""
+
+    label = Attribute("Factory label")
+    weight = Attribute("Factory weight")
+
+    def get_schema_field(self, field):
+        """Get schema field matching given form field"""
+
+
+class IFormFieldContainer(IContainer):
+    """Form fields container interface"""
+
+    contains(IFormField)
+
+    def append(self, field):
+        """Append given field to container"""
+
+    def get_fields(self):
+        """Get schema fields matching current fields"""
+
+
+class IFormFieldContainerTarget(Interface):
+    """Form fields container target marker interface"""
+
+
+class IWfForm(IWfSharedContentPortalContext):
+    """Form interface"""
+
+    user_title = I18nTextLineField(title=_("Form title"),
+                                   required=True)
+
+    handler = Choice(title=_("Form handler"),
+                     description=_("Select how form data is transmitted"),
+                     vocabulary='PyAMS form handlers')
+
+    auth_only = Bool(title=_("Authenticated only?"),
+                     description=_("If 'yes', only authenticated users will be able to see and submit form"),
+                     required=True,
+                     default=False)
+
+    use_captcha = Bool(title=_("Use captcha?"),
+                       description=_("If 'yes', a captcha will be added automatically to the form"),
+                       required=True,
+                       default=True)
+
+    submit_label = I18nTextLineField(title=_("Submit label"),
+                                     description=_("Label of form submit button"),
+                                     required=True)
+
+    def query_handler(self, handler=None):
+        """Get form handler utility"""
+
+
+class IWfFormFactory(Interface):
+    """Form factory interface"""
+
+
+class IForm(ISharedContent):
+    """Workflow managed form interface"""
+
+
+#
+# Form handler
+#
+
+class IFormHandler(Interface):
+    """Form handler interface"""
+
+    label = Attribute("Handler label")
+    target_interface = Attribute("Handler target marker interface")
+    handler_info = Attribute("Handler info interface")
+
+    def handle(self, data):
+        """Handle entered data"""
+
+
+class IFormHandlerInfo(Interface):
+    """Base handler info interface"""
+
+
+class IMailtoHandlerInfo(IFormHandlerInfo):
+    """Mailto form handler info interface"""
+
+    source_address = MailAddressField(title=_("Source address"),
+                                      description=_("Mail address from which form data is sent"),
+                                      required=True)
+
+    source_name = TextLine(title=_("Source name"),
+                           description=_("Name of mail data sender"),
+                           required=False)
+
+    target_address = MailAddressField(title=_("Recipient address"),
+                                      description=_("Mail address to which form data is sent"),
+                                      required=True)
+
+    target_name = TextLine(title=_("Recipient name"),
+                           description=_("Name of data recipient"),
+                           required=False)
+
+
+class IMailtoHandlerTarget(IAttributeAnnotatable):
+    """Mailto handler target marker interface"""
--- a/src/pyams_content/shared/form/interfaces/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,193 +0,0 @@
-#
-# 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
-
-from zope.annotation.interfaces import IAttributeAnnotatable
-from zope.container.constraints import containers, contains
-from zope.container.interfaces import IContainer, IContained
-from zope.interface import Interface, Attribute
-from zope.schema import TextLine, Choice, Bool
-
-from pyams_content import _
-# import interfaces
-from pyams_content.shared.common.interfaces import ISharedContent, IWfSharedContentPortalContext, \
-    ISharedToolPortalContext
-# import packages
-from pyams_i18n.schema import I18nTextLineField, I18nTextField
-from pyams_utils.schema import MailAddressField, TextLineListField
-
-FORM_CONTENT_TYPE = 'form'
-FORM_CONTENT_NAME = _('Form')
-
-FORM_FIELD_CONTAINER_KEY = 'pyams_content.shared.form_fields'
-
-
-class IFormsManager(ISharedToolPortalContext):
-    """Forms manager interface"""
-
-
-class IFormsManagerFactory(Interface):
-    """Forms manager factory interface"""
-
-
-class IFormField(IContained):
-    """Form field interface"""
-
-    containers('.IFormFieldContainer')
-
-    name = TextLine(title=_("Field name"),
-                    description=_("Field internal name; must be unique for a given form"),
-                    required=True)
-
-    field_type = Choice(title=_("Field type"),
-                        description=_("Selected field type"),
-                        vocabulary='PyAMS form field types',
-                        required=True)
-
-    label = I18nTextLineField(title=_("Label"),
-                              description=_("User field label"),
-                              required=True)
-
-    description = I18nTextField(title=_("Description"),
-                                description=_("Field description can be displayed as hint"),
-                                required=False)
-
-    placeholder = TextLine(title=_("Placeholder"),
-                           description=_("Some field types like textline can display a placeholder"),
-                           required=False)
-
-    values = TextLineListField(title=_("Optional values"),
-                               description=_("List of available values (for 'choice' and 'list' field types)"),
-                               required=False)
-
-    default = I18nTextLineField(title=_("Default value"),
-                                description=_("Give default value if field type can use it"),
-                                required=False)
-
-    required = Bool(title=_("Required?"),
-                    description=_("Select 'yes' to set field as mandatory"),
-                    required=True,
-                    default=False)
-
-    visible = Bool(title=_("Visible?"),
-                   description=_("Select 'no' to hide given field..."),
-                   required=True,
-                   default=True)
-
-
-class IFormFieldFactory(Interface):
-    """Form field factory interface"""
-
-    label = Attribute("Factory label")
-    weight = Attribute("Factory weight")
-
-    def get_schema_field(self, field):
-        """Get schema field matching given form field"""
-
-
-class IFormFieldContainer(IContainer):
-    """Form fields container interface"""
-
-    contains(IFormField)
-
-    def append(self, field):
-        """Append given field to container"""
-
-    def get_fields(self):
-        """Get schema fields matching current fields"""
-
-
-class IFormFieldContainerTarget(Interface):
-    """Form fields container target marker interface"""
-
-
-class IWfForm(IWfSharedContentPortalContext):
-    """Form interface"""
-
-    user_title = I18nTextLineField(title=_("Form title"),
-                                   required=True)
-
-    handler = Choice(title=_("Form handler"),
-                     description=_("Select how form data is transmitted"),
-                     vocabulary='PyAMS form handlers')
-
-    auth_only = Bool(title=_("Authenticated only?"),
-                     description=_("If 'yes', only authenticated users will be able to see and submit form"),
-                     required=True,
-                     default=False)
-
-    use_captcha = Bool(title=_("Use captcha?"),
-                       description=_("If 'yes', a captcha will be added automatically to the form"),
-                       required=True,
-                       default=True)
-
-    submit_label = I18nTextLineField(title=_("Submit label"),
-                                     description=_("Label of form submit button"),
-                                     required=True)
-
-    def query_handler(self, handler=None):
-        """Get form handler utility"""
-
-
-class IWfFormFactory(Interface):
-    """Form factory interface"""
-
-
-class IForm(ISharedContent):
-    """Workflow managed form interface"""
-
-
-#
-# Form handler
-#
-
-class IFormHandler(Interface):
-    """Form handler interface"""
-
-    label = Attribute("Handler label")
-    target_interface = Attribute("Handler target marker interface")
-    handler_info = Attribute("Handler info interface")
-
-    def handle(self, data):
-        """Handle entered data"""
-
-
-class IFormHandlerInfo(Interface):
-    """Base handler info interface"""
-
-
-class IMailtoHandlerInfo(IFormHandlerInfo):
-    """Mailto form handler info interface"""
-
-    source_address = MailAddressField(title=_("Source address"),
-                                      description=_("Mail address from which form data is sent"),
-                                      required=True)
-
-    source_name = TextLine(title=_("Source name"),
-                           description=_("Name of mail data sender"),
-                           required=False)
-
-    target_address = MailAddressField(title=_("Recipient address"),
-                                      description=_("Mail address to which form data is sent"),
-                                      required=True)
-
-    target_name = TextLine(title=_("Recipient name"),
-                           description=_("Name of data recipient"),
-                           required=False)
-
-
-class IMailtoHandlerTarget(IAttributeAnnotatable):
-    """Mailto handler target marker interface"""
--- a/src/pyams_content/shared/form/zmi/field.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/shared/form/zmi/field.py	Tue Nov 13 14:05:02 2018 +0100
@@ -21,7 +21,7 @@
 from pyams_content.shared.common.interfaces import IWfSharedContent
 from pyams_content.shared.form.interfaces import IFormFieldContainerTarget, IFormFieldContainer, IFormField, \
     IFormFieldFactory
-from pyams_content.skin import pyams_content
+from pyams_content.zmi import pyams_content
 from pyams_form.interfaces.form import IFormSecurityContext
 from pyams_i18n.interfaces import II18n
 from pyams_skin.interfaces.viewlet import IWidgetTitleViewletManager
--- a/src/pyams_content/shared/form/zmi/render.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,94 +0,0 @@
-#
-# 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
-from pyams_content.features.renderer.interfaces import ISharedContentRenderer
-from pyams_content.shared.form.interfaces import IFormFieldContainerTarget, IFormFieldContainer
-from pyams_form.interfaces.form import IFormHelp
-from pyams_i18n.interfaces import II18n
-from pyams_skin.layer import IPyAMSLayer
-
-# import packages
-from pyams_content.features.renderer.skin import BaseContentRenderer
-from pyams_form.form import InnerAddForm
-from pyams_form.help import FormHelp
-from pyams_utils.adapter import adapter_config
-from z3c.form import field, button
-from zope.interface import Interface
-
-
-class FormFieldContainerDisplayForm(InnerAddForm):
-    """Form fields container display form"""
-
-    @property
-    def legend(self):
-        return II18n(self.context).query_attribute('user_title', request=self.request)
-
-    @property
-    def fields(self):
-        fields = field.Fields(*IFormFieldContainer(self.context).get_fields())
-        if self.context.use_captcha:
-            # TODO: add captcha
-            # fields += field.Fields(Captcha(title='', description='', required=True))
-            pass
-        return fields
-
-    buttons = button.Buttons(Interface)
-
-    def updateWidgets(self, prefix=None):
-        super(FormFieldContainerDisplayForm, self).updateWidgets(prefix)
-        for widget in self.widgets.values():
-            field = IFormFieldContainer(self.context).get(widget.field.__name__)
-            if field is not None:
-                widget.placeholder = field.placeholder
-
-
-@adapter_config(context=(IFormFieldContainerTarget, IPyAMSLayer, FormFieldContainerDisplayForm),
-                provides=IFormHelp)
-class FormFieldContainerDisplayFormHelp(FormHelp):
-    """Form field container display form help adapter"""
-
-    def __new__(cls, context, request, view):
-        if not context.header:
-            return None
-        return FormHelp.__new__(cls)
-
-    @property
-    def message(self):
-        return II18n(self.context).query_attribute('header', request=self.request)
-
-    message_format = 'text'
-
-
-@adapter_config(name='form-render', context=(IFormFieldContainerTarget, IPyAMSLayer),
-                provides=ISharedContentRenderer)
-class FormFieldContainerRenderer(BaseContentRenderer):
-    """Form field container renderer"""
-
-    weight = 20
-    display_form = None
-
-    def __init__(self, context, request):
-        super(FormFieldContainerRenderer, self).__init__(context, request)
-        self.display_form = FormFieldContainerDisplayForm(context, self.request)
-
-    def update(self):
-        super(FormFieldContainerRenderer, self).update()
-        self.display_form.update()
-
-    def render(self):
-        return self.display_form.render()
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/shared/imagemap/interfaces.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,103 @@
+#
+# 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
+from pyams_content.component.paragraph.interfaces import IBaseParagraph
+from pyams_content.shared.common.interfaces import ISharedTool, IWfSharedContent, ISharedContent
+from pyams_sequence.interfaces import IInternalReference
+from zope.annotation.interfaces import IAttributeAnnotatable
+
+# import packages
+from pyams_content.shared.imagemap.schema import MapArea
+from pyams_i18n.schema import I18nTextLineField, I18nImageField
+from pyams_sequence.schema import InternalReferenceField
+from pyams_utils.schema import PersistentDict
+from zope.interface import Interface
+from zope.schema import Object, Choice
+
+from pyams_content import _
+
+
+IMAGEMAP_CONTENT_TYPE = 'imagemap'
+IMAGEMAP_CONTENT_NAME = _("Image map")
+
+
+class IImageMapManager(ISharedTool):
+    """Image maps manager interface"""
+
+
+class IImageMapManagerFactory(Interface):
+    """Image maps manager factory interface"""
+
+
+class IImageMapArea(IAttributeAnnotatable):
+    """Image map area interface"""
+
+    link = Choice(title=_("Link target"),
+                  description=_("Internal or external link associated with this map area"),
+                  vocabulary="PyAMS content associations",
+                  required=True)
+
+    title = I18nTextLineField(title=_("Alternate title"),
+                              description=_("Alternate label associated with this area"),
+                              required=False)
+
+    area = MapArea(title=_("Map area coordinates"),
+                   description=_("List of coordinates of image area"),
+                   required=True)
+
+
+class IWfImageMap(IWfSharedContent):
+    """Image map interface"""
+
+    image = I18nImageField(title=_("Image"),
+                           description=_("Image supporting map areas"),
+                           required=True)
+
+    areas = PersistentDict(title=_("Image map areas"),
+                           description=_("List of defined map areas"),
+                           value_type=Object(schema=IImageMapArea),
+                           required=False)
+
+    def get_association(self, area):
+        """Get association for given area"""
+
+
+class IWfImageMapFactory(Interface):
+    """Image map factory interface"""
+
+
+class IImageMap(ISharedContent):
+    """Workflow managed image map interface"""
+
+
+IMAGEMAP_PARAGRAPH_TYPE = 'ImageMap'
+IMAGEMAP_PARAGRAPH_NAME = _("Image map")
+IMAGEMAP_PARAGRAPH_RENDERERS = 'PyAMS.paragraph.imagemap.renderers'
+
+
+class IImageMapParagraph(IBaseParagraph, IInternalReference):
+    """Image map paragraph"""
+
+    reference = InternalReferenceField(title=_("Internal reference"),
+                                       description=_("Reference to image map object"),
+                                       content_type=IMAGEMAP_CONTENT_TYPE)
+
+    renderer = Choice(title=_("Image map template"),
+                      description=_("Presentation template used for this paragraph"),
+                      vocabulary=IMAGEMAP_PARAGRAPH_RENDERERS,
+                      default='default')
--- a/src/pyams_content/shared/imagemap/interfaces/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,103 +0,0 @@
-#
-# 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
-from pyams_content.component.paragraph.interfaces import IBaseParagraph
-from pyams_content.shared.common.interfaces import ISharedTool, IWfSharedContent, ISharedContent
-from pyams_sequence.interfaces import IInternalReference
-from zope.annotation.interfaces import IAttributeAnnotatable
-
-# import packages
-from pyams_content.shared.imagemap.schema import MapArea
-from pyams_i18n.schema import I18nTextLineField, I18nImageField
-from pyams_sequence.schema import InternalReferenceField
-from pyams_utils.schema import PersistentDict
-from zope.interface import Interface
-from zope.schema import Object, Choice
-
-from pyams_content import _
-
-
-IMAGEMAP_CONTENT_TYPE = 'imagemap'
-IMAGEMAP_CONTENT_NAME = _("Image map")
-
-
-class IImageMapManager(ISharedTool):
-    """Image maps manager interface"""
-
-
-class IImageMapManagerFactory(Interface):
-    """Image maps manager factory interface"""
-
-
-class IImageMapArea(IAttributeAnnotatable):
-    """Image map area interface"""
-
-    link = Choice(title=_("Link target"),
-                  description=_("Internal or external link associated with this map area"),
-                  vocabulary="PyAMS content associations",
-                  required=True)
-
-    title = I18nTextLineField(title=_("Alternate title"),
-                              description=_("Alternate label associated with this area"),
-                              required=False)
-
-    area = MapArea(title=_("Map area coordinates"),
-                   description=_("List of coordinates of image area"),
-                   required=True)
-
-
-class IWfImageMap(IWfSharedContent):
-    """Image map interface"""
-
-    image = I18nImageField(title=_("Image"),
-                           description=_("Image supporting map areas"),
-                           required=True)
-
-    areas = PersistentDict(title=_("Image map areas"),
-                           description=_("List of defined map areas"),
-                           value_type=Object(schema=IImageMapArea),
-                           required=False)
-
-    def get_association(self, area):
-        """Get association for given area"""
-
-
-class IWfImageMapFactory(Interface):
-    """Image map factory interface"""
-
-
-class IImageMap(ISharedContent):
-    """Workflow managed image map interface"""
-
-
-IMAGEMAP_PARAGRAPH_TYPE = 'ImageMap'
-IMAGEMAP_PARAGRAPH_NAME = _("Image map")
-IMAGEMAP_PARAGRAPH_RENDERERS = 'PyAMS.paragraph.imagemap.renderers'
-
-
-class IImageMapParagraph(IBaseParagraph, IInternalReference):
-    """Image map paragraph"""
-
-    reference = InternalReferenceField(title=_("Internal reference"),
-                                       description=_("Reference to image map object"),
-                                       content_type=IMAGEMAP_CONTENT_TYPE)
-
-    renderer = Choice(title=_("Image map template"),
-                      description=_("Presentation template used for this paragraph"),
-                      vocabulary=IMAGEMAP_PARAGRAPH_RENDERERS,
-                      default='default')
--- a/src/pyams_content/shared/imagemap/zmi/templates/widget-input.pt	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/shared/imagemap/zmi/templates/widget-input.pt	Tue Nov 13 14:05:02 2018 +0100
@@ -1,5 +1,5 @@
 <label data-ams-plugins="pyams_content"
-	   tal:attributes="data-ams-plugin-pyams_content-src tales:resource_path('pyams_content.skin:pyams_content')">
+	   tal:attributes="data-ams-plugin-pyams_content-src tales:resource_path('pyams_content.zmi:pyams_content')">
 	<input type="hidden"
 		   tal:attributes="id view/id;
 						   name view/name;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/shared/logo/interfaces.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,91 @@
+#
+# 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
+
+from zope.interface import Interface
+from zope.schema import URI, Choice, TextLine
+
+from pyams_content import _
+# import interfaces
+from pyams_content.component.paragraph import IBaseParagraph
+from pyams_content.shared.common.interfaces import ISharedTool, IWfSharedContent, ISharedContent
+# import packages
+from pyams_file.schema import ImageField
+from pyams_i18n.schema import I18nTextLineField
+from pyams_sequence.interfaces import IInternalReferencesList
+from pyams_sequence.schema import InternalReferencesListField
+
+LOGO_CONTENT_TYPE = 'logo'
+LOGO_CONTENT_NAME = _("Logo")
+
+
+class ILogosManager(ISharedTool):
+    """Logos manager interface"""
+
+
+class ILogosManagerFactory(Interface):
+    """Logos manager factory interface"""
+
+
+class IWfLogo(IWfSharedContent):
+    """Logo interface"""
+
+    title = I18nTextLineField(title=_("Title"),
+                              description=_("Full name of logo organization"),
+                              required=True)
+
+    acronym = TextLine(title=_("Acronym"),
+                       description=_("Matching logo acronym, without spaces or separators"),
+                       required=False)
+
+    url = URI(title=_("Target URL"),
+              description=_("URL used to access external resource"),
+              required=False)
+
+    image = ImageField(title=_("Image (colored)"),
+                       description=_("Image data"),
+                       required=True)
+
+    monochrome_image = ImageField(title=_("Image (monochrome)"),
+                                  description=_("An alternate image which can be used by some "
+                                                "presentation templates"),
+                                  required=False)
+
+
+class IWfLogoFactory(Interface):
+    """Logo factory interface"""
+
+
+class ILogo(ISharedContent):
+    """Workflow managed logo interface"""
+
+
+LOGOS_PARAGRAPH_TYPE = 'Logos'
+LOGOS_PARAGRAPH_NAME = _("Logos")
+LOGOS_PARAGRAPH_RENDERERS = 'PyAMS.shared.logos.renderers'
+
+
+class ILogosParagraph(IBaseParagraph, IInternalReferencesList):
+    """Logos paragraph"""
+
+    references = InternalReferencesListField(title=_("Logos references"),
+                                             description=_("List of internal logos references"),
+                                             content_type=LOGO_CONTENT_TYPE)
+
+    renderer = Choice(title=_("Logos template"),
+                      description=_("Presentation template used for this paragraph"),
+                      vocabulary=LOGOS_PARAGRAPH_RENDERERS,
+                      default='default')
--- a/src/pyams_content/shared/logo/interfaces/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,91 +0,0 @@
-#
-# 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
-
-from zope.interface import Interface
-from zope.schema import URI, Choice, TextLine
-
-from pyams_content import _
-# import interfaces
-from pyams_content.component.paragraph import IBaseParagraph
-from pyams_content.shared.common.interfaces import ISharedTool, IWfSharedContent, ISharedContent
-# import packages
-from pyams_file.schema import ImageField
-from pyams_i18n.schema import I18nTextLineField
-from pyams_sequence.interfaces import IInternalReferencesList
-from pyams_sequence.schema import InternalReferencesListField
-
-LOGO_CONTENT_TYPE = 'logo'
-LOGO_CONTENT_NAME = _("Logo")
-
-
-class ILogosManager(ISharedTool):
-    """Logos manager interface"""
-
-
-class ILogosManagerFactory(Interface):
-    """Logos manager factory interface"""
-
-
-class IWfLogo(IWfSharedContent):
-    """Logo interface"""
-
-    title = I18nTextLineField(title=_("Title"),
-                              description=_("Full name of logo organization"),
-                              required=True)
-
-    acronym = TextLine(title=_("Acronym"),
-                       description=_("Matching logo acronym, without spaces or separators"),
-                       required=False)
-
-    url = URI(title=_("Target URL"),
-              description=_("URL used to access external resource"),
-              required=False)
-
-    image = ImageField(title=_("Image (colored)"),
-                       description=_("Image data"),
-                       required=True)
-
-    monochrome_image = ImageField(title=_("Image (monochrome)"),
-                                  description=_("An alternate image which can be used by some "
-                                                "presentation templates"),
-                                  required=False)
-
-
-class IWfLogoFactory(Interface):
-    """Logo factory interface"""
-
-
-class ILogo(ISharedContent):
-    """Workflow managed logo interface"""
-
-
-LOGOS_PARAGRAPH_TYPE = 'Logos'
-LOGOS_PARAGRAPH_NAME = _("Logos")
-LOGOS_PARAGRAPH_RENDERERS = 'PyAMS.shared.logos.renderers'
-
-
-class ILogosParagraph(IBaseParagraph, IInternalReferencesList):
-    """Logos paragraph"""
-
-    references = InternalReferencesListField(title=_("Logos references"),
-                                             description=_("List of internal logos references"),
-                                             content_type=LOGO_CONTENT_TYPE)
-
-    renderer = Choice(title=_("Logos template"),
-                      description=_("Presentation template used for this paragraph"),
-                      vocabulary=LOGOS_PARAGRAPH_RENDERERS,
-                      default='default')
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/shared/news/interfaces.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,49 @@
+#
+# 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
+from pyams_content.shared.common.interfaces import ISharedContent, \
+    IWfSharedContentPortalContext, ISharedToolPortalContext
+
+# import packages
+from zope.interface import Interface
+
+from pyams_content import _
+
+
+NEWS_CONTENT_TYPE = 'news'
+NEWS_CONTENT_NAME = _("News topic")
+
+
+class INewsManager(ISharedToolPortalContext):
+    """News manager interface"""
+
+
+class INewsManagerFactory(Interface):
+    """News manager factory interface"""
+
+
+class IWfNewsEvent(IWfSharedContentPortalContext):
+    """News event interface"""
+
+
+class IWfNewsEventFactory(Interface):
+    """News event parent interface"""
+
+
+class INewsEvent(ISharedContent):
+    """Workflow managed news event interface"""
--- a/src/pyams_content/shared/news/interfaces/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +0,0 @@
-#
-# 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
-from pyams_content.shared.common.interfaces import ISharedContent, \
-    IWfSharedContentPortalContext, ISharedToolPortalContext
-
-# import packages
-from zope.interface import Interface
-
-from pyams_content import _
-
-
-NEWS_CONTENT_TYPE = 'news'
-NEWS_CONTENT_NAME = _("News topic")
-
-
-class INewsManager(ISharedToolPortalContext):
-    """News manager interface"""
-
-
-class INewsManagerFactory(Interface):
-    """News manager factory interface"""
-
-
-class IWfNewsEvent(IWfSharedContentPortalContext):
-    """News event interface"""
-
-
-class IWfNewsEventFactory(Interface):
-    """News event parent interface"""
-
-
-class INewsEvent(ISharedContent):
-    """Workflow managed news event interface"""
--- a/src/pyams_content/shared/site/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/shared/site/__init__.py	Tue Nov 13 14:05:02 2018 +0100
@@ -20,8 +20,8 @@
 from pyams_content.features.preview.interfaces import IPreviewTarget
 from pyams_content.features.review.interfaces import IReviewTarget
 from pyams_content.shared.common import IWfSharedContentFactory, SharedContent, WfSharedContent, register_content_type
-from pyams_content.shared.site.interfaces import ISiteTopic, IWfSiteTopic, IWfSiteTopicFactory, SITE_TOPIC_CONTENT_NAME, \
-    SITE_TOPIC_CONTENT_TYPE
+from pyams_content.shared.site.interfaces import ISiteElementNavigation, ISiteTopic, IWfSiteTopic, IWfSiteTopicFactory, \
+    SITE_TOPIC_CONTENT_NAME, SITE_TOPIC_CONTENT_TYPE
 from pyams_utils.adapter import adapter_config
 from pyams_workflow.interfaces import IWorkflow, IWorkflowState, IWorkflowVersions
 
--- a/src/pyams_content/shared/site/container.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/shared/site/container.py	Tue Nov 13 14:05:02 2018 +0100
@@ -12,29 +12,36 @@
 
 __docformat__ = 'restructuredtext'
 
-
-# import standard library
 import json
 
 from pyramid.location import lineage
 from zope.interface import implementer
 from zope.intid.interfaces import IIntIds
 
-# import interfaces
 from pyams_content.shared.common.interfaces import ISharedContentFactory
-# import packages
 from pyams_content.shared.site import SiteTopic
-from pyams_content.shared.site.interfaces import ISiteContainer, ISiteFolder
+from pyams_content.shared.site.interfaces import ISiteContainer, ISiteElementNavigation, ISiteFolder
 from pyams_i18n.interfaces import II18n
 from pyams_utils.adapter import adapter_config
-from pyams_utils.registry import get_utility
-from pyams_utils.request import query_request
+from pyams_utils.registry import get_global_registry, get_utility
+from pyams_utils.request import check_request, query_request
 
 
 @implementer(ISiteContainer)
 class SiteContainerMixin(object):
     """Site container mixin class"""
 
+    def get_visible_items(self, request=None):
+
+        def check_item(item):
+            navigation = registry.queryMultiAdapter((item, request), ISiteElementNavigation)
+            return (navigation is not None) and navigation.visible
+
+        if request is None:
+            request = check_request()
+        registry = get_global_registry()
+        yield from filter(check_item, self.values())
+
     def get_folders_tree(self, selected=None, permission=None):
 
         request = query_request()
--- a/src/pyams_content/shared/site/folder.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/shared/site/folder.py	Tue Nov 13 14:05:02 2018 +0100
@@ -16,19 +16,19 @@
 from zope.interface import implementer
 from zope.intid.interfaces import IIntIds
 from zope.schema.fieldproperty import FieldProperty
-from zope.schema.vocabulary import SimpleVocabulary, SimpleTerm
+from zope.schema.vocabulary import SimpleTerm, SimpleVocabulary
 
 from pyams_content.component.illustration import IIllustrationTarget, ILinkIllustrationTarget
 from pyams_content.features.preview.interfaces import IPreviewTarget
 from pyams_content.interfaces import MANAGE_SITE_PERMISSION
 from pyams_content.shared.common.manager import BaseSharedTool
 from pyams_content.shared.site.container import SiteContainerMixin
-from pyams_content.shared.site.interfaces import ISiteFolder, ISiteManager, ISiteFolderRoles
+from pyams_content.shared.site.interfaces import ISiteFolder, ISiteFolderRoles, ISiteManager
 from pyams_form.interfaces.form import IFormContextPermissionChecker
 from pyams_i18n.interfaces import II18n
 from pyams_portal.interfaces import IPortalContext
 from pyams_security.interfaces import IDefaultProtectionPolicy
-from pyams_utils.adapter import adapter_config, ContextAdapter
+from pyams_utils.adapter import ContextAdapter, adapter_config
 from pyams_utils.container import find_objects_providing
 from pyams_utils.registry import get_local_registry
 from pyams_utils.request import query_request
@@ -45,7 +45,7 @@
 
     roles_interface = ISiteFolderRoles
 
-    heading = FieldProperty(ISiteFolder['heading'])
+    header = FieldProperty(ISiteFolder['header'])
     description = FieldProperty(ISiteFolder['description'])
     notepad = FieldProperty(ISiteFolder['notepad'])
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/shared/site/interfaces.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,173 @@
+#
+# 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'
+
+from collections import OrderedDict
+
+from zope.annotation.interfaces import IAttributeAnnotatable
+from zope.container.constraints import containers, contains
+from zope.container.interfaces import IContained, IContainer
+from zope.interface import Attribute, Interface
+from zope.schema import Bool, Choice, Text
+from zope.schema.vocabulary import SimpleTerm, SimpleVocabulary
+
+from pyams_content.interfaces import IBaseContent
+from pyams_content.shared.common.interfaces import IBaseContentManagerRoles, IBaseSharedTool, IDeletableElement, \
+    ISharedSite
+from pyams_content.shared.topic.interfaces import ITopic, IWfTopic, IWfTopicFactory
+from pyams_i18n.schema import I18nTextField, I18nTextLineField
+from pyams_sequence.interfaces import IInternalReference, ISequentialIdTarget
+from pyams_workflow.interfaces import IWorkflowPublicationSupport
+
+from pyams_content import _
+
+
+FOLDER_REDIRECT_DISPLAY_MODE = 'redirect'
+FOLDER_TEMPLATE_DISPLAY_MODE = 'template'
+
+FOLDER_DISPLAY_MODES = OrderedDict((
+    (FOLDER_REDIRECT_DISPLAY_MODE, _("Redirect to first visible sub-folder or content")),
+    (FOLDER_TEMPLATE_DISPLAY_MODE, _("Use presentation template"))
+))
+
+FOLDER_DISPLAY_MODE_VOCABULARY = SimpleVocabulary([SimpleTerm(v, title=t) for v, t in FOLDER_DISPLAY_MODES.items()])
+
+
+class ISiteElement(IContained, IDeletableElement):
+    """Base site element interface"""
+
+    containers('.ISiteContainer')
+
+    content_name = Attribute("Content name")
+
+
+class ISiteElementNavigation(Interface):
+    """Site element navigation interface"""
+
+    visible = Attribute("Visible element?")
+
+
+class IBaseSiteItem(IContained, IWorkflowPublicationSupport):
+    """Base site item class"""
+
+
+class ISiteContainer(IContainer, IBaseSiteItem):
+    """Base site container interface"""
+
+    contains(ISiteElement)
+
+    def get_visible_items(self, request=None):
+        """Iterator over container visible items"""
+
+    def get_folders_tree(self, selected=None):
+        """Get site tree in JSON format"""
+
+
+class ISiteFolder(IBaseContent, ISiteElement, ISiteContainer, ISequentialIdTarget):
+    """Site folder interface
+
+    A site folder is made to contain sub-folders and topics
+    """
+
+    header = I18nTextField(title=_("Header"),
+                           description=_("Heading displayed according to presentation template"),
+                           required=False)
+
+    description = I18nTextField(title=_("Meta-description"),
+                                description=_("The folder's description is 'hidden' into HTML's page headers; but it "
+                                              "can be seen, for example, in some search engines results as content's "
+                                              "description; if description is empty, content's header will be used."),
+                                required=False)
+
+    notepad = Text(title=_("Notepad"),
+                   description=_("Internal information to be known about this content"),
+                   required=False)
+
+    visible_in_list = Bool(title=_("Visible in folders list"),
+                           description=_("If 'no', folder will not be displayed into folders list"),
+                           required=True,
+                           default=True)
+
+    navigation_title = I18nTextLineField(title=_("Navigation title"),
+                                         description=_("Folder's title displayed in navigation pages; "
+                                                       "original title will be used if none is specified"),
+                                         required=False)
+
+    navigation_mode = Choice(title=_("Navigation mode"),
+                             description=_("Folder behaviour when navigating to folder URL"),
+                             required=True,
+                             vocabulary=FOLDER_DISPLAY_MODE_VOCABULARY,
+                             default=FOLDER_REDIRECT_DISPLAY_MODE)
+
+
+class ISiteFolderFactory(Interface):
+    """Site folder factory interface"""
+
+
+class ISiteFolderRoles(IBaseContentManagerRoles):
+    """Site folder roles interface"""
+
+
+class ISiteManager(ISharedSite, ISiteContainer, IBaseSharedTool, IDeletableElement, ISequentialIdTarget):
+    """Site manager interface"""
+
+    contains(ISiteElement)
+
+    folder_factory = Attribute("Folder factory")
+
+    topic_content_type = Attribute("Topic content type")
+    topic_content_factory = Attribute("Topic content factory")
+
+    description = I18nTextField(title=_("Meta-description"),
+                                description=_("The site's description is 'hidden' into HTML's page headers; but it "
+                                              "can be seen, for example, in some search engines results as content's "
+                                              "description; if description is empty, content's header will be used."),
+                                required=False)
+
+    notepad = Text(title=_("Notepad"),
+                   description=_("Internal information to be known about this content"),
+                   required=False)
+
+
+class ISiteManagerFactory(Interface):
+    """Site manager factory interface"""
+
+
+SITE_TOPIC_CONTENT_TYPE = 'site-topic'
+SITE_TOPIC_CONTENT_NAME = _("Site topic")
+
+
+class IWfSiteTopic(IWfTopic):
+    """Site topic interface"""
+
+
+class IWfSiteTopicFactory(IWfTopicFactory):
+    """Topic factory interface"""
+
+
+class ISiteTopic(ITopic, ISiteElement):
+    """Workflow managed site topic interface"""
+
+
+class IContentLink(ISiteElement, IInternalReference, IAttributeAnnotatable):
+    """Rented content interface"""
+
+    navigation_title = I18nTextLineField(title=_("Navigation title"),
+                                         description=_("Alternate content's title displayed in navigation pages; "
+                                                       "original title will be used if none is specified"),
+                                         required=False)
+
+    visible = Bool(title=_("Visible?"),
+                   description=_("If 'no', link is not visible"),
+                   required=True,
+                   default=True)
--- a/src/pyams_content/shared/site/interfaces/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,159 +0,0 @@
-#
-# 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'
-
-from collections import OrderedDict
-
-from zope.annotation.interfaces import IAttributeAnnotatable
-from zope.container.constraints import containers, contains
-from zope.container.interfaces import IContained, IContainer
-from zope.interface import Attribute, Interface
-from zope.schema import Bool, Choice, Text
-from zope.schema.vocabulary import SimpleTerm, SimpleVocabulary
-
-from pyams_content import _
-from pyams_content.interfaces import IBaseContent
-from pyams_content.shared.common.interfaces import IBaseContentManagerRoles, IBaseSharedTool, IDeletableElement, \
-    ISharedSite
-from pyams_content.shared.topic.interfaces import ITopic, IWfTopic, IWfTopicFactory
-from pyams_i18n.schema import I18nTextField, I18nTextLineField
-from pyams_sequence.interfaces import IInternalReference, ISequentialIdTarget
-from pyams_workflow.interfaces import IWorkflowPublicationSupport
-
-
-FOLDER_REDIRECT_DISPLAY_MODE = 'redirect'
-FOLDER_TEMPLATE_DISPLAY_MODE = 'template'
-
-FOLDER_DISPLAY_MODES = OrderedDict((
-    (FOLDER_REDIRECT_DISPLAY_MODE, _("Redirect to first visible sub-folder or content")),
-    (FOLDER_TEMPLATE_DISPLAY_MODE, _("Use presentation template"))
-))
-
-FOLDER_DISPLAY_MODE_VOCABULARY = SimpleVocabulary([SimpleTerm(v, title=t) for v, t in FOLDER_DISPLAY_MODES.items()])
-
-
-class ISiteElement(IContained, IDeletableElement):
-    """Base site element interface"""
-
-    containers('.ISiteContainer')
-
-    content_name = Attribute("Content name")
-
-
-class ISiteContainer(IContainer, IContained, IWorkflowPublicationSupport):
-    """Base site container interface"""
-
-    contains(ISiteElement)
-
-    def get_folders_tree(self, selected=None):
-        """Get site tree in JSON format"""
-
-
-class ISiteFolder(IBaseContent, ISiteElement, ISiteContainer, ISequentialIdTarget):
-    """Site folder interface
-
-    A site folder is made to contain sub-folders and topics
-    """
-
-    heading = I18nTextField(title=_("Heading"),
-                            description=_("Heading displayed according to presentation template"),
-                            required=False)
-
-    description = I18nTextField(title=_("Meta-description"),
-                                description=_("The folder's description is 'hidden' into HTML's page headers; but it "
-                                              "can be seen, for example, in some search engines results as content's "
-                                              "description; if description is empty, content's header will be used."),
-                                required=False)
-
-    notepad = Text(title=_("Notepad"),
-                   description=_("Internal information to be known about this content"),
-                   required=False)
-
-    visible_in_list = Bool(title=_("Visible in folders list"),
-                           description=_("If 'no', folder will not be displayed into folders list"),
-                           required=True,
-                           default=True)
-
-    navigation_title = I18nTextLineField(title=_("Navigation title"),
-                                         description=_("Folder's title displayed in navigation pages; "
-                                                       "original title will be used if none is specified"),
-                                         required=False)
-
-    navigation_mode = Choice(title=_("Navigation mode"),
-                             description=_("Folder behaviour when navigating to folder URL"),
-                             required=True,
-                             vocabulary=FOLDER_DISPLAY_MODE_VOCABULARY,
-                             default=FOLDER_REDIRECT_DISPLAY_MODE)
-
-
-class ISiteFolderFactory(Interface):
-    """Site folder factory interface"""
-
-
-class ISiteFolderRoles(IBaseContentManagerRoles):
-    """Site folder roles interface"""
-
-
-class ISiteManager(ISharedSite, ISiteContainer, IBaseSharedTool, IDeletableElement, ISequentialIdTarget):
-    """Site manager interface"""
-
-    contains(ISiteElement)
-
-    folder_factory = Attribute("Folder factory")
-
-    topic_content_type = Attribute("Topic content type")
-    topic_content_factory = Attribute("Topic content factory")
-
-    description = I18nTextField(title=_("Meta-description"),
-                                description=_("The site's description is 'hidden' into HTML's page headers; but it "
-                                              "can be seen, for example, in some search engines results as content's "
-                                              "description; if description is empty, content's header will be used."),
-                                required=False)
-
-    notepad = Text(title=_("Notepad"),
-                   description=_("Internal information to be known about this content"),
-                   required=False)
-
-
-class ISiteManagerFactory(Interface):
-    """Site manager factory interface"""
-
-
-SITE_TOPIC_CONTENT_TYPE = 'site-topic'
-SITE_TOPIC_CONTENT_NAME = _("Site topic")
-
-
-class IWfSiteTopic(IWfTopic):
-    """Site topic interface"""
-
-
-class IWfSiteTopicFactory(IWfTopicFactory):
-    """Topic factory interface"""
-
-
-class ISiteTopic(ITopic, ISiteElement):
-    """Workflow managed site topic interface"""
-
-
-class IContentLink(ISiteElement, IInternalReference, IAttributeAnnotatable):
-    """Rented content interface"""
-
-    navigation_title = I18nTextLineField(title=_("Navigation title"),
-                                         description=_("Alternate content's title displayed in navigation pages; "
-                                                       "original title will be used if none is specified"),
-                                         required=False)
-
-    visible = Bool(title=_("Visible?"),
-                   description=_("If 'no', link is not visible"),
-                   required=True,
-                   default=True)
--- a/src/pyams_content/shared/site/link.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/shared/site/link.py	Tue Nov 13 14:05:02 2018 +0100
@@ -17,15 +17,15 @@
 from zope.interface import implementer
 from zope.schema.fieldproperty import FieldProperty
 
-from pyams_content import _
-from pyams_content.shared.site.interfaces import IContentLink
+from pyams_content.shared.site.interfaces import IContentLink, ISiteElementNavigation
 from pyams_sequence.reference import get_reference_target
-from pyams_skin.layer import IPyAMSUserLayer
-from pyams_utils.adapter import adapter_config
-from pyams_utils.interfaces.url import IRelativeURL
+from pyams_skin.layer import IPyAMSLayer
+from pyams_utils.adapter import ContextRequestAdapter, adapter_config
 from pyams_utils.zodb import volatile_property
-from pyams_workflow.interfaces import IWorkflow, IWorkflowVersion, IWorkflowVersions, IWorkflowPublicationInfo, \
-    IWorkflowState
+from pyams_workflow.interfaces import IWorkflow, IWorkflowPublicationInfo, IWorkflowState, IWorkflowVersion, \
+    IWorkflowVersions
+
+from pyams_content import _
 
 
 @implementer(IContentLink)
@@ -63,6 +63,18 @@
         return self.target
 
 
+@adapter_config(context=(IContentLink, IPyAMSLayer), provides=ISiteElementNavigation)
+class ContentLinkNavigationAdapter(ContextRequestAdapter):
+    """Content link navigation adapter"""
+
+    @property
+    def visible(self):
+        if not self.context.visible:
+            return False
+        target = self.context.target
+        return (target is not None) and IWorkflowPublicationInfo(target).is_visible(self.request)
+
+
 @adapter_config(context=IContentLink, provides=IWorkflow)
 def content_link_workflow_info(context):
     """Content link workflow info"""
@@ -85,11 +97,3 @@
     target = context.get_target()
     if target is not None:
         return IWorkflowPublicationInfo(target, None)
-
-
-@adapter_config(context=(IContentLink, IPyAMSUserLayer), provides=IRelativeURL)
-def content_link_relative_url(context):
-    """Content link relative URL"""
-    target = context.get_target()
-    if target is not None:
-        return IRelativeURL(target, None)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/shared/site/portlet/__init__.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,46 @@
+#
+# Copyright (c) 2008-2018 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'
+
+from zope.interface import implementer
+from zope.schema.fieldproperty import FieldProperty
+
+from pyams_content.shared.site.portlet.interfaces import ISiteContainerSummaryPortletSettings
+from pyams_portal.portlet import Portlet, PortletSettings, portlet_config
+from pyams_utils.factory import factory_config
+from pyams_utils.interfaces import VIEW_PERMISSION
+
+from pyams_content import _
+
+
+SITE_CONTAINER_SUMMARY_PORTLET_NAME = 'pyams_content.site.summary'
+
+
+@implementer(ISiteContainerSummaryPortletSettings)
+@factory_config(provided=ISiteContainerSummaryPortletSettings)
+class SiteContainerSummaryPortletSettings(PortletSettings):
+    """Site container summary portlet settings"""
+
+    button_title = FieldProperty(ISiteContainerSummaryPortletSettings['button_title'])
+
+
+@portlet_config(permission=VIEW_PERMISSION)
+class SiteContainerSummaryPortlet(Portlet):
+    """Site container summary portlet"""
+
+    name = SITE_CONTAINER_SUMMARY_PORTLET_NAME
+    label = _("Site summary")
+
+    toolbar_css_class = 'fa fa-fw fa-2x fa-list-alt'
+
+    settings_factory = ISiteContainerSummaryPortletSettings
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/shared/site/portlet/interfaces.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,28 @@
+#
+# Copyright (c) 2008-2018 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'
+
+from pyams_i18n.schema import I18nTextLineField
+from pyams_portal.interfaces import IPortletSettings
+
+from pyams_content import _
+
+
+class ISiteContainerSummaryPortletSettings(IPortletSettings):
+    """Site container summary portlet settings"""
+
+    button_title = I18nTextLineField(title=_("Button's title"),
+                                     description=_("Navigation button's title is normally defined based on "
+                                                   "target's content type; you can override this label by giving a "
+                                                   "custom title here"),
+                                     required=False)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/shared/site/portlet/zmi/__init__.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,47 @@
+#
+# Copyright (c) 2008-2018 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'
+
+from zope.interface import Interface
+
+from pyams_content.shared.site.portlet import ISiteContainerSummaryPortletSettings
+from pyams_form.form import AJAXEditForm
+from pyams_pagelet.interfaces import IPagelet
+from pyams_pagelet.pagelet import pagelet_config
+from pyams_portal.interfaces import IPortletPreviewer
+from pyams_portal.portlet import PortletPreviewer
+from pyams_portal.zmi.portlet import PortletSettingsEditor
+from pyams_skin.layer import IPyAMSLayer
+from pyams_template.template import template_config
+from pyams_utils.adapter import adapter_config
+from pyams_utils.interfaces import VIEW_SYSTEM_PERMISSION
+
+
+@pagelet_config(name='properties.html', context=ISiteContainerSummaryPortletSettings, layer=IPyAMSLayer,
+                permission=VIEW_SYSTEM_PERMISSION)
+class SiteContainerSummaryPortletSettingsEditor(PortletSettingsEditor):
+    """Site container summary portlet settings editor"""
+
+    settings = ISiteContainerSummaryPortletSettings
+
+
+@adapter_config(name='properties.json', context=(ISiteContainerSummaryPortletSettings, IPyAMSLayer), provides=IPagelet)
+class SiteContainerSummaryPortletSettingsAJAXEditor(AJAXEditForm, SiteContainerSummaryPortletSettingsEditor):
+    """Site container summary portlet settings editor, JSON renderer"""
+
+
+@adapter_config(context=(Interface, IPyAMSLayer, Interface, ISiteContainerSummaryPortletSettings),
+                provides=IPortletPreviewer)
+@template_config(template='templates/site-summary-preview.pt', layer=IPyAMSLayer)
+class SiteContainerSummaryPortletPreviewer(PortletPreviewer):
+    """Site container summary portlet previewer"""
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/shared/site/portlet/zmi/templates/site-summary-preview.pt	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,6 @@
+<div tal:define="settings view.settings;" i18n:domain="pyams_content">
+	<i18n:var translate="">Navigation button title: </i18n:var>
+	<tal:var define="title i18n:settings.button_title">
+		${title or '--'}
+	</tal:var>
+</div>
--- a/src/pyams_content/shared/site/skin/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-#
-# Copyright (c) 2008-2018 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
--- a/src/pyams_content/shared/site/skin/breadcrumb.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-#
-# Copyright (c) 2008-2018 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
-from pyams_content.shared.site.interfaces import ISiteContainer
-from pyams_i18n.interfaces import II18n
-from pyams_skin.interfaces.viewlet import IBreadcrumbItem
-from pyams_skin.layer import IPyAMSUserLayer
-
-# import packages
-from pyams_skin.viewlet.breadcrumb import BreadcrumbItem
-from pyams_utils.adapter import adapter_config
-
-
-@adapter_config(context=(ISiteContainer, IPyAMSUserLayer), provides=IBreadcrumbItem)
-class SiteContainerBreadcumbAdapter(BreadcrumbItem):
-    """Site container breadcrumb adapter"""
-
-    @property
-    def label(self):
-        return II18n(self.context).query_attribute('short_name', request=self.request)
--- a/src/pyams_content/shared/site/zmi/container.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/shared/site/zmi/container.py	Tue Nov 13 14:05:02 2018 +0100
@@ -12,8 +12,6 @@
 
 __docformat__ = 'restructuredtext'
 
-
-# import standard library
 import json
 from datetime import datetime
 
@@ -27,19 +25,16 @@
 from zope.intid.interfaces import IIntIds
 from zope.lifecycleevent import ObjectMovedEvent
 
-from pyams_content import _
-# import interfaces
 from pyams_content.interfaces import MANAGE_CONTENT_PERMISSION, MANAGE_SITE_PERMISSION
 from pyams_content.shared.common.interfaces import ISharedContent
 from pyams_content.shared.common.interfaces.zmi import IDashboardTable
 from pyams_content.shared.common.zmi.dashboard import SharedToolDashboardOwnerColumn, SharedToolDashboardSequenceColumn, \
     SharedToolDashboardStatusColumn, SharedToolDashboardStatusDateColumn, SharedToolDashboardStatusPrincipalColumn, \
     SharedToolDashboardVersionColumn
-# import packages
 from pyams_content.shared.site import WfSiteTopic
-from pyams_content.shared.site.interfaces import IContentLink, ISiteContainer, ISiteManager
-from pyams_content.skin import pyams_content
-from pyams_content.skin.zmi.interfaces import ISiteTreeMenu, ISiteTreeTable, IUserAddingsMenuLabel
+from pyams_content.shared.site.interfaces import IBaseSiteItem, IContentLink, ISiteContainer, ISiteManager
+from pyams_content.zmi import pyams_content
+from pyams_content.zmi.interfaces import ISiteTreeMenu, ISiteTreeTable, IUserAddingsMenuLabel
 from pyams_form.form import ajax_config
 from pyams_i18n.interfaces import II18n
 from pyams_pagelet.pagelet import pagelet_config
@@ -71,8 +66,10 @@
 from pyams_zmi.layer import IAdminLayer
 from pyams_zmi.view import AdminView
 
+from pyams_content import _
 
-@adapter_config(context=(ISiteContainer, IAdminLayer), provides=IBreadcrumbItem)
+
+@adapter_config(context=(IBaseSiteItem, IAdminLayer), provides=IBreadcrumbItem)
 class SiteContainerBreadcrumbAdapter(BreadcrumbAdminLayerItem):
     """Site container breadcrumb adapter"""
 
@@ -96,7 +93,7 @@
 # Site container publication views
 #
 
-@viewlet_config(name='workflow-publication.menu', context=ISiteContainer, layer=IPyAMSLayer, view=ISiteTreeTable,
+@viewlet_config(name='workflow-publication.menu', context=IBaseSiteItem, layer=IPyAMSLayer, view=ISiteTreeTable,
                 manager=ITableItemColumnActionsMenu, permission=MANAGE_SITE_PERMISSION, weight=210)
 class SiteContainerTableItemWorkflowPublicationMenu(ToolbarMenuItem):
     """Site container tree item workflow publication menu"""
@@ -108,7 +105,7 @@
     stop_propagation = True
 
 
-@viewlet_config(name='workflow-publication.menu', context=ISiteContainer, layer=IAdminLayer, manager=IPropertiesMenu,
+@viewlet_config(name='workflow-publication.menu', context=IBaseSiteItem, layer=IAdminLayer, manager=IPropertiesMenu,
                 permission=MANAGE_SITE_PERMISSION, weight=210)
 class SiteContainerWorkflowPublicationMenu(MenuItem):
     """Site container workflow publication menu"""
@@ -119,9 +116,9 @@
     modal_target = True
 
 
-@pagelet_config(name='workflow-publication.html', context=ISiteContainer, layer=IPyAMSLayer,
+@pagelet_config(name='workflow-publication.html', context=IBaseSiteItem, layer=IPyAMSLayer,
                 permission=MANAGE_SITE_PERMISSION)
-@ajax_config(name='workflow-publication.json', context=ISiteContainer, layer=IPyAMSLayer)
+@ajax_config(name='workflow-publication.json', context=IBaseSiteItem, layer=IPyAMSLayer)
 class SiteContainerWorkflowPublicationEditForm(AdminDialogEditForm):
     """Site container workflow publication edit form"""
 
@@ -150,8 +147,8 @@
                     icon_class = 'fa-eye-slash text-danger opaque'
                 value = '<i class="fa fa-fw {icon_class} hint align-base" title="{title}" ' \
                         'data-ams-hint-gravity="e"></i>'.format(
-                            icon_class=icon_class,
-                            title=self.request.localizer.translate(_("Visible element?")))
+                    icon_class=icon_class,
+                    title=self.request.localizer.translate(_("Visible element?")))
                 intids = get_utility(IIntIds)
                 output.setdefault('events', []).append(
                     get_json_table_cell_refresh_event(self.context, self.request,
@@ -166,9 +163,9 @@
 # Site container tree view
 #
 
-@viewlet_config(name='site-tree.menu', layer=IAdminLayer, context=ISiteContainer, manager=ISiteManagementMenu,
+@viewlet_config(name='site-tree.menu', layer=IAdminLayer, context=IBaseSiteItem, manager=ISiteManagementMenu,
                 permission=VIEW_SYSTEM_PERMISSION, weight=10)
-@viewletmanager_config(name='site-tree.menu', layer=IAdminLayer, context=ISiteContainer, provides=ISiteTreeMenu)
+@viewletmanager_config(name='site-tree.menu', layer=IAdminLayer, context=IBaseSiteItem, provides=ISiteTreeMenu)
 @implementer(ISiteTreeMenu)
 class SiteContainerTreeMenu(MenuItem):
     """Site container tree menu"""
@@ -231,7 +228,7 @@
         return attributes
 
 
-@adapter_config(name='sorter', context=(ISiteContainer, IPyAMSLayer, ISiteTreeTable), provides=IColumn)
+@adapter_config(name='sorter', context=(IBaseSiteItem, IPyAMSLayer, ISiteTreeTable), provides=IColumn)
 class SiteContainerTreeSorterColumn(SorterColumn):
     """Site container tree sorter column"""
 
@@ -244,7 +241,7 @@
             return ''
 
 
-@view_config(name='set-site-order.json', context=ISiteContainer, request_type=IPyAMSLayer,
+@view_config(name='set-site-order.json', context=IBaseSiteItem, request_type=IPyAMSLayer,
              permission=MANAGE_SITE_PERMISSION, renderer='json', xhr=True)
 def set_site_order(request):
     """Set site elements order"""
@@ -297,7 +294,7 @@
     return result
 
 
-@adapter_config(name='visible', context=(ISiteContainer, IPyAMSLayer, ISiteTreeTable), provides=IColumn)
+@adapter_config(name='visible', context=(IBaseSiteItem, IPyAMSLayer, ISiteTreeTable), provides=IColumn)
 class SiteContainerTreeVisibleColumn(JsActionColumn):
     """Site container tree visible column"""
 
@@ -332,8 +329,8 @@
                     icon_class = 'fa-eye-slash text-danger opaque'
             return '<i class="fa fa-fw {icon_class} hint align-base" title="{title}" ' \
                    'data-ams-hint-gravity="e"></i>'.format(
-                    icon_class=icon_class,
-                    title=self.request.localizer.translate(self.get_icon_hint(item)))
+                icon_class=icon_class,
+                title=self.request.localizer.translate(self.get_icon_hint(item)))
 
     def get_icon_hint(self, item):
         translate = self.request.localizer.translate
@@ -349,7 +346,7 @@
             return self.get_icon(item)
 
 
-@view_config(name='switch-content-visibility.json', context=ISiteContainer, request_type=IPyAMSLayer,
+@view_config(name='switch-content-visibility.json', context=IBaseSiteItem, request_type=IPyAMSLayer,
              permission=MANAGE_CONTENT_PERMISSION, renderer='json', xhr=True)
 def switch_content_visibility(request):
     """Switch content link visibility"""
@@ -364,7 +361,7 @@
     }
 
 
-@adapter_config(name='name', context=(ISiteContainer, IPyAMSLayer, ISiteTreeTable), provides=IColumn)
+@adapter_config(name='name', context=(IBaseSiteItem, IPyAMSLayer, ISiteTreeTable), provides=IColumn)
 class SiteContainerTreeNameColumn(NameColumn):
     """Site container tree name column"""
 
@@ -377,8 +374,8 @@
                '        <i class="fa fa-fw fa-plus-square-o switch"></i>' \
                '    </span>&nbsp;&nbsp;{title}' \
                '</span>'.format(
-                    hint=self.request.localizer.translate(_("Click to open/close all folders")),
-                    title=super(SiteContainerTreeNameColumn, self).renderHeadCell())
+            hint=self.request.localizer.translate(_("Click to open/close all folders")),
+            title=super(SiteContainerTreeNameColumn, self).renderHeadCell())
 
     def renderCell(self, item, name=None):
         depth = -3
@@ -392,15 +389,15 @@
                '        <i class="fa fa-fw {switch}"></i>' \
                '    </span>&nbsp;&nbsp;<span class="title">{title}</span>' \
                '</div>'.format(
-                padding='<span class="tree-node-padding"></span>' * depth,
-                hint=self.request.localizer.translate(_("Click to show/hide inner folders")),
-                switch='fa-{state}-square-o switch'.format(
-                    state=self.table.rows_state or ('minus' if item in lineage(self.context) else 'plus'))
-                if ISiteContainer.providedBy(item) else '',
-                title=name or super(SiteContainerTreeNameColumn, self).renderCell(item))
+            padding='<span class="tree-node-padding"></span>' * depth,
+            hint=self.request.localizer.translate(_("Click to show/hide inner folders")),
+            switch='fa-{state}-square-o switch'.format(
+                state=self.table.rows_state or ('minus' if item in lineage(self.context) else 'plus'))
+            if ISiteContainer.providedBy(item) else '',
+            title=name or super(SiteContainerTreeNameColumn, self).renderCell(item))
 
 
-@adapter_config(name='content-type', context=(ISiteContainer, IPyAMSLayer, ISiteTreeTable), provides=IColumn)
+@adapter_config(name='content-type', context=(IBaseSiteItem, IPyAMSLayer, ISiteTreeTable), provides=IColumn)
 class SiteContainerContentTypeColumn(I18nColumn, GetAttrColumn):
     """Site container content type column"""
 
@@ -412,7 +409,7 @@
         return self.request.localizer.translate(obj.content_name)
 
 
-@adapter_config(name='sequence', context=(ISiteContainer, IPyAMSLayer, ISiteTreeTable), provides=IColumn)
+@adapter_config(name='sequence', context=(IBaseSiteItem, IPyAMSLayer, ISiteTreeTable), provides=IColumn)
 class SiteContainerTreeSequenceColumn(SharedToolDashboardSequenceColumn):
     """Site container tree OID column"""
 
@@ -426,7 +423,7 @@
         return result
 
 
-@adapter_config(name='status', context=(ISiteContainer, IPyAMSLayer, ISiteTreeTable), provides=IColumn)
+@adapter_config(name='status', context=(IBaseSiteItem, IPyAMSLayer, ISiteTreeTable), provides=IColumn)
 class SiteContainerTreeStatusColumn(SharedToolDashboardStatusColumn):
     """Site container tree status column"""
 
@@ -440,7 +437,7 @@
         return result
 
 
-@adapter_config(name='status_date', context=(ISiteContainer, IPyAMSLayer, IDashboardTable), provides=IColumn)
+@adapter_config(name='status_date', context=(IBaseSiteItem, IPyAMSLayer, IDashboardTable), provides=IColumn)
 class SiteContainerTreeStatusDateColumn(SharedToolDashboardStatusDateColumn):
     """Site container tree status date column"""
 
@@ -454,7 +451,7 @@
         return result
 
 
-@adapter_config(name='version', context=(ISiteContainer, IPyAMSLayer, ISiteTreeTable), provides=IColumn)
+@adapter_config(name='version', context=(IBaseSiteItem, IPyAMSLayer, ISiteTreeTable), provides=IColumn)
 class SiteContainerTreeVersionColumn(SharedToolDashboardVersionColumn):
     """Site container tree version column"""
 
@@ -468,7 +465,7 @@
         return result
 
 
-@adapter_config(name='status_principal', context=(ISiteContainer, IPyAMSLayer, IDashboardTable), provides=IColumn)
+@adapter_config(name='status_principal', context=(IBaseSiteItem, IPyAMSLayer, IDashboardTable), provides=IColumn)
 class SiteContainerTreeStatusPrincipalColumn(SharedToolDashboardStatusPrincipalColumn):
     """Site container tree status principal column"""
 
@@ -482,7 +479,7 @@
         return result
 
 
-@adapter_config(name='owner', context=(ISiteContainer, IPyAMSLayer, IDashboardTable), provides=IColumn)
+@adapter_config(name='owner', context=(IBaseSiteItem, IPyAMSLayer, IDashboardTable), provides=IColumn)
 class SiteContainerTreeOwnerColumn(SharedToolDashboardOwnerColumn):
     """Site container tree owner column"""
 
@@ -496,7 +493,7 @@
         return result
 
 
-@adapter_config(name='trash', context=(ISiteContainer, IPyAMSLayer, ISiteTreeTable), provides=IColumn)
+@adapter_config(name='trash', context=(IBaseSiteItem, IPyAMSLayer, ISiteTreeTable), provides=IColumn)
 class SiteContainerTreeTrashColumn(TrashColumn):
     """Site container tree trash column"""
 
@@ -516,7 +513,7 @@
     return delete_container_element(request, ignore_permission=True)
 
 
-@adapter_config(context=(ISiteContainer, IPyAMSLayer, ISiteTreeTable), provides=IValues)
+@adapter_config(context=(IBaseSiteItem, IPyAMSLayer, ISiteTreeTable), provides=IValues)
 class SiteContainerTreeValuesAdapter(ContextRequestViewAdapter):
     """Site container tree values adapter"""
 
@@ -540,7 +537,7 @@
         return values
 
 
-@pagelet_config(name='site-tree.html', context=ISiteContainer, layer=IPyAMSLayer, permission=VIEW_SYSTEM_PERMISSION)
+@pagelet_config(name='site-tree.html', context=IBaseSiteItem, layer=IPyAMSLayer, permission=VIEW_SYSTEM_PERMISSION)
 @implementer(IInnerPage)
 class SiteContainerTreeView(AdminView, ContainerView):
     """Site Container tree view"""
@@ -552,14 +549,14 @@
         self.table = SiteContainerTreeTable(context, request, can_sort=ISiteManager.providedBy(context))
 
 
-@adapter_config(context=(ISiteContainer, IAdminLayer, ISiteTreeTable), provides=IPageHeader)
+@adapter_config(context=(IBaseSiteItem, IAdminLayer, ISiteTreeTable), provides=IPageHeader)
 class SiteContainerViewHeaderAdapter(DefaultPageHeaderAdapter):
     """Site container tree view header adapter"""
 
     icon_class = 'fa fa-fw fa-sitemap'
 
 
-@view_config(name='get-tree.json', context=ISiteContainer, request_type=IPyAMSLayer,
+@view_config(name='get-tree.json', context=IBaseSiteItem, request_type=IPyAMSLayer,
              permission=VIEW_SYSTEM_PERMISSION, renderer='json', xhr=True)
 def get_tree(request):
     """Get whole tree"""
@@ -596,7 +593,7 @@
     return result
 
 
-@adapter_config(context=(ISiteContainer, IPyAMSLayer, ISiteTreeTable), provides=ITableElementName)
+@adapter_config(context=(IBaseSiteItem, IPyAMSLayer, ISiteTreeTable), provides=ITableElementName)
 class SiteContainerTableElementName(ContextRequestViewAdapter):
     """Site container tree table element name"""
 
@@ -605,7 +602,7 @@
         return II18n(self.context).query_attribute('title', request=self.request)
 
 
-@adapter_config(context=(ISiteContainer, IPyAMSLayer, ISiteTreeTable), provides=ITableElementEditor)
+@adapter_config(context=(IBaseSiteItem, IPyAMSLayer, ISiteTreeTable), provides=ITableElementEditor)
 class SiteContainerTableElementEditor(DefaultElementEditorAdapter):
     """Site container tree table element editor"""
 
--- a/src/pyams_content/shared/site/zmi/folder.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/shared/site/zmi/folder.py	Tue Nov 13 14:05:02 2018 +0100
@@ -184,7 +184,7 @@
 
     legend = _("Site folder properties")
 
-    fields = field.Fields(ISiteFolder).select('title', 'short_name', 'heading', 'description', 'notepad') + \
+    fields = field.Fields(ISiteFolder).select('title', 'short_name', 'header', 'description', 'notepad') + \
         field.Fields(IBaseSharedTool).select('shared_content_workflow')
 
 
--- a/src/pyams_content/shared/site/zmi/link.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/shared/site/zmi/link.py	Tue Nov 13 14:05:02 2018 +0100
@@ -19,7 +19,7 @@
 # import interfaces
 from pyams_content.interfaces import CREATE_CONTENT_PERMISSION, MANAGE_CONTENT_PERMISSION
 from pyams_content.shared.site.interfaces import ISiteContainer, IContentLink
-from pyams_content.skin.zmi.interfaces import ISiteTreeTable
+from pyams_content.zmi.interfaces import ISiteTreeTable
 from pyams_i18n.interfaces import II18n
 from pyams_skin.interfaces.container import ITableElementName
 from pyams_skin.interfaces.viewlet import IToolbarAddingMenu
@@ -107,6 +107,9 @@
     def nextURL(self):
         return absolute_url(self.__target, self.request, 'admin#site-tree.html')
 
+    def get_ajax_output(self, changes):
+        return {'status': 'reload'}
+
 
 @adapter_config(context=(IContentLink, IPyAMSLayer, ISiteTreeTable), provides=ITableElementName)
 class ContentLinkTableElementName(ContextRequestViewAdapter):
--- a/src/pyams_content/shared/site/zmi/manager.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/shared/site/zmi/manager.py	Tue Nov 13 14:05:02 2018 +0100
@@ -26,7 +26,7 @@
 from pyams_content.shared.site import WfSiteTopic
 from pyams_content.shared.site.interfaces import ISiteManager, ISiteManagerFactory
 from pyams_content.shared.site.manager import SiteManager
-from pyams_content.skin.zmi.interfaces import ISiteTreeTable, IUserAddingsMenuLabel
+from pyams_content.zmi.interfaces import ISiteTreeTable, IUserAddingsMenuLabel
 from pyams_form.form import AJAXAddForm, ajax_config
 from pyams_i18n.interfaces import II18n, INegotiator
 from pyams_pagelet.pagelet import pagelet_config
--- a/src/pyams_content/shared/site/zmi/widget/templates/folders-input.pt	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/shared/site/zmi/widget/templates/folders-input.pt	Tue Nov 13 14:05:02 2018 +0100
@@ -1,6 +1,6 @@
 <div i18n:domain="pyams_content"
 	 data-ams-plugins="pyams_content"
-	 tal:attributes="data-ams-plugin-pyams_content-src tales:resource_path('pyams_content.skin:pyams_content')">
+	 tal:attributes="data-ams-plugin-pyams_content-src tales:resource_path('pyams_content.zmi:pyams_content')">
 	<input type="hidden"
 			tal:attributes="id view/id;
 							name view/name;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/shared/topic/interfaces.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,43 @@
+#
+# 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'
+
+from zope.interface import Interface
+
+from pyams_content import _
+from pyams_content.shared.common.interfaces import ISharedContent, ISharedToolPortalContext, \
+    IWfSharedContentPortalContext
+
+
+TOPIC_CONTENT_TYPE = 'topic'
+TOPIC_CONTENT_NAME = _("Topic")
+
+
+class ITopicManager(ISharedToolPortalContext):
+    """Topic manager interface"""
+
+
+class ITopicManagerFactory(Interface):
+    """Topic manager factory interface"""
+
+
+class IWfTopic(IWfSharedContentPortalContext):
+    """Topic interface"""
+
+
+class IWfTopicFactory(Interface):
+    """Topic parent interface"""
+
+
+class ITopic(ISharedContent):
+    """Workflow managed topic interface"""
--- a/src/pyams_content/shared/topic/interfaces/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,43 +0,0 @@
-#
-# 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'
-
-from zope.interface import Interface
-
-from pyams_content import _
-from pyams_content.shared.common.interfaces import ISharedContent, ISharedToolPortalContext, \
-    IWfSharedContentPortalContext
-
-
-TOPIC_CONTENT_TYPE = 'topic'
-TOPIC_CONTENT_NAME = _("Topic")
-
-
-class ITopicManager(ISharedToolPortalContext):
-    """Topic manager interface"""
-
-
-class ITopicManagerFactory(Interface):
-    """Topic manager factory interface"""
-
-
-class IWfTopic(IWfSharedContentPortalContext):
-    """Topic interface"""
-
-
-class IWfTopicFactory(Interface):
-    """Topic parent interface"""
-
-
-class ITopic(ISharedContent):
-    """Workflow managed topic interface"""
--- a/src/pyams_content/shared/view/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/shared/view/__init__.py	Tue Nov 13 14:05:02 2018 +0100
@@ -32,7 +32,8 @@
 from pyams_catalog.query import CatalogResultSet, or_
 from pyams_content.features.preview.interfaces import IPreviewTarget
 from pyams_content.features.review.interfaces import IReviewTarget
-from pyams_content.shared.common import WfSharedContent, register_content_type, SharedContent, IWfSharedContentFactory
+from pyams_content.shared.common import WfSharedContent, register_content_type, SharedContent, IWfSharedContentFactory, \
+    IWfSharedContent
 from pyams_content.shared.common.interfaces.types import IWfTypedSharedContent
 from pyams_content.shared.view.interfaces import IView, IWfView, IWfViewFactory, IViewQuery, \
     IViewQueryParamsExtension, IViewQueryFilterExtension, VIEW_CONTENT_TYPE, VIEW_CONTENT_NAME, IViewSettings
@@ -86,7 +87,7 @@
 
     def get_content_types(self, context):
         content_types = set()
-        if self.select_context_type:
+        if self.select_context_type and IWfSharedContent.providedBy(context):
             content_types.add(context.content_type)
         if self.selected_content_types:
             content_types |= set(self.selected_content_types)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/shared/view/interfaces.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,255 @@
+#
+# 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'
+
+from zope.interface import Attribute, Interface
+from zope.schema import Bool, Choice, Int, Set
+from zope.schema.vocabulary import SimpleTerm, SimpleVocabulary
+
+from pyams_content.shared.common.interfaces import CONTENT_TYPES_VOCABULARY, ISharedContent, ISharedTool, \
+    IWfSharedContent
+from pyams_content.shared.common.interfaces.types import ALL_DATA_TYPES_VOCABULARY
+from pyams_sequence.interfaces import IInternalReferencesList
+from pyams_thesaurus.schema import ThesaurusTermsListField
+
+from pyams_content import _
+
+
+VIEW_CONTENT_TYPE = 'view'
+VIEW_CONTENT_NAME = _('View')
+
+CREATION_DATE_ORDER = 'created_date'
+UPDATE_DATE_ORDER = 'modified_date'
+PUBLICATION_DATE_ORDER = 'publication_date'
+FIRSTPUBLICATION_DATE_ORDER = 'first_publication_date'
+
+VIEW_ORDERS = (
+    {'id': CREATION_DATE_ORDER, 'title': _("Creation date")},
+    {'id': UPDATE_DATE_ORDER, 'title': _("Last update date")},
+    {'id': PUBLICATION_DATE_ORDER, 'title': _("Current publication date")},
+    {'id': FIRSTPUBLICATION_DATE_ORDER, 'title': _("First publication date")}
+)
+
+VIEW_ORDER_VOCABULARY = SimpleVocabulary([SimpleTerm(item['id'], title=item['title'])
+                                          for item in VIEW_ORDERS])
+
+
+class IViewsManager(ISharedTool):
+    """Views manager interface"""
+
+
+class IViewsManagerFactory(Interface):
+    """Views manager factory interface"""
+
+
+class IWfView(IWfSharedContent):
+    """View interface"""
+
+    select_context_type = Bool(title=_("Select context type?"),
+                               description=_("If 'yes', content type will be extracted from context"),
+                               required=True,
+                               default=False)
+
+    selected_content_types = Set(title=_("Other content types"),
+                                 description=_("Selected content types; leave empty for all"),
+                                 value_type=Choice(vocabulary=CONTENT_TYPES_VOCABULARY),
+                                 required=False)
+
+    def get_content_types(self, context):
+        """Get content types for given context"""
+
+    select_context_datatype = Bool(title=_("Select context data type?"),
+                                   description=_("If 'yes', content data type (if available) will be extracted from "
+                                                 "context"),
+                                   required=True,
+                                   default=False)
+
+    selected_datatypes = Set(title=_("Other data types"),
+                             description=_("Selected data types; leave empty for all"),
+                             value_type=Choice(vocabulary=ALL_DATA_TYPES_VOCABULARY),
+                             required=False)
+
+    def get_data_types(self, context):
+        """Get data types for given context"""
+
+    order_by = Choice(title=_("Order by"),
+                      description=_("Property to use to sort results"),
+                      vocabulary=VIEW_ORDER_VOCABULARY,
+                      required=True,
+                      default=FIRSTPUBLICATION_DATE_ORDER)
+
+    reversed_order = Bool(title=_("Reversed order?"),
+                          description=_("If 'yes', items order will be reversed"),
+                          required=True,
+                          default=True)
+
+    limit = Int(title=_("Results count limit"),
+                description=_("Maximum number of results that the view may retrieve"),
+                required=False)
+
+    is_using_context = Attribute("Check if view is using context settings")
+
+    def get_results(self, context, sort_index=None, reverse=True, limit=None, ignore_cache=False):
+        """Get results of catalog query"""
+
+
+class IWfViewFactory(Interface):
+    """View factory interface"""
+
+
+class IView(ISharedContent):
+    """Workflow managed view interface"""
+
+
+class IViewSettings(Interface):
+    """Base interface for view settings adapters"""
+
+    is_using_context = Attribute("Check if view settings are using context")
+
+
+class IViewQuery(Interface):
+    """View query interface"""
+
+    def get_results(self, context, sort_index, reverse, limit):
+        """Get results of catalog query"""
+
+
+class IViewQueryExtension(Interface):
+    """Base view query extension"""
+
+    weight = Attribute("Extension weight")
+
+
+class IViewQueryParamsExtension(IViewQueryExtension):
+    """View query extension interface"""
+
+    def get_params(self, context):
+        """Add params to catalog query"""
+
+
+class IViewQueryEsParamsExtension(IViewQueryExtension):
+    """View query parameters extension for Elasticsearch"""
+
+    def get_es_params(self, context):
+        """Add params to Elasticsearch query"""
+
+
+class IViewQueryFilterExtension(IViewQueryExtension):
+    """View query filter extension"""
+
+    def filter(self, context, items):
+        """Filter items after catalog query"""
+
+
+VIEW_REFERENCES_SETTINGS_KEY = 'pyams_content.view.references'
+
+ALWAYS_REFERENCE_MODE = 'always'
+IFEMPTY_REFERENCE_MODE = 'if_empty'
+
+REFERENCES_MODES = {
+    ALWAYS_REFERENCE_MODE: _("Always include selected internal references"),
+    IFEMPTY_REFERENCE_MODE: _("Include selected internal references only if empty")
+}
+
+REFERENCES_MODES_VOCABULARY = SimpleVocabulary([SimpleTerm(v, title=t) for v, t in REFERENCES_MODES.items()])
+
+
+class IViewInternalReferencesSettings(IViewSettings, IInternalReferencesList):
+    """View internal references settings"""
+
+    references_mode = Choice(title=_("Internal references usage"),
+                             description=_("Specify how selected references are included into view results"),
+                             vocabulary=REFERENCES_MODES_VOCABULARY,
+                             required=True,
+                             default=ALWAYS_REFERENCE_MODE)
+
+    exclude_context = Bool(title=_("Exclude context?"),
+                           description=_("If 'yes', context will be excluded from results list"),
+                           required=True,
+                           default=True)
+
+
+VIEW_TAGS_SETTINGS_KEY = 'pyams_content.view.tags'
+
+
+class IViewTagsSettings(IViewSettings):
+    """View tags settings"""
+
+    select_context_tags = Bool(title=_("Select context tags?"),
+                               description=_("If 'yes', tags will be extracted from context"),
+                               required=False,
+                               default=False)
+
+    tags = ThesaurusTermsListField(title=_("Other tags"),
+                                   required=False)
+
+    def get_tags(self, context):
+        """Get all tags for given context"""
+
+    def get_tags_index(self, context):
+        """Get all tags index values for given context"""
+
+
+VIEW_THEMES_SETTINGS_KEY = 'pyams_content.view.themes'
+
+
+class IViewThemesSettings(IViewSettings):
+    """View themes settings"""
+
+    select_context_themes = Bool(title=_("Select context themes?"),
+                                 description=_("If 'yes', themes will be extracted from context"),
+                                 required=False,
+                                 default=False)
+
+    themes = ThesaurusTermsListField(title=_("Other themes"),
+                                     required=False)
+
+    def get_themes(self, context):
+        """Get all themes for given context"""
+
+    def get_themes_index(self, context):
+        """Get all themes index values for given context"""
+
+
+VIEW_COLLECTIONS_SETTINGS_KEY = 'pyams_content.view.collections'
+
+
+class IViewCollectionsSettings(IViewSettings):
+    """View collections settings"""
+
+    select_context_collections = Bool(title=_("Select context collections?"),
+                                      description=_("If 'yes', collections will be extracted from context"),
+                                      required=False,
+                                      default=False)
+
+    collections = ThesaurusTermsListField(title=_("Other collections"),
+                                          required=False)
+
+    def get_collections(self, context):
+        """Get all collections for given context"""
+
+    def get_collections_index(self, context):
+        """Get all collections index values for given context"""
+
+
+VIEWS_MERGERS_VOCABULARY = 'pyams_content.views.mergers'
+
+
+class IViewsMerger(Interface):
+    """Interface used to define views mergers
+
+    Mergers are used to merge results of several views.
+    """
+
+    def get_results(self, views, context, ignore_cache=False):
+        """Merge results of several views together"""
--- a/src/pyams_content/shared/view/interfaces/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,261 +0,0 @@
-#
-# 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
-from pyams_content.shared.common.interfaces import ISharedContent, IWfSharedContent, ISharedTool, \
-    CONTENT_TYPES_VOCABULARY
-from pyams_content.shared.common.interfaces.types import ALL_DATA_TYPES_VOCABULARY
-from pyams_sequence.interfaces import IInternalReferencesList
-
-# import packages
-from pyams_thesaurus.schema import ThesaurusTermsListField
-from zope.interface import Interface, Attribute
-from zope.schema import Set, Choice, Bool, Int
-from zope.schema.vocabulary import SimpleVocabulary, SimpleTerm
-
-from pyams_content import _
-
-
-VIEW_CONTENT_TYPE = 'view'
-VIEW_CONTENT_NAME = _('View')
-
-
-CREATION_DATE_ORDER = 'created_date'
-UPDATE_DATE_ORDER = 'modified_date'
-PUBLICATION_DATE_ORDER = 'publication_date'
-FIRSTPUBLICATION_DATE_ORDER = 'first_publication_date'
-
-VIEW_ORDERS = (
-    {'id': CREATION_DATE_ORDER, 'title': _("Creation date")},
-    {'id': UPDATE_DATE_ORDER, 'title': _("Last update date")},
-    {'id': PUBLICATION_DATE_ORDER, 'title': _("Current publication date")},
-    {'id': FIRSTPUBLICATION_DATE_ORDER, 'title': _("First publication date")}
-)
-
-VIEW_ORDER_VOCABULARY = SimpleVocabulary([SimpleTerm(item['id'], title=item['title'])
-                                          for item in VIEW_ORDERS])
-
-
-class IViewsManager(ISharedTool):
-    """Views manager interface"""
-
-
-class IViewsManagerFactory(Interface):
-    """Views manager factory interface"""
-
-
-class IWfView(IWfSharedContent):
-    """View interface"""
-
-    select_context_type = Bool(title=_("Select context type?"),
-                               description=_("If 'yes', content type will be extracted from context"),
-                               required=True,
-                               default=False)
-
-    selected_content_types = Set(title=_("Other content types"),
-                                 description=_("Selected content types; leave empty for all"),
-                                 value_type=Choice(vocabulary=CONTENT_TYPES_VOCABULARY),
-                                 required=False)
-
-    def get_content_types(self, context):
-        """Get content types for given context"""
-
-    select_context_datatype = Bool(title=_("Select context data type?"),
-                                   description=_("If 'yes', content data type (if available) will be extracted from "
-                                                 "context"),
-                                   required=True,
-                                   default=False)
-
-    selected_datatypes = Set(title=_("Other data types"),
-                             description=_("Selected data types; leave empty for all"),
-                             value_type=Choice(vocabulary=ALL_DATA_TYPES_VOCABULARY),
-                             required=False)
-
-    def get_data_types(self, context):
-        """Get data types for given context"""
-
-    order_by = Choice(title=_("Order by"),
-                      description=_("Property to use to sort results"),
-                      vocabulary=VIEW_ORDER_VOCABULARY,
-                      required=True,
-                      default=FIRSTPUBLICATION_DATE_ORDER)
-
-    reversed_order = Bool(title=_("Reversed order?"),
-                          description=_("If 'yes', items order will be reversed"),
-                          required=True,
-                          default=True)
-
-    limit = Int(title=_("Results count limit"),
-                description=_("Maximum number of results that the view may retrieve"),
-                required=False)
-
-    is_using_context = Attribute("Check if view is using context settings")
-
-    def get_results(self, context, sort_index=None, reverse=True, limit=None, ignore_cache=False):
-        """Get results of catalog query"""
-
-
-class IWfViewFactory(Interface):
-    """View factory interface"""
-
-
-class IView(ISharedContent):
-    """Workflow managed view interface"""
-
-
-class IViewSettings(Interface):
-    """Base interface for view settings adapters"""
-
-    is_using_context = Attribute("Check if view settings are using context")
-
-
-class IViewQuery(Interface):
-    """View query interface"""
-
-    def get_results(self, context, sort_index, reverse, limit):
-        """Get results of catalog query"""
-
-
-class IViewQueryExtension(Interface):
-    """Base view query extension"""
-
-    weight = Attribute("Extension weight")
-
-
-class IViewQueryParamsExtension(IViewQueryExtension):
-    """View query extension interface"""
-
-    def get_params(self, context):
-        """Add params to catalog query"""
-
-
-class IViewQueryEsParamsExtension(IViewQueryExtension):
-    """View query parameters extension for Elasticsearch"""
-
-    def get_es_params(self, context):
-        """Add params to Elasticsearch query"""
-
-
-class IViewQueryFilterExtension(IViewQueryExtension):
-    """View query filter extension"""
-
-    def filter(self, context, items):
-        """Filter items after catalog query"""
-
-
-VIEW_REFERENCES_SETTINGS_KEY = 'pyams_content.view.references'
-
-
-ALWAYS_REFERENCE_MODE = 'always'
-IFEMPTY_REFERENCE_MODE = 'if_empty'
-
-REFERENCES_MODES = {ALWAYS_REFERENCE_MODE: _("Always include selected internal references"),
-                    IFEMPTY_REFERENCE_MODE: _("Include selected internal references only if empty")}
-
-REFERENCES_MODES_VOCABULARY = SimpleVocabulary([SimpleTerm(v, title=t)
-                                                for v, t in REFERENCES_MODES.items()])
-
-
-class IViewInternalReferencesSettings(IViewSettings, IInternalReferencesList):
-    """View internal references settings"""
-
-    references_mode = Choice(title=_("Internal references usage"),
-                             description=_("Specify how selected references are included into view results"),
-                             vocabulary=REFERENCES_MODES_VOCABULARY,
-                             required=True,
-                             default=ALWAYS_REFERENCE_MODE)
-
-    exclude_context = Bool(title=_("Exclude context?"),
-                           description=_("If 'yes', context will be excluded from results list"),
-                           required=True,
-                           default=True)
-
-
-VIEW_TAGS_SETTINGS_KEY = 'pyams_content.view.tags'
-
-
-class IViewTagsSettings(IViewSettings):
-    """View tags settings"""
-
-    select_context_tags = Bool(title=_("Select context tags?"),
-                               description=_("If 'yes', tags will be extracted from context"),
-                               required=False,
-                               default=False)
-
-    tags = ThesaurusTermsListField(title=_("Other tags"),
-                                   required=False)
-
-    def get_tags(self, context):
-        """Get all tags for given context"""
-
-    def get_tags_index(self, context):
-        """Get all tags index values for given context"""
-
-
-VIEW_THEMES_SETTINGS_KEY = 'pyams_content.view.themes'
-
-
-class IViewThemesSettings(IViewSettings):
-    """View themes settings"""
-
-    select_context_themes = Bool(title=_("Select context themes?"),
-                                 description=_("If 'yes', themes will be extracted from context"),
-                                 required=False,
-                                 default=False)
-
-    themes = ThesaurusTermsListField(title=_("Other themes"),
-                                     required=False)
-
-    def get_themes(self, context):
-        """Get all themes for given context"""
-
-    def get_themes_index(self, context):
-        """Get all themes index values for given context"""
-
-
-VIEW_COLLECTIONS_SETTINGS_KEY = 'pyams_content.view.collections'
-
-
-class IViewCollectionsSettings(IViewSettings):
-    """View collections settings"""
-
-    select_context_collections = Bool(title=_("Select context collections?"),
-                                      description=_("If 'yes', collections will be extracted from context"),
-                                      required=False,
-                                      default=False)
-
-    collections = ThesaurusTermsListField(title=_("Other collections"),
-                                          required=False)
-
-    def get_collections(self, context):
-        """Get all collections for given context"""
-
-    def get_collections_index(self, context):
-        """Get all collections index values for given context"""
-
-
-VIEWS_MERGERS_VOCABULARY = 'pyams_content.views.mergers'
-
-
-class IViewsMerger(Interface):
-    """Interface used to define views mergers
-
-    Mergers are used to merge results of several views.
-    """
-
-    def get_results(self, views, context, ignore_cache=False):
-        """Merge results of several views together"""
--- a/src/pyams_content/shared/view/portlet/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/shared/view/portlet/__init__.py	Tue Nov 13 14:05:02 2018 +0100
@@ -87,6 +87,6 @@
     label = _("View items")
 
     toolbar_image = None
-    toolbar_css_class = 'fa fa-fw fa-2x fa-th-list'
+    toolbar_css_class = 'fa fa-fw fa-2x fa-search'
 
     settings_factory = IViewItemsPortletSettings
--- a/src/pyams_content/shared/view/reference.py	Fri Oct 12 14:33:03 2018 +0200
+++ b/src/pyams_content/shared/view/reference.py	Tue Nov 13 14:05:02 2018 +0100
@@ -12,27 +12,22 @@
 
 __docformat__ = 'restructuredtext'
 
-
-# import standard library
-from persistent import Persistent
-
-# import interfaces
+from hypatia.catalog import CatalogQuery
 from hypatia.interfaces import ICatalog
-from pyams_content.shared.view.interfaces import IWfView, IViewSettings, IViewInternalReferencesSettings, \
-    IViewQueryParamsExtension, IViewQueryFilterExtension, VIEW_REFERENCES_SETTINGS_KEY, ALWAYS_REFERENCE_MODE
-from pyams_sequence.interfaces import ISequentialIdInfo
-
-# import packages
-from hypatia.catalog import CatalogQuery
-from hypatia.query import Any, NotEq
-from pyams_catalog.query import CatalogResultSet, and_
-from pyams_content.workflow import VISIBLE_STATES
-from pyams_utils.adapter import adapter_config, ContextAdapter, get_annotation_adapter
-from pyams_utils.registry import get_utility
+from hypatia.query import Any, Eq, NotEq
+from persistent import Persistent
 from zope.container.contained import Contained
 from zope.interface import implementer
 from zope.schema.fieldproperty import FieldProperty
 
+from pyams_catalog.query import CatalogResultSet, and_
+from pyams_content.shared.view.interfaces import ALWAYS_REFERENCE_MODE, IViewInternalReferencesSettings, \
+    IViewQueryFilterExtension, IViewQueryParamsExtension, IViewSettings, IWfView, VIEW_REFERENCES_SETTINGS_KEY
+from pyams_content.workflow import VISIBLE_STATES
+from pyams_sequence.interfaces import ISequentialIdInfo
+from pyams_utils.adapter import ContextAdapter, adapter_config, get_annotation_adapter
+from pyams_utils.registry import get_utility
+
 
 @implementer(IViewInternalReferencesSettings)
 class ViewInternalReferencesSettings(Persistent, Contained):
@@ -86,7 +81,8 @@
             return items
         if (not items) or (settings.references_mode == ALWAYS_REFERENCE_MODE):
             catalog = get_utility(ICatalog)
-            params = Any(catalog['oid'], settings.references) & \
-                Any(catalog['workflow_state'], VISIBLE_STATES)
-            items.prepend(CatalogResultSet(CatalogQuery(catalog).query(params)))
+            for reference in settings.references:
+                params = Eq(catalog['oid'], reference) & \
+                         Any(catalog['workflow_state'], VISIBLE_STATES)
+                items.prepend(CatalogResultSet(CatalogQuery(catalog).query(params)))
         return items
--- a/src/pyams_content/site.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,47 +0,0 @@
-#
-# 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 transaction
-from ZODB.interfaces import IBroken
-from hypatia.interfaces import ICatalog
-from zope.interface import Interface
-from zope.intid.interfaces import IIntIds
-
-from pyams_utils.container import find_objects_providing
-from pyams_utils.registry import set_local_registry, get_utility
-from pyams_utils.site import site_factory
-
-
-def site_index(request):
-    """Index all site contents in internal catalog"""
-    application = site_factory(request)
-    if application is not None:
-        try:
-            set_local_registry(application.getSiteManager())
-            catalog = get_utility(ICatalog)
-            catalog.reset()
-            transaction.savepoint()
-            intids = get_utility(IIntIds)
-            for index, document in enumerate(find_objects_providing(application, Interface)):
-                if IBroken.providedBy(document):
-                    print("Skipping broken object: {0!r}".format(document))
-                else:
-                    print("Indexing: {0!r}".format(document))
-                    catalog.reindex_doc(intids.register(document), document)
-                    if not index % 100:
-                        transaction.savepoint()
-        finally:
-            set_local_registry(None)
-        transaction.commit()
-    return application
--- a/src/pyams_content/skin/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-#
-# 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 fanstatic import Library, Resource
-
-
-library = Library('pyams_content', 'resources')
-
-
-pyams_content_css = Resource(library, 'css/pyams_content.css',
-                             minified='css/pyams_content.min.css')
-
-pyams_content = Resource(library, 'js/pyams_content.js',
-                         minified='js/pyams_content.min.js',
-                         depends=(pyams_content_css, ),
-                         bottom=True)
--- a/src/pyams_content/skin/resources/css/pyams_content.css	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,51 +0,0 @@
-.ams-widget.comments .widget-body {
-  position: fixed;
-  height: calc(100% - 337px);
-}
-.ams-widget.comments .widget-body .chat-body {
-  position: relative;
-  height: 100%;
-}
-.ams-widget.comments .widget-body .chat-footer {
-  position: fixed;
-  bottom: 10px;
-}
-.ams-widget.comments .widget-body,
-.ams-widget.comments .widget-body .chat-footer {
-  width: calc(100% - 240px);
-}
-@media (max-width: 767px) {
-  .ams-widget.comments .widget-body,
-  .ams-widget.comments .widget-body .chat-footer {
-    width: calc(100% - 10px);
-  }
-}
-@media (min-width: 768px) and (max-width: 979px) {
-  .ams-widget.comments .widget-body,
-  .ams-widget.comments .widget-body .chat-footer {
-    width: calc(100% - 20px);
-  }
-}
-.minified .ams-widget.comments .widget-body,
-.minified .ams-widget.comments .widget-body .chat-footer {
-  width: calc(100% - 65px);
-}
-@media (max-width: 767px) {
-  .minified .ams-widget.comments .widget-body,
-  .minified .ams-widget.comments .widget-body .chat-footer {
-    width: calc(100% - 55px);
-  }
-}
-.hidden-menu .ams-widget.comments .widget-body,
-.hidden-menu .ams-widget.comments .widget-body .chat-footer {
-  width: calc(100% - 30px);
-}
-.pictograms-manager .pictogram {
-  border-bottom: 1px solid silver;
-}
-.pictograms-manager .pictogram:last-child {
-  border-bottom: none;
-}
-.sortable.gallery {
-  max-height: 550px;
-}
--- a/src/pyams_content/skin/resources/css/pyams_content.min.css	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-.ams-widget.comments .widget-body{position:fixed;height:calc(100% - 337px)}.ams-widget.comments .widget-body .chat-body{position:relative;height:100%}.ams-widget.comments .widget-body .chat-footer{position:fixed;bottom:10px}.ams-widget.comments .widget-body,.ams-widget.comments .widget-body .chat-footer{width:calc(100% - 240px)}@media (max-width:767px){.ams-widget.comments .widget-body,.ams-widget.comments .widget-body .chat-footer{width:calc(100% - 10px)}}@media (min-width:768px) and (max-width:979px){.ams-widget.comments .widget-body,.ams-widget.comments .widget-body .chat-footer{width:calc(100% - 20px)}}.minified .ams-widget.comments .widget-body,.minified .ams-widget.comments .widget-body .chat-footer{width:calc(100% - 65px)}@media (max-width:767px){.minified .ams-widget.comments .widget-body,.minified .ams-widget.comments .widget-body .chat-footer{width:calc(100% - 55px)}}.hidden-menu .ams-widget.comments .widget-body,.hidden-menu .ams-widget.comments .widget-body .chat-footer{width:calc(100% - 30px)}.pictograms-manager .pictogram{border-bottom:1px solid silver}.pictograms-manager .pictogram:last-child{border-bottom:none}.sortable.gallery{max-height:550px}
Binary file src/pyams_content/skin/resources/img/internal-link.png has changed
--- a/src/pyams_content/skin/resources/js/jquery-canvasAreaDraw.js	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,273 +0,0 @@
-(function ($) {
-
-	$.fn.canvasAreaDraw = function (options) {
-
-		this.each(function (index, element) {
-			init.apply(element, [index, element, options]);
-		});
-
-	}
-
-	var init = function (index, input, options) {
-
-		var points, activePoint, settings;
-		var $reset, $canvas, ctx, image;
-		var draw, mousedown, stopdrag, move, moveall, resize, reset, rightclick, record;
-		var dragpoint;
-		var startpoint = false;
-
-		settings = $.extend({
-								imageUrl: $(this).attr('data-image-url')
-							}, options);
-
-		var v = $(input).val().replace(/[^0-9\,]/ig, '');
-		if (v.length) {
-			points = v.split(',').map(function (point) {
-				return parseInt(point, 10);
-			});
-		} else {
-			points = [];
-		}
-
-		// $reset = $('<button type="button" class="btn"><i class="icon-trash"></i>Очистить</button>');
-		$reset = $('<i class="fa fa-fw fa-trash"></i>');
-		$canvas = $('<canvas>');
-		ctx = $canvas[0].getContext('2d');
-
-		image = new Image();
-		resize = function () {
-			$canvas.attr('height', image.height).attr('width', image.width);
-			draw();
-		};
-		$(image).load(resize);
-		image.src = settings.imageUrl;
-		if (image.loaded) {
-			resize();
-		}
-		$canvas.css({background: 'url(' + image.src + ')'});
-
-		if (input.type !== 'hidden') {
-			$(input).after('<br />');
-		}
-		$(input).after($canvas, '<br />', $reset);
-
-		reset = function () {
-			points = [];
-			draw();
-		};
-
-		move = function (e) {
-			if (!e.offsetX) {
-				e.offsetX = (e.pageX - $(e.target).offset().left);
-				e.offsetY = (e.pageY - $(e.target).offset().top);
-			}
-			points[activePoint] = Math.round(e.offsetX);
-			points[activePoint + 1] = Math.round(e.offsetY);
-			draw();
-		};
-
-		moveall = function (e) {
-			if (!e.offsetX) {
-				e.offsetX = (e.pageX - $(e.target).offset().left);
-				e.offsetY = (e.pageY - $(e.target).offset().top);
-			}
-			if (!startpoint) {
-				startpoint = {x: Math.round(e.offsetX), y: Math.round(e.offsetY)};
-			}
-			var sdvpoint = {x: Math.round(e.offsetX), y: Math.round(e.offsetY)};
-			for (var i = 0; i < points.length; i++) {
-				points[i] = (sdvpoint.x - startpoint.x) + points[i];
-				points[++i] = (sdvpoint.y - startpoint.y) + points[i];
-			}
-			startpoint = sdvpoint;
-			draw();
-		};
-
-		stopdrag = function () {
-			$(this).off('mousemove');
-			record();
-			activePoint = null;
-		};
-
-		rightclick = function (e) {
-			e.preventDefault();
-			if (!e.offsetX) {
-				e.offsetX = (e.pageX - $(e.target).offset().left);
-				e.offsetY = (e.pageY - $(e.target).offset().top);
-			}
-			var x = e.offsetX, y = e.offsetY;
-			for (var i = 0; i < points.length; i += 2) {
-				dis = Math.sqrt(Math.pow(x - points[i], 2) + Math.pow(y - points[i + 1], 2));
-				if (dis < 6) {
-					points.splice(i, 2);
-					draw();
-					record();
-					return false;
-				}
-			}
-			return false;
-		};
-
-		mousedown = function (e) {
-			var x, y, dis, lineDis, insertAt = points.length;
-
-			if (e.which === 3) {
-				return false;
-			}
-
-			e.preventDefault();
-			if (!e.offsetX) {
-				e.offsetX = (e.pageX - $(e.target).offset().left);
-				e.offsetY = (e.pageY - $(e.target).offset().top);
-			}
-			x = e.offsetX;
-			y = e.offsetY;
-
-			if (points.length >= 6) {
-				var c = getCenter();
-				ctx.fillRect(c.x - 4, c.y - 4, 8, 8);
-				dis = Math.sqrt(Math.pow(x - c.x, 2) + Math.pow(y - c.y, 2));
-				if (dis < 6) {
-					startpoint = false;
-					$(this).on('mousemove', moveall);
-					return false;
-				}
-			}
-
-			for (var i = 0; i < points.length; i += 2) {
-				dis = Math.sqrt(Math.pow(x - points[i], 2) + Math.pow(y - points[i + 1], 2));
-				if (dis < 6) {
-					activePoint = i;
-					$(this).on('mousemove', move);
-					return false;
-				}
-			}
-
-			for (var i = 0; i < points.length; i += 2) {
-				if (i > 1) {
-					lineDis = dotLineLength(
-						x, y,
-						points[i], points[i + 1],
-						points[i - 2], points[i - 1],
-						true
-					);
-					if (lineDis < 6) {
-						insertAt = i;
-					}
-				}
-			}
-
-			points.splice(insertAt, 0, Math.round(x), Math.round(y));
-			activePoint = insertAt;
-			$(this).on('mousemove', move);
-
-			draw();
-			record();
-
-			return false;
-		};
-
-		draw = function () {
-			ctx.canvas.width = ctx.canvas.width;
-
-			record();
-			if (points.length < 2) {
-				return;
-			}
-			ctx.globalCompositeOperation = 'destination-over';
-			ctx.fillStyle = 'rgb(255,255,255)';
-			ctx.strokeStyle = 'rgb(255,20,20)';
-			ctx.lineWidth = 1;
-			if (points.length >= 6) {
-				var c = getCenter();
-				ctx.fillRect(c.x - 4, c.y - 4, 8, 8);
-			}
-			ctx.beginPath();
-			ctx.moveTo(points[0], points[1]);
-			for (var i = 0; i < points.length; i += 2) {
-				ctx.fillRect(points[i] - 2, points[i + 1] - 2, 4, 4);
-				ctx.strokeRect(points[i] - 2, points[i + 1] - 2, 4, 4);
-				if (points.length > 2 && i > 1) {
-					ctx.lineTo(points[i], points[i + 1]);
-				}
-			}
-			ctx.closePath();
-			ctx.fillStyle = 'rgba(255,0,0,0.3)';
-			ctx.fill();
-			ctx.stroke();
-
-		};
-
-		record = function () {
-			$(input).val(points.join(','));
-		};
-
-		getCenter = function () {
-			var ptc = [];
-			for (i = 0; i < points.length; i++) {
-				ptc.push({x: points[i], y: points[++i]});
-			}
-			var first = ptc[0], last = ptc[ptc.length - 1];
-			if (first.x != last.x || first.y != last.y) ptc.push(first);
-			var twicearea = 0,
-				x = 0, y = 0,
-				nptc = ptc.length,
-				p1, p2, f;
-			for (var i = 0, j = nptc - 1; i < nptc; j = i++) {
-				p1 = ptc[i];
-				p2 = ptc[j];
-				f = p1.x * p2.y - p2.x * p1.y;
-				twicearea += f;
-				x += ( p1.x + p2.x ) * f;
-				y += ( p1.y + p2.y ) * f;
-			}
-			f = twicearea * 3;
-			return {x: x / f, y: y / f};
-		};
-
-		$(input).on('change', function () {
-			var v = $(input).val().replace(/[^0-9\,]/ig, '');
-			if (v.length) {
-				points = v.split(',').map(function (point) {
-					return parseInt(point, 10);
-				});
-			} else {
-				points = [];
-			}
-			draw();
-		});
-
-		$(document).find($reset).click(reset);
-		$(document).find($canvas).on('mousedown', mousedown);
-		$(document).find($canvas).on('contextmenu', rightclick);
-		$(document).find($canvas).on('mouseup', stopdrag);
-
-	};
-
-	$(document).ready(function () {
-		$('.canvas-area[data-image-url]').canvasAreaDraw();
-	});
-
-	var dotLineLength = function (x, y, x0, y0, x1, y1, o) {
-		function lineLength(x, y, x0, y0) {
-			return Math.sqrt((x -= x0) * x + (y -= y0) * y);
-		}
-
-		if (o && !(o = function (x, y, x0, y0, x1, y1) {
-				if (!(x1 - x0)) return {x: x0, y: y};
-				else if (!(y1 - y0)) return {x: x, y: y0};
-				var left, tg = -1 / ((y1 - y0) / (x1 - x0));
-				return {
-					x: left = (x1 * (x * tg - y + y0) + x0 * (x * -tg + y - y1)) / (tg * (x1 - x0) + y0 - y1),
-					y: tg * left - tg * x + y
-				};
-			}(x, y, x0, y0, x1, y1), o.x >= Math.min(x0, x1) && o.x <= Math.max(x0, x1) && o.y >= Math.min(y0, y1) && o.y <= Math.max(y0, y1))) {
-			var l1 = lineLength(x, y, x0, y0), l2 = lineLength(x, y, x1, y1);
-			return l1 > l2 ? l2 : l1;
-		}
-		else {
-			var a = y0 - y1, b = x1 - x0, c = x0 * y1 - y0 * x1;
-			return Math.abs(a * x + b * y + c) / Math.sqrt(a * a + b * b);
-		}
-	};
-})(jQuery);
--- a/src/pyams_content/skin/resources/js/jquery-canvasAreaDraw.min.js	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-(function(b){b.fn.canvasAreaDraw=function(d){this.each(function(e,f){c.apply(f,[e,f,d])})};var c=function(i,o,h){var u,g,x;var p,j,s,q;var l,t,m,r,d,z,y,w,f;var e;var k=false;x=b.extend({imageUrl:b(this).attr("data-image-url")},h);var n=b(o).val().replace(/[^0-9\,]/ig,"");if(n.length){u=n.split(",").map(function(v){return parseInt(v,10)})}else{u=[]}p=b('<i class="fa fa-fw fa-trash"></i>');j=b("<canvas>");s=j[0].getContext("2d");q=new Image();z=function(){j.attr("height",q.height).attr("width",q.width);l()};b(q).load(z);q.src=x.imageUrl;if(q.loaded){z()}j.css({background:"url("+q.src+")"});if(o.type!=="hidden"){b(o).after("<br />")}b(o).after(j,"<br />",p);y=function(){u=[];l()};r=function(v){if(!v.offsetX){v.offsetX=(v.pageX-b(v.target).offset().left);v.offsetY=(v.pageY-b(v.target).offset().top)}u[g]=Math.round(v.offsetX);u[g+1]=Math.round(v.offsetY);l()};d=function(B){if(!B.offsetX){B.offsetX=(B.pageX-b(B.target).offset().left);B.offsetY=(B.pageY-b(B.target).offset().top)}if(!k){k={x:Math.round(B.offsetX),y:Math.round(B.offsetY)}}var v={x:Math.round(B.offsetX),y:Math.round(B.offsetY)};for(var A=0;A<u.length;A++){u[A]=(v.x-k.x)+u[A];u[++A]=(v.y-k.y)+u[A]}k=v;l()};m=function(){b(this).off("mousemove");f();g=null};w=function(B){B.preventDefault();if(!B.offsetX){B.offsetX=(B.pageX-b(B.target).offset().left);B.offsetY=(B.pageY-b(B.target).offset().top)}var v=B.offsetX,C=B.offsetY;for(var A=0;A<u.length;A+=2){dis=Math.sqrt(Math.pow(v-u[A],2)+Math.pow(C-u[A+1],2));if(dis<6){u.splice(A,2);l();f();return false}}return false};t=function(E){var v,G,A,D,C=u.length;if(E.which===3){return false}E.preventDefault();if(!E.offsetX){E.offsetX=(E.pageX-b(E.target).offset().left);E.offsetY=(E.pageY-b(E.target).offset().top)}v=E.offsetX;G=E.offsetY;if(u.length>=6){var F=getCenter();s.fillRect(F.x-4,F.y-4,8,8);A=Math.sqrt(Math.pow(v-F.x,2)+Math.pow(G-F.y,2));if(A<6){k=false;b(this).on("mousemove",d);return false}}for(var B=0;B<u.length;B+=2){A=Math.sqrt(Math.pow(v-u[B],2)+Math.pow(G-u[B+1],2));if(A<6){g=B;b(this).on("mousemove",r);return false}}for(var B=0;B<u.length;B+=2){if(B>1){D=a(v,G,u[B],u[B+1],u[B-2],u[B-1],true);if(D<6){C=B}}}u.splice(C,0,Math.round(v),Math.round(G));g=C;b(this).on("mousemove",r);l();f();return false};l=function(){s.canvas.width=s.canvas.width;f();if(u.length<2){return}s.globalCompositeOperation="destination-over";s.fillStyle="rgb(255,255,255)";s.strokeStyle="rgb(255,20,20)";s.lineWidth=1;if(u.length>=6){var A=getCenter();s.fillRect(A.x-4,A.y-4,8,8)}s.beginPath();s.moveTo(u[0],u[1]);for(var v=0;v<u.length;v+=2){s.fillRect(u[v]-2,u[v+1]-2,4,4);s.strokeRect(u[v]-2,u[v+1]-2,4,4);if(u.length>2&&v>1){s.lineTo(u[v],u[v+1])}}s.closePath();s.fillStyle="rgba(255,0,0,0.3)";s.fill();s.stroke()};f=function(){b(o).val(u.join(","))};getCenter=function(){var E=[];for(A=0;A<u.length;A++){E.push({x:u[A],y:u[++A]})}var C=E[0],I=E[E.length-1];if(C.x!=I.x||C.y!=I.y){E.push(C)}var B=0,G=0,F=0,K=E.length,J,H,D;for(var A=0,v=K-1;A<K;v=A++){J=E[A];H=E[v];D=J.x*H.y-H.x*J.y;B+=D;G+=(J.x+H.x)*D;F+=(J.y+H.y)*D}D=B*3;return{x:G/D,y:F/D}};b(o).on("change",function(){var A=b(o).val().replace(/[^0-9\,]/ig,"");if(A.length){u=A.split(",").map(function(v){return parseInt(v,10)})}else{u=[]}l()});b(document).find(p).click(y);b(document).find(j).on("mousedown",t);b(document).find(j).on("contextmenu",w);b(document).find(j).on("mouseup",m)};b(document).ready(function(){b(".canvas-area[data-image-url]").canvasAreaDraw()});var a=function(p,l,g,q,e,n,f){function d(o,t,r,s){return Math.sqrt((o-=r)*o+(t-=s)*t)}if(f&&!(f=function(o,z,s,u,r,t){if(!(r-s)){return{x:s,y:z}}else{if(!(t-u)){return{x:o,y:u}}}var w,v=-1/((t-u)/(r-s));return{x:w=(r*(o*v-z+u)+s*(o*-v+z-t))/(v*(r-s)+u-t),y:v*w-v*o+z}}(p,l,g,q,e,n),f.x>=Math.min(g,e)&&f.x<=Math.max(g,e)&&f.y>=Math.min(q,n)&&f.y<=Math.max(q,n))){var i=d(p,l,g,q),h=d(p,l,e,n);return i>h?h:i}else{var m=q-n,k=e-g,j=g*n-q*e;return Math.abs(m*p+k*l+j)/Math.sqrt(m*m+k*k)}}})(jQuery);
\ No newline at end of file
--- a/src/pyams_content/skin/resources/js/jquery-imagemapster-1.2.10.js	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4668 +0,0 @@
-/* ImageMapster
-   Version: 1.2.10 (2/25/2013)
-
-Copyright 2011-2012 James Treworgy
-
-http://www.outsharked.com/imagemapster
-https://github.com/jamietre/ImageMapster
-
-A jQuery plugin to enhance image maps.
-
-*/
-
-;
-
-/// LICENSE (MIT License)
-///
-/// Permission is hereby granted, free of charge, to any person obtaining
-/// a copy of this software and associated documentation files (the
-/// "Software"), to deal in the Software without restriction, including
-/// without limitation the rights to use, copy, modify, merge, publish,
-/// distribute, sublicense, and/or sell copies of the Software, and to
-/// permit persons to whom the Software is furnished to do so, subject to
-/// the following conditions:
-///
-/// The above copyright notice and this permission notice shall be
-/// included in all copies or substantial portions of the Software.
-///
-/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-/// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-/// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-/// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-/// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-/// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-/// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-///
-/// January 19, 2011
-
-/** @license MIT License (c) copyright B Cavalier & J Hann */
-
-/**
-* when
-* A lightweight CommonJS Promises/A and when() implementation
-*
-* when is part of the cujo.js family of libraries (http://cujojs.com/)
-*
-* Licensed under the MIT License at:
-* http://www.opensource.org/licenses/mit-license.php
-*
-* @version 1.2.0
-*/
-
-/*lint-ignore-start*/
-
-(function (define) {
-    define(function () {
-        var freeze, reduceArray, slice, undef;
-
-        //
-        // Public API
-        //
-
-        when.defer = defer;
-        when.reject = reject;
-        when.isPromise = isPromise;
-
-        when.all = all;
-        when.some = some;
-        when.any = any;
-
-        when.map = map;
-        when.reduce = reduce;
-
-        when.chain = chain;
-
-        /** Object.freeze */
-        freeze = Object.freeze || function (o) { return o; };
-
-        /**
-        * Trusted Promise constructor.  A Promise created from this constructor is
-        * a trusted when.js promise.  Any other duck-typed promise is considered
-        * untrusted.
-        *
-        * @constructor
-        */
-        function Promise() { }
-
-        Promise.prototype = freeze({
-            always: function (alwaysback, progback) {
-                return this.then(alwaysback, alwaysback, progback);
-            },
-
-            otherwise: function (errback) {
-                return this.then(undef, errback);
-            }
-        });
-
-        /**
-        * Create an already-resolved promise for the supplied value
-        * @private
-        *
-        * @param value anything
-        * @return {Promise}
-        */
-        function resolved(value) {
-
-            var p = new Promise();
-
-            p.then = function (callback) {
-                var nextValue;
-                try {
-                    if (callback) nextValue = callback(value);
-                    return promise(nextValue === undef ? value : nextValue);
-                } catch (e) {
-                    return rejected(e);
-                }
-            };
-
-            return freeze(p);
-        }
-
-        /**
-        * Create an already-rejected {@link Promise} with the supplied
-        * rejection reason.
-        * @private
-        *
-        * @param reason rejection reason
-        * @return {Promise}
-        */
-        function rejected(reason) {
-
-            var p = new Promise();
-
-            p.then = function (callback, errback) {
-                var nextValue;
-                try {
-                    if (errback) {
-                        nextValue = errback(reason);
-                        return promise(nextValue === undef ? reason : nextValue)
-                    }
-
-                    return rejected(reason);
-
-                } catch (e) {
-                    return rejected(e);
-                }
-            };
-
-            return freeze(p);
-        }
-
-        /**
-        * Returns a rejected promise for the supplied promiseOrValue. If
-        * promiseOrValue is a value, it will be the rejection value of the
-        * returned promise.  If promiseOrValue is a promise, its
-        * completion value will be the rejected value of the returned promise
-        *
-        * @param promiseOrValue {*} the rejected value of the returned {@link Promise}
-        *
-        * @return {Promise} rejected {@link Promise}
-        */
-        function reject(promiseOrValue) {
-            return when(promiseOrValue, function (value) {
-                return rejected(value);
-            });
-        }
-
-        /**
-        * Creates a new, CommonJS compliant, Deferred with fully isolated
-        * resolver and promise parts, either or both of which may be given out
-        * safely to consumers.
-        * The Deferred itself has the full API: resolve, reject, progress, and
-        * then. The resolver has resolve, reject, and progress.  The promise
-        * only has then.
-        *
-        * @memberOf when
-        * @function
-        *
-        * @returns {Deferred}
-        */
-        function defer() {
-            var deferred, promise, listeners, progressHandlers, _then, _progress, complete;
-
-            listeners = [];
-            progressHandlers = [];
-
-            /**
-            * Pre-resolution then() that adds the supplied callback, errback, and progback
-            * functions to the registered listeners
-            *
-            * @private
-            *
-            * @param [callback] {Function} resolution handler
-            * @param [errback] {Function} rejection handler
-            * @param [progback] {Function} progress handler
-            *
-            * @throws {Error} if any argument is not null, undefined, or a Function
-            */
-            _then = function unresolvedThen(callback, errback, progback) {
-                var deferred = defer();
-
-                listeners.push(function (promise) {
-                    promise.then(callback, errback)
-					.then(deferred.resolve, deferred.reject, deferred.progress);
-                });
-
-                progback && progressHandlers.push(progback);
-
-                return deferred.promise;
-            };
-
-            /**
-            * Registers a handler for this {@link Deferred}'s {@link Promise}.  Even though all arguments
-            * are optional, each argument that *is* supplied must be null, undefined, or a Function.
-            * Any other value will cause an Error to be thrown.
-            *
-            * @memberOf Promise
-            *
-            * @param [callback] {Function} resolution handler
-            * @param [errback] {Function} rejection handler
-            * @param [progback] {Function} progress handler
-            *
-            * @throws {Error} if any argument is not null, undefined, or a Function
-            */
-            function then(callback, errback, progback) {
-                return _then(callback, errback, progback);
-            }
-
-            /**
-            * Resolves this {@link Deferred}'s {@link Promise} with val as the
-            * resolution value.
-            *
-            * @memberOf Resolver
-            *
-            * @param val anything
-            */
-            function resolve(val) {
-                complete(resolved(val));
-            }
-
-            /**
-            * Rejects this {@link Deferred}'s {@link Promise} with err as the
-            * reason.
-            *
-            * @memberOf Resolver
-            *
-            * @param err anything
-            */
-            function reject(err) {
-                complete(rejected(err));
-            }
-
-            /**
-            * @private
-            * @param update
-            */
-            _progress = function (update) {
-                var progress, i = 0;
-                while (progress = progressHandlers[i++]) progress(update);
-            };
-
-            /**
-            * Emits a progress update to all progress observers registered with
-            * this {@link Deferred}'s {@link Promise}
-            *
-            * @memberOf Resolver
-            *
-            * @param update anything
-            */
-            function progress(update) {
-                _progress(update);
-            }
-
-            /**
-            * Transition from pre-resolution state to post-resolution state, notifying
-            * all listeners of the resolution or rejection
-            *
-            * @private
-            *
-            * @param completed {Promise} the completed value of this deferred
-            */
-            complete = function (completed) {
-                var listener, i = 0;
-
-                // Replace _then with one that directly notifies with the result.
-                _then = completed.then;
-
-                // Replace complete so that this Deferred can only be completed
-                // once. Also Replace _progress, so that subsequent attempts to issue
-                // progress throw.
-                complete = _progress = function alreadyCompleted() {
-                    // TODO: Consider silently returning here so that parties who
-                    // have a reference to the resolver cannot tell that the promise
-                    // has been resolved using try/catch
-                    throw new Error("already completed");
-                };
-
-                // Free progressHandlers array since we'll never issue progress events
-                // for this promise again now that it's completed
-                progressHandlers = undef;
-
-                // Notify listeners
-                // Traverse all listeners registered directly with this Deferred
-
-                while (listener = listeners[i++]) {
-                    listener(completed);
-                }
-
-                listeners = [];
-            };
-
-            /**
-            * The full Deferred object, with both {@link Promise} and {@link Resolver}
-            * parts
-            * @class Deferred
-            * @name Deferred
-            */
-            deferred = {};
-
-            // Promise and Resolver parts
-            // Freeze Promise and Resolver APIs
-
-            promise = new Promise();
-            promise.then = deferred.then = then;
-
-            /**
-            * The {@link Promise} for this {@link Deferred}
-            * @memberOf Deferred
-            * @name promise
-            * @type {Promise}
-            */
-            deferred.promise = freeze(promise);
-
-            /**
-            * The {@link Resolver} for this {@link Deferred}
-            * @memberOf Deferred
-            * @name resolver
-            * @class Resolver
-            */
-            deferred.resolver = freeze({
-                resolve: (deferred.resolve = resolve),
-                reject: (deferred.reject = reject),
-                progress: (deferred.progress = progress)
-            });
-
-            return deferred;
-        }
-
-        /**
-        * Determines if promiseOrValue is a promise or not.  Uses the feature
-        * test from http://wiki.commonjs.org/wiki/Promises/A to determine if
-        * promiseOrValue is a promise.
-        *
-        * @param promiseOrValue anything
-        *
-        * @returns {Boolean} true if promiseOrValue is a {@link Promise}
-        */
-        function isPromise(promiseOrValue) {
-            return promiseOrValue && typeof promiseOrValue.then === 'function';
-        }
-
-        /**
-        * Register an observer for a promise or immediate value.
-        *
-        * @function
-        * @name when
-        * @namespace
-        *
-        * @param promiseOrValue anything
-        * @param {Function} [callback] callback to be called when promiseOrValue is
-        *   successfully resolved.  If promiseOrValue is an immediate value, callback
-        *   will be invoked immediately.
-        * @param {Function} [errback] callback to be called when promiseOrValue is
-        *   rejected.
-        * @param {Function} [progressHandler] callback to be called when progress updates
-        *   are issued for promiseOrValue.
-        *
-        * @returns {Promise} a new {@link Promise} that will complete with the return
-        *   value of callback or errback or the completion value of promiseOrValue if
-        *   callback and/or errback is not supplied.
-        */
-        function when(promiseOrValue, callback, errback, progressHandler) {
-            // Get a promise for the input promiseOrValue
-            // See promise()
-            var trustedPromise = promise(promiseOrValue);
-
-            // Register promise handlers
-            return trustedPromise.then(callback, errback, progressHandler);
-        }
-
-        /**
-        * Returns promiseOrValue if promiseOrValue is a {@link Promise}, a new Promise if
-        * promiseOrValue is a foreign promise, or a new, already-resolved {@link Promise}
-        * whose resolution value is promiseOrValue if promiseOrValue is an immediate value.
-        *
-        * Note that this function is not safe to export since it will return its
-        * input when promiseOrValue is a {@link Promise}
-        *
-        * @private
-        *
-        * @param promiseOrValue anything
-        *
-        * @returns Guaranteed to return a trusted Promise.  If promiseOrValue is a when.js {@link Promise}
-        *   returns promiseOrValue, otherwise, returns a new, already-resolved, when.js {@link Promise}
-        *   whose resolution value is:
-        *   * the resolution value of promiseOrValue if it's a foreign promise, or
-        *   * promiseOrValue if it's a value
-        */
-        function promise(promiseOrValue) {
-            var promise, deferred;
-
-            if (promiseOrValue instanceof Promise) {
-                // It's a when.js promise, so we trust it
-                promise = promiseOrValue;
-
-            } else {
-                // It's not a when.js promise.  Check to see if it's a foreign promise
-                // or a value.
-
-                deferred = defer();
-                if (isPromise(promiseOrValue)) {
-                    // It's a compliant promise, but we don't know where it came from,
-                    // so we don't trust its implementation entirely.  Introduce a trusted
-                    // middleman when.js promise
-
-                    // IMPORTANT: This is the only place when.js should ever call .then() on
-                    // an untrusted promise.
-                    promiseOrValue.then(deferred.resolve, deferred.reject, deferred.progress);
-                    promise = deferred.promise;
-
-                } else {
-                    // It's a value, not a promise.  Create an already-resolved promise
-                    // for it.
-                    deferred.resolve(promiseOrValue);
-                    promise = deferred.promise;
-                }
-            }
-
-            return promise;
-        }
-
-        /**
-        * Return a promise that will resolve when howMany of the supplied promisesOrValues
-        * have resolved. The resolution value of the returned promise will be an array of
-        * length howMany containing the resolutions values of the triggering promisesOrValues.
-        *
-        * @memberOf when
-        *
-        * @param promisesOrValues {Array} array of anything, may contain a mix
-        *      of {@link Promise}s and values
-        * @param howMany
-        * @param [callback]
-        * @param [errback]
-        * @param [progressHandler]
-        *
-        * @returns {Promise}
-        */
-        function some(promisesOrValues, howMany, callback, errback, progressHandler) {
-
-            checkCallbacks(2, arguments);
-
-            return when(promisesOrValues, function (promisesOrValues) {
-
-                var toResolve, results, ret, deferred, resolver, rejecter, handleProgress, len, i;
-
-                len = promisesOrValues.length >>> 0;
-
-                toResolve = Math.max(0, Math.min(howMany, len));
-                results = [];
-                deferred = defer();
-                ret = when(deferred, callback, errback, progressHandler);
-
-                // Wrapper so that resolver can be replaced
-                function resolve(val) {
-                    resolver(val);
-                }
-
-                // Wrapper so that rejecter can be replaced
-                function reject(err) {
-                    rejecter(err);
-                }
-
-                // Wrapper so that progress can be replaced
-                function progress(update) {
-                    handleProgress(update);
-                }
-
-                function complete() {
-                    resolver = rejecter = handleProgress = noop;
-                }
-
-                // No items in the input, resolve immediately
-                if (!toResolve) {
-                    deferred.resolve(results);
-
-                } else {
-                    // Resolver for promises.  Captures the value and resolves
-                    // the returned promise when toResolve reaches zero.
-                    // Overwrites resolver var with a noop once promise has
-                    // be resolved to cover case where n < promises.length
-                    resolver = function (val) {
-                        // This orders the values based on promise resolution order
-                        // Another strategy would be to use the original position of
-                        // the corresponding promise.
-                        results.push(val);
-
-                        if (! --toResolve) {
-                            complete();
-                            deferred.resolve(results);
-                        }
-                    };
-
-                    // Rejecter for promises.  Rejects returned promise
-                    // immediately, and overwrites rejecter var with a noop
-                    // once promise to cover case where n < promises.length.
-                    // TODO: Consider rejecting only when N (or promises.length - N?)
-                    // promises have been rejected instead of only one?
-                    rejecter = function (err) {
-                        complete();
-                        deferred.reject(err);
-                    };
-
-                    handleProgress = deferred.progress;
-
-                    // TODO: Replace while with forEach
-                    for (i = 0; i < len; ++i) {
-                        if (i in promisesOrValues) {
-                            when(promisesOrValues[i], resolve, reject, progress);
-                        }
-                    }
-                }
-
-                return ret;
-            });
-        }
-
-        /**
-        * Return a promise that will resolve only once all the supplied promisesOrValues
-        * have resolved. The resolution value of the returned promise will be an array
-        * containing the resolution values of each of the promisesOrValues.
-        *
-        * @memberOf when
-        *
-        * @param promisesOrValues {Array|Promise} array of anything, may contain a mix
-        *      of {@link Promise}s and values
-        * @param [callback] {Function}
-        * @param [errback] {Function}
-        * @param [progressHandler] {Function}
-        *
-        * @returns {Promise}
-        */
-        function all(promisesOrValues, callback, errback, progressHandler) {
-
-            checkCallbacks(1, arguments);
-
-            return when(promisesOrValues, function (promisesOrValues) {
-                return _reduce(promisesOrValues, reduceIntoArray, []);
-            }).then(callback, errback, progressHandler);
-        }
-
-        function reduceIntoArray(current, val, i) {
-            current[i] = val;
-            return current;
-        }
-
-        /**
-        * Return a promise that will resolve when any one of the supplied promisesOrValues
-        * has resolved. The resolution value of the returned promise will be the resolution
-        * value of the triggering promiseOrValue.
-        *
-        * @memberOf when
-        *
-        * @param promisesOrValues {Array|Promise} array of anything, may contain a mix
-        *      of {@link Promise}s and values
-        * @param [callback] {Function}
-        * @param [errback] {Function}
-        * @param [progressHandler] {Function}
-        *
-        * @returns {Promise}
-        */
-        function any(promisesOrValues, callback, errback, progressHandler) {
-
-            function unwrapSingleResult(val) {
-                return callback ? callback(val[0]) : val[0];
-            }
-
-            return some(promisesOrValues, 1, unwrapSingleResult, errback, progressHandler);
-        }
-
-        /**
-        * Traditional map function, similar to `Array.prototype.map()`, but allows
-        * input to contain {@link Promise}s and/or values, and mapFunc may return
-        * either a value or a {@link Promise}
-        *
-        * @memberOf when
-        *
-        * @param promise {Array|Promise} array of anything, may contain a mix
-        *      of {@link Promise}s and values
-        * @param mapFunc {Function} mapping function mapFunc(value) which may return
-        *      either a {@link Promise} or value
-        *
-        * @returns {Promise} a {@link Promise} that will resolve to an array containing
-        *      the mapped output values.
-        */
-        function map(promise, mapFunc) {
-            return when(promise, function (array) {
-                return _map(array, mapFunc);
-            });
-        }
-
-        /**
-        * Private map helper to map an array of promises
-        * @private
-        *
-        * @param promisesOrValues {Array}
-        * @param mapFunc {Function}
-        * @return {Promise}
-        */
-        function _map(promisesOrValues, mapFunc) {
-
-            var results, len, i;
-
-            // Since we know the resulting length, we can preallocate the results
-            // array to avoid array expansions.
-            len = promisesOrValues.length >>> 0;
-            results = new Array(len);
-
-            // Since mapFunc may be async, get all invocations of it into flight
-            // asap, and then use reduce() to collect all the results
-            for (i = 0; i < len; i++) {
-                if (i in promisesOrValues)
-                    results[i] = when(promisesOrValues[i], mapFunc);
-            }
-
-            // Could use all() here, but that would result in another array
-            // being allocated, i.e. map() would end up allocating 2 arrays
-            // of size len instead of just 1.  Since all() uses reduce()
-            // anyway, avoid the additional allocation by calling reduce
-            // directly.
-            return _reduce(results, reduceIntoArray, results);
-        }
-
-        /**
-        * Traditional reduce function, similar to `Array.prototype.reduce()`, but
-        * input may contain {@link Promise}s and/or values, and reduceFunc
-        * may return either a value or a {@link Promise}, *and* initialValue may
-        * be a {@link Promise} for the starting value.
-        *
-        * @memberOf when
-        *
-        * @param promise {Array|Promise} array of anything, may contain a mix
-        *      of {@link Promise}s and values.  May also be a {@link Promise} for
-        *      an array.
-        * @param reduceFunc {Function} reduce function reduce(currentValue, nextValue, index, total),
-        *      where total is the total number of items being reduced, and will be the same
-        *      in each call to reduceFunc.
-        * @param initialValue starting value, or a {@link Promise} for the starting value
-        *
-        * @returns {Promise} that will resolve to the final reduced value
-        */
-        function reduce(promise, reduceFunc, initialValue) {
-            var args = slice.call(arguments, 1);
-            return when(promise, function (array) {
-                return _reduce.apply(undef, [array].concat(args));
-            });
-        }
-
-        /**
-        * Private reduce to reduce an array of promises
-        * @private
-        *
-        * @param promisesOrValues {Array}
-        * @param reduceFunc {Function}
-        * @param initialValue {*}
-        * @return {Promise}
-        */
-        function _reduce(promisesOrValues, reduceFunc, initialValue) {
-
-            var total, args;
-
-            total = promisesOrValues.length;
-
-            // Skip promisesOrValues, since it will be used as 'this' in the call
-            // to the actual reduce engine below.
-
-            // Wrap the supplied reduceFunc with one that handles promises and then
-            // delegates to the supplied.
-
-            args = [
-			function (current, val, i) {
-			    return when(current, function (c) {
-			        return when(val, function (value) {
-			            return reduceFunc(c, value, i, total);
-			        });
-			    });
-			}
-		];
-
-            if (arguments.length > 2) args.push(initialValue);
-
-            return reduceArray.apply(promisesOrValues, args);
-        }
-
-        /**
-        * Ensure that resolution of promiseOrValue will complete resolver with the completion
-        * value of promiseOrValue, or instead with resolveValue if it is provided.
-        *
-        * @memberOf when
-        *
-        * @param promiseOrValue
-        * @param resolver {Resolver}
-        * @param [resolveValue] anything
-        *
-        * @returns {Promise}
-        */
-        function chain(promiseOrValue, resolver, resolveValue) {
-            var useResolveValue = arguments.length > 2;
-
-            return when(promiseOrValue,
-			function (val) {
-			    if (useResolveValue) val = resolveValue;
-			    resolver.resolve(val);
-			    return val;
-			},
-			function (e) {
-			    resolver.reject(e);
-			    return rejected(e);
-			},
-			resolver.progress
-		);
-        }
-
-        //
-        // Utility functions
-        //
-
-        /**
-        * Helper that checks arrayOfCallbacks to ensure that each element is either
-        * a function, or null or undefined.
-        *
-        * @private
-        *
-        * @param arrayOfCallbacks {Array} array to check
-        * @throws {Error} if any element of arrayOfCallbacks is something other than
-        * a Functions, null, or undefined.
-        */
-        function checkCallbacks(start, arrayOfCallbacks) {
-            var arg, i = arrayOfCallbacks.length;
-            while (i > start) {
-                arg = arrayOfCallbacks[--i];
-                if (arg != null && typeof arg != 'function') throw new Error('callback is not a function');
-            }
-        }
-
-        /**
-        * No-Op function used in method replacement
-        * @private
-        */
-        function noop() { }
-
-        slice = [].slice;
-
-        // ES5 reduce implementation if native not available
-        // See: http://es5.github.com/#x15.4.4.21 as there are many
-        // specifics and edge cases.
-        reduceArray = [].reduce ||
-		function (reduceFunc /*, initialValue */) {
-		    // ES5 dictates that reduce.length === 1
-
-		    // This implementation deviates from ES5 spec in the following ways:
-		    // 1. It does not check if reduceFunc is a Callable
-
-		    var arr, args, reduced, len, i;
-
-		    i = 0;
-		    arr = Object(this);
-		    len = arr.length >>> 0;
-		    args = arguments;
-
-		    // If no initialValue, use first item of array (we know length !== 0 here)
-		    // and adjust i to start at second item
-		    if (args.length <= 1) {
-		        // Skip to the first real element in the array
-		        for (; ; ) {
-		            if (i in arr) {
-		                reduced = arr[i++];
-		                break;
-		            }
-
-		            // If we reached the end of the array without finding any real
-		            // elements, it's a TypeError
-		            if (++i >= len) {
-		                throw new TypeError();
-		            }
-		        }
-		    } else {
-		        // If initialValue provided, use it
-		        reduced = args[1];
-		    }
-
-		    // Do the actual reduce
-		    for (; i < len; ++i) {
-		        // Skip holes
-		        if (i in arr)
-		            reduced = reduceFunc(reduced, arr[i], i, arr);
-		    }
-
-		    return reduced;
-		};
-
-        return when;
-    });
-})(typeof define == 'function'
-	? define
-	: function (factory) {
-	    typeof module != 'undefined'
-		? (module.exports = factory())
-		: (jQuery.mapster_when = factory());
-	}
-// Boilerplate for AMD, Node, and browser global
-);
-/*lint-ignore-end*/
-/* ImageMapster core */
-
-/*jslint laxbreak: true, evil: true, unparam: true */
-
-/*global jQuery: true, Zepto: true */
-
-
-(function ($) {
-    // all public functions in $.mapster.impl are methods
-    $.fn.mapster = function (method) {
-        var m = $.mapster.impl;
-        if ($.isFunction(m[method])) {
-            return m[method].apply(this, Array.prototype.slice.call(arguments, 1));
-        } else if (typeof method === 'object' || !method) {
-            return m.bind.apply(this, arguments);
-        } else {
-            $.error('Method ' + method + ' does not exist on jQuery.mapster');
-        }
-    };
-
-    $.mapster = {
-        version: "1.2.10",
-        render_defaults: {
-            isSelectable: true,
-            isDeselectable: true,
-            fade: false,
-            fadeDuration: 150,
-            fill: true,
-            fillColor: '000000',
-            fillColorMask: 'FFFFFF',
-            fillOpacity: 0.7,
-            highlight: true,
-            stroke: false,
-            strokeColor: 'ff0000',
-            strokeOpacity: 1,
-            strokeWidth: 1,
-            includeKeys: '',
-            altImage: null,
-            altImageId: null, // used internally            
-            altImages: {} 
-        },
-        defaults: {
-            clickNavigate: false,
-            wrapClass: null,
-            wrapCss: null,
-            onGetList: null,
-            sortList: false,
-            listenToList: false,
-            mapKey: '',
-            mapValue: '',
-            singleSelect: false,
-            listKey: 'value',
-            listSelectedAttribute: 'selected',
-            listSelectedClass: null,
-            onClick: null,
-            onMouseover: null,
-            onMouseout: null,
-            mouseoutDelay: 0,
-            onStateChange: null,
-            boundList: null,
-            onConfigured: null,
-            configTimeout: 30000,
-            noHrefIsMask: true,
-            scaleMap: true,
-            safeLoad: false,
-            areas: []
-        },
-        shared_defaults: {
-            render_highlight: { fade: true },
-            render_select: { fade: false },
-            staticState: null,
-            selected: null
-        },
-        area_defaults:
-        {
-            includeKeys: '',
-            isMask: false
-        },
-        canvas_style: {
-            position: 'absolute',
-            left: 0,
-            top: 0,
-            padding: 0,
-            border: 0
-        },
-        hasCanvas: null,
-        isTouch: null,
-        map_cache: [],
-        hooks: {},
-        addHook: function(name,callback) {
-            this.hooks[name]=(this.hooks[name]||[]).push(callback);
-        },
-        callHooks: function(name,context) {
-            $.each(this.hooks[name]||[],function(i,e) {
-                e.apply(context);
-            });
-        },
-        utils: {
-            when: $.mapster_when,
-            defer: $.mapster_when.defer,
-
-            // extends the constructor, returns a new object prototype. Does not refer to the
-            // original constructor so is protected if the original object is altered. This way you
-            // can "extend" an object by replacing it with its subclass.
-            subclass: function(BaseClass, constr) {
-                var Subclass=function() {
-                    var me=this, 
-                        args=Array.prototype.slice.call(arguments,0);
-                    me.base = BaseClass.prototype;
-                    me.base.init = function() {
-                        BaseClass.prototype.constructor.apply(me,args);
-                    };
-                    constr.apply(me,args);
-                };
-                Subclass.prototype = new BaseClass();
-                Subclass.prototype.constructor=Subclass;
-                return Subclass;
-            },
-            asArray: function (obj) {
-                return obj.constructor === Array ?
-                    obj : this.split(obj);
-            },
-            // clean split: no padding or empty elements
-            split: function (text,cb) {
-                var i,el, arr = text.split(',');
-                for (i = 0; i < arr.length; i++) {
-                    el = $.trim(arr[i]);
-                    if (el==='') {
-                        arr.splice(i,1);
-                    } else {
-                        arr[i] = cb ? cb(el):el;
-                    }
-                }
-                return arr;
-            },
-            // similar to $.extend but does not add properties (only updates), unless the
-            // first argument is an empty object, then all properties will be copied
-            updateProps: function (_target, _template) {
-                var onlyProps,
-                    target = _target || {},
-                    template = $.isEmptyObject(target) ? _template : _target;
-
-                //if (template) {
-                onlyProps = [];
-                $.each(template, function (prop) {
-                    onlyProps.push(prop);
-                });
-                //}
-
-                $.each(Array.prototype.slice.call(arguments, 1), function (i, src) {
-                    $.each(src || {}, function (prop) {
-                        if (!onlyProps || $.inArray(prop, onlyProps) >= 0) {
-                            var p = src[prop];
-
-                            if ($.isPlainObject(p)) {
-                                // not recursive - only copies 1 level of subobjects, and always merges
-                                target[prop] = $.extend(target[prop] || {}, p);
-                            } else if (p && p.constructor === Array) {
-                                target[prop] = p.slice(0);
-                            } else if (typeof p !== 'undefined') {
-                                target[prop] = src[prop];
-                            }
-
-                        }
-                    });
-                });
-                return target;
-            },
-            isElement: function (o) {
-                return (typeof HTMLElement === "object" ? o instanceof HTMLElement :
-                        o && typeof o === "object" && o.nodeType === 1 && typeof o.nodeName === "string");
-            },
-            // finds element of array or object with a property "prop" having value "val"
-            // if prop is not defined, then just looks for property with value "val"
-            indexOfProp: function (obj, prop, val) {
-                var result = obj.constructor === Array ? -1 : null;
-                $.each(obj, function (i, e) {
-                    if (e && (prop ? e[prop] : e) === val) {
-                        result = i;
-                        return false;
-                    }
-                });
-                return result;
-            },
-            // returns "obj" if true or false, or "def" if not true/false
-            boolOrDefault: function (obj, def) {
-                return this.isBool(obj) ?
-                        obj : def || false;
-            },
-            isBool: function (obj) {
-                return typeof obj === "boolean";
-            },
-            isUndef: function(obj) {
-                return typeof obj === "undefined";
-            },
-            // evaluates "obj", if function, calls it with args
-            // (todo - update this to handle variable lenght/more than one arg)
-            ifFunction: function (obj, that, args) {
-                if ($.isFunction(obj)) {
-                    obj.call(that, args);
-                }
-            },
-            size: function(image, raw) {
-                var u=$.mapster.utils;
-                return { 
-                    width: raw ? (image.width || image.naturalWidth) : u.imgWidth(image,true) ,
-                    height: raw ? (image.height || image.naturalHeight) : u.imgHeight(image,true),
-                    complete: function() { return !!this.height && !!this.width;}
-                };
-            },
-
-                
-            /**
-             * Set the opacity of the element. This is an IE<8 specific function for handling VML.
-             * When using VML we must override the "setOpacity" utility function (monkey patch ourselves).
-             * jQuery does not deal with opacity correctly for VML elements. This deals with that.
-             * 
-             * @param {Element} el The DOM element
-             * @param {double} opacity A value between 0 and 1 inclusive.
-             */
-
-            setOpacity: function (el, opacity) {
-                if ($.mapster.hasCanvas()) {
-                    el.style.opacity = opacity;
-                } else {
-                    $(el).each(function(i,e) {
-                        if (typeof e.opacity !=='undefined') {
-                           e.opacity=opacity;
-                        } else {
-                            $(e).css("opacity",opacity);
-                        }
-                    });
-                }
-            },
-
-
-            // fade "el" from opacity "op" to "endOp" over a period of time "duration"
-            
-            fader: (function () {
-                var elements = {},
-                        lastKey = 0,
-                        fade_func = function (el, op, endOp, duration) {
-                            var index, 
-                                cbIntervals = duration/15,
-                                obj, u = $.mapster.utils;
-
-                            if (typeof el === 'number') {
-                                obj = elements[el];
-                                if (!obj) {
-                                    return;
-                                }
-                            } else {
-                                index = u.indexOfProp(elements, null, el);
-                                if (index) {
-                                    delete elements[index];
-                                }
-                                elements[++lastKey] = obj = el;
-                                el = lastKey;
-                            }
-
-                            endOp = endOp || 1;
-
-                            op = (op + (endOp / cbIntervals) > endOp - 0.01) ? endOp : op + (endOp / cbIntervals);
-
-                            u.setOpacity(obj, op);
-                            if (op < endOp) {
-                                setTimeout(function () {
-                                    fade_func(el, op, endOp, duration);
-                                }, 15);
-                            }
-                        };
-                return fade_func;
-            } ())
-        },
-        getBoundList: function (opts, key_list) {
-            if (!opts.boundList) {
-                return null;
-            }
-            var index, key, result = $(), list = $.mapster.utils.split(key_list);
-            opts.boundList.each(function (i,e) {
-                for (index = 0; index < list.length; index++) {
-                    key = list[index];
-                    if ($(e).is('[' + opts.listKey + '="' + key + '"]')) {
-                        result = result.add(e);
-                    }
-                }
-            });
-            return result;
-        },
-        // Causes changes to the bound list based on the user action (select or deselect)
-        // area: the jQuery area object
-        // returns the matching elements from the bound list for the first area passed (normally only one should be passed, but
-        // a list can be passed
-        setBoundListProperties: function (opts, target, selected) {
-            target.each(function (i,e) {
-                if (opts.listSelectedClass) {
-                    if (selected) {
-                        $(e).addClass(opts.listSelectedClass);
-                    } else {
-                        $(e).removeClass(opts.listSelectedClass);
-                    }
-                }
-                if (opts.listSelectedAttribute) {
-                    $(e).attr(opts.listSelectedAttribute, selected);
-                }
-            });
-        },
-        getMapDataIndex: function (obj) {
-            var img, id;
-            switch (obj.tagName && obj.tagName.toLowerCase()) {
-                case 'area':
-                    id = $(obj).parent().attr('name');
-                    img = $("img[usemap='#" + id + "']")[0];
-                    break;
-                case 'img':
-                    img = obj;
-                    break;
-            }
-            return img ?
-                this.utils.indexOfProp(this.map_cache, 'image', img) : -1;
-        },
-        getMapData: function (obj) {
-            var index = this.getMapDataIndex(obj.length ? obj[0]:obj);
-            if (index >= 0) {
-                return index >= 0 ? this.map_cache[index] : null;
-            }
-        },
-        /**
-         * Queue a command to be run after the active async operation has finished
-         * @param  {MapData}  map_data    The target MapData object
-         * @param  {jQuery}   that        jQuery object on which the command was invoked
-         * @param  {string}   command     the ImageMapster method name
-         * @param  {object[]} args        arguments passed to the method
-         * @return {bool}                 true if the command was queued, false if not (e.g. there was no need to)
-         */
-        queueCommand: function (map_data, that, command, args) {
-            if (!map_data) {
-                return false;
-            }
-            if (!map_data.complete || map_data.currentAction) {
-                map_data.commands.push(
-                {
-                    that: that,
-                    command: command,
-                    args: args
-                });
-                return true;
-            }
-            return false;
-        },
-        unload: function () {
-            this.impl.unload();
-            this.utils = null;
-            this.impl = null;
-            $.fn.mapster = null;
-            $.mapster = null;
-            $('*').unbind();
-        }
-    };
-
-    // Config for object prototypes
-    // first: use only first object (for things that should not apply to lists)
-    /// calls back one of two fuinctions, depending on whether an area was obtained.
-    // opts: {
-    //    name: 'method name',
-    //    key: 'key,
-    //    args: 'args'
-    //
-    //}
-    // name: name of method (required)
-    // args: arguments to re-call with
-    // Iterates through all the objects passed, and determines whether it's an area or an image, and calls the appropriate
-    // callback for each. If anything is returned from that callback, the process is stopped and that data return. Otherwise,
-    // the object itself is returned.
-    
-    var m = $.mapster, 
-        u = m.utils,
-        ap = Array.prototype;
-
-
-    // jQuery's width() and height() are broken on IE9 in some situations. This tries everything. 
-    $.each(["width","height"],function(i,e) {
-        var capProp = e.substr(0,1).toUpperCase() + e.substr(1);
-        // when jqwidth parm is passed, it also checks the jQuery width()/height() property
-        // the issue is that jQUery width() can report a valid size before the image is loaded in some browsers
-        // without it, we can read zero even when image is loaded in other browsers if its not visible
-        // we must still check because stuff like adblock can temporarily block it
-        // what a goddamn headache
-        u["img"+capProp]=function(img,jqwidth) {
-                return (jqwidth ? $(img)[e]() : 0) || 
-                    img[e] || img["natural"+capProp] || img["client"+capProp] || img["offset"+capProp];
-        };
-     
-    });    
-
-    /**
-     * The Method object encapsulates the process of testing an ImageMapster method to see if it's being
-     * invoked on an image, or an area; then queues the command if the MapData is in an active state.
-     * 
-     * @param {[jQuery]}    that        The target of the invocation
-     * @param {[function]}  func_map    The callback if the target is an imagemap
-     * @param {[function]}  func_area   The callback if the target is an area
-     * @param {[object]}    opt         Options: { key: a map key if passed explicitly
-     *                                             name: the command name, if it can be queued,
-     *                                             args: arguments to the method
-     *                                            }
-     */
-    
-    m.Method = function (that, func_map, func_area, opts) {
-        var me = this;
-        me.name = opts.name;
-        me.output = that;
-        me.input = that;
-        me.first = opts.first || false;
-        me.args = opts.args ? ap.slice.call(opts.args, 0) : [];
-        me.key = opts.key;
-        me.func_map = func_map;
-        me.func_area = func_area;
-        //$.extend(me, opts);
-        me.name = opts.name;
-        me.allowAsync = opts.allowAsync || false;
-    };
-    m.Method.prototype = {
-        constructor: m.Method,
-        go: function () {
-            var i,  data, ar, len, result, src = this.input,
-                    area_list = [],
-                    me = this;
-
-            len = src.length;
-            for (i = 0; i < len; i++) {
-                data = $.mapster.getMapData(src[i]);
-                if (data) {
-                    if (!me.allowAsync && m.queueCommand(data, me.input, me.name, me.args)) {
-                        if (this.first) {
-                            result = '';
-                        }
-                        continue;
-                    }
-                    
-                    ar = data.getData(src[i].nodeName === 'AREA' ? src[i] : this.key);
-                    if (ar) {
-                        if ($.inArray(ar, area_list) < 0) {
-                            area_list.push(ar);
-                        }
-                    } else {
-                        result = this.func_map.apply(data, me.args);
-                    }
-                    if (this.first || typeof result !== 'undefined') {
-                        break;
-                    }
-                }
-            }
-            // if there were areas, call the area function for each unique group
-            $(area_list).each(function (i,e) {
-                result = me.func_area.apply(e, me.args);
-            });
-
-            if (typeof result !== 'undefined') {
-                return result;
-            } else {
-                return this.output;
-            }
-        }
-    };
-
-    $.mapster.impl = (function () {
-        var me = {},
-        addMap= function (map_data) {
-            return m.map_cache.push(map_data) - 1;
-        },
-        removeMap = function (map_data) {
-            m.map_cache.splice(map_data.index, 1);
-            for (var i = m.map_cache.length - 1; i >= this.index; i--) {
-                m.map_cache[i].index--;
-            }
-        };
-
-        
-        /**
-         * Test whether the browser supports VML. Credit: google.
-         * http://stackoverflow.com/questions/654112/how-do-you-detect-support-for-vml-or-svg-in-a-browser
-         * 
-         * @return {bool} true if vml is supported, false if not
-         */
-        
-        function hasVml() {
-            var a = $('<div />').appendTo('body');
-            a.html('<v:shape id="vml_flag1" adj="1" />');
-            
-            var b = a[0].firstChild;
-            b.style.behavior = "url(#default#VML)";
-            var has = b ? typeof b.adj === "object" : true;
-            a.remove();
-            return has;
-        }
-
-        /**
-         * Return a reference to the IE namespaces object, if available, or an empty object otherwise
-         * @return {obkect} The document.namespaces object.
-         */
-        function namespaces() {
-            return typeof(document.namespaces)==='object' ?
-                document.namespaces :
-                null;
-        }
-
-        /**
-         * Test for the presence of HTML5 Canvas support. This also checks to see if excanvas.js has been 
-         * loaded and is faking it; if so, we assume that canvas is not supported.
-         *
-         * @return {bool} true if HTML5 canvas support, false if not
-         */
-        
-        function hasCanvas() {
-            var d = namespaces();
-            // when g_vml_ is present, then we can be sure excanvas is active, meaning there's not a real canvas.
-            
-             return d && d.g_vml_ ? 
-                false :
-                $('<canvas />')[0].getContext ? 
-                    true : 
-                    false;
-        }
-
-        /**
-         * Merge new area data into existing area options on a MapData object. Used for rebinding.
-         * 
-         * @param  {[MapData]} map_data     The MapData object
-         * @param  {[object[]]} areas       areas array to merge
-         */
-        
-        function merge_areas(map_data, areas) {
-            var ar, index,
-                map_areas = map_data.options.areas;
-
-            if (areas) {
-                $.each(areas, function (i, e) {
-                    
-                    // Issue #68 - ignore invalid data in areas array
-                    
-                    if (!e || !e.key) { 
-                        return;
-                    }
-
-                    index = u.indexOfProp(map_areas, "key", e.key);
-
-                    if (index >= 0) {
-                        $.extend(map_areas[index], e);
-                    }
-                    else {
-                        map_areas.push(e);
-                    }
-                    ar = map_data.getDataForKey(e.key);
-                    if (ar) {
-                        $.extend(ar.options, e);
-                    }
-                });
-            }
-        }
-        function merge_options(map_data, options) {
-            var temp_opts = u.updateProps({}, options);
-            delete temp_opts.areas;
-
-            u.updateProps(map_data.options, temp_opts);
-
-            merge_areas(map_data, options.areas);
-            // refresh the area_option template
-            u.updateProps(map_data.area_options, map_data.options);
-        }
-
-        // Most methods use the "Method" object which handles figuring out whether it's an image or area called and
-        // parsing key parameters. The constructor wants:
-        // this, the jQuery object
-        // a function that is called when an image was passed (with a this context of the MapData)
-        // a function that is called when an area was passed (with a this context of the AreaData)
-        // options: first = true means only the first member of a jQuery object is handled
-        //          key = the key parameters passed
-        //          defaultReturn: a value to return other than the jQuery object (if its not chainable)
-        //          args: the arguments
-        // Returns a comma-separated list of user-selected areas. "staticState" areas are not considered selected for the purposes of this method.
-        
-        me.get = function (key) {
-            var md = m.getMapData(this);
-            if (!(md && md.complete)) {
-                throw("Can't access data until binding complete.");
-            }
-
-            return (new m.Method(this,
-                function () {
-                    // map_data return
-                    return this.getSelected();
-                },
-                function () {
-                    return this.isSelected();
-                },
-                { name: 'get',
-                    args: arguments,
-                    key: key,
-                    first: true,
-                    allowAsync: true,
-                    defaultReturn: ''
-                }
-            )).go();
-        };
-        me.data = function (key) {
-            return (new m.Method(this,
-                null,
-                function () {
-                    return this;
-                },
-                { name: 'data',
-                    args: arguments,
-                    key: key
-                }
-            )).go();
-        };
-
-
-        // Set or return highlight state.
-        //  $(img).mapster('highlight') -- return highlighted area key, or null if none
-        //  $(area).mapster('highlight') -- highlight an area
-        //  $(img).mapster('highlight','area_key') -- highlight an area
-        //  $(img).mapster('highlight',false) -- remove highlight
-        me.highlight = function (key) {
-            return (new m.Method(this,
-                function () {
-                    if (key === false) {
-                        this.ensureNoHighlight();
-                    } else {
-                        var id = this.highlightId;
-                        return id >= 0 ? this.data[id].key : null;
-                    }
-                },
-                function () {
-                    this.highlight();
-                },
-                { name: 'highlight',
-                    args: arguments,
-                    key: key,
-                    first: true
-                }
-            )).go();
-        };
-        // Return the primary keys for an area or group key.
-        // $(area).mapster('key')
-        // includes all keys (not just primary keys)
-        // $(area).mapster('key',true)
-        // $(img).mapster('key','group-key')
-
-        // $(img).mapster('key','group-key', true)
-        me.keys = function(key,all) {
-            var keyList=[], 
-                md = m.getMapData(this);
-
-            if (!(md && md.complete)) {
-                throw("Can't access data until binding complete.");
-            }
-
-
-            function addUniqueKeys(ad) {
-                var areas,keys=[];
-                if (!all) {
-                    keys.push(ad.key);
-                } else {
-                    areas=ad.areas();
-                    $.each(areas,function(i,e) {
-                        keys=keys.concat(e.keys);
-                    });
-                }
-                $.each(keys,function(i,e) {
-                    if ($.inArray(e,keyList)<0) {
-                        keyList.push(e);                         
-                    }
-                });
-            }
-
-            if (!(md  && md.complete)) {
-                return '';
-            }
-            if (typeof key === 'string') {
-                if (all) {
-                    addUniqueKeys(md.getDataForKey(key));
-                } else {
-                    keyList=[md.getKeysForGroup(key)];
-                }
-            } else {
-                all = key;
-                this.each(function(i,e) {
-                    if (e.nodeName==='AREA') {
-                        addUniqueKeys(md.getDataForArea(e));
-                    }
-                });
-            }
-            return keyList.join(',');
-        
-
-        };
-        me.select = function () {
-            me.set.call(this, true);
-        };
-        me.deselect = function () {
-            me.set.call(this, false);
-        };
-        
-        /**
-         * Select or unselect areas. Areas can be identified by a single string key, a comma-separated list of keys, 
-         * or an array of strings.
-         * 
-         * 
-         * @param {boolean} selected Determines whether areas are selected or deselected
-         * @param {string|string[]} key A string, comma-separated string, or array of strings indicating 
-         *                              the areas to select or deselect
-         * @param {object} options Rendering options to apply when selecting an area
-         */ 
-
-        me.set = function (selected, key, options) {
-            var lastMap, map_data, opts=options,
-                key_list, area_list; // array of unique areas passed
-
-            function setSelection(ar) {
-                if (ar) {
-                    switch (selected) {
-                        case true:
-                            ar.select(opts); break;
-                        case false:
-                            ar.deselect(true); break;
-                        default:
-                            ar.toggle(opts); break;
-                    }
-                }
-            }
-            function addArea(ar) {
-               if (ar && $.inArray(ar, area_list) < 0) {
-                    area_list.push(ar);
-                    key_list+=(key_list===''?'':',')+ar.key;
-                }
-            }
-            // Clean up after a group that applied to the same map
-            function finishSetForMap(map_data) {
-                $.each(area_list, function (i, el) {
-                    setSelection(el);
-                });
-                if (!selected) {
-                    map_data.removeSelectionFinish();
-                }
-                if (map_data.options.boundList) {
-                    m.setBoundListProperties(map_data.options, m.getBoundList(map_data.options, key_list), selected);
-                }            
-            }
-
-            this.filter('img,area').each(function (i,e) {
-                var keys;
-                map_data = m.getMapData(e);
-
-                if (map_data !== lastMap) {
-                    if (lastMap) {
-                       finishSetForMap(lastMap);
-                    }
-
-                    area_list = [];
-                    key_list='';
-                }
-                
-               if (map_data) {
-                    
-                    keys = '';
-                    if (e.nodeName.toUpperCase()==='IMG') {
-                        if (!m.queueCommand(map_data, $(e), 'set', [selected, key, opts])) {
-                            if (key instanceof Array) {
-                                if (key.length) {
-                                    keys = key.join(",");
-                                }
-                            }
-                            else {
-                                keys = key;
-                            }
-
-                            if (keys) {
-                                $.each(u.split(keys), function (i,key) {
-                                    addArea(map_data.getDataForKey(key.toString()));
-                                    lastMap = map_data;
-                                });
-                            }
-                        }
-                    } else {
-                        opts=key;
-                        if (!m.queueCommand(map_data, $(e), 'set', [selected, opts])) {
-                            addArea(map_data.getDataForArea(e));
-                            lastMap = map_data;
-                        }
-                    
-                    }
-                }
-            });
-            
-            if (map_data) {
-               finishSetForMap(map_data);
-            }
-
-           
-            return this;
-        };
-        me.unbind = function (preserveState) {
-            return (new m.Method(this,
-                function () {
-                    this.clearEvents();
-                    this.clearMapData(preserveState);
-                    removeMap(this);
-                },
-                null,
-                { name: 'unbind',
-                    args: arguments
-                }
-            )).go();
-        };
-
-
-        // refresh options and update selection information.
-        me.rebind = function (options) {
-            return (new m.Method(this,
-                function () {
-                    var me=this;
-
-                    me.complete=false;
-                    me.configureOptions(options);
-                    me.bindImages().then(function() {
-                        me.buildDataset(true);
-                        me.complete=true;
-                    });
-                    //this.redrawSelections();
-                },
-                null,
-                {
-                    name: 'rebind',
-                    args: arguments
-                }
-            )).go();
-        };
-        // get options. nothing or false to get, or "true" to get effective options (versus passed options)
-        me.get_options = function (key, effective) {
-            var eff = u.isBool(key) ? key : effective; // allow 2nd parm as "effective" when no key
-            return (new m.Method(this,
-                function () {
-                    var opts = $.extend({}, this.options);
-                    if (eff) {
-                        opts.render_select = u.updateProps(
-                            {},
-                            m.render_defaults,
-                            opts,
-                            opts.render_select);
-
-                        opts.render_highlight = u.updateProps(
-                            {},
-                            m.render_defaults,
-                            opts,
-                            opts.render_highlight);
-                    }
-                    return opts;
-                },
-                function () {
-                    return eff ? this.effectiveOptions() : this.options;
-                },
-                {
-                    name: 'get_options',
-                    args: arguments,
-                    first: true,
-                    allowAsync: true,
-                    key: key
-                }
-            )).go();
-        };
-
-        // set options - pass an object with options to set,
-        me.set_options = function (options) {
-            return (new m.Method(this,
-                function () {
-                    merge_options(this, options);
-                },
-                null,
-                {
-                    name: 'set_options',
-                    args: arguments
-                }
-            )).go();
-        };
-        me.unload = function () {
-            var i;
-            for (i = m.map_cache.length - 1; i >= 0; i--) {
-                if (m.map_cache[i]) {
-                    me.unbind.call($(m.map_cache[i].image));
-                }
-            }
-            me.graphics = null;
-        };
-
-        me.snapshot = function () {
-            return (new m.Method(this,
-                function () {
-                    $.each(this.data, function (i, e) {
-                        e.selected = false;
-                    });
-
-                    this.base_canvas = this.graphics.createVisibleCanvas(this);
-                    $(this.image).before(this.base_canvas);
-                },
-                null,
-                { name: 'snapshot' }
-            )).go();
-        };
-        
-        // do not queue this function
-        
-        me.state = function () {
-            var md, result = null;
-            $(this).each(function (i,e) {
-                if (e.nodeName === 'IMG') {
-                    md = m.getMapData(e);
-                    if (md) {
-                        result = md.state();
-                    }
-                    return false;
-                }
-            });
-            return result;
-        };
-
-        me.bind = function (options) {
-
-            return this.each(function (i,e) {
-                var img, map, usemap, md;
-
-                // save ref to this image even if we can't access it yet. commands will be queued
-                img = $(e);
-
-                md = m.getMapData(e);
-
-                // if already bound completely, do a total rebind
-                
-                if (md) {
-                    me.unbind.apply(img);
-                    if (!md.complete) {
-                        // will be queued
-                        img.bind();
-                        return true;
-                    }
-                    md = null;
-                }
-
-                // ensure it's a valid image
-                // jQuery bug with Opera, results in full-url#usemap being returned from jQuery's attr.
-                // So use raw getAttribute instead.
-                
-                usemap = this.getAttribute('usemap');
-                map = usemap && $('map[name="' + usemap.substr(1) + '"]');
-                if (!(img.is('img') && usemap && map.size() > 0)) {
-                    return true;
-                }
-
-                // sorry - your image must have border:0, things are too unpredictable otherwise.
-                img.css('border', 0);
-
-                if (!md) {
-                    md = new m.MapData(this, options);
-
-                    md.index = addMap(md);
-                    md.map = map;
-                    md.bindImages().then(function() {
-                        md.initialize();
-                    });
-                }
-            });
-        };
-
-        me.init = function (useCanvas) {
-            var style, shapes;
-
-            // for testing/debugging, use of canvas can be forced by initializing 
-            // manually with "true" or "false". But generally we test for it.
-            
-            m.hasCanvas = function() {
-                if (!u.isBool(m.hasCanvas.value)) {
-                    m.hasCanvas.value = u.isBool(useCanvas) ?
-                        useCanvas : 
-                        hasCanvas();
-                }
-                return m.hasCanvas.value;
-            };
-            m.hasVml = function() {
-                if (!u.isBool(m.hasVml.value)) {
-                    // initialize VML the first time we detect its presence.
-                    var d = namespaces();
-
-                    if (d && !d.v) {
-                        d.add("v", "urn:schemas-microsoft-com:vml");
-                        style = document.createStyleSheet();
-                        shapes = ['shape', 'rect', 'oval', 'circ', 'fill', 'stroke', 'imagedata', 'group', 'textbox'];
-                        $.each(shapes,
-                        function (i, el) {
-                            style.addRule('v\\:' + el, "behavior: url(#default#VML); antialias:true");
-                        });
-                    }
-                    m.hasVml.value = hasVml();
-                }
-
-                return m.hasVml.value;
-            };
-
-            m.isTouch = !!document.documentElement.ontouchstart;
-
-            $.extend(m.defaults, m.render_defaults,m.shared_defaults);
-            $.extend(m.area_defaults, m.render_defaults,m.shared_defaults);
-            
-        };
-        me.test = function (obj) {
-            return eval(obj);
-        };
-        return me;
-    } ());
-    
-    $.mapster.impl.init();
-    
-    
-} (jQuery));
-/* graphics.js
-   Graphics object handles all rendering.
-*/
-(function ($) {
-    var p, m=$.mapster,
-        u=m.utils,
-        canvasMethods,
-        vmlMethods;
-    
-    /**
-     * Implemenation to add each area in an AreaData object to the canvas
-     * @param {Graphics} graphics The target graphics object
-     * @param {AreaData} areaData The AreaData object (a collection of area elements and metadata)
-     * @param {object} options Rendering options to apply when rendering this group of areas
-     */
-    function addShapeGroupImpl(graphics, areaData, options) {
-        var me = graphics,
-            md = me.map_data,
-            isMask = options.isMask;
-
-        // first get area options. Then override fade for selecting, and finally merge in the 
-        // "select" effect options.
-
-        $.each(areaData.areas(), function (i,e) {
-            options.isMask = isMask || (e.nohref && md.options.noHrefIsMask);
-            me.addShape(e, options);
-        });
-
-        // it's faster just to manipulate the passed options isMask property and restore it, than to 
-        // copy the object each time
-        
-        options.isMask=isMask;
-
-    }
-
-     /**
-     * Convert a hex value to decimal
-     * @param  {string} hex A hexadecimal toString
-     * @return {int} Integer represenation of the hex string
-     */
-
-    function hex_to_decimal(hex) {
-        return Math.max(0, Math.min(parseInt(hex, 16), 255));
-    }
-    function css3color(color, opacity) {
-        return 'rgba(' + hex_to_decimal(color.substr(0, 2)) + ','
-                + hex_to_decimal(color.substr(2, 2)) + ','
-                + hex_to_decimal(color.substr(4, 2)) + ',' + opacity + ')';
-    }
-    /**
-     * An object associated with a particular map_data instance to manage renderin.
-     * @param {MapData} map_data The MapData object bound to this instance
-     */
-    
-    m.Graphics = function (map_data) {
-        //$(window).unload($.mapster.unload);
-        // create graphics functions for canvas and vml browsers. usage:
-        // 1) init with map_data, 2) call begin with canvas to be used (these are separate b/c may not require canvas to be specified
-        // 3) call add_shape_to for each shape or mask, 4) call render() to finish
-
-        var me = this;
-        me.active = false;
-        me.canvas = null;
-        me.width = 0;
-        me.height = 0;
-        me.shapes = [];
-        me.masks = [];
-        me.map_data = map_data;
-    };
-    
-    p = m.Graphics.prototype= {
-        constructor: m.Graphics,
-
-        /**
-         * Initiate a graphics request for a canvas
-         * @param  {Element} canvas The canvas element that is the target of this operation
-         * @param  {string} [elementName] The name to assign to the element (VML only)
-         */
-        
-        begin: function(canvas, elementName) {
-            var c = $(canvas);
-
-            this.elementName = elementName;
-            this.canvas = canvas;
-
-            this.width = c.width();
-            this.height = c.height();
-            this.shapes = [];
-            this.masks = [];
-            this.active = true;
-
-        },
-        
-        /**
-         * Add an area to be rendered to this canvas. 
-         * @param {MapArea} mapArea The MapArea object to render
-         * @param {object} options An object containing any rendering options that should override the
-         *                         defaults for the area
-         */
-        
-        addShape: function(mapArea, options) {
-            var addto = options.isMask ? this.masks : this.shapes;
-            addto.push({ mapArea: mapArea, options: options });
-        },
-
-        /**
-         * Create a canvas that is sized and styled for the MapData object
-         * @param  {MapData} mapData The MapData object that will receive this new canvas
-         * @return {Element} A canvas element
-         */
-        
-        createVisibleCanvas: function (mapData) {
-            return $(this.createCanvasFor(mapData))
-                .addClass('mapster_el')
-                .css(m.canvas_style)[0];
-        },
-
-        /**
-         * Add a group of shapes from an AreaData object to the canvas
-         * 
-         * @param {AreaData} areaData An AreaData object (a set of area elements)
-         * @param {string} mode     The rendering mode, "select" or "highlight". This determines the target 
-         *                          canvas and which default options to use.
-         * @param {striong} options  Rendering options
-         */
-        
-        addShapeGroup: function (areaData, mode,options) {
-            // render includeKeys first - because they could be masks
-            var me = this,
-                list, name, canvas,
-                map_data = this.map_data,
-                opts = areaData.effectiveRenderOptions(mode);
-
-            if (options) {
-                 $.extend(opts,options);
-            }
-
-            if (mode === 'select') {
-                name = "static_" + areaData.areaId.toString();
-                canvas = map_data.base_canvas;
-            } else {
-                canvas = map_data.overlay_canvas;
-            }
-
-            me.begin(canvas, name);
-
-            if (opts.includeKeys) {
-                list = u.split(opts.includeKeys);
-                $.each(list, function (i,e) {
-                    var areaData = map_data.getDataForKey(e.toString());
-                    addShapeGroupImpl(me,areaData, areaData.effectiveRenderOptions(mode));
-                });
-            }
-
-            addShapeGroupImpl(me,areaData, opts);
-            me.render();
-            if (opts.fade) {
-                
-                // fading requires special handling for IE. We must access the fill elements directly. The fader also has to deal with 
-                // the "opacity" attribute (not css)
-
-                u.fader(m.hasCanvas() ? 
-                    canvas : 
-                    $(canvas).find('._fill').not('.mapster_mask'),
-                0,
-                m.hasCanvas() ? 
-                    1 : 
-                    opts.fillOpacity,
-                opts.fadeDuration); 
-               
-            }
-
-        }
-
-        // These prototype methods are implementation dependent
-    };
-
-    function noop() {}
-
-  
-    // configure remaining prototype methods for ie or canvas-supporting browser
-
-    canvasMethods = {
-        renderShape: function (context, mapArea, offset) {
-            var i,
-                c = mapArea.coords(null,offset);
-
-            switch (mapArea.shape) {
-                case 'rect':
-                    context.rect(c[0], c[1], c[2] - c[0], c[3] - c[1]);
-                    break;
-                case 'poly':
-                    context.moveTo(c[0], c[1]);
-
-                    for (i = 2; i < mapArea.length; i += 2) {
-                        context.lineTo(c[i], c[i + 1]);
-                    }
-                    context.lineTo(c[0], c[1]);
-                    break;
-                case 'circ':
-                case 'circle':
-                    context.arc(c[0], c[1], c[2], 0, Math.PI * 2, false);
-                    break;
-            }
-        },
-        addAltImage: function (context, image, mapArea, options) {
-            context.beginPath();
-
-            this.renderShape(context, mapArea);
-            context.closePath();
-            context.clip();
-
-            context.globalAlpha = options.altImageOpacity || options.fillOpacity;
-
-            context.drawImage(image, 0, 0, mapArea.owner.scaleInfo.width, mapArea.owner.scaleInfo.height);
-        },
-        render: function () {
-            // firefox 6.0 context.save() seems to be broken. to work around,  we have to draw the contents on one temp canvas,
-            // the mask on another, and merge everything. ugh. fixed in 1.2.2. unfortunately this is a lot more code for masks,
-            // but no other way around it that i can see.
-
-            var maskCanvas, maskContext,
-                        me = this,
-                        md = me.map_data,
-                        hasMasks = me.masks.length,
-                        shapeCanvas = me.createCanvasFor(md),
-                        shapeContext = shapeCanvas.getContext('2d'),
-                        context = me.canvas.getContext('2d');
-
-            if (hasMasks) {
-                maskCanvas = me.createCanvasFor(md);
-                maskContext = maskCanvas.getContext('2d');
-                maskContext.clearRect(0, 0, maskCanvas.width, maskCanvas.height);
-
-                $.each(me.masks, function (i,e) {
-                    maskContext.save();
-                    maskContext.beginPath();
-                    me.renderShape(maskContext, e.mapArea);
-                    maskContext.closePath();
-                    maskContext.clip();
-                    maskContext.lineWidth = 0;
-                    maskContext.fillStyle = '#000';
-                    maskContext.fill();
-                    maskContext.restore();
-                });
-
-            }
-
-            $.each(me.shapes, function (i,s) {
-                shapeContext.save();
-                if (s.options.fill) {
-                    if (s.options.altImageId) {
-                        me.addAltImage(shapeContext, md.images[s.options.altImageId], s.mapArea, s.options);
-                    } else {
-                        shapeContext.beginPath();
-                        me.renderShape(shapeContext, s.mapArea);
-                        shapeContext.closePath();
-                        //shapeContext.clip();
-                        shapeContext.fillStyle = css3color(s.options.fillColor, s.options.fillOpacity);
-                        shapeContext.fill();
-                    }
-                }
-                shapeContext.restore();
-            });
-
-
-            // render strokes at end since masks get stroked too
-
-            $.each(me.shapes.concat(me.masks), function (i,s) {
-                var offset = s.options.strokeWidth === 1 ? 0.5 : 0;
-                // offset applies only when stroke width is 1 and stroke would render between pixels.
-
-                if (s.options.stroke) {
-                    shapeContext.save();
-                    shapeContext.strokeStyle = css3color(s.options.strokeColor, s.options.strokeOpacity);
-                    shapeContext.lineWidth = s.options.strokeWidth;
-
-                    shapeContext.beginPath();
-
-                    me.renderShape(shapeContext, s.mapArea, offset);
-                    shapeContext.closePath();
-                    shapeContext.stroke();
-                    shapeContext.restore();
-                }
-            });
-
-            if (hasMasks) {
-                // render the new shapes against the mask
-
-                maskContext.globalCompositeOperation = "source-out";
-                maskContext.drawImage(shapeCanvas, 0, 0);
-
-                // flatten into the main canvas
-                context.drawImage(maskCanvas, 0, 0);
-            } else {
-                context.drawImage(shapeCanvas, 0, 0);
-            }
-
-            me.active = false;
-            return me.canvas;
-        },
-
-        // create a canvas mimicing dimensions of an existing element
-        createCanvasFor: function (md) {
-            return $('<canvas width="' + md.scaleInfo.width + '" height="' +md.scaleInfo.height + '"></canvas>')[0];
-        },
-        clearHighlight: function () {
-            var c = this.map_data.overlay_canvas;
-            c.getContext('2d').clearRect(0, 0, c.width, c.height);
-        },
-        // Draw all items from selected_list to a new canvas, then swap with the old one. This is used to delete items when using canvases.
-        refreshSelections: function () {
-            var canvas_temp, map_data = this.map_data;
-            // draw new base canvas, then swap with the old one to avoid flickering
-            canvas_temp = map_data.base_canvas;
-
-            map_data.base_canvas = this.createVisibleCanvas(map_data);
-            $(map_data.base_canvas).hide();
-            $(canvas_temp).before(map_data.base_canvas);
-
-            map_data.redrawSelections();
-
-            $(map_data.base_canvas).show();
-            $(canvas_temp).remove();
-        }
-    };
-
-    vmlMethods = {
-
-        renderShape: function (mapArea, options, cssclass) {
-            var me = this, fill,stroke, e, t_fill, el_name, el_class, template, c = mapArea.coords();
-            el_name = me.elementName ? 'name="' + me.elementName + '" ' : '';
-            el_class = cssclass ? 'class="' + cssclass + '" ' : '';
-
-            t_fill = '<v:fill color="#' + options.fillColor + '" class="_fill" opacity="' + 
-                (options.fill ? 
-                    options.fillOpacity :
-                    0) + 
-                '" /><v:stroke class="_fill" opacity="' + 
-                options.strokeOpacity + '"/>';
-
-
-            stroke = options.stroke ?
-                ' strokeweight=' + options.strokeWidth + ' stroked="t" strokecolor="#' + 
-                    options.strokeColor + '"' :
-                ' stroked="f"';
-            
-            fill = options.fill ? 
-                ' filled="t"' :
-                ' filled="f"';
-
-            switch (mapArea.shape) {
-                case 'rect':
-                    template = '<v:rect ' + el_class + el_name + fill + stroke + 
-                        ' style="zoom:1;margin:0;padding:0;display:block;position:absolute;left:' + 
-                          c[0] + 'px;top:' + c[1]  + 'px;width:' + (c[2] - c[0]) + 
-                          'px;height:' + (c[3] - c[1]) + 'px;">' + t_fill + '</v:rect>';
-                    break;
-                case 'poly':
-                    template = '<v:shape ' + el_class + el_name + fill + stroke + ' coordorigin="0,0" coordsize="' + me.width + ',' + me.height
-                                + '" path="m ' + c[0] + ',' + c[1] + ' l ' + c.slice(2).join(',')
-                                + ' x e" style="zoom:1;margin:0;padding:0;display:block;position:absolute;top:0px;left:0px;width:' + me.width + 'px;height:' + me.height + 'px;">' + t_fill + '</v:shape>';
-                    break;
-                case 'circ':
-                case 'circle':
-                    template = '<v:oval ' + el_class + el_name + fill + stroke
-                                + ' style="zoom:1;margin:0;padding:0;display:block;position:absolute;left:' + (c[0] - c[2]) + 'px;top:' + (c[1] - c[2])
-                                + 'px;width:' + (c[2] * 2) + 'px;height:' + (c[2] * 2) + 'px;">' + t_fill + '</v:oval>';
-                    break;
-            }
-            e = $(template);
-            $(me.canvas).append(e);
-
-            return e;
-        },
-        render: function () {
-            var opts, me = this;
-
-            $.each(this.shapes, function (i,e) {
-                me.renderShape(e.mapArea, e.options);
-            });
-
-            if (this.masks.length) {
-                $.each(this.masks, function (i,e) {
-                    opts = u.updateProps({},
-                        e.options, {
-                            fillOpacity: 1,
-                            fillColor: e.options.fillColorMask
-                        });
-                    me.renderShape(e.mapArea, opts, 'mapster_mask');
-                });
-            }
-
-            this.active = false;
-            return this.canvas;
-        },
-
-        createCanvasFor: function (md) {
-            var w = md.scaleInfo.width,
-                h = md.scaleInfo.height;
-            return $('<var width="' + w + '" height="' + h 
-                + '" style="zoom:1;overflow:hidden;display:block;width:' 
-                + w + 'px;height:' + h + 'px;"></var>')[0];
-        },
-
-        clearHighlight: function () {
-            $(this.map_data.overlay_canvas).children().remove();
-        },
-        // remove single or all selections
-        removeSelections: function (area_id) {
-            if (area_id >= 0) {
-                $(this.map_data.base_canvas).find('[name="static_' + area_id.toString() + '"]').remove();
-            }
-            else {
-                $(this.map_data.base_canvas).children().remove();
-            }
-        }
-
-    };
-
-    // for all methods with two implemenatations, add a function that will automatically replace itself with the correct
-    // method on first invocation
-    
-    $.each(['renderShape',
-           'addAltImage',
-           'render',
-           'createCanvasFor',
-           'clearHighlight',
-           'removeSelections',
-           'refreshSelections'],
-        function(i,e) {
-            p[e]=(function(method) {
-                return function() {
-                    p[method] = (m.hasCanvas() ?
-                        canvasMethods[method] : 
-                        vmlMethods[method]) || noop;
-                  
-                    return p[method].apply(this,arguments);
-                };
-            }(e));
-    });
-
-
-} (jQuery));
-/* mapimage.js
-   the MapImage object, repesents an instance of a single bound imagemap
-*/
-
-(function ($) {
-
-    var m = $.mapster, 
-        u = m.utils,
-        ap=[];
-    /**
-     * An object encapsulating all the images used by a MapData.
-     */
-    
-    m.MapImages = function(owner) {
-        this.owner = owner;
-        this.clear();
-    };
-
-    
-    m.MapImages.prototype = {
-        constructor: m.MapImages,
-
-        /* interface to make this array-like */
-
-        slice: function() {
-            return ap.slice.apply(this,arguments);
-        },
-        splice: function() {
-            ap.slice.apply(this.status,arguments);
-            var result= ap.slice.apply(this,arguments);
-            return result;
-        },
-     
-        /** 
-         * a boolean value indicates whether all images are done loading 
-         * @return {bool} true when all are done
-         */
-        complete: function() {
-            return $.inArray(false, this.status) < 0;
-        },
-        
-        /**
-         * Save an image in the images array and return its index 
-         * @param  {Image} image An Image object
-         * @return {int} the index of the image
-         */
-        
-        _add: function(image) {
-            var index = ap.push.call(this,image)-1;
-            this.status[index] = false;
-            return index;
-        },
-
-        /**
-         * Return the index of an Image within the images array
-         * @param  {Image} img An Image
-         * @return {int} the index within the array, or -1 if it was not found
-         */
-        
-        indexOf: function(image) {
-            return $.inArray(image, this);
-        },
-        
-        /**
-         * Clear this object and reset it to its initial state after binding.
-         */
-        
-        clear: function() {
-            var me=this;
-
-            if (me.ids && me.ids.length>0) {
-                $.each(me.ids,function(i,e) {
-                    delete me[e];
-                });
-            }
-            
-            /**
-             * A list of the cross-reference IDs bound to this object
-             * @type {string[]}
-             */
-            
-            me.ids=[];
-
-            /**
-             * Length property for array-like behavior, set to zero when initializing. Array prototype
-             * methods will update it after that.
-             * 
-             * @type {int}
-             */
-            
-            me.length=0;
-
-            /**
-             * the loaded status of the corresponding image
-             * @type {boolean[]}
-             */
-            
-            me.status=[];
-            
-            
-            // actually erase the images
-            
-            me.splice(0);
-            
-        },
-
-        /**
-         * Bind an image to the map and add it to the queue to be loaded; return an ID that
-         * can be used to reference the
-         * 
-         * @param {Image|string} image An Image object or a URL to an image
-         * @param {string} [id] An id to refer to this image
-         * @returns {int} an ID referencing the index of the image object in 
-         *                map_data.images
-         */
-     
-        add: function(image,id) {
-            var index,src,me = this;
-
-            if (!image) { return; }
-
-            if (typeof image === 'string') {
-                src = image;
-                image = me[src];
-                if (typeof image==='object') {
-                    return me.indexOf(image);
-                }
-
-                image = $('<img />')
-                    .addClass('mapster_el')
-                    .hide();
-
-                index=me._add(image[0]);
-                
-                image
-                    .bind('load',function(e) {
-                        me.imageLoaded.call(me,e);
-                    })
-                    .bind('error',function(e) {
-                        me.imageLoadError.call(me,e);
-                    });
-                
-                image.attr('src', src);
-            } else {
-
-                // use attr because we want the actual source, not the resolved path the browser will return directly calling image.src
-                
-                index=me._add($(image)[0]);
-            }
-            if (id) {
-                if (this[id]) {
-                    throw(id+" is already used or is not available as an altImage alias.");
-                }
-                me.ids.push(id);
-                me[id]=me[index];
-            }
-            return index;
-        },
-
-        /**
-         * Bind the images in this object, 
-         * @param  {boolean} retry when true, indicates that the function is calling itself after failure 
-         * @return {Promise} a promise that resolves when the images have finished loading
-         */
-        
-        bind: function(retry) {
-            var me = this,
-                promise,
-                triesLeft = me.owner.options.configTimeout / 200,
-
-            /* A recursive function to continue checking that the images have been 
-               loaded until a timeout has elapsed */
-
-            check=function() {
-                var i;
-
-                // refresh status of images
-                
-                i=me.length;
-
-                while (i-->0) {
-                    if (!me.isLoaded(i)) {
-                        break;
-                    }
-                }
-
-                // check to see if every image has already been loaded
-                
-                if (me.complete()) {
-                    me.resolve();
-                } else {
-                    // to account for failure of onLoad to fire in rare situations
-                    if (triesLeft-- > 0) {
-                        me.imgTimeout=window.setTimeout(function() {
-                            check.call(me,true);
-                        }, 50);
-                    } else {
-                        me.imageLoadError.call(me);
-                    }
-                }
-            
-            };
-
-            promise = me.deferred=u.defer();
-            
-            check();
-            return promise;
-        },
-   
-        resolve: function() {
-            var me=this,
-                resolver=me.deferred;
-                
-            if (resolver) {
-                // Make a copy of the resolver before calling & removing it to ensure
-                // it is not called twice
-                me.deferred=null;
-                resolver.resolve();
-            }
-        },
-
-        /**
-         * Event handler for image onload
-         * @param  {object} e jQuery event data
-         */
-        
-        imageLoaded: function(e) {
-            var me=this,
-                index = me.indexOf(e.target);
-
-            if (index>=0) {
-
-                me.status[index] = true;
-                if ($.inArray(false, me.status) < 0) {
-                    me.resolve();
-                }
-            }
-        },
-        
-        /**
-         * Event handler for onload error
-         * @param  {object} e jQuery event data
-         */
-        
-        imageLoadError: function(e) {
-            clearTimeout(this.imgTimeout);
-            this.triesLeft=0;
-            var err = e ? 'The image ' + e.target.src + ' failed to load.' : 
-                'The images never seemed to finish loading. You may just need to increase the configTimeout if images could take a long time to load.';
-            throw err;
-        },
-        /**
-         * Test if the image at specificed index has finished loading
-         * @param  {int}  index The image index
-         * @return {boolean} true if loaded, false if not
-         */
-        
-        isLoaded: function(index) {
-            var img,
-                me=this,
-                status=me.status;
-
-            if (status[index]) { return true; }
-            img = me[index];
-            
-            if (typeof img.complete !== 'undefined') {
-                status[index]=img.complete;
-            } else {
-                status[index]=!!u.imgWidth(img);
-            }
-            // if complete passes, the image is loaded, but may STILL not be available because of stuff like adblock.
-            // make sure it is.
-
-            return status[index];
-        }
-    };
-    } (jQuery));
-/* mapdata.js
-   the MapData object, repesents an instance of a single bound imagemap
-*/
-
-
-(function ($) {
-
-    var m = $.mapster, 
-        u = m.utils;
-   
-    /**
-     * Set default values for MapData object properties
-     * @param  {MapData} me The MapData object
-     */
-    
-    function initializeDefaults(me) {
-        $.extend(me,{
-            complete: false,         // (bool)    when configuration is complete       
-            map: null,                // ($)      the image map
-            base_canvas: null,       // (canvas|var)  where selections are rendered
-            overlay_canvas: null,    // (canvas|var)  where highlights are rendered
-            commands: [],            // {}        commands that were run before configuration was completed (b/c images weren't loaded)
-            data: [],                // MapData[] area groups
-            mapAreas: [],            // MapArea[] list. AreaData entities contain refs to this array, so options are stored with each.
-            _xref: {},               // (int)      xref of mapKeys to data[]
-            highlightId: -1,        // (int)      the currently highlighted element.
-            currentAreaId: -1,
-            _tooltip_events: [],     // {}         info on events we bound to a tooltip container, so we can properly unbind them
-            scaleInfo: null,         // {}         info about the image size, scaling, defaults
-            index: -1,                 // index of this in map_cache - so we have an ID to use for wraper div
-            activeAreaEvent: null
-        });
-    }
-
-    /**
-     * Return an array of all image-containing options from an options object; 
-     * that is, containers that may have an "altImage" property
-     * 
-     * @param  {object} obj     An options object
-     * @return {object[]}       An array of objects
-     */
-    function getOptionImages(obj) {
-        return [obj, obj.render_highlight, obj.render_select];
-    }
-
-    /**
-     * Parse all the altImage references, adding them to the library so they can be preloaded
-     * and aliased.
-     * 
-     * @param  {MapData} me The MapData object on which to operate
-     */
-    function configureAltImages(me)
-    {
-        var opts = me.options,
-            mi = me.images;
-
-        // add alt images
-        
-        if (m.hasCanvas()) {
-            // map altImage library first
-            
-            $.each(opts.altImages || {}, function(i,e) {
-                mi.add(e,i);
-            });
-            
-            // now find everything else
-
-            $.each([opts].concat(opts.areas),function(i,e) {
-                $.each(getOptionImages(e),function(i2,e2) {
-                    if (e2 && e2.altImage) {
-                        e2.altImageId=mi.add(e2.altImage);
-                    }
-                });
-            });
-        }
-
-        // set area_options
-        me.area_options = u.updateProps({}, // default options for any MapArea
-            m.area_defaults,
-            opts);
-    }
-
-    /**
-     * Queue a mouse move action based on current delay settings 
-     * (helper for mouseover/mouseout handlers)
-     * 
-     * @param  {MapData}    me       The MapData context
-     * @param  {number}     delay    The number of milliseconds to delay the action
-     * @param  {AreaData}   area     AreaData affected
-     * @param  {Deferred}   deferred A deferred object to return (instead of a new one)
-     * @return {Promise}    A promise that resolves when the action is completed
-     */
-    function queueMouseEvent(me,delay,area, deferred) {
-        
-        deferred = deferred || u.when.defer();
-
-        function cbFinal(areaId) {
-            if (me.currentAreaId!==areaId && me.highlightId>=0) {
-                deferred.resolve();
-            }
-        }
-        if (me.activeAreaEvent) {
-            window.clearTimeout(me.activeAreaEvent);
-            me.activeAreaEvent=0;
-        }
-        if (delay<0) {
-            return;
-        }
-
-        if (area.owner.currentAction || delay) {
-            me.activeAreaEvent = window.setTimeout((function() {
-                    return function() {
-                        queueMouseEvent(me,0,area,deferred);
-                    };
-                }(area)),
-                delay || 100);
-        } else {
-             cbFinal(area.areaId);
-        }
-        return deferred;
-    }
-
-     /**
-     * Mousedown event. This is captured only to prevent browser from drawing an outline around an
-     * area when it's clicked.
-     *
-     * @param  {EventData} e jQuery event data
-     */
-    
-    function mousedown(e) {
-        if (!m.hasCanvas()) {
-            this.blur();
-        }
-        e.preventDefault();
-    }
-
-    /**
-     * Mouseover event. Handle highlight rendering and client callback on mouseover
-     * 
-     * @param  {MapData} me The MapData context
-     * @param  {EventData} e jQuery event data
-     * @return {[type]}   [description]
-     */
-    
-    function mouseover(me,e) {
-        var arData = me.getAllDataForArea(this),
-            ar=arData.length ? arData[0] : null;
-
-        // mouseover events are ignored entirely while resizing, though we do care about mouseout events
-        // and must queue the action to keep things clean.
-
-        if (!ar || ar.isNotRendered() || ar.owner.currentAction) {
-            return;
-        }
-
-        if (me.currentAreaId === ar.areaId) {
-            return;
-        }
-        if (me.highlightId !== ar.areaId) {
-            me.clearEffects();
-
-            ar.highlight();
-
-            if (me.options.showToolTip) {
-                $.each(arData,function(i,e) {
-                    if (e.effectiveOptions().toolTip) {
-                        e.showToolTip();
-                    }
-                });
-            }
-        }
-
-        me.currentAreaId = ar.areaId;
-
-        if ($.isFunction(me.options.onMouseover)) {
-            me.options.onMouseover.call(this,
-            {
-                e: e,
-                options:ar.effectiveOptions(),
-                key: ar.key,
-                selected: ar.isSelected()
-            });
-        }
-    }
-
-    /**
-     * Mouseout event.
-     *
-     * @param  {MapData} me The MapData context
-     * @param  {EventData} e jQuery event data
-     * @return {[type]}   [description]
-     */
-    
-    function mouseout(me,e) {
-        var newArea,
-            ar = me.getDataForArea(this),
-            opts = me.options;
-
-
-        if (me.currentAreaId<0 || !ar) {
-            return;
-        }
-
-        newArea=me.getDataForArea(e.relatedTarget);
-        
-        if (newArea === ar) {
-            return;
-        }
-
-        me.currentAreaId = -1;
-        ar.area=null;
-
-        queueMouseEvent(me,opts.mouseoutDelay,ar)
-            .then(me.clearEffects);
-
-        if ($.isFunction(opts.onMouseout)) {
-            opts.onMouseout.call(this,
-            {
-                e: e,
-                options: opts,
-                key: ar.key,
-                selected: ar.isSelected()
-            });
-        }
-
-    }
-    
-    /**
-     * Clear any active tooltip or highlight
-     *
-     * @param  {MapData} me The MapData context
-     * @param  {EventData} e jQuery event data
-     * @return {[type]}   [description]
-     */
-    
-    function clearEffects(me) {
-        var opts = me.options;
-
-        me.ensureNoHighlight();
-
-        if (opts.toolTipClose 
-            && $.inArray('area-mouseout', opts.toolTipClose) >= 0 
-            && me.activeToolTip) 
-        {
-            me.clearToolTip();
-        }
-    }
-
-    /**
-     * Mouse click event handler
-     *
-     * @param  {MapData} me The MapData context
-     * @param  {EventData} e jQuery event data
-     * @return {[type]}   [description]
-     */
-    
-    function click(me,e) {
-        var selected, list, list_target, newSelectionState, canChangeState, cbResult,
-            that = this,
-            ar = me.getDataForArea(this),
-            opts = me.options;
-
-        function clickArea(ar) {
-            var areaOpts,target;
-            canChangeState = (ar.isSelectable() &&
-                (ar.isDeselectable() || !ar.isSelected()));
-            
-            if (canChangeState) {
-                newSelectionState = !ar.isSelected();
-            } else {
-                newSelectionState = ar.isSelected();
-            }
-
-            list_target = m.getBoundList(opts, ar.key);
-
-            if ($.isFunction(opts.onClick)) 
-            {
-                cbResult= opts.onClick.call(that,
-                {
-                    e: e,
-                    listTarget: list_target,
-                    key: ar.key,
-                    selected: newSelectionState
-                });
-
-                if (u.isBool(cbResult)) {
-                    if (!cbResult) {
-                        return false;
-                    }
-                    target = $(ar.area).attr('href');
-                    if (target!=='#') {
-                        window.location.href=target;
-                        return false;
-                    }
-                }
-            }
-
-            if (canChangeState) {
-                selected = ar.toggle();
-            }
-
-            if (opts.boundList && opts.boundList.length > 0) {
-                m.setBoundListProperties(opts, list_target, ar.isSelected());
-            }
-
-            areaOpts = ar.effectiveOptions();
-            if (areaOpts.includeKeys) {
-                list = u.split(areaOpts.includeKeys);
-                $.each(list, function (i, e) {
-                    var ar = me.getDataForKey(e.toString());
-                    if (!ar.options.isMask) {
-                        clickArea(ar);
-                    }
-                });
-            }
-        }
-
-        mousedown.call(this,e);
-
-        if (opts.clickNavigate && ar.href) {
-            window.location.href=ar.href;
-            return;
-        }
-
-        if (ar && !ar.owner.currentAction) {
-            opts = me.options;
-            clickArea(ar);
-        }
-    }
-
-    /**
-     * Prototype for a MapData object, representing an ImageMapster bound object
-     * @param {Element} image   an IMG element
-     * @param {object} options  ImageMapster binding options
-     */
-    m.MapData = function (image, options) 
-    {
-        var me = this;
-        
-        // (Image)  main map image
-        
-        me.image = image;              
-
-        me.images = new m.MapImages(me); 
-        me.graphics = new m.Graphics(me);
-
-        // save the initial style of the image for unbinding. This is problematic, chrome 
-        // duplicates styles when assigning, and cssText is apparently not universally supported.
-        // Need to do something more robust to make unbinding work universally.
-        
-        me.imgCssText = image.style.cssText || null;
-
-        initializeDefaults(me);
-
-        me.configureOptions(options);
-        
-        // create context-bound event handlers from our private functions
-        
-        me.mouseover = function(e) { mouseover.call(this,me,e); };
-        me.mouseout = function(e) { mouseout.call(this,me,e); };
-        me.click = function(e) { click.call(this,me,e); };
-        me.clearEffects = function(e) { clearEffects.call(this,me,e); };
-    };
-
-    m.MapData.prototype = {
-        constructor: m.MapData,
-
-         /**
-         * Set target.options from defaults + options
-         * @param  {[type]} target      The target
-         * @param  {[type]} options     The options to merge
-         */
-        
-        configureOptions: function(options) {
-            this.options= u.updateProps({}, m.defaults, options);
-        },
-
-        /**
-         * Ensure all images are loaded
-         * @return {Promise} A promise that resolves when the images have finished loading (or fail)
-         */
-    
-        bindImages: function() {
-            var me=this,
-                mi = me.images;
-
-            // reset the images if this is a rebind
-            
-            if (mi.length>2) {
-                mi.splice(2);
-            } else if (mi.length===0) {
-
-                // add the actual main image
-                mi.add(me.image);
-                // will create a duplicate of the main image, we need this to get raw size info
-                mi.add(me.image.src);
-            }
-            
-            configureAltImages(me);
-
-            return me.images.bind();
-        },
-
-        /**
-         * Test whether an async action is currently in progress
-         * @return {Boolean} true or false indicating state
-         */
-        
-        isActive: function() {
-            return !this.complete || this.currentAction;
-        },
-
-        /**
-         * Return an object indicating the various states. This isn't really used by 
-         * production code.
-         * 
-         * @return {object} An object with properties for various states
-         */
-        
-        state: function () {
-            return {
-                complete: this.complete,
-                resizing: this.currentAction==='resizing',
-                zoomed: this.zoomed,
-                zoomedArea: this.zoomedArea,
-                scaleInfo: this.scaleInfo
-            };
-        },   
-
-        /**
-         * Get a unique ID for the wrapper of this imagemapster
-         * @return {string} A string that is unique to this image
-         */
-        
-        wrapId: function () {
-            return 'mapster_wrap_' + this.index;
-        },
-        _idFromKey: function (key) {
-            return typeof key === "string" && this._xref.hasOwnProperty(key) ?
-                        this._xref[key] : -1;
-        },
-
-        /**
-         * Return a comma-separated string of all selected keys
-         * @return {string} CSV of all keys that are currently selected
-         */
-        
-        getSelected: function () {
-            var result = '';
-            $.each(this.data, function (i,e) {
-                if (e.isSelected()) {
-                    result += (result ? ',' : '') + this.key;
-                }
-            });
-            return result;
-        },
-
-        /**
-         * Get an array of MapAreas associated with a specific AREA based on the keys for that area
-         * @param  {Element} area   An HTML AREA
-         * @param  {number} atMost  A number limiting the number of areas to be returned (typically 1 or 0 for no limit)
-         * @return {MapArea[]}      Array of MapArea objects
-         */
-        
-        getAllDataForArea:function (area,atMost) {
-            var i,ar, result,
-                me=this,
-                key = $(area).filter('area').attr(me.options.mapKey);
-
-            if (key) {
-                result=[];
-                key = u.split(key);
-
-                for (i=0;i<(atMost || key.length);i++) {
-                    ar = me.data[me._idFromKey(key[i])];
-                    ar.area=area.length ? area[0]:area;
-                    // set the actual area moused over/selected
-                    // TODO: this is a brittle model for capturing which specific area - if this method was not used,
-                    // ar.area could have old data. fix this.
-                    result.push(ar);
-                }
-            }
-
-            return result;
-        },
-        getDataForArea: function(area) {
-            var ar=this.getAllDataForArea(area,1);
-            return ar ? ar[0] || null : null;
-        },
-        getDataForKey: function (key) {
-            return this.data[this._idFromKey(key)];
-        },
-        
-        /**
-         * Get the primary keys associated with an area group.
-         * If this is a primary key, it will be returned.
-         * 
-         * @param  {string key An area key
-         * @return {string} A CSV of area keys
-         */
-        
-        getKeysForGroup: function(key) {
-            var ar=this.getDataForKey(key);
-            
-            return !ar ? '':
-                ar.isPrimary ? 
-                    ar.key :
-                    this.getPrimaryKeysForMapAreas(ar.areas()).join(',');
-        },
-        
-        /**
-         * given an array of MapArea object, return an array of its unique primary keys
-         * @param  {MapArea[]} areas The areas to analyze
-         * @return {string[]} An array of unique primary keys
-         */
-        
-        getPrimaryKeysForMapAreas: function(areas)
-        {
-            var keys=[];
-            $.each(areas,function(i,e) {
-                if ($.inArray(e.keys[0],keys)<0) {
-                    keys.push(e.keys[0]);
-                }
-            });
-            return keys;
-        },
-        getData: function (obj) {
-            if (typeof obj === 'string') {
-                return this.getDataForKey(obj);
-            } else if (obj && obj.mapster || u.isElement(obj)) {
-                return this.getDataForArea(obj);
-            } else {
-                return null;
-            }
-        },
-        // remove highlight if present, raise event
-        ensureNoHighlight: function () {
-            var ar;
-            if (this.highlightId >= 0) {
-                this.graphics.clearHighlight();
-                ar = this.data[this.highlightId];
-                ar.changeState('highlight', false);
-                this.setHighlightId(-1);
-            }
-        },
-        setHighlightId: function(id) {
-            this.highlightId = id;
-        },
-        
-        /**
-         * Clear all active selections on this map
-         */
-        
-        clearSelections: function () {
-            $.each(this.data, function (i,e) {
-                if (e.selected) {
-                    e.deselect(true);
-                 }
-            });
-            this.removeSelectionFinish();
-            
-        },
-
-        /**
-         * Set area options from an array of option data.
-         * 
-         * @param {object[]} areas An array of objects containing area-specific options
-         */
-        
-        setAreaOptions: function (areas) {
-            var i, area_options, ar;
-            areas = areas || [];
-
-            // refer by: map_data.options[map_data.data[x].area_option_id]
-            
-            for (i = areas.length - 1; i >= 0; i--) {
-                area_options = areas[i];
-                if (area_options) {
-                    ar = this.getDataForKey(area_options.key);
-                    if (ar) {
-                        u.updateProps(ar.options, area_options);
-                        
-                        // TODO: will not deselect areas that were previously selected, so this only works
-                        // for an initial bind.
-                        
-                        if (u.isBool(area_options.selected)) {
-                            ar.selected = area_options.selected;
-                        }
-                    }
-                }
-            }
-        },
-        // keys: a comma-separated list
-        drawSelections: function (keys) {
-            var i, key_arr = u.asArray(keys);
-
-            for (i = key_arr.length - 1; i >= 0; i--) {
-                this.data[key_arr[i]].drawSelection();
-            }
-        },
-        redrawSelections: function () {
-            $.each(this.data, function (i, e) {
-                if (e.isSelectedOrStatic()) {
-                    e.drawSelection();
-                }
-            });
-
-        },
-        ///called when images are done loading
-        initialize: function () {
-            var imgCopy, base_canvas, overlay_canvas, wrap, parentId, css, i,size,
-                img,sort_func, sorted_list,  scale,  
-                        me = this,
-                        opts = me.options;
-
-            if (me.complete) {
-                return;
-            }
-
-            img = $(me.image);
-            
-            parentId = img.parent().attr('id');
-
-            // create a div wrapper only if there's not already a wrapper, otherwise, own it
-            
-            if (parentId && parentId.length >= 12 && parentId.substring(0, 12) === "mapster_wrap") {
-                wrap = img.parent();
-                wrap.attr('id', me.wrapId());
-            } else {
-                wrap = $('<div id="' + me.wrapId() + '"></div>');
-
-                if (opts.wrapClass) {
-                    if (opts.wrapClass === true) {
-                        wrap.addClass(img[0].className);
-                    }
-                    else {
-                        wrap.addClass(opts.wrapClass);
-                    }
-                }
-            }
-            me.wrapper = wrap;
-            
-            // me.images[1] is the copy of the original image. It should be loaded & at its native size now so we can obtain the true
-            // width & height. This is needed to scale the imagemap if not being shown at its native size. It is also needed purely
-            // to finish binding in case the original image was not visible. It can be impossible in some browsers to obtain the
-            // native size of a hidden image.
-
-            me.scaleInfo = scale = u.scaleMap(me.images[0],me.images[1], opts.scaleMap);
-            
-            me.base_canvas = base_canvas = me.graphics.createVisibleCanvas(me);
-            me.overlay_canvas = overlay_canvas = me.graphics.createVisibleCanvas(me);
-
-            // Now we got what we needed from the copy -clone from the original image again to make sure any other attributes are copied
-            imgCopy = $(me.images[1])
-                .addClass('mapster_el '+ me.images[0].className)
-                .attr({id:null, usemap: null});
-                
-            size=u.size(me.images[0]);
-            
-            if (size.complete) {
-                imgCopy.css({
-                    width: size.width,
-                    height: size.height
-                });
-            }
-     
-            me.buildDataset();
-
-            // now that we have processed all the areas, set css for wrapper, scale map if needed
-
-            css = {
-                display: 'block',
-                position: 'relative',
-                padding: 0,
-                width: scale.width,
-                height: scale.height
-            };
-
-            if (opts.wrapCss) {
-                $.extend(css, opts.wrapCss);
-            }
-            // if we were rebinding with an existing wrapper, the image will aready be in it
-            if (img.parent()[0] !== me.wrapper[0]) {
-
-                img.before(me.wrapper);
-            }
-
-            wrap.css(css);
-
-            // move all generated images into the wrapper for easy removal later
-
-            $(me.images.slice(2)).hide();
-            for (i = 1; i < me.images.length; i++) {
-                wrap.append(me.images[i]);
-            }
-
-            //me.images[1].style.cssText = me.image.style.cssText;
-
-            wrap.append(base_canvas)
-                        .append(overlay_canvas)
-                        .append(img.css(m.canvas_style));
-
-            // images[0] is the original image with map, images[1] is the copy/background that is visible
-
-            u.setOpacity(me.images[0], 0);
-            $(me.images[1]).show();
-
-            u.setOpacity(me.images[1],1);
-
-            if (opts.isSelectable && opts.onGetList) {
-                sorted_list = me.data.slice(0);
-                if (opts.sortList) {
-                    if (opts.sortList === "desc") {
-                        sort_func = function (a, b) {
-                            return a === b ? 0 : (a > b ? -1 : 1);
-                        };
-                    }
-                    else {
-                        sort_func = function (a, b) {
-                            return a === b ? 0 : (a < b ? -1 : 1);
-                        };
-                    }
-
-                    sorted_list.sort(function (a, b) {
-                        a = a.value;
-                        b = b.value;
-                        return sort_func(a, b);
-                    });
-                }
-
-                me.options.boundList = opts.onGetList.call(me.image, sorted_list);
-            }
-            
-            me.complete=true;
-            me.processCommandQueue();
-            
-            if (opts.onConfigured && typeof opts.onConfigured === 'function') {
-                opts.onConfigured.call(img, true);
-            }
-        },
-
-        // when rebind is true, the MapArea data will not be rebuilt.
-        buildDataset: function(rebind) {
-            var sel,areas,j,area_id,$area,area,curKey,mapArea,key,keys,mapAreaId,group_value,dataItem,href,
-                me=this,
-                opts=me.options,
-                default_group;
-
-            function addAreaData(key, value) {
-                var dataItem = new m.AreaData(me, key, value);
-                dataItem.areaId = me._xref[key] = me.data.push(dataItem) - 1;
-                return dataItem.areaId;
-            }
-
-            me._xref = {};
-            me.data = [];
-            if (!rebind) {
-                me.mapAreas=[];
-            }
-
-            default_group = !opts.mapKey;
-            if (default_group) {
-                opts.mapKey = 'data-mapster-key';
-            }
-
-            // the [attribute] selector is broken on old IE with jQuery. hasVml() is a quick and dirty
-            // way to test for that
-            
-            sel = m.hasVml() ? 'area' :
-                        (default_group ? 
-                            'area[coords]' : 
-                            'area[' + opts.mapKey + ']');
-
-            areas = $(me.map).find(sel).unbind('.mapster');
-                        
-            for (mapAreaId = 0;mapAreaId<areas.length; mapAreaId++) {
-                area_id = 0;
-                area = areas[mapAreaId];
-                $area = $(area);
-
-                // skip areas with no coords - selector broken for older ie
-                if (!area.coords) {
-                    continue;
-                }
-                // Create a key if none was assigned by the user
-
-                if (default_group) {
-                     curKey=String(mapAreaId);
-                    $area.attr('data-mapster-key', curKey);
-                   
-                } else {
-                    curKey = area.getAttribute(opts.mapKey);
-                }
-
-                // conditions for which the area will be bound to mouse events
-                // only bind to areas that don't have nohref. ie 6&7 cannot detect the presence of nohref, so we have to also not bind if href is missing.
-
-                if (rebind) {
-                    mapArea = me.mapAreas[$area.data('mapster')-1];
-                    mapArea.configure(curKey);
-                } else {
-                    mapArea = new m.MapArea(me, area,curKey);
-                    me.mapAreas.push(mapArea);
-                }
-
-                keys = mapArea.keys; // converted to an array by mapArea
-
-
-                // Iterate through each mapKey assigned to this area
-                for (j = keys.length - 1; j >= 0; j--) {
-                    key = keys[j];
-
-                    if (opts.mapValue) {
-                        group_value = $area.attr(opts.mapValue);
-                    }
-                    if (default_group) {
-                        // set an attribute so we can refer to the area by index from the DOM object if no key
-                        area_id = addAreaData(me.data.length, group_value);
-                        dataItem = me.data[area_id];
-                        dataItem.key = key = area_id.toString();
-                    }
-                    else {
-                        area_id = me._xref[key];
-                        if (area_id >= 0) {
-                            dataItem = me.data[area_id];
-                            if (group_value && !me.data[area_id].value) {
-                                dataItem.value = group_value;
-                            }
-                        }
-                        else {
-                            area_id = addAreaData(key, group_value);
-                            dataItem = me.data[area_id];
-                            dataItem.isPrimary=j===0;
-                        }
-                    }
-                    mapArea.areaDataXref.push(area_id);
-                    dataItem.areasXref.push(mapAreaId);
-                }
-
-                href=$area.attr('href');
-                if (href && href!=='#' && !dataItem.href)
-                {
-                    dataItem.href=href;
-                }
-
-                if (!mapArea.nohref) {
-                    $area.bind('click.mapster', me.click);
-                       
-                    if (!m.isTouch) {
-                        $area.bind('mouseover.mapster', me.mouseover)
-                            .bind('mouseout.mapster', me.mouseout)
-                            .bind('mousedown.mapster', me.mousedown);
-                        
-                    }
-                        
-                }
-
-                // store an ID with each area. 
-                $area.data("mapster", mapAreaId+1);
-            }
-           
-            // TODO listenToList
-            //            if (opts.listenToList && opts.nitG) {
-            //                opts.nitG.bind('click.mapster', event_hooks[map_data.hooks_index].listclick_hook);
-            //            }
-
-            // populate areas from config options
-            me.setAreaOptions(opts.areas);
-            me.redrawSelections();
-
-        },
-        processCommandQueue: function() {
-            
-            var cur,me=this;
-            while (!me.currentAction && me.commands.length) {
-                cur = me.commands[0];
-                me.commands.splice(0,1);
-                m.impl[cur.command].apply(cur.that, cur.args);
-            }
-        },
-        clearEvents: function () {
-            $(this.map).find('area')
-                        .unbind('.mapster');
-            $(this.images)
-                        .unbind('.mapster');
-        },
-        _clearCanvases: function (preserveState) {
-            // remove the canvas elements created
-            if (!preserveState) {
-                $(this.base_canvas).remove();
-            }
-            $(this.overlay_canvas).remove();
-        },
-        clearMapData: function (preserveState) {
-            var me = this;
-            this._clearCanvases(preserveState);
-
-            // release refs to DOM elements
-            $.each(this.data, function (i, e) {
-                e.reset();
-            });
-            this.data = null;
-            if (!preserveState) {
-                // get rid of everything except the original image
-                this.image.style.cssText = this.imgCssText;
-                $(this.wrapper).before(this.image).remove();
-            }
-
-            me.images.clear();
-
-            this.image = null;
-            u.ifFunction(this.clearTooltip, this);
-        },
-
-        // Compelete cleanup process for deslecting items. Called after a batch operation, or by AreaData for single
-        // operations not flagged as "partial"
-        
-        removeSelectionFinish: function () {
-            var g = this.graphics;
-
-            g.refreshSelections();
-            // do not call ensure_no_highlight- we don't really want to unhilight it, just remove the effect
-            g.clearHighlight();
-        }
-    };
-} (jQuery));
-/* areadata.js
-   AreaData and MapArea protoypes
-*/
-
-(function ($) {
-    var m = $.mapster, u = m.utils;
-    
-    /**
-     * Select this area
-     * 
-     * @param {AreaData} me  AreaData context
-     * @param {object} options Options for rendering the selection
-     */
-    function select(options) {
-        // need to add the new one first so that the double-opacity effect leaves the current one highlighted for singleSelect
-        
-        var me=this, o = me.owner;
-        if (o.options.singleSelect) {
-            o.clearSelections();
-        }
-
-        // because areas can overlap - we can't depend on the selection state to tell us anything about the inner areas.
-        // don't check if it's already selected
-        if (!me.isSelected()) {
-            if (options) {
-                
-                // cache the current options, and map the altImageId if an altimage 
-                // was passed
-
-                me.optsCache = $.extend(me.effectiveRenderOptions('select'),
-                    options,
-                    { 
-                        altImageId: o.images.add(options.altImage)
-                    });
-            }
-
-            me.drawSelection();
-
-            me.selected = true;
-            me.changeState('select', true);
-        }
-
-        if (o.options.singleSelect) {
-            o.graphics.refreshSelections();
-        }
-    }
-
-    /**
-     * Deselect this area, optionally deferring finalization so additional areas can be deselected
-     * in a single operation
-     * 
-     * @param  {boolean} partial when true, the caller must invoke "finishRemoveSelection" to render 
-     */
-    
-    function deselect(partial) {
-        var me=this;
-        me.selected = false;
-        me.changeState('select', false);
-
-        // release information about last area options when deselecting.
-        
-        me.optsCache=null;
-        me.owner.graphics.removeSelections(me.areaId);
-
-        // Complete selection removal process. This is separated because it's very inefficient to perform the whole
-        // process for multiple removals, as the canvas must be totally redrawn at the end of the process.ar.remove
-        
-        if (!partial) {
-            me.owner.removeSelectionFinish();
-        }
-    }
-
-    /**
-     * Toggle the selection state of this area
-     * @param  {object} options Rendering options, if toggling on
-     * @return {bool} The new selection state
-     */
-    function toggle(options) {
-        var me=this;
-        if (!me.isSelected()) {
-            me.select(options);
-        }
-        else {
-            me.deselect();
-        }
-        return me.isSelected();
-    }
-
-    /**
-     * An AreaData object; represents a conceptual area that can be composed of 
-     * one or more MapArea objects
-     * 
-     * @param {MapData} owner The MapData object to which this belongs
-     * @param {string} key   The key for this area
-     * @param {string} value The mapValue string for this area
-     */
-    
-    m.AreaData = function (owner, key, value) {
-        $.extend(this,{
-            owner: owner, 
-            key: key || '',
-            // means this represents the first key in a list of keys (it's the area group that gets highlighted on mouseover)
-            isPrimary: true,
-            areaId: -1,
-            href: '',
-            value: value || '',
-            options:{},
-            // "null" means unchanged. Use "isSelected" method to just test true/false 
-            selected: null,       
-            // xref to MapArea objects
-            areasXref: [],
-            // (temporary storage) - the actual area moused over
-            area: null,
-            // the last options used to render this. Cache so when re-drawing after a remove, changes in options won't
-            // break already selected things. 
-            optsCache: null
-         });
-    };
-
-    /**
-     * The public API for AreaData object
-     */
-
-    m.AreaData.prototype = {
-        constuctor: m.AreaData,
-        select: select,
-        deselect: deselect,
-        toggle: toggle,
-        areas: function() {
-            var i,result=[];
-            for (i=0;i<this.areasXref.length;i++) {
-                result.push(this.owner.mapAreas[this.areasXref[i]]);
-            }
-            return result;
-        },
-        // return all coordinates for all areas
-        coords: function(offset) {
-            var coords = [];
-            $.each(this.areas(), function (i, el) {
-                coords = coords.concat(el.coords(offset));
-            });
-            return coords;
-        },
-        reset: function () {
-            $.each(this.areas(), function (i, e) {
-                e.reset();
-            });
-            this.areasXref = [];
-            this.options = null;
-        },
-        // Return the effective selected state of an area, incorporating staticState
-        isSelectedOrStatic: function () {
-
-            var o = this.effectiveOptions();
-            return u.isBool(o.staticState) ? o.staticState :
-                        this.isSelected();
-        },
-        isSelected: function () {
-            return u.isBool(this.selected) ? this.selected :
-                u.isBool(this.owner.area_options.selected) ? this.owner.area_options.selected : false;
-        },
-        isSelectable: function () {
-            return u.isBool(this.effectiveOptions().staticState) ? false :
-                        (u.isBool(this.owner.options.staticState) ? false : u.boolOrDefault(this.effectiveOptions().isSelectable,true));
-        },
-        isDeselectable: function () {
-            return u.isBool(this.effectiveOptions().staticState) ? false :
-                        (u.isBool(this.owner.options.staticState) ? false : u.boolOrDefault(this.effectiveOptions().isDeselectable,true));
-        },
-        isNotRendered: function() {
-            var area = $(this.area);
-            return area.attr('nohref') ||
-                !area.attr('href') ||
-                this.effectiveOptions().isMask;
-
-        },
-
-        
-         /**
-         * Return the overall options effective for this area. 
-         * This should get the default options, and merge in area-specific options, finally
-         * overlaying options passed by parameter
-         * 
-         * @param  {[type]} options  options which will supercede all other options for this area
-         * @return {[type]}          the combined options
-         */
-        
-        effectiveOptions: function (options) {
-            
-            var opts = u.updateProps({},
-                    this.owner.area_options,
-                    this.options,
-                    options || {},
-                    {
-                        id: this.areaId 
-                    }
-                );
-
-            opts.selected = this.isSelected();
-            
-            return opts;
-        },
-
-        /**
-         * Return the options effective for this area for a "render" or "highlight" mode. 
-         * This should get the default options, merge in the areas-specific options, 
-         * and then the mode-specific options.
-         * @param  {string} mode    'render' or 'highlight'
-         * @param  {[type]} options  options which will supercede all other options for this area
-         * @return {[type]}          the combined options
-         */
-        
-        effectiveRenderOptions: function (mode, options) {
-            var allOpts,opts=this.optsCache;
-            
-            if (!opts || mode==='highlight') {
-                allOpts = this.effectiveOptions(options);
-                opts = u.updateProps({},
-                    allOpts,
-                    allOpts["render_" + mode]
-                );
-                    
-                if (mode!=='highlight') {
-                    this.optsCache=opts;
-                }
-            }
-            return $.extend({},opts);
-        },
-
-        // Fire callback on area state change
-        changeState: function (state_type, state) {
-            if ($.isFunction(this.owner.options.onStateChange)) {
-                this.owner.options.onStateChange.call(this.owner.image,
-                    {
-                        key: this.key,
-                        state: state_type,
-                        selected: state
-                    }
-                );
-            }
-        },
-
-        // highlight this area
-         
-        highlight: function (options) {
-            var o = this.owner;
-            if (this.effectiveOptions().highlight) {
-                o.graphics.addShapeGroup(this, "highlight",options);
-            }
-            o.setHighlightId(this.areaId);
-            this.changeState('highlight', true);
-        },
-
-        // select this area. if "callEvent" is true then the state change event will be called. (This method can be used
-        // during config operations, in which case no event is indicated)
-        
-        drawSelection: function () {
-        
-
-            this.owner.graphics.addShapeGroup(this, "select");
-        
-        }
-
-
-    };
-    // represents an HTML area
-    m.MapArea = function (owner,areaEl,keys) {
-        if (!owner) {
-            return;
-        }
-        var me = this;
-        me.owner = owner;   // a MapData object
-        me.area = areaEl;
-        me.areaDataXref=[]; // a list of map_data.data[] id's for each areaData object containing this
-        me.originalCoords = [];
-        $.each(u.split(areaEl.coords), function (i, el) {
-            me.originalCoords.push(parseFloat(el));
-        });
-        me.length = me.originalCoords.length;
-        me.shape = areaEl.shape.toLowerCase();
-        me.nohref = areaEl.nohref || !areaEl.href;
-        me.configure(keys);
-    };
-    m.MapArea.prototype= {
-        constructor: m.MapArea,
-        configure: function(keys) {
-            this.keys = u.split(keys);
-        },
-        reset: function() {
-            this.area=null;
-        },
-        coords: function (offset) {
-            return $.map(this.originalCoords,function(e) {
-                return offset ? e : e+offset;
-            });
-        }
-    };
-} (jQuery));
-/* areacorners.js
-   determine the best place to put a box of dimensions (width,height) given a circle, rect or poly
-*/
-
-(function ($) {
-    var u=$.mapster.utils;
-
-
-    /**
-     * Compute positions that will place a target with dimensions [width,height] outside 
-     * but near the boundaries of the elements "elements". When an imagemap is passed, the 
-     *
-     * @param  {Element|Element[]} elements An element or an array of elements (such as a jQuery object)
-     * @param  {Element} image The image to which area elements are bound, if this is an image map.
-     * @param  {Element} container The contianer in which the target must be constrained (or document, if missing)
-     * @param  {int} width The width of the target object
-     * @return {object} a structure with the x and y positions
-     */
-    u.areaCorners = function (elements, image, container, width, height) {
-        var pos,found, minX, minY, maxX, maxY, bestMinX, bestMaxX, bestMinY, bestMaxY, curX, curY, nest, j,
-           offsetx=0, 
-           offsety=0,
-           rootx,
-           rooty,
-           iCoords,radius,angle,el,
-           coords=[];
-
-        // if a single element was passed, map it to an array
-        
-        elements = elements.length ? 
-            elements:
-            [elements];
-
-        container = container ? 
-            $(container):
-            $(document.body);
-
-        // get the relative root of calculation
-
-        pos = container.offset();
-        rootx = pos.left;
-        rooty = pos.top;
-
-        // with areas, all we know about is relative to the top-left corner of the image. We need to add an offset compared to
-        // the actual container. After this calculation, offsetx/offsety can be added to either the area coords, or the target's
-        // absolute position to get the correct top/left boundaries of the container.
-
-        if (image) {
-            pos = $(image).offset();
-            offsetx = pos.left;
-            offsety = pos.top;
-        }
-
-        // map the coordinates of any type of shape to a poly and use the logic. simpler than using three different
-        // calculation methods. Circles use a 20 degree increment for this estimation.
-
-        for (j=0;j<elements.length;j++) 
-        {
-            el=elements[j];
-            if (el.nodeName==='AREA') {
-                iCoords = u.split(el.coords,parseInt);
-
-                switch(el.shape) {
-                    case 'circle':
-                        curX=iCoords[0];
-                        curY=iCoords[1];
-                        radius=iCoords[2];
-                        coords=[];
-                        for (j=0;j<360;j+=20) {
-                             angle=j*Math.PI/180;
-                             coords.push(curX+radius*Math.cos(angle),curY+radius*Math.sin(angle));
-                        }
-                        break;
-                      case 'rect':
-                          coords.push(iCoords[0],iCoords[1],iCoords[2],iCoords[1],iCoords[2],iCoords[3],iCoords[0],iCoords[3]);
-                          break;
-                      default:
-                          coords=coords.concat(iCoords);
-                         break;
-                }
-
-                // map area positions to it's real position in the container
-
-                for (j=0;j<coords.length;j+=2)
-                {
-                    coords[j]=parseInt(coords[j],10)+offsetx;
-                    coords[j+1]=parseInt(coords[j+1],10)+offsety;
-                }
-            } else {
-                el=$(el);
-                pos = el.position();
-                coords.push(pos.left,pos.top,
-                            pos.left+el.width(),pos.top,
-                            pos.left+el.width(),pos.top+el.height(),
-                            pos.left,pos.top+el.height());
-
-            }
-        }
-        
-        minX = minY = bestMinX = bestMinY = 999999;
-        maxX = maxY = bestMaxX = bestMaxY = -1;
-
-        for (j = coords.length - 2; j >= 0; j -= 2) {
-            curX = coords[j];
-            curY = coords[j + 1];
-            
-            if (curX < minX) {
-                minX = curX;
-                bestMaxY = curY;
-            }
-            if (curX > maxX) {
-                maxX = curX;
-                bestMinY = curY;
-            }
-            if (curY < minY) {
-                minY = curY;
-                bestMaxX = curX;
-            }
-            if (curY > maxY) {
-                maxY = curY;
-                bestMinX = curX;
-            }
-
-        }
-
-        // try to figure out the best place for the tooltip
-        
-        if (width && height) {
-            found=false;
-            $.each([[bestMaxX - width, minY - height], [bestMinX, minY - height],
-                             [minX - width, bestMaxY - height], [minX - width, bestMinY],
-                             [maxX,bestMaxY - height], [ maxX,bestMinY],
-                             [bestMaxX - width, maxY], [bestMinX, maxY]
-                      ],function (i, e) {
-                          if (!found && (e[0] > rootx && e[1] > rooty)) {
-                              nest = e;
-                              found=true;
-                              return false;
-                  }
-             });
-             
-             // default to lower-right corner if nothing fit inside the boundaries of the image
-             
-             if (!found) {
-                 nest=[maxX,maxY];
-             }
-        }
-        return nest;
-    };
-} (jQuery));
-/* scale.js: resize and zoom functionality
-   requires areacorners.js, when.js
-*/
-
-
-(function ($) {
-    var m = $.mapster, u = m.utils, p = m.MapArea.prototype;
-
-    m.utils.getScaleInfo = function (eff, actual) {
-        var pct;
-        if (!actual) {
-            pct = 1;
-            actual=eff;
-        } else {
-            pct = eff.width / actual.width || eff.height / actual.height;
-            // make sure a float error doesn't muck us up
-            if (pct > 0.98 && pct < 1.02) { pct = 1; }
-        }
-        return {
-            scale: (pct !== 1),
-            scalePct: pct,
-            realWidth: actual.width,
-            realHeight: actual.height,
-            width: eff.width,
-            height: eff.height,
-            ratio: eff.width / eff.height
-        };
-    };
-    // Scale a set of AREAs, return old data as an array of objects
-    m.utils.scaleMap = function (image, imageRaw, scale) {
-        
-        // stunningly, jQuery width can return zero even as width does not, seems to happen only
-        // with adBlock or maybe other plugins. These must interfere with onload events somehow.
-
-
-        var vis=u.size(image),
-            raw=u.size(imageRaw,true);
-
-        if (!raw.complete()) {
-            throw("Another script, such as an extension, appears to be interfering with image loading. Please let us know about this.");
-        }
-        if (!vis.complete()) {
-            vis=raw;
-        }
-        return this.getScaleInfo(vis, scale ? raw : null);
-    };
-    
-    /**
-     * Resize the image map. Only one of newWidth and newHeight should be passed to preserve scale
-     * 
-     * @param  {int}   width       The new width OR an object containing named parameters matching this function sig
-     * @param  {int}   height      The new height
-     * @param  {int}   effectDuration Time in ms for the resize animation, or zero for no animation
-     * @param  {function} callback    A function to invoke when the operation finishes
-     * @return {promise}              NOT YET IMPLEMENTED
-     */
-    
-    m.MapData.prototype.resize = function (width, height, duration, callback) {
-        var p,promises,newsize,els, highlightId, ratio, 
-            me = this;
-        
-        // allow omitting duration
-        callback = callback || duration;
-
-        function sizeCanvas(canvas, w, h) {
-            if (m.hasCanvas()) {
-                canvas.width = w;
-                canvas.height = h;
-            } else {
-                $(canvas).width(w);
-                $(canvas).height(h);
-            }
-        }
-
-        // Finalize resize action, do callback, pass control to command queue
-
-        function cleanupAndNotify() {
-
-            me.currentAction = '';
-            
-            if ($.isFunction(callback)) {
-                callback();
-            }
-            
-            me.processCommandQueue();
-        }
-
-        // handle cleanup after the inner elements are resized
-        
-        function finishResize() {
-            sizeCanvas(me.overlay_canvas, width, height);
-
-            // restore highlight state if it was highlighted before
-            if (highlightId >= 0) {
-                var areaData = me.data[highlightId];
-                areaData.tempOptions = { fade: false };
-                me.getDataForKey(areaData.key).highlight();
-                areaData.tempOptions = null;
-            }
-            sizeCanvas(me.base_canvas, width, height);
-            me.redrawSelections();
-            cleanupAndNotify();
-        }
-
-        function resizeMapData() {
-            $(me.image).css(newsize);
-            // start calculation at the same time as effect
-            me.scaleInfo = u.getScaleInfo({
-                    width: width,
-                    height: height
-                },
-                { 
-                    width: me.scaleInfo.realWidth,
-                    height: me.scaleInfo.realHeight
-                });
-            $.each(me.data, function (i, e) {
-                $.each(e.areas(), function (i, e) {
-                    e.resize();
-                });
-            });
-        }
-
-        if (me.scaleInfo.width === width && me.scaleInfo.height === height) {
-            return;
-        }
-
-        highlightId = me.highlightId;
-
-        
-        if (!width) {
-            ratio = height / me.scaleInfo.realHeight;
-            width = Math.round(me.scaleInfo.realWidth * ratio);
-        }
-        if (!height) {
-            ratio = width / me.scaleInfo.realWidth;
-            height = Math.round(me.scaleInfo.realHeight * ratio);
-        }
-
-        newsize = { 'width': String(width) + 'px', 'height': String(height) + 'px' };
-        if (!m.hasCanvas()) {
-            $(me.base_canvas).children().remove();
-        }
-
-        // resize all the elements that are part of the map except the image itself (which is not visible)
-        // but including the div wrapper
-        els = $(me.wrapper).find('.mapster_el').add(me.wrapper);
-
-        if (duration) {
-            promises = [];
-            me.currentAction = 'resizing';
-            els.each(function (i, e) {
-                p = u.defer();
-                promises.push(p);
-
-                $(e).animate(newsize, {
-                    duration: duration,
-                    complete: p.resolve,
-                    easing: "linear"
-                });
-            });
-
-            p = u.defer();
-            promises.push(p);
-
-            // though resizeMapData is not async, it needs to be finished just the same as the animations,
-            // so add it to the "to do" list.
-            
-            u.when.all(promises).then(finishResize);
-            resizeMapData();
-            p.resolve();
-        } else {
-            els.css(newsize);
-            resizeMapData();
-            finishResize();
-            
-        }
-    };
-
-
-    m.MapArea = u.subclass(m.MapArea, function () {
-        //change the area tag data if needed
-        this.base.init();
-        if (this.owner.scaleInfo.scale) {
-            this.resize();
-        }
-    });
-
-    p.coords = function (percent, coordOffset) {
-        var j, newCoords = [],
-                    pct = percent || this.owner.scaleInfo.scalePct,
-                    offset = coordOffset || 0;
-
-        if (pct === 1 && coordOffset === 0) {
-            return this.originalCoords;
-        }
-
-        for (j = 0; j < this.length; j++) {
-            //amount = j % 2 === 0 ? xPct : yPct;
-            newCoords.push(Math.round(this.originalCoords[j] * pct) + offset);
-        }
-        return newCoords;
-    };
-    p.resize = function () {
-        this.area.coords = this.coords().join(',');
-    };
-
-    p.reset = function () {
-        this.area.coords = this.coords(1).join(',');
-    };
-    
-    m.impl.resize = function (width, height, duration, callback) {
-        if (!width && !height) {
-            return false;
-        }
-        var x= (new m.Method(this,
-                function () {
-                    this.resize(width, height, duration, callback);
-                },
-                null,
-                {
-                    name: 'resize',
-                    args: arguments
-                }
-            )).go();
-        return x;
-    };
-
-/*
-    m.impl.zoom = function (key, opts) {
-        var options = opts || {};
-
-        function zoom(areaData) {
-            // this will be MapData object returned by Method
-
-            var scroll, corners, height, width, ratio,
-                    diffX, diffY, ratioX, ratioY, offsetX, offsetY, newWidth, newHeight, scrollLeft, scrollTop,
-                    padding = options.padding || 0,
-                    scrollBarSize = areaData ? 20 : 0,
-                    me = this,
-                    zoomOut = false;
-
-            if (areaData) {
-                // save original state on first zoom operation
-                if (!me.zoomed) {
-                    me.zoomed = true;
-                    me.preZoomWidth = me.scaleInfo.width;
-                    me.preZoomHeight = me.scaleInfo.height;
-                    me.zoomedArea = areaData;
-                    if (options.scroll) {
-                        me.wrapper.css({ overflow: 'auto' });
-                    }
-                }
-                corners = $.mapster.utils.areaCorners(areaData.coords(1, 0));
-                width = me.wrapper.innerWidth() - scrollBarSize - padding * 2;
-                height = me.wrapper.innerHeight() - scrollBarSize - padding * 2;
-                diffX = corners.maxX - corners.minX;
-                diffY = corners.maxY - corners.minY;
-                ratioX = width / diffX;
-                ratioY = height / diffY;
-                ratio = Math.min(ratioX, ratioY);
-                offsetX = (width - diffX * ratio) / 2;
-                offsetY = (height - diffY * ratio) / 2;
-
-                newWidth = me.scaleInfo.realWidth * ratio;
-                newHeight = me.scaleInfo.realHeight * ratio;
-                scrollLeft = (corners.minX) * ratio - padding - offsetX;
-                scrollTop = (corners.minY) * ratio - padding - offsetY;
-            } else {
-                if (!me.zoomed) {
-                    return;
-                }
-                zoomOut = true;
-                newWidth = me.preZoomWidth;
-                newHeight = me.preZoomHeight;
-                scrollLeft = null;
-                scrollTop = null;
-            }
-
-            this.resize({
-                width: newWidth,
-                height: newHeight,
-                duration: options.duration,
-                scroll: scroll,
-                scrollLeft: scrollLeft,
-                scrollTop: scrollTop,
-                // closure so we can be sure values are correct
-                callback: (function () {
-                    var isZoomOut = zoomOut,
-                            scroll = options.scroll,
-                            areaD = areaData;
-                    return function () {
-                        if (isZoomOut) {
-                            me.preZoomWidth = null;
-                            me.preZoomHeight = null;
-                            me.zoomed = false;
-                            me.zoomedArea = false;
-                            if (scroll) {
-                                me.wrapper.css({ overflow: 'inherit' });
-                            }
-                        } else {
-                            // just to be sure it wasn't canceled & restarted
-                            me.zoomedArea = areaD;
-                        }
-                    };
-                } ())
-            });
-        }
-        return (new m.Method(this,
-                function (opts) {
-                    zoom.call(this);
-                },
-                function () {
-                    zoom.call(this.owner, this);
-                },
-                {
-                    name: 'zoom',
-                    args: arguments,
-                    first: true,
-                    key: key
-                }
-                )).go();
-
-
-    };
-    */
-} (jQuery));
-/* tooltip.js - tooltip functionality
-   requires areacorners.js
-*/
-
-(function ($) {
-
-    var m = $.mapster, u = m.utils;
-    
-    $.extend(m.defaults, {
-        toolTipContainer: '<div style="border: 2px solid black; background: #EEEEEE; width:160px; padding:4px; margin: 4px; -moz-box-shadow: 3px 3px 5px #535353; ' +
-        '-webkit-box-shadow: 3px 3px 5px #535353; box-shadow: 3px 3px 5px #535353; -moz-border-radius: 6px 6px 6px 6px; -webkit-border-radius: 6px; ' +
-        'border-radius: 6px 6px 6px 6px; opacity: 0.9;"></dteniv>',
-        showToolTip: false,
-        toolTipFade: true,
-        toolTipClose: ['area-mouseout','image-mouseout'],
-        onShowToolTip: null,
-        onHideToolTip: null
-    });
-    
-    $.extend(m.area_defaults, {
-        toolTip: null,
-        toolTipClose: null
-    });
-    
-
-    /**
-     * Show a tooltip positioned near this area.
-     * 
-     * @param {string|jquery} html A string of html or a jQuery object containing the tooltip content.
-     * @param {string|jquery} [template] The html template in which to wrap the content
-     * @param {string|object} [css] CSS to apply to the outermost element of the tooltip 
-     * @return {jquery} The tooltip that was created
-     */
-    
-    function createToolTip(html, template, css) {
-        var tooltip;
-
-        // wrap the template in a jQuery object, or clone the template if it's already one.
-        // This assumes that anything other than a string is a jQuery object; if it's not jQuery will
-        // probably throw an error.
-        
-        if (template) {
-            tooltip = typeof template === 'string' ?
-                $(template) : 
-                $(template).clone();
-
-            tooltip.append(html);
-        } else {
-            tooltip=$(html);
-        }
-
-        // always set display to block, or the positioning css won't work if the end user happened to
-        // use a non-block type element.
-
-        tooltip.css($.extend((css || {}),{
-                display:"block",
-                position:"absolute"
-            })).hide();
-        
-        $('body').append(tooltip);
-
-        // we must actually add the tooltip to the DOM and "show" it in order to figure out how much space it
-        // consumes, and then reposition it with that knowledge.
-        // We also cache the actual opacity setting to restore finally.
-        
-        tooltip.attr("data-opacity",tooltip.css("opacity"))
-            .css("opacity",0);
-        
-        // doesn't really show it because opacity=0
-        
-        return tooltip.show();
-    }
-
-
-    /**
-     * Show a tooltip positioned near this area.
-     * 
-     * @param {jquery} tooltip The tooltip
-     * @param {object} [options] options for displaying the tooltip.
-     *  @config {int} [left] The 0-based absolute x position for the tooltip
-     *  @config {int} [top] The 0-based absolute y position for the tooltip
-     *  @config {string|object} [css] CSS to apply to the outermost element of the tooltip 
-     *  @config {bool} [fadeDuration] When non-zero, the duration in milliseconds of a fade-in effect for the tooltip.
-     */
-    
-    function showToolTipImpl(tooltip,options)
-    {
-        var tooltipCss = { 
-                "left":  options.left + "px",
-                "top": options.top + "px"
-            }, 
-            actalOpacity=tooltip.attr("data-opacity") || 0,
-            zindex = tooltip.css("z-index");
-        
-        if (parseInt(zindex,10)===0 
-            || zindex === "auto") {
-            tooltipCss["z-index"] = 9999;
-        }
-
-        tooltip.css(tooltipCss)
-            .addClass('mapster_tooltip');
-
-        
-        if (options.fadeDuration && options.fadeDuration>0) {
-            u.fader(tooltip[0], 0, actalOpacity, options.fadeDuration);
-        } else {
-            u.setOpacity(tooltip[0], actalOpacity);
-        }
-    }
-      
-    /**
-     * Hide and remove active tooltips
-     * 
-     * @param  {MapData} this The mapdata object to which the tooltips belong
-     */
-    
-    m.MapData.prototype.clearToolTip = function() {
-        if (this.activeToolTip) {
-            this.activeToolTip.stop().remove();
-            this.activeToolTip = null;
-            this.activeToolTipID = null;
-            u.ifFunction(this.options.onHideToolTip, this);
-        }
-    };
-
-    /**
-     * Configure the binding between a named tooltip closing option, and a mouse event.
-     *
-     * If a callback is passed, it will be called when the activating event occurs, and the tooltip will
-     * only closed if it returns true.
-     *
-     * @param  {MapData}  [this]     The MapData object to which this tooltip belongs.
-     * @param  {String}   option     The name of the tooltip closing option
-     * @param  {String}   event      UI event to bind to this option
-     * @param  {Element}  target     The DOM element that is the target of the event
-     * @param  {Function} [beforeClose] Callback when the tooltip is closed
-     * @param  {Function} [onClose]  Callback when the tooltip is closed
-     */
-    function bindToolTipClose(options, bindOption, event, target, beforeClose, onClose) {
-        var event_name = event + '.mapster-tooltip';
-        
-        if ($.inArray(bindOption, options) >= 0) {
-            target.unbind(event_name)
-                .bind(event_name, function (e) {
-                    if (!beforeClose || beforeClose.call(this,e)) {
-                        target.unbind('.mapster-tooltip');
-                        if (onClose) {
-                            onClose.call(this);
-                        }
-                    }
-                });
-            
-            return {
-                object: target, 
-                event: event_name
-            };
-        }
-    }
-    
-    /**
-     * Show a tooltip.
-     *
-     * @param {string|jquery}   [tooltip]       A string of html or a jQuery object containing the tooltip content.
-     * 
-     * @param {string|jquery}   [target]        The target of the tooltip, to be used to determine positioning. If null,
-     *                                          absolute position values must be passed with left and top.
-     *
-     * @param {string|jquery}   [image]         If target is an [area] the image that owns it
-     * 
-     * @param {string|jquery}   [container]     An element within which the tooltip must be bounded
-     *
-     *
-     * 
-     * @param {object|string|jQuery} [options]  options to apply when creating this tooltip - OR -
-     *                                          The markup, or a jquery object, containing the data for the tooltip 
-     *                                         
-     *  @config {string}        [closeEvents]   A string with one or more comma-separated values that determine when the tooltip
-     *                                          closes: 'area-click','tooltip-click','image-mouseout' are valid values
-     *                                          then no template will be used.
-     *  @config {int}           [offsetx]       the horizontal amount to offset the tooltip 
-     *  @config {int}           [offsety]       the vertical amount to offset the tooltip 
-     *  @config {string|object} [css]           CSS to apply to the outermost element of the tooltip 
-     */
-    
-    function showToolTip(tooltip,target,image,container,options) {
-        var corners,
-            ttopts = {};
-    
-        options = options || {};
-
-
-        if (target) {
-
-            corners = u.areaCorners(target,image,container,
-                                    tooltip.outerWidth(true),
-                                    tooltip.outerHeight(true));
-
-            // Try to upper-left align it first, if that doesn't work, change the parameters
-
-            ttopts.left = corners[0];
-            ttopts.top = corners[1];
-
-        } else {
-            
-            ttopts.left = options.left;
-            ttopts.top = options.top;
-        }
-
-        ttopts.left += (options.offsetx || 0);
-        ttopts.top +=(options.offsety || 0);
-
-        ttopts.css= options.css;
-        ttopts.fadeDuration = options.fadeDuration;
-
-        showToolTipImpl(tooltip,ttopts);
-
-        return tooltip;
-    }
-    
-    /**
-     * Show a tooltip positioned near this area.
-      *
-     * @param {string|jquery}   [content]       A string of html or a jQuery object containing the tooltip content.
-     
-     * @param {object|string|jQuery} [options]  options to apply when creating this tooltip - OR -
-     *                                          The markup, or a jquery object, containing the data for the tooltip 
-     *  @config {string|jquery}   [container]     An element within which the tooltip must be bounded
-     *  @config {bool}          [template]      a template to use instead of the default. If this property exists and is null,
-     *                                          then no template will be used.
-     *  @config {string}        [closeEvents]   A string with one or more comma-separated values that determine when the tooltip
-     *                                          closes: 'area-click','tooltip-click','image-mouseout' are valid values
-     *                                          then no template will be used.
-     *  @config {int}           [offsetx]       the horizontal amount to offset the tooltip 
-     *  @config {int}           [offsety]       the vertical amount to offset the tooltip 
-     *  @config {string|object} [css]           CSS to apply to the outermost element of the tooltip 
-     */
-    m.AreaData.prototype.showToolTip= function(content,options) {
-        var tooltip, closeOpts, target, tipClosed, template,
-            ttopts = {},
-            ad=this,
-            md=ad.owner,
-            areaOpts = ad.effectiveOptions();
-    
-        // copy the options object so we can update it
-        options = options ? $.extend({},options) : {};
-
-        content = content || areaOpts.toolTip;
-        closeOpts = options.closeEvents || areaOpts.toolTipClose || md.options.toolTipClose || 'tooltip-click';
-        
-        template = typeof options.template !== 'undefined' ? 
-                options.template :
-                md.options.toolTipContainer;
-
-        options.closeEvents = typeof closeOpts === 'string' ?
-            closeOpts = u.split(closeOpts) :
-            closeOpts;
-
-        options.fadeDuration = options.fadeDuration ||
-                 (md.options.toolTipFade ? 
-                    (md.options.fadeDuration || areaOpts.fadeDuration) : 0);
-
-        target = ad.area ? 
-            ad.area :
-            $.map(ad.areas(),
-                function(e) {
-                    return e.area;
-                });
-
-        if (md.activeToolTipID===ad.areaId) {
-            return;
-        }
-
-        md.clearToolTip();
-
-        md.activeToolTip = tooltip = createToolTip(content,
-            template,
-            options.css);
-
-        md.activeToolTipID = ad.areaId;
-
-        tipClosed = function() {
-            md.clearToolTip();
-        };
-
-        bindToolTipClose(closeOpts,'area-click', 'click', $(md.map), null, tipClosed);
-        bindToolTipClose(closeOpts,'tooltip-click', 'click', tooltip,null, tipClosed);
-        bindToolTipClose(closeOpts,'image-mouseout', 'mouseout', $(md.image), function(e) {
-            return (e.relatedTarget && e.relatedTarget.nodeName!=='AREA' && e.relatedTarget!==ad.area);
-        }, tipClosed);
-
-
-        showToolTip(tooltip,
-                    target,
-                    md.image,
-                    options.container,
-                    template,
-                    options);
-
-        u.ifFunction(md.options.onShowToolTip, ad.area,
-        {
-            toolTip: tooltip,
-            options: ttopts,
-            areaOptions: areaOpts,
-            key: ad.key,
-            selected: ad.isSelected()
-        });
-
-        return tooltip;
-    };
-    
-
-    /**
-     * Parse an object that could be a string, a jquery object, or an object with a "contents" property
-     * containing html or a jQuery object.
-     * 
-     * @param  {object|string|jQuery} options The parameter to parse
-     * @return {string|jquery} A string or jquery object
-     */
-    function getHtmlFromOptions(options) {
-
-            // see if any html was passed as either the options object itself, or the content property
-
-            return (options ?
-                ((typeof options === 'string' || options.jquery) ?
-                    options :
-                    options.content) :
-                null);
-    }
-
-    /**
-     * Activate or remove a tooltip for an area. When this method is called on an area, the
-     * key parameter doesn't apply and "options" is the first parameter.
-     *
-     * When called with no parameters, or "key" is a falsy value, any active tooltip is cleared.
-     * 
-     * When only a key is provided, the default tooltip for the area is used. 
-     * 
-     * When html is provided, this is used instead of the default tooltip.
-     * 
-     * When "noTemplate" is true, the default tooltip template will not be used either, meaning only
-     * the actual html passed will be used.
-     *  
-     * @param  {string|AreaElement} key The area for which to activate a tooltip, or a DOM element.
-     * 
-     * @param {object|string|jquery} [options] options to apply when creating this tooltip - OR -
-     *                                         The markup, or a jquery object, containing the data for the tooltip 
-     *  @config {string|jQuery} [content]   the inner content of the tooltip; the tooltip text or HTML
-     *  @config {Element|jQuery} [container]   the inner content of the tooltip; the tooltip text or HTML
-     *  @config {bool}          [template]  a template to use instead of the default. If this property exists and is null,
-     *                                      then no template will be used.
-     *  @config {int}           [offsetx]   the horizontal amount to offset the tooltip.
-     *  @config {int}           [offsety]   the vertical amount to offset the tooltip.
-     *  @config {string|object} [css]       CSS to apply to the outermost element of the tooltip 
-     *  @config {string|object} [css] CSS to apply to the outermost element of the tooltip 
-     *  @config {bool}          [fadeDuration] When non-zero, the duration in milliseconds of a fade-in effect for the tooltip.
-     * @return {jQuery} The jQuery object
-     */
-    
-    m.impl.tooltip = function (key,options) {
-        return (new m.Method(this,
-        function mapData() {
-            var tooltip, target, md=this;
-            if (!key) {
-                md.clearToolTip();
-            } else {
-                target=$(key);
-                if (md.activeToolTipID ===target[0]) {
-                    return;
-                }
-                md.clearToolTip();
-
-                md.activeToolTip = tooltip = createToolTip(getHtmlFromOptions(options),
-                            options.template || md.options.toolTipContainer,
-                            options.css);
-                md.activeToolTipID = target[0];
-
-                bindToolTipClose(['tooltip-click'],'tooltip-click', 'click', tooltip, null, function() {
-                    md.clearToolTip();
-                });
-
-                md.activeToolTip = tooltip = showToolTip(tooltip,
-                    target,
-                    md.image,
-                    options.container,
-                    options);
-            }
-        },
-        function areaData() {
-            if ($.isPlainObject(key) && !options) {
-                options = key;
-            }
-
-            this.showToolTip(getHtmlFromOptions(options),options);
-        },
-        { 
-            name: 'tooltip',
-            args: arguments,
-            key: key
-        }
-    )).go();
-    };
-} (jQuery));
--- a/src/pyams_content/skin/resources/js/jquery-imagemapster-1.2.10.min.js	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-(function(a){a(function(){var d,j,u,c;k.defer=f;k.reject=i;k.isPromise=q;k.all=e;k.some=o;k.any=p;k.map=x;k.reduce=n;k.chain=s;d=Object.freeze||function(y){return y};function g(){}g.prototype=d({always:function(y,z){return this.then(y,y,z)},otherwise:function(y){return this.then(c,y)}});function t(y){var z=new g();z.then=function(C){var A;try{if(C){A=C(y)}return r(A===c?y:A)}catch(B){return w(B)}};return d(z)}function w(z){var y=new g();y.then=function(D,A){var B;try{if(A){B=A(z);return r(B===c?z:B)}return w(z)}catch(C){return w(C)}};return d(y)}function i(y){return k(y,function(z){return w(z)})}function f(){var H,J,F,D,B,z,A;F=[];D=[];B=function E(N,L,M){var K=f();F.push(function(O){O.then(N,L).then(K.resolve,K.reject,K.progress)});M&&D.push(M);return K.promise};function C(M,K,L){return B(M,K,L)}function G(K){A(t(K))}function I(K){A(w(K))}z=function(M){var K,L=0;while(K=D[L++]){K(M)}};function y(K){z(K)}A=function(L){var N,K=0;B=L.then;A=z=function M(){throw new Error("already completed")};D=c;while(N=F[K++]){N(L)}F=[]};H={};J=new g();J.then=H.then=C;H.promise=d(J);H.resolver=d({resolve:(H.resolve=G),reject:(H.reject=I),progress:(H.progress=y)});return H}function q(y){return y&&typeof y.then==="function"}function k(A,C,B,z){var y=r(A);return y.then(C,B,z)}function r(y){var A,z;if(y instanceof g){A=y}else{z=f();if(q(y)){y.then(z.resolve,z.reject,z.progress);A=z.promise}else{z.resolve(y);A=z.promise}}return A}function o(B,A,C,z,y){m(2,arguments);return k(B,function(H){var M,J,L,P,F,G,O,K,I;K=H.length>>>0;M=Math.max(0,Math.min(A,K));J=[];P=f();L=k(P,C,z,y);function N(R){F(R)}function Q(R){G(R)}function D(R){O(R)}function E(){F=G=O=h}if(!M){P.resolve(J)}else{F=function(R){J.push(R);if(!--M){E();P.resolve(J)}};G=function(R){E();P.reject(R)};O=P.progress;for(I=0;I<K;++I){if(I in H){k(H[I],N,Q,D)}}}return L})}function e(A,B,z,y){m(1,arguments);return k(A,function(C){return v(C,l,[])}).then(B,z,y)}function l(z,A,y){z[y]=A;return z}function p(A,C,z,y){function B(D){return C?C(D[0]):D[0]}return o(A,1,B,z,y)}function x(z,y){return k(z,function(A){return b(A,y)})}function b(B,C){var A,y,z;y=B.length>>>0;A=new Array(y);for(z=0;z<y;z++){if(z in B){A[z]=k(B[z],C)}}return v(A,l,A)}function n(B,A,y){var z=u.call(arguments,1);return k(B,function(C){return v.apply(c,[C].concat(z))})}function v(C,A,y){var B,z;B=C.length;z=[function(E,F,D){return k(E,function(G){return k(F,function(H){return A(G,H,D,B)})})}];if(arguments.length>2){z.push(y)}return j.apply(C,z)}function s(y,B,A){var z=arguments.length>2;return k(y,function(C){if(z){C=A}B.resolve(C);return C},function(C){B.reject(C);return w(C)},B.progress)}function m(B,A){var y,z=A.length;while(z>B){y=A[--z];if(y!=null&&typeof y!="function"){throw new Error("callback is not a function")}}}function h(){}u=[].slice;j=[].reduce||function(D){var z,B,A,y,C;C=0;z=Object(this);y=z.length>>>0;B=arguments;if(B.length<=1){for(;;){if(C in z){A=z[C++];break}if(++C>=y){throw new TypeError()}}}else{A=B[1]}for(;C<y;++C){if(C in z){A=D(A,z[C],C,z)}}return A};return k})})(typeof define=="function"?define:function(a){typeof module!="undefined"?(module.exports=a()):(jQuery.mapster_when=a())});(function($){$.fn.mapster=function(method){var m=$.mapster.impl;if($.isFunction(m[method])){return m[method].apply(this,Array.prototype.slice.call(arguments,1))}else{if(typeof method==="object"||!method){return m.bind.apply(this,arguments)}else{$.error("Method "+method+" does not exist on jQuery.mapster")}}};$.mapster={version:"1.2.10",render_defaults:{isSelectable:true,isDeselectable:true,fade:false,fadeDuration:150,fill:true,fillColor:"000000",fillColorMask:"FFFFFF",fillOpacity:0.7,highlight:true,stroke:false,strokeColor:"ff0000",strokeOpacity:1,strokeWidth:1,includeKeys:"",altImage:null,altImageId:null,altImages:{}},defaults:{clickNavigate:false,wrapClass:null,wrapCss:null,onGetList:null,sortList:false,listenToList:false,mapKey:"",mapValue:"",singleSelect:false,listKey:"value",listSelectedAttribute:"selected",listSelectedClass:null,onClick:null,onMouseover:null,onMouseout:null,mouseoutDelay:0,onStateChange:null,boundList:null,onConfigured:null,configTimeout:30000,noHrefIsMask:true,scaleMap:true,safeLoad:false,areas:[]},shared_defaults:{render_highlight:{fade:true},render_select:{fade:false},staticState:null,selected:null},area_defaults:{includeKeys:"",isMask:false},canvas_style:{position:"absolute",left:0,top:0,padding:0,border:0},hasCanvas:null,isTouch:null,map_cache:[],hooks:{},addHook:function(name,callback){this.hooks[name]=(this.hooks[name]||[]).push(callback)},callHooks:function(name,context){$.each(this.hooks[name]||[],function(i,e){e.apply(context)})},utils:{when:$.mapster_when,defer:$.mapster_when.defer,subclass:function(BaseClass,constr){var Subclass=function(){var me=this,args=Array.prototype.slice.call(arguments,0);me.base=BaseClass.prototype;me.base.init=function(){BaseClass.prototype.constructor.apply(me,args)};constr.apply(me,args)};Subclass.prototype=new BaseClass();Subclass.prototype.constructor=Subclass;return Subclass},asArray:function(obj){return obj.constructor===Array?obj:this.split(obj)},split:function(text,cb){var i,el,arr=text.split(",");for(i=0;i<arr.length;i++){el=$.trim(arr[i]);if(el===""){arr.splice(i,1)}else{arr[i]=cb?cb(el):el}}return arr},updateProps:function(_target,_template){var onlyProps,target=_target||{},template=$.isEmptyObject(target)?_template:_target;onlyProps=[];$.each(template,function(prop){onlyProps.push(prop)});$.each(Array.prototype.slice.call(arguments,1),function(i,src){$.each(src||{},function(prop){if(!onlyProps||$.inArray(prop,onlyProps)>=0){var p=src[prop];if($.isPlainObject(p)){target[prop]=$.extend(target[prop]||{},p)}else{if(p&&p.constructor===Array){target[prop]=p.slice(0)}else{if(typeof p!=="undefined"){target[prop]=src[prop]}}}}})});return target},isElement:function(o){return(typeof HTMLElement==="object"?o instanceof HTMLElement:o&&typeof o==="object"&&o.nodeType===1&&typeof o.nodeName==="string")},indexOfProp:function(obj,prop,val){var result=obj.constructor===Array?-1:null;$.each(obj,function(i,e){if(e&&(prop?e[prop]:e)===val){result=i;return false}});return result},boolOrDefault:function(obj,def){return this.isBool(obj)?obj:def||false},isBool:function(obj){return typeof obj==="boolean"},isUndef:function(obj){return typeof obj==="undefined"},ifFunction:function(obj,that,args){if($.isFunction(obj)){obj.call(that,args)}},size:function(image,raw){var u=$.mapster.utils;return{width:raw?(image.width||image.naturalWidth):u.imgWidth(image,true),height:raw?(image.height||image.naturalHeight):u.imgHeight(image,true),complete:function(){return !!this.height&&!!this.width}}},setOpacity:function(el,opacity){if($.mapster.hasCanvas()){el.style.opacity=opacity}else{$(el).each(function(i,e){if(typeof e.opacity!=="undefined"){e.opacity=opacity}else{$(e).css("opacity",opacity)}})}},fader:(function(){var elements={},lastKey=0,fade_func=function(el,op,endOp,duration){var index,cbIntervals=duration/15,obj,u=$.mapster.utils;if(typeof el==="number"){obj=elements[el];if(!obj){return}}else{index=u.indexOfProp(elements,null,el);if(index){delete elements[index]}elements[++lastKey]=obj=el;el=lastKey}endOp=endOp||1;op=(op+(endOp/cbIntervals)>endOp-0.01)?endOp:op+(endOp/cbIntervals);u.setOpacity(obj,op);if(op<endOp){setTimeout(function(){fade_func(el,op,endOp,duration)},15)}};return fade_func}())},getBoundList:function(opts,key_list){if(!opts.boundList){return null}var index,key,result=$(),list=$.mapster.utils.split(key_list);opts.boundList.each(function(i,e){for(index=0;index<list.length;index++){key=list[index];if($(e).is("["+opts.listKey+'="'+key+'"]')){result=result.add(e)}}});return result},setBoundListProperties:function(opts,target,selected){target.each(function(i,e){if(opts.listSelectedClass){if(selected){$(e).addClass(opts.listSelectedClass)}else{$(e).removeClass(opts.listSelectedClass)}}if(opts.listSelectedAttribute){$(e).attr(opts.listSelectedAttribute,selected)}})},getMapDataIndex:function(obj){var img,id;switch(obj.tagName&&obj.tagName.toLowerCase()){case"area":id=$(obj).parent().attr("name");img=$("img[usemap='#"+id+"']")[0];break;case"img":img=obj;break}return img?this.utils.indexOfProp(this.map_cache,"image",img):-1},getMapData:function(obj){var index=this.getMapDataIndex(obj.length?obj[0]:obj);if(index>=0){return index>=0?this.map_cache[index]:null}},queueCommand:function(map_data,that,command,args){if(!map_data){return false}if(!map_data.complete||map_data.currentAction){map_data.commands.push({that:that,command:command,args:args});return true}return false},unload:function(){this.impl.unload();this.utils=null;this.impl=null;$.fn.mapster=null;$.mapster=null;$("*").unbind()}};var m=$.mapster,u=m.utils,ap=Array.prototype;$.each(["width","height"],function(i,e){var capProp=e.substr(0,1).toUpperCase()+e.substr(1);u["img"+capProp]=function(img,jqwidth){return(jqwidth?$(img)[e]():0)||img[e]||img["natural"+capProp]||img["client"+capProp]||img["offset"+capProp]}});m.Method=function(that,func_map,func_area,opts){var me=this;me.name=opts.name;me.output=that;me.input=that;me.first=opts.first||false;me.args=opts.args?ap.slice.call(opts.args,0):[];me.key=opts.key;me.func_map=func_map;me.func_area=func_area;me.name=opts.name;me.allowAsync=opts.allowAsync||false};m.Method.prototype={constructor:m.Method,go:function(){var i,data,ar,len,result,src=this.input,area_list=[],me=this;len=src.length;for(i=0;i<len;i++){data=$.mapster.getMapData(src[i]);if(data){if(!me.allowAsync&&m.queueCommand(data,me.input,me.name,me.args)){if(this.first){result=""}continue}ar=data.getData(src[i].nodeName==="AREA"?src[i]:this.key);if(ar){if($.inArray(ar,area_list)<0){area_list.push(ar)}}else{result=this.func_map.apply(data,me.args)}if(this.first||typeof result!=="undefined"){break}}}$(area_list).each(function(i,e){result=me.func_area.apply(e,me.args)});if(typeof result!=="undefined"){return result}else{return this.output}}};$.mapster.impl=(function(){var me={},addMap=function(map_data){return m.map_cache.push(map_data)-1},removeMap=function(map_data){m.map_cache.splice(map_data.index,1);for(var i=m.map_cache.length-1;i>=this.index;i--){m.map_cache[i].index--}};function hasVml(){var a=$("<div />").appendTo("body");a.html('<v:shape id="vml_flag1" adj="1" />');var b=a[0].firstChild;b.style.behavior="url(#default#VML)";var has=b?typeof b.adj==="object":true;a.remove();return has}function namespaces(){return typeof(document.namespaces)==="object"?document.namespaces:null}function hasCanvas(){var d=namespaces();return d&&d.g_vml_?false:$("<canvas />")[0].getContext?true:false}function merge_areas(map_data,areas){var ar,index,map_areas=map_data.options.areas;if(areas){$.each(areas,function(i,e){if(!e||!e.key){return}index=u.indexOfProp(map_areas,"key",e.key);if(index>=0){$.extend(map_areas[index],e)}else{map_areas.push(e)}ar=map_data.getDataForKey(e.key);if(ar){$.extend(ar.options,e)}})}}function merge_options(map_data,options){var temp_opts=u.updateProps({},options);delete temp_opts.areas;u.updateProps(map_data.options,temp_opts);merge_areas(map_data,options.areas);u.updateProps(map_data.area_options,map_data.options)}me.get=function(key){var md=m.getMapData(this);if(!(md&&md.complete)){throw ("Can't access data until binding complete.")}return(new m.Method(this,function(){return this.getSelected()},function(){return this.isSelected()},{name:"get",args:arguments,key:key,first:true,allowAsync:true,defaultReturn:""})).go()};me.data=function(key){return(new m.Method(this,null,function(){return this},{name:"data",args:arguments,key:key})).go()};me.highlight=function(key){return(new m.Method(this,function(){if(key===false){this.ensureNoHighlight()}else{var id=this.highlightId;return id>=0?this.data[id].key:null}},function(){this.highlight()},{name:"highlight",args:arguments,key:key,first:true})).go()};me.keys=function(key,all){var keyList=[],md=m.getMapData(this);if(!(md&&md.complete)){throw ("Can't access data until binding complete.")}function addUniqueKeys(ad){var areas,keys=[];if(!all){keys.push(ad.key)}else{areas=ad.areas();$.each(areas,function(i,e){keys=keys.concat(e.keys)})}$.each(keys,function(i,e){if($.inArray(e,keyList)<0){keyList.push(e)}})}if(!(md&&md.complete)){return""}if(typeof key==="string"){if(all){addUniqueKeys(md.getDataForKey(key))}else{keyList=[md.getKeysForGroup(key)]}}else{all=key;this.each(function(i,e){if(e.nodeName==="AREA"){addUniqueKeys(md.getDataForArea(e))}})}return keyList.join(",")};me.select=function(){me.set.call(this,true)};me.deselect=function(){me.set.call(this,false)};me.set=function(selected,key,options){var lastMap,map_data,opts=options,key_list,area_list;function setSelection(ar){if(ar){switch(selected){case true:ar.select(opts);break;case false:ar.deselect(true);break;default:ar.toggle(opts);break}}}function addArea(ar){if(ar&&$.inArray(ar,area_list)<0){area_list.push(ar);key_list+=(key_list===""?"":",")+ar.key}}function finishSetForMap(map_data){$.each(area_list,function(i,el){setSelection(el)});if(!selected){map_data.removeSelectionFinish()}if(map_data.options.boundList){m.setBoundListProperties(map_data.options,m.getBoundList(map_data.options,key_list),selected)}}this.filter("img,area").each(function(i,e){var keys;map_data=m.getMapData(e);if(map_data!==lastMap){if(lastMap){finishSetForMap(lastMap)}area_list=[];key_list=""}if(map_data){keys="";if(e.nodeName.toUpperCase()==="IMG"){if(!m.queueCommand(map_data,$(e),"set",[selected,key,opts])){if(key instanceof Array){if(key.length){keys=key.join(",")}}else{keys=key}if(keys){$.each(u.split(keys),function(i,key){addArea(map_data.getDataForKey(key.toString()));lastMap=map_data})}}}else{opts=key;if(!m.queueCommand(map_data,$(e),"set",[selected,opts])){addArea(map_data.getDataForArea(e));lastMap=map_data}}}});if(map_data){finishSetForMap(map_data)}return this};me.unbind=function(preserveState){return(new m.Method(this,function(){this.clearEvents();this.clearMapData(preserveState);removeMap(this)},null,{name:"unbind",args:arguments})).go()};me.rebind=function(options){return(new m.Method(this,function(){var me=this;me.complete=false;me.configureOptions(options);me.bindImages().then(function(){me.buildDataset(true);me.complete=true})},null,{name:"rebind",args:arguments})).go()};me.get_options=function(key,effective){var eff=u.isBool(key)?key:effective;return(new m.Method(this,function(){var opts=$.extend({},this.options);if(eff){opts.render_select=u.updateProps({},m.render_defaults,opts,opts.render_select);opts.render_highlight=u.updateProps({},m.render_defaults,opts,opts.render_highlight)}return opts},function(){return eff?this.effectiveOptions():this.options},{name:"get_options",args:arguments,first:true,allowAsync:true,key:key})).go()};me.set_options=function(options){return(new m.Method(this,function(){merge_options(this,options)},null,{name:"set_options",args:arguments})).go()};me.unload=function(){var i;for(i=m.map_cache.length-1;i>=0;i--){if(m.map_cache[i]){me.unbind.call($(m.map_cache[i].image))}}me.graphics=null};me.snapshot=function(){return(new m.Method(this,function(){$.each(this.data,function(i,e){e.selected=false});this.base_canvas=this.graphics.createVisibleCanvas(this);$(this.image).before(this.base_canvas)},null,{name:"snapshot"})).go()};me.state=function(){var md,result=null;$(this).each(function(i,e){if(e.nodeName==="IMG"){md=m.getMapData(e);if(md){result=md.state()}return false}});return result};me.bind=function(options){return this.each(function(i,e){var img,map,usemap,md;img=$(e);md=m.getMapData(e);if(md){me.unbind.apply(img);if(!md.complete){img.bind();return true}md=null}usemap=this.getAttribute("usemap");map=usemap&&$('map[name="'+usemap.substr(1)+'"]');if(!(img.is("img")&&usemap&&map.size()>0)){return true}img.css("border",0);if(!md){md=new m.MapData(this,options);md.index=addMap(md);md.map=map;md.bindImages().then(function(){md.initialize()})}})};me.init=function(useCanvas){var style,shapes;m.hasCanvas=function(){if(!u.isBool(m.hasCanvas.value)){m.hasCanvas.value=u.isBool(useCanvas)?useCanvas:hasCanvas()}return m.hasCanvas.value};m.hasVml=function(){if(!u.isBool(m.hasVml.value)){var d=namespaces();if(d&&!d.v){d.add("v","urn:schemas-microsoft-com:vml");style=document.createStyleSheet();shapes=["shape","rect","oval","circ","fill","stroke","imagedata","group","textbox"];$.each(shapes,function(i,el){style.addRule("v\\:"+el,"behavior: url(#default#VML); antialias:true")})}m.hasVml.value=hasVml()}return m.hasVml.value};m.isTouch=!!document.documentElement.ontouchstart;$.extend(m.defaults,m.render_defaults,m.shared_defaults);$.extend(m.area_defaults,m.render_defaults,m.shared_defaults)};me.test=function(obj){return eval(obj)};return me}());$.mapster.impl.init()}(jQuery));(function(e){var a,d=e.mapster,i=d.utils,g,b;function h(l,n,m){var o=l,p=o.map_data,k=m.isMask;e.each(n.areas(),function(q,r){m.isMask=k||(r.nohref&&p.options.noHrefIsMask);o.addShape(r,m)});m.isMask=k}function c(k){return Math.max(0,Math.min(parseInt(k,16),255))}function f(k,l){return"rgba("+c(k.substr(0,2))+","+c(k.substr(2,2))+","+c(k.substr(4,2))+","+l+")"}d.Graphics=function(l){var k=this;k.active=false;k.canvas=null;k.width=0;k.height=0;k.shapes=[];k.masks=[];k.map_data=l};a=d.Graphics.prototype={constructor:d.Graphics,begin:function(l,k){var m=e(l);this.elementName=k;this.canvas=l;this.width=m.width();this.height=m.height();this.shapes=[];this.masks=[];this.active=true},addShape:function(m,l){var k=l.isMask?this.masks:this.shapes;k.push({mapArea:m,options:l})},createVisibleCanvas:function(k){return e(this.createCanvasFor(k)).addClass("mapster_el").css(d.canvas_style)[0]},addShapeGroup:function(r,n,s){var q=this,o,l,m,p=this.map_data,k=r.effectiveRenderOptions(n);if(s){e.extend(k,s)}if(n==="select"){l="static_"+r.areaId.toString();m=p.base_canvas}else{m=p.overlay_canvas}q.begin(m,l);if(k.includeKeys){o=i.split(k.includeKeys);e.each(o,function(u,v){var t=p.getDataForKey(v.toString());h(q,t,t.effectiveRenderOptions(n))})}h(q,r,k);q.render();if(k.fade){i.fader(d.hasCanvas()?m:e(m).find("._fill").not(".mapster_mask"),0,d.hasCanvas()?1:k.fillOpacity,k.fadeDuration)}}};function j(){}g={renderShape:function(l,m,n){var k,o=m.coords(null,n);switch(m.shape){case"rect":l.rect(o[0],o[1],o[2]-o[0],o[3]-o[1]);break;case"poly":l.moveTo(o[0],o[1]);for(k=2;k<m.length;k+=2){l.lineTo(o[k],o[k+1])}l.lineTo(o[0],o[1]);break;case"circ":case"circle":l.arc(o[0],o[1],o[2],0,Math.PI*2,false);break}},addAltImage:function(l,n,m,k){l.beginPath();this.renderShape(l,m);l.closePath();l.clip();l.globalAlpha=k.altImageOpacity||k.fillOpacity;l.drawImage(n,0,0,m.owner.scaleInfo.width,m.owner.scaleInfo.height)},render:function(){var p,n,m=this,o=m.map_data,r=m.masks.length,q=m.createCanvasFor(o),l=q.getContext("2d"),k=m.canvas.getContext("2d");if(r){p=m.createCanvasFor(o);n=p.getContext("2d");n.clearRect(0,0,p.width,p.height);e.each(m.masks,function(s,t){n.save();n.beginPath();m.renderShape(n,t.mapArea);n.closePath();n.clip();n.lineWidth=0;n.fillStyle="#000";n.fill();n.restore()})}e.each(m.shapes,function(t,u){l.save();if(u.options.fill){if(u.options.altImageId){m.addAltImage(l,o.images[u.options.altImageId],u.mapArea,u.options)}else{l.beginPath();m.renderShape(l,u.mapArea);l.closePath();l.fillStyle=f(u.options.fillColor,u.options.fillOpacity);l.fill()}}l.restore()});e.each(m.shapes.concat(m.masks),function(t,u){var v=u.options.strokeWidth===1?0.5:0;if(u.options.stroke){l.save();l.strokeStyle=f(u.options.strokeColor,u.options.strokeOpacity);l.lineWidth=u.options.strokeWidth;l.beginPath();m.renderShape(l,u.mapArea,v);l.closePath();l.stroke();l.restore()}});if(r){n.globalCompositeOperation="source-out";n.drawImage(q,0,0);k.drawImage(p,0,0)}else{k.drawImage(q,0,0)}m.active=false;return m.canvas},createCanvasFor:function(k){return e('<canvas width="'+k.scaleInfo.width+'" height="'+k.scaleInfo.height+'"></canvas>')[0]},clearHighlight:function(){var k=this.map_data.overlay_canvas;k.getContext("2d").clearRect(0,0,k.width,k.height)},refreshSelections:function(){var k,l=this.map_data;k=l.base_canvas;l.base_canvas=this.createVisibleCanvas(l);e(l.base_canvas).hide();e(k).before(l.base_canvas);l.redrawSelections();e(l.base_canvas).show();e(k).remove()}};b={renderShape:function(n,v,k){var p=this,t,u,m,l,r,q,s,o=n.coords();r=p.elementName?'name="'+p.elementName+'" ':"";q=k?'class="'+k+'" ':"";l='<v:fill color="#'+v.fillColor+'" class="_fill" opacity="'+(v.fill?v.fillOpacity:0)+'" /><v:stroke class="_fill" opacity="'+v.strokeOpacity+'"/>';u=v.stroke?" strokeweight="+v.strokeWidth+' stroked="t" strokecolor="#'+v.strokeColor+'"':' stroked="f"';t=v.fill?' filled="t"':' filled="f"';switch(n.shape){case"rect":s="<v:rect "+q+r+t+u+' style="zoom:1;margin:0;padding:0;display:block;position:absolute;left:'+o[0]+"px;top:"+o[1]+"px;width:"+(o[2]-o[0])+"px;height:"+(o[3]-o[1])+'px;">'+l+"</v:rect>";break;case"poly":s="<v:shape "+q+r+t+u+' coordorigin="0,0" coordsize="'+p.width+","+p.height+'" path="m '+o[0]+","+o[1]+" l "+o.slice(2).join(",")+' x e" style="zoom:1;margin:0;padding:0;display:block;position:absolute;top:0px;left:0px;width:'+p.width+"px;height:"+p.height+'px;">'+l+"</v:shape>";break;case"circ":case"circle":s="<v:oval "+q+r+t+u+' style="zoom:1;margin:0;padding:0;display:block;position:absolute;left:'+(o[0]-o[2])+"px;top:"+(o[1]-o[2])+"px;width:"+(o[2]*2)+"px;height:"+(o[2]*2)+'px;">'+l+"</v:oval>";break}m=e(s);e(p.canvas).append(m);return m},render:function(){var l,k=this;e.each(this.shapes,function(m,n){k.renderShape(n.mapArea,n.options)});if(this.masks.length){e.each(this.masks,function(m,n){l=i.updateProps({},n.options,{fillOpacity:1,fillColor:n.options.fillColorMask});k.renderShape(n.mapArea,l,"mapster_mask")})}this.active=false;return this.canvas},createCanvasFor:function(m){var k=m.scaleInfo.width,l=m.scaleInfo.height;return e('<var width="'+k+'" height="'+l+'" style="zoom:1;overflow:hidden;display:block;width:'+k+"px;height:"+l+'px;"></var>')[0]},clearHighlight:function(){e(this.map_data.overlay_canvas).children().remove()},removeSelections:function(k){if(k>=0){e(this.map_data.base_canvas).find('[name="static_'+k.toString()+'"]').remove()}else{e(this.map_data.base_canvas).children().remove()}}};e.each(["renderShape","addAltImage","render","createCanvasFor","clearHighlight","removeSelections","refreshSelections"],function(k,l){a[l]=(function(m){return function(){a[m]=(d.hasCanvas()?g[m]:b[m])||j;return a[m].apply(this,arguments)}}(l))})}(jQuery));(function(d){var a=d.mapster,b=a.utils,c=[];a.MapImages=function(e){this.owner=e;this.clear()};a.MapImages.prototype={constructor:a.MapImages,slice:function(){return c.slice.apply(this,arguments)},splice:function(){c.slice.apply(this.status,arguments);var e=c.slice.apply(this,arguments);return e},complete:function(){return d.inArray(false,this.status)<0},_add:function(f){var e=c.push.call(this,f)-1;this.status[e]=false;return e},indexOf:function(e){return d.inArray(e,this)},clear:function(){var e=this;if(e.ids&&e.ids.length>0){d.each(e.ids,function(f,g){delete e[g]})}e.ids=[];e.length=0;e.status=[];e.splice(0)},add:function(g,i){var e,h,f=this;if(!g){return}if(typeof g==="string"){h=g;g=f[h];if(typeof g==="object"){return f.indexOf(g)}g=d("<img />").addClass("mapster_el").hide();e=f._add(g[0]);g.bind("load",function(j){f.imageLoaded.call(f,j)}).bind("error",function(j){f.imageLoadError.call(f,j)});g.attr("src",h)}else{e=f._add(d(g)[0])}if(i){if(this[i]){throw (i+" is already used or is not available as an altImage alias.")}f.ids.push(i);f[i]=f[e]}return e},bind:function(g){var h=this,i,e=h.owner.options.configTimeout/200,f=function(){var j;j=h.length;while(j-->0){if(!h.isLoaded(j)){break}}if(h.complete()){h.resolve()}else{if(e-->0){h.imgTimeout=window.setTimeout(function(){f.call(h,true)},50)}else{h.imageLoadError.call(h)}}};i=h.deferred=b.defer();f();return i},resolve:function(){var e=this,f=e.deferred;if(f){e.deferred=null;f.resolve()}},imageLoaded:function(h){var g=this,f=g.indexOf(h.target);if(f>=0){g.status[f]=true;if(d.inArray(false,g.status)<0){g.resolve()}}},imageLoadError:function(g){clearTimeout(this.imgTimeout);this.triesLeft=0;var f=g?"The image "+g.target.src+" failed to load.":"The images never seemed to finish loading. You may just need to increase the configTimeout if images could take a long time to load.";throw f},isLoaded:function(g){var f,h=this,e=h.status;if(e[g]){return true}f=h[g];if(typeof f.complete!=="undefined"){e[g]=f.complete}else{e[g]=!!b.imgWidth(f)}return e[g]}}}(jQuery));(function(h){var d=h.mapster,k=d.utils;function a(m){h.extend(m,{complete:false,map:null,base_canvas:null,overlay_canvas:null,commands:[],data:[],mapAreas:[],_xref:{},highlightId:-1,currentAreaId:-1,_tooltip_events:[],scaleInfo:null,index:-1,activeAreaEvent:null})}function e(m){return[m,m.render_highlight,m.render_select]}function g(o){var n=o.options,m=o.images;if(d.hasCanvas()){h.each(n.altImages||{},function(p,q){m.add(q,p)});h.each([n].concat(n.areas),function(p,q){h.each(e(q),function(r,s){if(s&&s.altImage){s.altImageId=m.add(s.altImage)}})})}o.area_options=k.updateProps({},d.area_defaults,n)}function f(q,o,p,n){n=n||k.when.defer();function m(r){if(q.currentAreaId!==r&&q.highlightId>=0){n.resolve()}}if(q.activeAreaEvent){window.clearTimeout(q.activeAreaEvent);q.activeAreaEvent=0}if(o<0){return}if(p.owner.currentAction||o){q.activeAreaEvent=window.setTimeout((function(){return function(){f(q,0,p,n)}}(p)),o||100)}else{m(p.areaId)}return n}function c(m){if(!d.hasCanvas()){this.blur()}m.preventDefault()}function j(n,o){var p=n.getAllDataForArea(this),m=p.length?p[0]:null;if(!m||m.isNotRendered()||m.owner.currentAction){return}if(n.currentAreaId===m.areaId){return}if(n.highlightId!==m.areaId){n.clearEffects();m.highlight();if(n.options.showToolTip){h.each(p,function(q,r){if(r.effectiveOptions().toolTip){r.showToolTip()}})}}n.currentAreaId=m.areaId;if(h.isFunction(n.options.onMouseover)){n.options.onMouseover.call(this,{e:o,options:m.effectiveOptions(),key:m.key,selected:m.isSelected()})}}function i(p,q){var n,m=p.getDataForArea(this),o=p.options;if(p.currentAreaId<0||!m){return}n=p.getDataForArea(q.relatedTarget);if(n===m){return}p.currentAreaId=-1;m.area=null;f(p,o.mouseoutDelay,m).then(p.clearEffects);if(h.isFunction(o.onMouseout)){o.onMouseout.call(this,{e:q,options:o,key:m.key,selected:m.isSelected()})}}function b(n){var m=n.options;n.ensureNoHighlight();if(m.toolTipClose&&h.inArray("area-mouseout",m.toolTipClose)>=0&&n.activeToolTip){n.clearToolTip()}}function l(w,u){var r,v,o,q,x,s,t=this,p=w.getDataForArea(this),n=w.options;function m(z){var y,A;x=(z.isSelectable()&&(z.isDeselectable()||!z.isSelected()));if(x){q=!z.isSelected()}else{q=z.isSelected()}o=d.getBoundList(n,z.key);if(h.isFunction(n.onClick)){s=n.onClick.call(t,{e:u,listTarget:o,key:z.key,selected:q});if(k.isBool(s)){if(!s){return false}A=h(z.area).attr("href");if(A!=="#"){window.location.href=A;return false}}}if(x){r=z.toggle()}if(n.boundList&&n.boundList.length>0){d.setBoundListProperties(n,o,z.isSelected())}y=z.effectiveOptions();if(y.includeKeys){v=k.split(y.includeKeys);h.each(v,function(C,D){var B=w.getDataForKey(D.toString());if(!B.options.isMask){m(B)}})}}c.call(this,u);if(n.clickNavigate&&p.href){window.location.href=p.href;return}if(p&&!p.owner.currentAction){n=w.options;m(p)}}d.MapData=function(o,m){var n=this;n.image=o;n.images=new d.MapImages(n);n.graphics=new d.Graphics(n);n.imgCssText=o.style.cssText||null;a(n);n.configureOptions(m);n.mouseover=function(p){j.call(this,n,p)};n.mouseout=function(p){i.call(this,n,p)};n.click=function(p){l.call(this,n,p)};n.clearEffects=function(p){b.call(this,n,p)}};d.MapData.prototype={constructor:d.MapData,configureOptions:function(m){this.options=k.updateProps({},d.defaults,m)},bindImages:function(){var n=this,m=n.images;if(m.length>2){m.splice(2)}else{if(m.length===0){m.add(n.image);m.add(n.image.src)}}g(n);return n.images.bind()},isActive:function(){return !this.complete||this.currentAction},state:function(){return{complete:this.complete,resizing:this.currentAction==="resizing",zoomed:this.zoomed,zoomedArea:this.zoomedArea,scaleInfo:this.scaleInfo}},wrapId:function(){return"mapster_wrap_"+this.index},_idFromKey:function(m){return typeof m==="string"&&this._xref.hasOwnProperty(m)?this._xref[m]:-1},getSelected:function(){var m="";h.each(this.data,function(n,o){if(o.isSelected()){m+=(m?",":"")+this.key}});return m},getAllDataForArea:function(s,r){var p,n,m,q=this,o=h(s).filter("area").attr(q.options.mapKey);if(o){m=[];o=k.split(o);for(p=0;p<(r||o.length);p++){n=q.data[q._idFromKey(o[p])];n.area=s.length?s[0]:s;m.push(n)}}return m},getDataForArea:function(n){var m=this.getAllDataForArea(n,1);return m?m[0]||null:null},getDataForKey:function(m){return this.data[this._idFromKey(m)]},getKeysForGroup:function(n){var m=this.getDataForKey(n);return !m?"":m.isPrimary?m.key:this.getPrimaryKeysForMapAreas(m.areas()).join(",")},getPrimaryKeysForMapAreas:function(m){var n=[];h.each(m,function(o,p){if(h.inArray(p.keys[0],n)<0){n.push(p.keys[0])}});return n},getData:function(m){if(typeof m==="string"){return this.getDataForKey(m)}else{if(m&&m.mapster||k.isElement(m)){return this.getDataForArea(m)}else{return null}}},ensureNoHighlight:function(){var m;if(this.highlightId>=0){this.graphics.clearHighlight();m=this.data[this.highlightId];m.changeState("highlight",false);this.setHighlightId(-1)}},setHighlightId:function(m){this.highlightId=m},clearSelections:function(){h.each(this.data,function(m,n){if(n.selected){n.deselect(true)}});this.removeSelectionFinish()},setAreaOptions:function(n){var p,o,m;n=n||[];for(p=n.length-1;p>=0;p--){o=n[p];if(o){m=this.getDataForKey(o.key);if(m){k.updateProps(m.options,o);if(k.isBool(o.selected)){m.selected=o.selected}}}}},drawSelections:function(o){var m,n=k.asArray(o);for(m=n.length-1;m>=0;m--){this.data[n[m]].drawSelection()}},redrawSelections:function(){h.each(this.data,function(m,n){if(n.isSelectedOrStatic()){n.drawSelection()}})},initialize:function(){var y,r,n,p,u,v,t,z,s,o,x,q,w=this,m=w.options;if(w.complete){return}s=h(w.image);u=s.parent().attr("id");if(u&&u.length>=12&&u.substring(0,12)==="mapster_wrap"){p=s.parent();p.attr("id",w.wrapId())}else{p=h('<div id="'+w.wrapId()+'"></div>');if(m.wrapClass){if(m.wrapClass===true){p.addClass(s[0].className)}else{p.addClass(m.wrapClass)}}}w.wrapper=p;w.scaleInfo=q=k.scaleMap(w.images[0],w.images[1],m.scaleMap);w.base_canvas=r=w.graphics.createVisibleCanvas(w);w.overlay_canvas=n=w.graphics.createVisibleCanvas(w);y=h(w.images[1]).addClass("mapster_el "+w.images[0].className).attr({id:null,usemap:null});z=k.size(w.images[0]);if(z.complete){y.css({width:z.width,height:z.height})}w.buildDataset();v={display:"block",position:"relative",padding:0,width:q.width,height:q.height};if(m.wrapCss){h.extend(v,m.wrapCss)}if(s.parent()[0]!==w.wrapper[0]){s.before(w.wrapper)}p.css(v);h(w.images.slice(2)).hide();for(t=1;t<w.images.length;t++){p.append(w.images[t])}p.append(r).append(n).append(s.css(d.canvas_style));k.setOpacity(w.images[0],0);h(w.images[1]).show();k.setOpacity(w.images[1],1);if(m.isSelectable&&m.onGetList){x=w.data.slice(0);if(m.sortList){if(m.sortList==="desc"){o=function(B,A){return B===A?0:(B>A?-1:1)}}else{o=function(B,A){return B===A?0:(B<A?-1:1)}}x.sort(function(B,A){B=B.value;A=A.value;return o(B,A)})}w.options.boundList=m.onGetList.call(w.image,x)}w.complete=true;w.processCommandQueue();if(m.onConfigured&&typeof m.onConfigured==="function"){m.onConfigured.call(s,true)}},buildDataset:function(o){var y,n,z,x,m,C,u,r,E,t,w,p,q,B,D=this,s=D.options,v;function A(G,H){var F=new d.AreaData(D,G,H);F.areaId=D._xref[G]=D.data.push(F)-1;return F.areaId}D._xref={};D.data=[];if(!o){D.mapAreas=[]}v=!s.mapKey;if(v){s.mapKey="data-mapster-key"}y=d.hasVml()?"area":(v?"area[coords]":"area["+s.mapKey+"]");n=h(D.map).find(y).unbind(".mapster");for(w=0;w<n.length;w++){x=0;C=n[w];m=h(C);if(!C.coords){continue}if(v){u=String(w);m.attr("data-mapster-key",u)}else{u=C.getAttribute(s.mapKey)}if(o){r=D.mapAreas[m.data("mapster")-1];r.configure(u)}else{r=new d.MapArea(D,C,u);D.mapAreas.push(r)}t=r.keys;for(z=t.length-1;z>=0;z--){E=t[z];if(s.mapValue){p=m.attr(s.mapValue)}if(v){x=A(D.data.length,p);q=D.data[x];q.key=E=x.toString()}else{x=D._xref[E];if(x>=0){q=D.data[x];if(p&&!D.data[x].value){q.value=p}}else{x=A(E,p);q=D.data[x];q.isPrimary=z===0}}r.areaDataXref.push(x);q.areasXref.push(w)}B=m.attr("href");if(B&&B!=="#"&&!q.href){q.href=B}if(!r.nohref){m.bind("click.mapster",D.click);if(!d.isTouch){m.bind("mouseover.mapster",D.mouseover).bind("mouseout.mapster",D.mouseout).bind("mousedown.mapster",D.mousedown)}}m.data("mapster",w+1)}D.setAreaOptions(s.areas);D.redrawSelections()},processCommandQueue:function(){var n,m=this;while(!m.currentAction&&m.commands.length){n=m.commands[0];m.commands.splice(0,1);d.impl[n.command].apply(n.that,n.args)}},clearEvents:function(){h(this.map).find("area").unbind(".mapster");h(this.images).unbind(".mapster")},_clearCanvases:function(m){if(!m){h(this.base_canvas).remove()}h(this.overlay_canvas).remove()},clearMapData:function(n){var m=this;this._clearCanvases(n);h.each(this.data,function(o,p){p.reset()});this.data=null;if(!n){this.image.style.cssText=this.imgCssText;h(this.wrapper).before(this.image).remove()}m.images.clear();this.image=null;k.ifFunction(this.clearTooltip,this)},removeSelectionFinish:function(){var m=this.graphics;m.refreshSelections();m.clearHighlight()}}}(jQuery));(function(f){var c=f.mapster,d=c.utils;function b(g){var h=this,i=h.owner;if(i.options.singleSelect){i.clearSelections()}if(!h.isSelected()){if(g){h.optsCache=f.extend(h.effectiveRenderOptions("select"),g,{altImageId:i.images.add(g.altImage)})}h.drawSelection();h.selected=true;h.changeState("select",true)}if(i.options.singleSelect){i.graphics.refreshSelections()}}function e(g){var h=this;h.selected=false;h.changeState("select",false);h.optsCache=null;h.owner.graphics.removeSelections(h.areaId);if(!g){h.owner.removeSelectionFinish()}}function a(g){var h=this;if(!h.isSelected()){h.select(g)}else{h.deselect()}return h.isSelected()}c.AreaData=function(g,h,i){f.extend(this,{owner:g,key:h||"",isPrimary:true,areaId:-1,href:"",value:i||"",options:{},selected:null,areasXref:[],area:null,optsCache:null})};c.AreaData.prototype={constuctor:c.AreaData,select:b,deselect:e,toggle:a,areas:function(){var h,g=[];for(h=0;h<this.areasXref.length;h++){g.push(this.owner.mapAreas[this.areasXref[h]])}return g},coords:function(h){var g=[];f.each(this.areas(),function(j,k){g=g.concat(k.coords(h))});return g},reset:function(){f.each(this.areas(),function(g,h){h.reset()});this.areasXref=[];this.options=null},isSelectedOrStatic:function(){var g=this.effectiveOptions();return d.isBool(g.staticState)?g.staticState:this.isSelected()},isSelected:function(){return d.isBool(this.selected)?this.selected:d.isBool(this.owner.area_options.selected)?this.owner.area_options.selected:false},isSelectable:function(){return d.isBool(this.effectiveOptions().staticState)?false:(d.isBool(this.owner.options.staticState)?false:d.boolOrDefault(this.effectiveOptions().isSelectable,true))},isDeselectable:function(){return d.isBool(this.effectiveOptions().staticState)?false:(d.isBool(this.owner.options.staticState)?false:d.boolOrDefault(this.effectiveOptions().isDeselectable,true))},isNotRendered:function(){var g=f(this.area);return g.attr("nohref")||!g.attr("href")||this.effectiveOptions().isMask},effectiveOptions:function(g){var h=d.updateProps({},this.owner.area_options,this.options,g||{},{id:this.areaId});h.selected=this.isSelected();return h},effectiveRenderOptions:function(j,g){var h,i=this.optsCache;if(!i||j==="highlight"){h=this.effectiveOptions(g);i=d.updateProps({},h,h["render_"+j]);if(j!=="highlight"){this.optsCache=i}}return f.extend({},i)},changeState:function(g,h){if(f.isFunction(this.owner.options.onStateChange)){this.owner.options.onStateChange.call(this.owner.image,{key:this.key,state:g,selected:h})}},highlight:function(g){var h=this.owner;if(this.effectiveOptions().highlight){h.graphics.addShapeGroup(this,"highlight",g)}h.setHighlightId(this.areaId);this.changeState("highlight",true)},drawSelection:function(){this.owner.graphics.addShapeGroup(this,"select")}};c.MapArea=function(g,h,j){if(!g){return}var i=this;i.owner=g;i.area=h;i.areaDataXref=[];i.originalCoords=[];f.each(d.split(h.coords),function(k,l){i.originalCoords.push(parseFloat(l))});i.length=i.originalCoords.length;i.shape=h.shape.toLowerCase();i.nohref=h.nohref||!h.href;i.configure(j)};c.MapArea.prototype={constructor:c.MapArea,configure:function(g){this.keys=d.split(g)},reset:function(){this.area=null},coords:function(g){return f.map(this.originalCoords,function(h){return g?h:h+g})}}}(jQuery));(function(b){var a=b.mapster.utils;a.areaCorners=function(p,r,o,s,q){var i,n,D,B,C,A,y,w,v,t,l,k,E,u,e=0,d=0,h,f,m,g,z,c,x=[];p=p.length?p:[p];o=o?b(o):b(document.body);i=o.offset();h=i.left;f=i.top;if(r){i=b(r).offset();e=i.left;d=i.top}for(u=0;u<p.length;u++){c=p[u];if(c.nodeName==="AREA"){m=a.split(c.coords,parseInt);switch(c.shape){case"circle":l=m[0];k=m[1];g=m[2];x=[];for(u=0;u<360;u+=20){z=u*Math.PI/180;x.push(l+g*Math.cos(z),k+g*Math.sin(z))}break;case"rect":x.push(m[0],m[1],m[2],m[1],m[2],m[3],m[0],m[3]);break;default:x=x.concat(m);break}for(u=0;u<x.length;u+=2){x[u]=parseInt(x[u],10)+e;x[u+1]=parseInt(x[u+1],10)+d}}else{c=b(c);i=c.position();x.push(i.left,i.top,i.left+c.width(),i.top,i.left+c.width(),i.top+c.height(),i.left,i.top+c.height())}}D=B=y=v=999999;C=A=w=t=-1;for(u=x.length-2;u>=0;u-=2){l=x[u];k=x[u+1];if(l<D){D=l;t=k}if(l>C){C=l;v=k}if(k<B){B=k;w=l}if(k>A){A=k;y=l}}if(s&&q){n=false;b.each([[w-s,B-q],[y,B-q],[D-s,t-q],[D-s,v],[C,t-q],[C,v],[w-s,A],[y,A]],function(j,F){if(!n&&(F[0]>h&&F[1]>f)){E=F;n=true;return false}});if(!n){E=[C,A]}}return E}}(jQuery));(function(c){var a=c.mapster,b=a.utils,d=a.MapArea.prototype;a.utils.getScaleInfo=function(e,g){var f;if(!g){f=1;g=e}else{f=e.width/g.width||e.height/g.height;if(f>0.98&&f<1.02){f=1}}return{scale:(f!==1),scalePct:f,realWidth:g.width,realHeight:g.height,width:e.width,height:e.height,ratio:e.width/e.height}};a.utils.scaleMap=function(h,f,i){var g=b.size(h),e=b.size(f,true);if(!e.complete()){throw ("Another script, such as an extension, appears to be interfering with image loading. Please let us know about this.")}if(!g.complete()){g=e}return this.getScaleInfo(g,i?e:null)};a.MapData.prototype.resize=function(g,t,j,s){var f,r,i,k,e,n,o=this;s=s||j;function q(u,p,v){if(a.hasCanvas()){u.width=p;u.height=v}else{c(u).width(p);c(u).height(v)}}function l(){o.currentAction="";if(c.isFunction(s)){s()}o.processCommandQueue()}function m(){q(o.overlay_canvas,g,t);if(e>=0){var p=o.data[e];p.tempOptions={fade:false};o.getDataForKey(p.key).highlight();p.tempOptions=null}q(o.base_canvas,g,t);o.redrawSelections();l()}function h(){c(o.image).css(i);o.scaleInfo=b.getScaleInfo({width:g,height:t},{width:o.scaleInfo.realWidth,height:o.scaleInfo.realHeight});c.each(o.data,function(p,u){c.each(u.areas(),function(v,w){w.resize()})})}if(o.scaleInfo.width===g&&o.scaleInfo.height===t){return}e=o.highlightId;if(!g){n=t/o.scaleInfo.realHeight;g=Math.round(o.scaleInfo.realWidth*n)}if(!t){n=g/o.scaleInfo.realWidth;t=Math.round(o.scaleInfo.realHeight*n)}i={width:String(g)+"px",height:String(t)+"px"};if(!a.hasCanvas()){c(o.base_canvas).children().remove()}k=c(o.wrapper).find(".mapster_el").add(o.wrapper);if(j){r=[];o.currentAction="resizing";k.each(function(p,u){f=b.defer();r.push(f);c(u).animate(i,{duration:j,complete:f.resolve,easing:"linear"})});f=b.defer();r.push(f);b.when.all(r).then(m);h();f.resolve()}else{k.css(i);h();m()}};a.MapArea=b.subclass(a.MapArea,function(){this.base.init();if(this.owner.scaleInfo.scale){this.resize()}});d.coords=function(f,i){var e,h=[],g=f||this.owner.scaleInfo.scalePct,k=i||0;if(g===1&&i===0){return this.originalCoords}for(e=0;e<this.length;e++){h.push(Math.round(this.originalCoords[e]*g)+k)}return h};d.resize=function(){this.area.coords=this.coords().join(",")};d.reset=function(){this.area.coords=this.coords(1).join(",")};a.impl.resize=function(g,f,h,i){if(!g&&!f){return false}var e=(new a.Method(this,function(){this.resize(g,f,h,i)},null,{name:"resize",args:arguments})).go();return e}}(jQuery));(function(g){var a=g.mapster,d=a.utils;g.extend(a.defaults,{toolTipContainer:'<div style="border: 2px solid black; background: #EEEEEE; width:160px; padding:4px; margin: 4px; -moz-box-shadow: 3px 3px 5px #535353; -webkit-box-shadow: 3px 3px 5px #535353; box-shadow: 3px 3px 5px #535353; -moz-border-radius: 6px 6px 6px 6px; -webkit-border-radius: 6px; border-radius: 6px 6px 6px 6px; opacity: 0.9;"></dteniv>',showToolTip:false,toolTipFade:true,toolTipClose:["area-mouseout","image-mouseout"],onShowToolTip:null,onHideToolTip:null});g.extend(a.area_defaults,{toolTip:null,toolTipClose:null});function e(j,k,i){var l;if(k){l=typeof k==="string"?g(k):g(k).clone();l.append(j)}else{l=g(j)}l.css(g.extend((i||{}),{display:"block",position:"absolute"})).hide();g("body").append(l);l.attr("data-opacity",l.css("opacity")).css("opacity",0);return l.show()}function h(m,k){var i={left:k.left+"px",top:k.top+"px"},j=m.attr("data-opacity")||0,l=m.css("z-index");if(parseInt(l,10)===0||l==="auto"){i["z-index"]=9999}m.css(i).addClass("mapster_tooltip");if(k.fadeDuration&&k.fadeDuration>0){d.fader(m[0],0,j,k.fadeDuration)}else{d.setOpacity(m[0],j)}}a.MapData.prototype.clearToolTip=function(){if(this.activeToolTip){this.activeToolTip.stop().remove();this.activeToolTip=null;this.activeToolTipID=null;d.ifFunction(this.options.onHideToolTip,this)}};function b(k,i,l,o,m,j){var n=l+".mapster-tooltip";if(g.inArray(i,k)>=0){o.unbind(n).bind(n,function(p){if(!m||m.call(this,p)){o.unbind(".mapster-tooltip");if(j){j.call(this)}}});return{object:o,event:n}}}function f(m,o,n,i,k){var j,l={};k=k||{};if(o){j=d.areaCorners(o,n,i,m.outerWidth(true),m.outerHeight(true));l.left=j[0];l.top=j[1]}else{l.left=k.left;l.top=k.top}l.left+=(k.offsetx||0);l.top+=(k.offsety||0);l.css=k.css;l.fadeDuration=k.fadeDuration;h(m,l);return m}a.AreaData.prototype.showToolTip=function(m,s){var r,j,l,n,p,k={},q=this,o=q.owner,i=q.effectiveOptions();s=s?g.extend({},s):{};m=m||i.toolTip;j=s.closeEvents||i.toolTipClose||o.options.toolTipClose||"tooltip-click";p=typeof s.template!=="undefined"?s.template:o.options.toolTipContainer;s.closeEvents=typeof j==="string"?j=d.split(j):j;s.fadeDuration=s.fadeDuration||(o.options.toolTipFade?(o.options.fadeDuration||i.fadeDuration):0);l=q.area?q.area:g.map(q.areas(),function(t){return t.area});if(o.activeToolTipID===q.areaId){return}o.clearToolTip();o.activeToolTip=r=e(m,p,s.css);o.activeToolTipID=q.areaId;n=function(){o.clearToolTip()};b(j,"area-click","click",g(o.map),null,n);b(j,"tooltip-click","click",r,null,n);b(j,"image-mouseout","mouseout",g(o.image),function(t){return(t.relatedTarget&&t.relatedTarget.nodeName!=="AREA"&&t.relatedTarget!==q.area)},n);f(r,l,o.image,s.container,p,s);d.ifFunction(o.options.onShowToolTip,q.area,{toolTip:r,options:k,areaOptions:i,key:q.key,selected:q.isSelected()});return r};function c(i){return(i?((typeof i==="string"||i.jquery)?i:i.content):null)}a.impl.tooltip=function(k,j){return(new a.Method(this,function l(){var n,o,m=this;if(!k){m.clearToolTip()}else{o=g(k);if(m.activeToolTipID===o[0]){return}m.clearToolTip();m.activeToolTip=n=e(c(j),j.template||m.options.toolTipContainer,j.css);m.activeToolTipID=o[0];b(["tooltip-click"],"tooltip-click","click",n,null,function(){m.clearToolTip()});m.activeToolTip=n=f(n,o,m.image,j.container,j)}},function i(){if(g.isPlainObject(k)&&!j){j=k}this.showToolTip(c(j),j)},{name:"tooltip",args:arguments,key:k})).go()}}(jQuery));
\ No newline at end of file
--- a/src/pyams_content/skin/resources/js/pyams_content.js	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,665 +0,0 @@
-(function($, globals) {
-
-	"use strict";
-
-	var MyAMS = globals.MyAMS;
-
-	var PyAMS_content = {
-
-		/**
-		 * Custom widgets management
-		 */
-		widget: {
-
-			/** Treeview widget */
-			treeview: {
-
-				selectFolder: function(event, node) {
-					var target = $(event.target);
-					target.siblings('input[type="hidden"]').val(node.id);
-				},
-
-				unselectFolder: function(event, node) {
-					var target = $(event.target);
-					target.siblings('input[type="hidden"]').val(null);
-				}
-			}
-		},
-
-		/**
-		 * TinyMCE editor configuration
-		 */
-		TinyMCE: {
-
-			initEditor: function(settings) {
-
-				// Update TinyMCE translations
-				tinyMCE.addI18n('fr', {
-					"Link list": "Liste de liens",
-					"Toggle h3 header": "En-tête H3",
-					"Toggle h4 header": "En-tête H4",
-					"Insert internal link": "Insérer un lien interne",
-					"Link title": "Texte à afficher",
-					"Internal number": "N° interne"
-				});
-
-				// Declare internal link input plug-in
-				tinymce.PluginManager.add('internal_links', function(editor, url) {
-					editor.addButton('internal_links', {
-						icon: 'cloud-check',
-						tooltip: "Insert internal link",
-						image: '/--static--/pyams_content/img/internal-link.png',
-						onclick: function() {
-							editor.windowManager.open({
-								title: "Insert internal link",
-								body: [
-									{
-										type: 'textbox',
-										name: 'oid',
-										label:'Internal number'
-									}, {
-										type: 'textbox',
-										name: 'title',
-										label: 'Link title',
-										value: editor.selection.getContent()
-									}
-								],
-								onsubmit: function(e) {
-									editor.insertContent('<a href="oid://' + e.data.oid + '">' + e.data.title + '</a>');
-								}
-							});
-						}
-					})
-				});
-
-				// Declare direct H3 and H4 style formatter
-				tinyMCE.PluginManager.add('headers', function (editor, url) {
-					['h3', 'h4'].forEach(function (name) {
-						editor.addButton("header-" + name, {
-							tooltip: "Toggle " + name + " header",
-							text: name.toUpperCase(),
-							onClick: function () {
-								editor.execCommand('mceToggleFormat', false, name);
-							},
-							onPostRender: function () {
-								var self = this,
-									setup = function () {
-										editor.formatter.formatChanged(name, function (state) {
-											self.active(state);
-										});
-									};
-								editor.formatter ? setup() : editor.on('init', setup);
-							}
-						})
-					});
-				});
-
-				// Update TinyMCE settings
-				settings.image_list = PyAMS_content.TinyMCE.getImagesList;
-				settings.link_list = PyAMS_content.TinyMCE.getLinksList;
-				settings.style_formats = [
-					{
-						title: 'Inline',
-						items: [
-							{title: 'Bold', icon: 'bold', format: 'bold'},
-							{title: 'Italic', icon: 'italic', format: 'italic'},
-							{title: 'Underline', icon: 'underline', format: 'underline'},
-							{title: 'Strikethrough', icon: 'strikethrough', format: 'strikethrough'},
-							{title: 'Superscript', icon: 'superscript', format: 'superscript'},
-							{title: 'Subscript', icon: 'subscript', format: 'subscript'},
-							{title: 'Code', icon: 'code', format: 'code'}
-						]
-					},
-					{
-						title: 'Blocks',
-						items: [
-							{title: 'Paragraph', format: 'p'},
-							{title: 'Blockquote', format: 'blockquote'},
-							{title: 'Div', format: 'div'},
-							{title: 'Pre', format: 'pre'}
-						]
-					},
-					{
-						title: 'Alignment',
-						items: [
-							{title: 'Left', icon: 'alignleft', format: 'alignleft'},
-							{title: 'Center', icon: 'aligncenter', format: 'aligncenter'},
-							{title: 'Right', icon: 'alignright', format: 'alignright'},
-							{title: 'Justify', icon: 'alignjustify', format: 'alignjustify'}
-						]
-					}
-				];
-				settings.plugins += ' internal_links headers';
-				if (settings.toolbar1) {
-					settings.toolbar1 = "undo redo | header-h3 header-h4 styleselect | bold italic | " +
-										"alignleft aligncenter alignright alignjustify | bullist numlist outdent indent";
-				}
-				if (settings.toolbar2) {
-					settings.toolbar2 = "forecolor backcolor | charmap internal_links link | fullscreen preview print | code";
-				}
-				return settings;
-			},
-
-			getImagesList: function(callback) {
-				var form = $(document.activeElement).parents('form');
-				if (form.exists()) {
-					var base = form.attr('data-ams-form-handler') || form.attr('action');
-					var target = base.substr(0, base.lastIndexOf('/') + 1);
-					return MyAMS.ajax.post(target + 'get-images-list.json', {}, callback);
-				}
-			},
-
-			getLinksList: function(callback) {
-				var form = $(document.activeElement).parents('form');
-				if (form.exists()) {
-					var base = form.attr('data-ams-form-handler') || form.attr('action');
-					var target = base.substr(0, base.lastIndexOf('/')+1);
-					return MyAMS.ajax.post(target + 'get-links-list.json', {}, callback);
-				}
-			}
-		},
-
-		/**
-		 * Galleries management
-		 */
-		galleries: {
-
-			addMediaCallback: function(options) {
-				var gallery = $('.gallery', $('[id="' + options.parent + '"]'));
-				var switcher = gallery.siblings('.switcher');
-				if (switcher.parents('fieldset:first').hasClass('switched')) {
-					switcher.click();
-				}
-				for (var i=0; i < options.medias.length; i++) {
-					gallery.append(options.medias[i]);
-				}
-				gallery.sortable({
-					helper: 'clone',
-					stop: PyAMS_content.galleries.setOrder
-				})
-			},
-
-			updateMediaTitle: function(options) {
-				$('img[id="' + options.media_id + '"]').attr('original-title', options.title);
-			},
-
-			switchMediaVisibility: function(element) {
-				return function() {
-					var source = $(this);
-					var media = source.parents('.media');
-					var gallery = media.parents('.gallery');
-					$('i', source).attr('class', 'fa fa-fw fa-spinner fa-pulse');
-					MyAMS.ajax.post(gallery.data('ams-location') + '/set-media-visibility.json',
-									{object_name: media.data('ams-element-name')},
-									function(result, status) {
-										if (result.visible) {
-											$('i', source).attr('class', 'fa fa-fw fa-eye');
-											source.parents('.btn-group').siblings('a.fancyimg').removeClass('not-visible');
-										} else {
-											$('i', source).attr('class', 'fa fa-fw fa-eye-slash text-danger');
-											source.parents('.btn-group').siblings('a.fancyimg').addClass('not-visible');
-										}
-									});
-				};
-			},
-
-			setOrder: function(event, ui) {
-				if (ui && ui.item.hasClass('already-dropped')) {
-					return;
-				}
-				var gallery = ui.item.parents('.gallery');
-				var ids = $('.media', gallery).listattr('data-ams-element-name');
-				MyAMS.ajax.post(gallery.data('ams-location') + '/set-medias-order.json',
-								{medias: JSON.stringify(ids)});
-			},
-
-			removeMedia: function(element) {
-				return function() {
-					var link = $(this);
-					MyAMS.skin.bigBox({
-						title: MyAMS.i18n.WARNING,
-						content: '<i class="text-danger fa fa-2x fa-bell shake animated"></i>&nbsp; ' + MyAMS.i18n.DELETE_WARNING,
-						buttons: MyAMS.i18n.BTN_OK_CANCEL
-					}, function(button) {
-						if (button === MyAMS.i18n.BTN_OK) {
-							var gallery = link.parents('.gallery');
-							var location = gallery.data('ams-location');
-							var media = link.parents('.media');
-							var object_name = media.data('ams-element-name');
-							MyAMS.ajax.post(location + '/delete-element.json',
-											{object_name: object_name},
-											function(result, status) {
-												media.remove();
-												if (result.handle_json) {
-													MyAMS.ajax.handleJSON(result);
-												}
-											});
-						}
-					});
-				};
-			},
-
-			afterFancyboxLoad: function(current, previous) {
-				var element = current.element;
-				if (element.hasClass('not-visible')) {
-					current.inner.prepend('<div class="hidden-mask"></div>');
-				}
-			}
-		},
-
-		/**
-		 * Illustrations management
-		 */
-		illustration: {
-
-			addIllustration: function() {
-				var source = $(this);
-				var group = source.parents('.btn-group');
-				var legend = group.siblings('legend.switcher');
-				$('i.fa-plus', legend).click();
-				source.hide();
-				$('input[type="file"]', legend.siblings('.form-group:first')).click();
-			}
-		},
-
-		/**
-		 * Paragraphs management
-		 */
-		paragraphs: {
-
-			/* Store and restore paragraphs state on reload */
-			preReload: function() {
-				PyAMS_content.paragraphs.switched = $('i.switch.fa-minus-square-o', '#paragraphs_list').parents('tr').listattr('id');
-			},
-
-			postReload: function() {
-				$(PyAMS_content.paragraphs.switched).each(function() {
-					$('i.switch.fa-plus-square-o', '[id="' + this + '"]').parents('div').first().click();
-				});
-				delete PyAMS_content.paragraphs.switched;
-			},
-
-			refreshParagraph: function(changes) {
-				var para = $('tr[id="' + changes.object_id + '"]');
-				$('span.title', para).html(changes.title || ' - - - - - - - -');
-			},
-
-			switchEditor: function(element) {
-				var source = $(this);
-				var switcher = $('i.switch', source);
-				var td = source.parents('td');
-				var editor = $('.editor', td);
-				var para = source.parents('tr');
-				if (switcher.hasClass('fa-plus-square-o')) {
-					var container = para.parents('table');
-					editor.html('<h1 class="loading"><i class="fa fa-2x fa-gear fa-spin"></i></h1>');
-					MyAMS.ajax.post(container.data('ams-location') + '/get-paragraph-editor.json',
-									{object_name: para.data('ams-element-name')},
-									function(result) {
-										editor.html(result);
-										if (result) {
-											MyAMS.initContent(editor);
-											switcher.removeClass('fa-plus-square-o')
-													.addClass('fa-minus-square-o');
-											para.data('ams-disabled-handlers', true);
-											MyAMS.skin.scrollTo(editor, {
-												offset: editor.height() - para.height()
-											});
-										}
-									});
-				} else {
-					MyAMS.skin.cleanContainer(editor);
-					editor.empty();
-					switcher.removeClass('fa-minus-square-o')
-							.addClass('fa-plus-square-o');
-					para.removeData('ams-disabled-handlers');
-				}
-			},
-
-			switchLastEditor: function(table_id) {
-				var table = $('table[id="' + table_id + '"]');
-				var tr = $('tr:last', table);
-				$('[data-ams-click-handler="PyAMS_content.paragraphs.switchEditor"]', tr).click();
-			},
-
-			switchAllEditors: function(element) {
-				var source = $(this);
-				var switcher = $('i', source);
-				var container = source.parents('table');
-				if (switcher.hasClass('fa-plus-square-o')) {
-					switcher.removeClass('fa-plus-square-o')
-							.addClass('fa-cog fa-spin');
-					MyAMS.ajax.post(container.data('ams-location') + '/get-paragraphs-editors.json',
-									{},
-									function(result) {
-										for (var para_id in result) {
-											if (!result.hasOwnProperty(para_id)) {
-												continue;
-											}
-											var para = $('tr[data-ams-element-name="' + para_id + '"]', container);
-											var editor = $('.editor', para);
-											if (editor.is(':empty')) {
-												editor.html(result[para_id]);
-											}
-											$('.fa-plus-square-o', para).removeClass('fa-plus-square-o')
-																		.addClass('fa-minus-square-o');
-											para.data('ams-disabled-handlers', true);
-										}
-										if (!$('i.fa-plus-square-o', $('tbody', container)).exists()) {
-											switcher.removeClass('fa-cog fa-spin')
-													.addClass('fa-minus-square-o');
-										}
-										MyAMS.initContent(container);
-									});
-				} else {
-					$('.editor', container).each(function() {
-						MyAMS.skin.cleanContainer($(this));
-						$(this).empty();
-					});
-					$('.fa-minus-square-o', container).removeClass('fa-minus-square-o')
-													  .addClass('fa-plus-square-o');
-					$('tr', container).removeData('ams-disabled-handlers');
-				}
-			},
-
-			updateToolbar: function(settings) {
-				var para = $('tr[id="' + settings.object_id + '"]');
-				var toolbar = $('.title-toolbar', para);
-				toolbar.replaceWith(settings.toolbar_tag);
-				toolbar = $('.title-toolbar', para);
-				MyAMS.initContent(toolbar);
-			},
-
-			updateMarkers: function(settings) {
-				var para = $('tr[id="' + settings.object_id + '"]');
-				var toolbar = $('.title-toolbar', para);
-				var marker = $('DIV.action.' + settings.marker_type, toolbar);
-				if (marker.exists()) {
-					marker.replaceWith(settings.marker_tag);
-				} else {
-					$(settings.marker_tag).appendTo(toolbar);
-				}
-				if (settings.marker_tag) {
-					marker = $('DIV.action.' + settings.marker_type, toolbar);
-					MyAMS.initContent(marker);
-				}
-				MyAMS.helpers.sort(toolbar, 'weight');
-			}
-		},
-
-		/**
-		 * Pictograms management
-		 */
-		pictograms: {
-
-			initManagerSelection: function() {
-				var form = $(this);
-				var selected = $('input[type="hidden"]', $('.selected-pictograms', form)).listattr('value');
-				return {
-					selected: JSON.stringify(selected)
-				};
-			},
-
-			switchPictogram: function() {
-				var pictogram = $(this);
-				var parent = pictogram.parents('.pictograms');
-				var manager = parent.parents('.pictograms-manager');
-				if (parent.hasClass('available-pictograms')) {
-					$('.selected-pictograms', manager).append(pictogram);
-				} else {
-					$('.available-pictograms', manager).append(pictogram);
-				}
-			}
-		},
-
-		/**
-		 * Themes management
-		 */
-		themes: {
-
-			initExtracts: function(element) {
-				var thesaurus = $('select[name="manager_themes.widgets.thesaurus_name:list"]', element);
-				var thesaurus_name = thesaurus.val();
-				var extract = $('select[name="manager_themes.widgets.extract_name:list"]', element);
-				var extract_name = extract.val();
-				if (thesaurus_name) {
-					MyAMS.jsonrpc.post('getExtracts',
-									   {thesaurus_name: thesaurus_name},
-									   {url: '/api/thesaurus/json'},
-									   function(data) {
-											extract.empty();
-											$(data.result).each(function() {
-												$('<option></option>').attr('value', this.id)
-																	  .attr('selected', this.id === extract_name)
-																	  .text(this.text)
-																	  .appendTo(extract);
-											});
-									   });
-				}
-			},
-
-			getExtracts: function(event) {
-				var select = $(event.currentTarget);
-				var form = select.parents('form');
-				var thesaurus_name = $('select[name="manager_themes.widgets.thesaurus_name:list"]', form).val();
-				var extract = $('select[name="manager_themes.widgets.extract_name:list"]', form);
-				var plugin = extract.data('select2');
-				if (thesaurus_name && (thesaurus_name !== '--NOVALUE--')) {
-					MyAMS.jsonrpc.post('getExtracts',
-									   {thesaurus_name: thesaurus_name},
-									   {url: '/api/thesaurus/json'},
-									   function(data) {
-											plugin.results.empty();
-											plugin.opts.populateResults.call(plugin, plugin.results, data.result,
-																			 {term: ''});
-									   });
-				} else {
-					extract.select2('data', null);
-					plugin.results.empty();
-					plugin.opts.populateResults.call(plugin, plugin.results, [], {term: ''});
-				}
-			}
-		},
-
-		/**
-		 * Form fields management
-		 */
-		fields: {
-
-			refreshField: function(changes) {
-				var container = $('table[id="form_fields_list"]');
-				var para = $('tr[data-ams-element-name="' + changes.object_name + '"]', container);
-				$('td:nth-child(4)', para).html(changes.title);
-			}
-		},
-
-		/**
-		 * Image map management
-		 */
-		imgmap: {
-
-			init: function() {
-				var image = $(this);
-				MyAMS.ajax.check($.fn.canvasAreaDraw,
-								 '/--static--/pyams_content/js/jquery-canvasAreaDraw' + MyAMS.devext + '.js',
-								 function() {
-									image.canvasAreaDraw({imageUrl: image.data('ams-image-url')});
-								 });
-			},
-
-			initPreview: function() {
-				var image = $(this);
-				MyAMS.ajax.check($.fn.mapster,
-								 '/--static--/pyams_content/js/jquery-imagemapster-1.2.10' + MyAMS.devext + '.js',
-								 function() {
-									image.mapster({
-										fillColor: 'ff0000',
-										fillOpacity: 0.35,
-										selected: true,
-										highlight: true,
-										staticState: true
-									});
-								 });
-			}
-		},
-
-		/**
-		 * Site management
-		 */
-		site: {
-
-			switchVisibility: function() {
-				return function() {
-					var source = $(this);
-					var content = source.parents('tr').first();
-					MyAMS.ajax.post(content.data('ams-location') + '/switch-content-visibility.json',
-									{object_name: content.data('ams-element-name')},
-									function(result, status) {
-										var klass = 'fa-eye';
-										if (!result.visible) {
-											klass += '-slash';
-										}
-										if (!result.published) {
-											klass += ' text-danger';
-										}
-										$('i', source).attr('class', 'fa fa-fw ' + klass);
-									});
-				};
-			}
-		},
-
-		/**
-		 * Review comments management
-		 */
-		review: {
-
-			timer: null,
-			timer_duration: {
-				general: 30000,
-				chat: 5000
-			},
-
-			initComments: function(element) {
-				var chat = $('.chat-body', element);
-				chat.animate({scrollTop: chat[0].scrollHeight}, 1000);
-				clearInterval(PyAMS_content.review.timer);
-				PyAMS_content.review.timer = setInterval(PyAMS_content.review.updateComments,
-														 PyAMS_content.review.timer_duration.chat);
-				MyAMS.skin.registerCleanCallback(PyAMS_content.review.cleanCommentsCallback);
-			},
-
-			cleanCommentsCallback: function() {
-				clearInterval(PyAMS_content.review.timer);
-				PyAMS_content.review.timer = setInterval(PyAMS_content.review.updateComments,
-														 PyAMS_content.review.timer_duration.general);
-			},
-
-			updateComments: function() {
-				var badge = $('.badge', 'nav a[href="#review-comments.html"]'),
-					count;
-				var chat = $('.chat-body', '.widget-body');
-				if (chat.exists()) {
-					count = $('.message', chat).length;
-				} else {
-					count = parseInt(badge.text());
-				}
-				MyAMS.ajax.post('get-last-review-comments.json', {count: count}, function(result) {
-					if (chat.exists()) {
-						badge.removeClass('bg-color-danger')
-							 .addClass('bg-color-info');
-					}
-					if (count !== result.count) {
-						badge.text(result.count).removeClass('hidden');
-						if (chat.exists()) {
-							$('.messages', chat).append(result.content);
-							chat.animate({scrollTop: chat[0].scrollHeight}, 1000);
-						}
-						if (!chat.exists()) {
-							badge.removeClass('bg-color-info')
-								 .addClass('bg-color-danger')
-								 .animate({'padding': '3px 12px 2px',
-										   'margin-right': '9px'}, 'slow', function() {
-									$(this).animate({'padding': '3px 6px 2px',
-													 'margin-right': '15px'}, 'slow');
-								 });
-						}
-					}
-				});
-			},
-
-			initCommentData: function(veto) {
-				var chat = $('.chat-body', '.widget-body');
-				return {count: $('.message', chat).length};
-			},
-
-			addCommentAction: function() {
-				return function() {
-					$('textarea[name="comment"]').focus();
-				};
-			},
-
-			addCommentCallback: function(options) {
-				var form = $(this);
-				var widget = form.parents('.widget-body');
-				$('.messages', widget).append(options.content);
-				$('textarea[name="comment"]', form).val('');
-				var chat = $('.chat-body', widget);
-				chat.animate({scrollTop: chat[0].scrollHeight}, 1000);
-				$('.badge', 'nav a[href="#review-comments.html"]').text(options.count).removeClass('hidden');
-			}
-		},
-
-		/**
-		 * Header management
-		 */
-		header: {
-
-			submitEditForm: function() {
-				var form = $(this).parents('form').first();
-				MyAMS.form.submit(form, {form_data: {'autosubmit': true}});
-			}
-		},
-
-		/**
-		 * Footer management
-		 */
-		footer: {
-
-			submitEditForm: function() {
-				var form = $(this).parents('form').first();
-				MyAMS.form.submit(form, {form_data: {'autosubmit': true}});
-			}
-		},
-
-		/**
-		 * User profile management
-		 */
-		profile: {
-
-			switchFavorite: function() {
-				var star = $(this);
-				var oid = star.data('sequence-oid');
-				MyAMS.ajax.post('switch-user-favorite.json',
-								{oid: oid},
-								function(result, status) {
-									if (result.favorite) {
-										star.removeClass('fa-star-o')
-											.addClass('fa-star');
-									} else {
-										star.removeClass('fa-star')
-											.addClass('fa-star-o');
-									}
-								});
-			}
-		}
-	};
-
-	var badge = $('.badge', 'nav a[href="#review-comments.html"]');
-	if (badge.exists()) {
-		PyAMS_content.review.timer = setInterval(PyAMS_content.review.updateComments,
-												 PyAMS_content.review.timer_duration.general);
-	}
-
-	globals.PyAMS_content = PyAMS_content;
-
-})(jQuery, this);
--- a/src/pyams_content/skin/resources/js/pyams_content.min.js	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-!function(t,e){"use strict";var a=e.MyAMS,i={widget:{treeview:{selectFolder:function(e,a){t(e.target).siblings('input[type="hidden"]').val(a.id)},unselectFolder:function(e,a){t(e.target).siblings('input[type="hidden"]').val(null)}}},TinyMCE:{initEditor:function(t){return tinyMCE.addI18n("fr",{"Link list":"Liste de liens","Toggle h3 header":"En-tête H3","Toggle h4 header":"En-tête H4","Insert internal link":"Insérer un lien interne","Link title":"Texte à afficher","Internal number":"N° interne"}),tinymce.PluginManager.add("internal_links",function(t,e){t.addButton("internal_links",{icon:"cloud-check",tooltip:"Insert internal link",image:"/--static--/pyams_content/img/internal-link.png",onclick:function(){t.windowManager.open({title:"Insert internal link",body:[{type:"textbox",name:"oid",label:"Internal number"},{type:"textbox",name:"title",label:"Link title",value:t.selection.getContent()}],onsubmit:function(e){t.insertContent('<a href="oid://'+e.data.oid+'">'+e.data.title+"</a>")}})}})}),tinyMCE.PluginManager.add("headers",function(t,e){["h3","h4"].forEach(function(e){t.addButton("header-"+e,{tooltip:"Toggle "+e+" header",text:e.toUpperCase(),onClick:function(){t.execCommand("mceToggleFormat",!1,e)},onPostRender:function(){var a=this,i=function(){t.formatter.formatChanged(e,function(t){a.active(t)})};t.formatter?i():t.on("init",i)}})})}),t.image_list=i.TinyMCE.getImagesList,t.link_list=i.TinyMCE.getLinksList,t.style_formats=[{title:"Inline",items:[{title:"Bold",icon:"bold",format:"bold"},{title:"Italic",icon:"italic",format:"italic"},{title:"Underline",icon:"underline",format:"underline"},{title:"Strikethrough",icon:"strikethrough",format:"strikethrough"},{title:"Superscript",icon:"superscript",format:"superscript"},{title:"Subscript",icon:"subscript",format:"subscript"},{title:"Code",icon:"code",format:"code"}]},{title:"Blocks",items:[{title:"Paragraph",format:"p"},{title:"Blockquote",format:"blockquote"},{title:"Div",format:"div"},{title:"Pre",format:"pre"}]},{title:"Alignment",items:[{title:"Left",icon:"alignleft",format:"alignleft"},{title:"Center",icon:"aligncenter",format:"aligncenter"},{title:"Right",icon:"alignright",format:"alignright"},{title:"Justify",icon:"alignjustify",format:"alignjustify"}]}],t.plugins+=" internal_links headers",t.toolbar1&&(t.toolbar1="undo redo | header-h3 header-h4 styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent"),t.toolbar2&&(t.toolbar2="forecolor backcolor | charmap internal_links link | fullscreen preview print | code"),t},getImagesList:function(e){var i=t(document.activeElement).parents("form");if(i.exists()){var n=i.attr("data-ams-form-handler")||i.attr("action"),s=n.substr(0,n.lastIndexOf("/")+1);return a.ajax.post(s+"get-images-list.json",{},e)}},getLinksList:function(e){var i=t(document.activeElement).parents("form");if(i.exists()){var n=i.attr("data-ams-form-handler")||i.attr("action"),s=n.substr(0,n.lastIndexOf("/")+1);return a.ajax.post(s+"get-links-list.json",{},e)}}},galleries:{addMediaCallback:function(e){var a=t(".gallery",t('[id="'+e.parent+'"]')),n=a.siblings(".switcher");n.parents("fieldset:first").hasClass("switched")&&n.click();for(var s=0;s<e.medias.length;s++)a.append(e.medias[s]);a.sortable({helper:"clone",stop:i.galleries.setOrder})},updateMediaTitle:function(e){t('img[id="'+e.media_id+'"]').attr("original-title",e.title)},switchMediaVisibility:function(e){return function(){var e=t(this),i=e.parents(".media"),n=i.parents(".gallery");t("i",e).attr("class","fa fa-fw fa-spinner fa-pulse"),a.ajax.post(n.data("ams-location")+"/set-media-visibility.json",{object_name:i.data("ams-element-name")},function(a,i){a.visible?(t("i",e).attr("class","fa fa-fw fa-eye"),e.parents(".btn-group").siblings("a.fancyimg").removeClass("not-visible")):(t("i",e).attr("class","fa fa-fw fa-eye-slash text-danger"),e.parents(".btn-group").siblings("a.fancyimg").addClass("not-visible"))})}},setOrder:function(e,i){if(!i||!i.item.hasClass("already-dropped")){var n=i.item.parents(".gallery"),s=t(".media",n).listattr("data-ams-element-name");a.ajax.post(n.data("ams-location")+"/set-medias-order.json",{medias:JSON.stringify(s)})}},removeMedia:function(e){return function(){var e=t(this);a.skin.bigBox({title:a.i18n.WARNING,content:'<i class="text-danger fa fa-2x fa-bell shake animated"></i>&nbsp; '+a.i18n.DELETE_WARNING,buttons:a.i18n.BTN_OK_CANCEL},function(t){if(t===a.i18n.BTN_OK){var i=e.parents(".gallery").data("ams-location"),n=e.parents(".media"),s=n.data("ams-element-name");a.ajax.post(i+"/delete-element.json",{object_name:s},function(t,e){n.remove(),t.handle_json&&a.ajax.handleJSON(t)})}})}},afterFancyboxLoad:function(t,e){t.element.hasClass("not-visible")&&t.inner.prepend('<div class="hidden-mask"></div>')}},illustration:{addIllustration:function(){var e=t(this),a=e.parents(".btn-group").siblings("legend.switcher");t("i.fa-plus",a).click(),e.hide(),t('input[type="file"]',a.siblings(".form-group:first")).click()}},paragraphs:{preReload:function(){i.paragraphs.switched=t("i.switch.fa-minus-square-o","#paragraphs_list").parents("tr").listattr("id")},postReload:function(){t(i.paragraphs.switched).each(function(){t("i.switch.fa-plus-square-o",'[id="'+this+'"]').parents("div").first().click()}),delete i.paragraphs.switched},refreshParagraph:function(e){var a=t('tr[id="'+e.object_id+'"]');t("span.title",a).html(e.title||" - - - - - - - -")},switchEditor:function(e){var i=t(this),n=t("i.switch",i),s=i.parents("td"),r=t(".editor",s),o=i.parents("tr");if(n.hasClass("fa-plus-square-o")){var l=o.parents("table");r.html('<h1 class="loading"><i class="fa fa-2x fa-gear fa-spin"></i></h1>'),a.ajax.post(l.data("ams-location")+"/get-paragraph-editor.json",{object_name:o.data("ams-element-name")},function(t){r.html(t),t&&(a.initContent(r),n.removeClass("fa-plus-square-o").addClass("fa-minus-square-o"),o.data("ams-disabled-handlers",!0),a.skin.scrollTo(r,{offset:r.height()-o.height()}))})}else a.skin.cleanContainer(r),r.empty(),n.removeClass("fa-minus-square-o").addClass("fa-plus-square-o"),o.removeData("ams-disabled-handlers")},switchLastEditor:function(e){var a=t('table[id="'+e+'"]'),i=t("tr:last",a);t('[data-ams-click-handler="PyAMS_content.paragraphs.switchEditor"]',i).click()},switchAllEditors:function(e){var i=t(this),n=t("i",i),s=i.parents("table");n.hasClass("fa-plus-square-o")?(n.removeClass("fa-plus-square-o").addClass("fa-cog fa-spin"),a.ajax.post(s.data("ams-location")+"/get-paragraphs-editors.json",{},function(e){for(var i in e)if(e.hasOwnProperty(i)){var r=t('tr[data-ams-element-name="'+i+'"]',s),o=t(".editor",r);o.is(":empty")&&o.html(e[i]),t(".fa-plus-square-o",r).removeClass("fa-plus-square-o").addClass("fa-minus-square-o"),r.data("ams-disabled-handlers",!0)}t("i.fa-plus-square-o",t("tbody",s)).exists()||n.removeClass("fa-cog fa-spin").addClass("fa-minus-square-o"),a.initContent(s)})):(t(".editor",s).each(function(){a.skin.cleanContainer(t(this)),t(this).empty()}),t(".fa-minus-square-o",s).removeClass("fa-minus-square-o").addClass("fa-plus-square-o"),t("tr",s).removeData("ams-disabled-handlers"))},updateToolbar:function(e){var i=t('tr[id="'+e.object_id+'"]'),n=t(".title-toolbar",i);n.replaceWith(e.toolbar_tag),n=t(".title-toolbar",i),a.initContent(n)},updateMarkers:function(e){var i=t('tr[id="'+e.object_id+'"]'),n=t(".title-toolbar",i),s=t("DIV.action."+e.marker_type,n);s.exists()?s.replaceWith(e.marker_tag):t(e.marker_tag).appendTo(n),e.marker_tag&&(s=t("DIV.action."+e.marker_type,n),a.initContent(s)),a.helpers.sort(n,"weight")}},pictograms:{initManagerSelection:function(){var e=t(this),a=t('input[type="hidden"]',t(".selected-pictograms",e)).listattr("value");return{selected:JSON.stringify(a)}},switchPictogram:function(){var e=t(this),a=e.parents(".pictograms"),i=a.parents(".pictograms-manager");a.hasClass("available-pictograms")?t(".selected-pictograms",i).append(e):t(".available-pictograms",i).append(e)}},themes:{initExtracts:function(e){var i=t('select[name="manager_themes.widgets.thesaurus_name:list"]',e).val(),n=t('select[name="manager_themes.widgets.extract_name:list"]',e),s=n.val();i&&a.jsonrpc.post("getExtracts",{thesaurus_name:i},{url:"/api/thesaurus/json"},function(e){n.empty(),t(e.result).each(function(){t("<option></option>").attr("value",this.id).attr("selected",this.id===s).text(this.text).appendTo(n)})})},getExtracts:function(e){var i=t(e.currentTarget).parents("form"),n=t('select[name="manager_themes.widgets.thesaurus_name:list"]',i).val(),s=t('select[name="manager_themes.widgets.extract_name:list"]',i),r=s.data("select2");n&&"--NOVALUE--"!==n?a.jsonrpc.post("getExtracts",{thesaurus_name:n},{url:"/api/thesaurus/json"},function(t){r.results.empty(),r.opts.populateResults.call(r,r.results,t.result,{term:""})}):(s.select2("data",null),r.results.empty(),r.opts.populateResults.call(r,r.results,[],{term:""}))}},fields:{refreshField:function(e){var a=t('table[id="form_fields_list"]'),i=t('tr[data-ams-element-name="'+e.object_name+'"]',a);t("td:nth-child(4)",i).html(e.title)}},imgmap:{init:function(){var e=t(this);a.ajax.check(t.fn.canvasAreaDraw,"/--static--/pyams_content/js/jquery-canvasAreaDraw"+a.devext+".js",function(){e.canvasAreaDraw({imageUrl:e.data("ams-image-url")})})},initPreview:function(){var e=t(this);a.ajax.check(t.fn.mapster,"/--static--/pyams_content/js/jquery-imagemapster-1.2.10"+a.devext+".js",function(){e.mapster({fillColor:"ff0000",fillOpacity:.35,selected:!0,highlight:!0,staticState:!0})})}},site:{switchVisibility:function(){return function(){var e=t(this),i=e.parents("tr").first();a.ajax.post(i.data("ams-location")+"/switch-content-visibility.json",{object_name:i.data("ams-element-name")},function(a,i){var n="fa-eye";a.visible||(n+="-slash"),a.published||(n+=" text-danger"),t("i",e).attr("class","fa fa-fw "+n)})}}},review:{timer:null,timer_duration:{general:3e4,chat:5e3},initComments:function(e){var n=t(".chat-body",e);n.animate({scrollTop:n[0].scrollHeight},1e3),clearInterval(i.review.timer),i.review.timer=setInterval(i.review.updateComments,i.review.timer_duration.chat),a.skin.registerCleanCallback(i.review.cleanCommentsCallback)},cleanCommentsCallback:function(){clearInterval(i.review.timer),i.review.timer=setInterval(i.review.updateComments,i.review.timer_duration.general)},updateComments:function(){var e,i=t(".badge",'nav a[href="#review-comments.html"]'),n=t(".chat-body",".widget-body");e=n.exists()?t(".message",n).length:parseInt(i.text()),a.ajax.post("get-last-review-comments.json",{count:e},function(a){n.exists()&&i.removeClass("bg-color-danger").addClass("bg-color-info"),e!==a.count&&(i.text(a.count).removeClass("hidden"),n.exists()&&(t(".messages",n).append(a.content),n.animate({scrollTop:n[0].scrollHeight},1e3)),n.exists()||i.removeClass("bg-color-info").addClass("bg-color-danger").animate({padding:"3px 12px 2px","margin-right":"9px"},"slow",function(){t(this).animate({padding:"3px 6px 2px","margin-right":"15px"},"slow")}))})},initCommentData:function(e){var a=t(".chat-body",".widget-body");return{count:t(".message",a).length}},addCommentAction:function(){return function(){t('textarea[name="comment"]').focus()}},addCommentCallback:function(e){var a=t(this),i=a.parents(".widget-body");t(".messages",i).append(e.content),t('textarea[name="comment"]',a).val("");var n=t(".chat-body",i);n.animate({scrollTop:n[0].scrollHeight},1e3),t(".badge",'nav a[href="#review-comments.html"]').text(e.count).removeClass("hidden")}},header:{submitEditForm:function(){var e=t(this).parents("form").first();a.form.submit(e,{form_data:{autosubmit:!0}})}},footer:{submitEditForm:function(){var e=t(this).parents("form").first();a.form.submit(e,{form_data:{autosubmit:!0}})}},profile:{switchFavorite:function(){var e=t(this),i=e.data("sequence-oid");a.ajax.post("switch-user-favorite.json",{oid:i},function(t,a){t.favorite?e.removeClass("fa-star-o").addClass("fa-star"):e.removeClass("fa-star").addClass("fa-star-o")})}}};t(".badge",'nav a[href="#review-comments.html"]').exists()&&(i.review.timer=setInterval(i.review.updateComments,i.review.timer_duration.general)),e.PyAMS_content=i}(jQuery,this);
--- a/src/pyams_content/skin/resources/js/tinymce/onflinks/langs/fr.js	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-tinyMCE.addI18n('fr', {
-	"Insert internal link": "Insérer un lien interne",
-	"Linktitle": "Texte du lien",
-	"Internal number": "N° interne"
-});
--- a/src/pyams_content/skin/resources/js/tinymce/onflinks/langs/fr.min.js	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-tinyMCE.addI18n("fr",{"Insert internal link":"Insérer un lien interne",Linktitle:"Texte du lien","Internal number":"N° interne"});
\ No newline at end of file
--- a/src/pyams_content/skin/resources/js/tinymce/onflinks/plugin.js	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-tinymce.PluginManager.add('internal_links', function(editor, url) {
-
-	editor.addButton('internal_links', {
-		icon: 'cloud-check',
-		tooltip: "Insert internal link",
-		image: '/--static--/pyams_content/img/external.png',
-		onclick: function() {
-			editor.windowManager.open({
-				title: "Insert internal link",
-				body: [
-					{type: 'textbox', name: 'title', label: 'Link title', value: editor.selection.getContent()},
-					{type: 'textbox', name: 'oid', label:'Internal number'}
-				],
-				onsubmit: function(e) {
-					editor.insertContent('<a href="oid://' + e.data.oid + '">' + e.data.title + '</a>');
-				}
-			});
-		}
-	})
-});
--- a/src/pyams_content/skin/resources/js/tinymce/onflinks/plugin.min.js	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-tinymce.PluginManager.add("internal_links",function(n,t){n.addButton("internal_links",{icon:"cloud-check",tooltip:"Insert internal link",image:"/--static--/pyams_content/img/external.png",onclick:function(){n.windowManager.open({title:"Insert internal link",body:[{type:"textbox",name:"title",label:"Link title",value:n.selection.getContent()},{type:"textbox",name:"oid",label:"Internal number"}],onsubmit:function(t){n.insertContent('<a href="oid://'+t.data.oid+'">'+t.data.title+"</a>")}})}})});
--- a/src/pyams_content/skin/resources/less/pyams_content.less	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,59 +0,0 @@
-.ams-widget.comments {
-
-	.widget-body {
-		position: fixed;
-		height: ~"calc(100% - 337px)";
-
-		.chat-body {
-			position: relative;
-			height: 100%;
-		}
-
-		.chat-footer {
-			position: fixed;
-			bottom: 10px;
-		}
-
-		&,
-		.chat-footer {
-			width: ~"calc(100% - 240px)";
-
-			@media (max-width: 767px) {
-				width: ~"calc(100% - 10px)";
-			}
-			@media (min-width: 768px) and (max-width: 979px) {
-				width: ~"calc(100% - 20px)";
-			}
-
-			.minified & {
-				width: ~"calc(100% - 65px)";
-
-				@media (max-width: 767px) {
-					& {
-						width: ~"calc(100% - 55px)";
-					}
-				}
-			}
-			.hidden-menu & {
-				width: ~"calc(100% - 30px)";
-			}
-		}
-	}
-}
-
-
-.pictograms-manager {
-	.pictogram {
-		border-bottom: 1px solid silver;
-	}
-	.pictogram:last-child {
-		border-bottom: none;
-	}
-}
-
-
-.sortable {
-	&.gallery {
-		max-height: 550px;
-	}
-}
\ No newline at end of file
--- a/src/pyams_content/skin/routes.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,63 +0,0 @@
-#
-# 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
-from hypatia.interfaces import ICatalog
-from pyams_sequence.interfaces import ISequentialIntIds
-from pyams_workflow.interfaces import IWorkflowVersions
-
-# import packages
-from hypatia.catalog import CatalogQuery
-from hypatia.query import Eq, Any
-from pyams_catalog.query import CatalogResultSet
-from pyams_content.workflow import VISIBLE_STATES
-from pyams_utils.registry import get_utility
-from pyams_utils.url import absolute_url, canonical_url
-from pyramid.exceptions import NotFound
-from pyramid.response import Response
-from pyramid.view import view_config
-
-
-@view_config(route_name='oid_access')
-def get_oid_access(request):
-    """Get direct access to given OID
-
-    This route can be used to get a direct access to a given content,
-    just by submitting an URL like /+/{oid}, where {oid} is the "short"
-    sequence OID.
-    """
-    oid = request.matchdict.get('oid')
-    if oid:
-        view_name = request.matchdict.get('view')
-        sequence = get_utility(ISequentialIntIds)
-        hex_oid = sequence.get_full_oid(oid)
-        catalog = get_utility(ICatalog)
-        params = Eq(catalog['oid'], hex_oid)
-        if not view_name:
-            params &= Any(catalog['workflow_state'], VISIBLE_STATES)
-        results = list(CatalogResultSet(CatalogQuery(catalog).query(params)))
-        if results:
-            response = Response()
-            response.status_code = 302
-            if view_name:  # back-office access => last version
-                version = IWorkflowVersions(results[0]).get_last_versions()[0]
-                response.location = absolute_url(version, request, '/'.join(view_name))
-            else:
-                version = results[0]
-                response.location = canonical_url(version, request)
-            return response
-    raise NotFound()
--- a/src/pyams_content/skin/zmi/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-#
-# 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
--- a/src/pyams_content/skin/zmi/interfaces/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,56 +0,0 @@
-#
-# 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
-from pyams_skin.interfaces.viewlet import IMenuItem
-
-# import packages
-from zope.interface import Interface, Attribute
-
-
-#
-# Custom menus interfaces
-#
-
-class ISiteTreeMenu(IMenuItem):
-    """Site tree menu marker interface"""
-
-
-class ISiteTreeTable(Interface):
-    """Site tree table view marker interface"""
-
-
-class IDashboardMenu(IMenuItem):
-    """Dashboard menu"""
-
-
-class IMyDashboardMenu(IMenuItem):
-    """My contents dashboard menu"""
-
-
-class IAllContentsMenu(IMenuItem):
-    """Dashboard menu for all contents"""
-
-
-class ISummaryMenu(IMenuItem):
-    """Summary menu"""
-
-
-class IUserAddingsMenuLabel(Interface):
-    """Shared tool adding menu label"""
-
-    label = Attribute("Addings menu label")
--- a/src/pyams_content/skin/zmi/tinymce.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-#
-# 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
-from pyams_content.skin import pyams_content
-from pyams_form.interfaces.form import IForm
-from pyams_skin.interfaces.tinymce import ITinyMCEConfiguration
-from pyams_skin.layer import IPyAMSLayer
-
-# import packages
-from pyams_utils.adapter import adapter_config, ContextRequestAdapter
-from pyams_utils.fanstatic import get_resource_path
-
-
-@adapter_config(context=(IForm, IPyAMSLayer), provides=ITinyMCEConfiguration)
-class TinyMCEEditorConfiguration(ContextRequestAdapter):
-    """TinyMCE editor configuration"""
-
-    @property
-    def configuration(self):
-        return {
-            'ams-plugins': 'pyams_content',
-            'ams-plugin-pyams_content-src': get_resource_path(pyams_content),
-            'ams-plugin-pyams_content-async': 'false',
-            'ams-tinymce-init-callback': 'PyAMS_content.TinyMCE.initEditor'
-        }
--- a/src/pyams_content/skin/zmi/viewlet/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-#
-# 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
--- a/src/pyams_content/skin/zmi/viewlet/toplinks/__init__.py	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,161 +0,0 @@
-#
-# 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.
-#
-import locale
-
-
-__docformat__ = 'restructuredtext'
-
-
-from hypatia.catalog import CatalogQuery
-from hypatia.interfaces import ICatalog
-from hypatia.query import And, Any, NotEq, Or
-
-from pyams_catalog.query import CatalogResultSet
-from pyams_content import _
-from pyams_content.shared.common.interfaces import IBaseSharedTool, ISharedSite
-from pyams_content.skin.zmi.interfaces import IUserAddingsMenuLabel
-from pyams_i18n.interfaces import II18n
-from pyams_skin.interfaces.viewlet import ITopLinksViewletManager
-from pyams_skin.viewlet.toplinks import TopLinksMenu, TopLinksViewlet
-from pyams_template.template import template_config
-from pyams_utils.list import unique
-from pyams_utils.registry import get_all_utilities_registered_for, get_utility
-from pyams_utils.url import absolute_url
-from pyams_viewlet.viewlet import viewlet_config
-from pyams_zmi.layer import IAdminLayer
-
-
-@viewlet_config(name='shared-sites.menu', layer=IAdminLayer, manager=ITopLinksViewletManager, weight=20)
-class SharedSitesMenu(TopLinksViewlet):
-    """Shared sites menu"""
-
-    label = ''
-    css_class = 'top-menu bordered margin-top-10'
-    dropdown_label = _("Shared sites")
-
-    def update(self):
-        super(SharedSitesMenu, self).update()
-        context = self.context
-        request = self.request
-        parent = self.__parent__
-        for site in sorted(get_all_utilities_registered_for(ISharedSite),
-                           key=lambda x: locale.strxfrm(II18n(x).query_attribute('title', request=request) or '')):
-            menu = TopLinksMenu(context, request, parent, self)
-            menu.label = II18n(site).query_attribute('title', request=request) or site.__name__
-            menu.url = absolute_url(site, request, 'admin#dashboard.html')
-            self.viewlets.append(menu)
-
-
-@viewlet_config(name='shared-contents.menu', layer=IAdminLayer, manager=ITopLinksViewletManager, weight=30)
-class SharedContentsMenu(TopLinksViewlet):
-    """Shared contents menu"""
-
-    label = ''
-    css_class = 'top-menu bordered margin-top-10'
-    dropdown_label = _("Shared contents")
-
-    def update(self):
-        super(SharedContentsMenu, self).update()
-        context = self.context
-        request = self.request
-        parent = self.__parent__
-        for tool in sorted(get_all_utilities_registered_for(IBaseSharedTool),
-                           key=lambda x: locale.strxfrm(II18n(x).query_attribute('title', request=request) or '')):
-            if ISharedSite.providedBy(tool) or (not tool.shared_content_menu):
-                continue
-            menu = TopLinksMenu(context, request, parent, self)
-            menu.label = II18n(tool).query_attribute('title', request=request) or tool.__name__
-            menu.url = absolute_url(tool, request, 'admin#dashboard.html')
-            self.viewlets.append(menu)
-
-
-@viewlet_config(name='shared-tools.menu', layer=IAdminLayer, manager=ITopLinksViewletManager, weight=40)
-class SharedToolsMenu(TopLinksViewlet):
-    """Shared tools menu"""
-
-    label = ''
-    css_class = 'top-menu bordered margin-top-10'
-    dropdown_label = _("Shared tools")
-
-    def update(self):
-        super(SharedToolsMenu, self).update()
-        context = self.context
-        request = self.request
-        parent = self.__parent__
-        for tool in sorted(get_all_utilities_registered_for(IBaseSharedTool),
-                           key=lambda x: locale.strxfrm(II18n(x).query_attribute('title', request=request) or '')):
-            if ISharedSite.providedBy(tool) or tool.shared_content_menu:
-                continue
-            menu = TopLinksMenu(context, request, parent, self)
-            menu.label = II18n(tool).query_attribute('title', request=request) or tool.__name__
-            menu.url = absolute_url(tool, request, 'admin#dashboard.html')
-            self.viewlets.append(menu)
-
-
-@viewlet_config(name='user-roles.menu', layer=IAdminLayer, manager=ITopLinksViewletManager, weight=90)
-class UserRolesMenu(TopLinksViewlet):
-    """User roles menu"""
-
-    label = ''
-    css_class = 'top-menu bordered margin-top-10'
-    dropdown_label = _("My roles")
-
-    def update(self):
-        super(UserRolesMenu, self).update()
-        catalog = get_utility(ICatalog)
-        context = self.context
-        request = self.request
-        parent = self.__parent__
-        params = And(Or(Any(catalog['role:contributor'], {request.principal.id}),
-                        Any(catalog['role:manager'], {request.principal.id}),
-                        Any(catalog['role:pilot'], {request.principal.id})),
-                     NotEq(catalog['content_type'], None))
-        for tool in sorted(unique(CatalogResultSet(CatalogQuery(catalog).query(params))),
-                           key=lambda x: locale.strxfrm(II18n(x).query_attribute('title', request=request) or '')):
-            menu = TopLinksMenu(context, request, parent, self)
-            menu.label = II18n(tool).query_attribute('title', request=request) or tool.__name__
-            menu.url = absolute_url(tool, request, 'admin#dashboard.html')
-            self.viewlets.append(menu)
-
-
-@viewlet_config(name='user-addings.menu', layer=IAdminLayer, manager=ITopLinksViewletManager, weight=95)
-@template_config(template='templates/user-addings.pt', layer=IAdminLayer)
-class UserAddingsMenu(TopLinksViewlet):
-    """User addings menu"""
-
-    label = ''
-    css_class = 'top-menu margin-top-5-neg'
-    dropdown_label = ''
-
-    def update(self):
-        super(UserAddingsMenu, self).update()
-        catalog = get_utility(ICatalog)
-        context = self.context
-        request = self.request
-        parent = self.__parent__
-        registry = request.registry
-        params = And(Any(catalog['role:contributor'], {request.principal.id}),
-                     NotEq(catalog['content_type'], None))
-        for tool in sorted(unique(CatalogResultSet(CatalogQuery(catalog).query(params))),
-                           key=lambda x: locale.strxfrm(II18n(x).query_attribute('title', request=request) or '')):
-            content_class = tool.shared_content_factory.content_class
-            if content_class is None:
-                continue
-            menu = TopLinksMenu(context, request, parent, self)
-            adapter = registry.queryMultiAdapter((tool, request), IUserAddingsMenuLabel)
-            if adapter is None:
-                menu.label = request.localizer.translate(content_class.content_name)
-            else:
-                menu.label = adapter.label
-            menu.url = absolute_url(tool, request, 'add-shared-content.html')
-            menu.data = {'data-toggle': 'modal'}
-            self.viewlets.append(menu)
--- a/src/pyams_content/skin/zmi/viewlet/toplinks/templates/user-addings.pt	Fri Oct 12 14:33:03 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<div class="top-menu" tal:attributes="class view.css_class" i18n:domain="pyams_content">
-	<span class="label" tal:content="view.label | default">Label:</span>
-	<span class="top-selector popover-trigger-element dropdown-toggle btn-success"
-		  data-toggle="dropdown">
-		<i class="fa fa-3x fa-plus-square text-success opaque hint"
-		   data-ams-hint-gravity="w"
-		   title="Create new content" i18n:attributes="title"></i>
-	</span>
-	<ul class="dropdown-menu">
-		<tal:loop repeat="menu view.viewlets">
-			<tal:li replace="structure menu.render()" />
-		</tal:loop>
-	</ul>
-</div>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/zmi/__init__.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,26 @@
+#
+# 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'
+
+from fanstatic import Library, Resource
+
+
+library = Library('pyams_content', 'resources')
+
+pyams_content_css = Resource(library, 'css/pyams_content.css',
+                             minified='css/pyams_content.min.css')
+
+pyams_content = Resource(library, 'js/pyams_content.js',
+                         minified='js/pyams_content.min.js',
+                         depends=(pyams_content_css,),
+                         bottom=True)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/zmi/interfaces.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,56 @@
+#
+# 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
+from pyams_skin.interfaces.viewlet import IMenuItem
+
+# import packages
+from zope.interface import Interface, Attribute
+
+
+#
+# Custom menus interfaces
+#
+
+class ISiteTreeMenu(IMenuItem):
+    """Site tree menu marker interface"""
+
+
+class ISiteTreeTable(Interface):
+    """Site tree table view marker interface"""
+
+
+class IDashboardMenu(IMenuItem):
+    """Dashboard menu"""
+
+
+class IMyDashboardMenu(IMenuItem):
+    """My contents dashboard menu"""
+
+
+class IAllContentsMenu(IMenuItem):
+    """Dashboard menu for all contents"""
+
+
+class ISummaryMenu(IMenuItem):
+    """Summary menu"""
+
+
+class IUserAddingsMenuLabel(Interface):
+    """Shared tool adding menu label"""
+
+    label = Attribute("Addings menu label")
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/zmi/resources/css/pyams_content.css	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,51 @@
+.ams-widget.comments .widget-body {
+  position: fixed;
+  height: calc(100% - 337px);
+}
+.ams-widget.comments .widget-body .chat-body {
+  position: relative;
+  height: 100%;
+}
+.ams-widget.comments .widget-body .chat-footer {
+  position: fixed;
+  bottom: 10px;
+}
+.ams-widget.comments .widget-body,
+.ams-widget.comments .widget-body .chat-footer {
+  width: calc(100% - 240px);
+}
+@media (max-width: 767px) {
+  .ams-widget.comments .widget-body,
+  .ams-widget.comments .widget-body .chat-footer {
+    width: calc(100% - 10px);
+  }
+}
+@media (min-width: 768px) and (max-width: 979px) {
+  .ams-widget.comments .widget-body,
+  .ams-widget.comments .widget-body .chat-footer {
+    width: calc(100% - 20px);
+  }
+}
+.minified .ams-widget.comments .widget-body,
+.minified .ams-widget.comments .widget-body .chat-footer {
+  width: calc(100% - 65px);
+}
+@media (max-width: 767px) {
+  .minified .ams-widget.comments .widget-body,
+  .minified .ams-widget.comments .widget-body .chat-footer {
+    width: calc(100% - 55px);
+  }
+}
+.hidden-menu .ams-widget.comments .widget-body,
+.hidden-menu .ams-widget.comments .widget-body .chat-footer {
+  width: calc(100% - 30px);
+}
+.pictograms-manager .pictogram {
+  border-bottom: 1px solid silver;
+}
+.pictograms-manager .pictogram:last-child {
+  border-bottom: none;
+}
+.sortable.gallery {
+  max-height: 550px;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/zmi/resources/css/pyams_content.min.css	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,1 @@
+.ams-widget.comments .widget-body{position:fixed;height:calc(100% - 337px)}.ams-widget.comments .widget-body .chat-body{position:relative;height:100%}.ams-widget.comments .widget-body .chat-footer{position:fixed;bottom:10px}.ams-widget.comments .widget-body,.ams-widget.comments .widget-body .chat-footer{width:calc(100% - 240px)}@media (max-width:767px){.ams-widget.comments .widget-body,.ams-widget.comments .widget-body .chat-footer{width:calc(100% - 10px)}}@media (min-width:768px) and (max-width:979px){.ams-widget.comments .widget-body,.ams-widget.comments .widget-body .chat-footer{width:calc(100% - 20px)}}.minified .ams-widget.comments .widget-body,.minified .ams-widget.comments .widget-body .chat-footer{width:calc(100% - 65px)}@media (max-width:767px){.minified .ams-widget.comments .widget-body,.minified .ams-widget.comments .widget-body .chat-footer{width:calc(100% - 55px)}}.hidden-menu .ams-widget.comments .widget-body,.hidden-menu .ams-widget.comments .widget-body .chat-footer{width:calc(100% - 30px)}.pictograms-manager .pictogram{border-bottom:1px solid silver}.pictograms-manager .pictogram:last-child{border-bottom:none}.sortable.gallery{max-height:550px}
Binary file src/pyams_content/zmi/resources/img/internal-link.png has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/zmi/resources/js/jquery-canvasAreaDraw.js	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,273 @@
+(function ($) {
+
+	$.fn.canvasAreaDraw = function (options) {
+
+		this.each(function (index, element) {
+			init.apply(element, [index, element, options]);
+		});
+
+	}
+
+	var init = function (index, input, options) {
+
+		var points, activePoint, settings;
+		var $reset, $canvas, ctx, image;
+		var draw, mousedown, stopdrag, move, moveall, resize, reset, rightclick, record;
+		var dragpoint;
+		var startpoint = false;
+
+		settings = $.extend({
+								imageUrl: $(this).attr('data-image-url')
+							}, options);
+
+		var v = $(input).val().replace(/[^0-9\,]/ig, '');
+		if (v.length) {
+			points = v.split(',').map(function (point) {
+				return parseInt(point, 10);
+			});
+		} else {
+			points = [];
+		}
+
+		// $reset = $('<button type="button" class="btn"><i class="icon-trash"></i>Очистить</button>');
+		$reset = $('<i class="fa fa-fw fa-trash"></i>');
+		$canvas = $('<canvas>');
+		ctx = $canvas[0].getContext('2d');
+
+		image = new Image();
+		resize = function () {
+			$canvas.attr('height', image.height).attr('width', image.width);
+			draw();
+		};
+		$(image).load(resize);
+		image.src = settings.imageUrl;
+		if (image.loaded) {
+			resize();
+		}
+		$canvas.css({background: 'url(' + image.src + ')'});
+
+		if (input.type !== 'hidden') {
+			$(input).after('<br />');
+		}
+		$(input).after($canvas, '<br />', $reset);
+
+		reset = function () {
+			points = [];
+			draw();
+		};
+
+		move = function (e) {
+			if (!e.offsetX) {
+				e.offsetX = (e.pageX - $(e.target).offset().left);
+				e.offsetY = (e.pageY - $(e.target).offset().top);
+			}
+			points[activePoint] = Math.round(e.offsetX);
+			points[activePoint + 1] = Math.round(e.offsetY);
+			draw();
+		};
+
+		moveall = function (e) {
+			if (!e.offsetX) {
+				e.offsetX = (e.pageX - $(e.target).offset().left);
+				e.offsetY = (e.pageY - $(e.target).offset().top);
+			}
+			if (!startpoint) {
+				startpoint = {x: Math.round(e.offsetX), y: Math.round(e.offsetY)};
+			}
+			var sdvpoint = {x: Math.round(e.offsetX), y: Math.round(e.offsetY)};
+			for (var i = 0; i < points.length; i++) {
+				points[i] = (sdvpoint.x - startpoint.x) + points[i];
+				points[++i] = (sdvpoint.y - startpoint.y) + points[i];
+			}
+			startpoint = sdvpoint;
+			draw();
+		};
+
+		stopdrag = function () {
+			$(this).off('mousemove');
+			record();
+			activePoint = null;
+		};
+
+		rightclick = function (e) {
+			e.preventDefault();
+			if (!e.offsetX) {
+				e.offsetX = (e.pageX - $(e.target).offset().left);
+				e.offsetY = (e.pageY - $(e.target).offset().top);
+			}
+			var x = e.offsetX, y = e.offsetY;
+			for (var i = 0; i < points.length; i += 2) {
+				dis = Math.sqrt(Math.pow(x - points[i], 2) + Math.pow(y - points[i + 1], 2));
+				if (dis < 6) {
+					points.splice(i, 2);
+					draw();
+					record();
+					return false;
+				}
+			}
+			return false;
+		};
+
+		mousedown = function (e) {
+			var x, y, dis, lineDis, insertAt = points.length;
+
+			if (e.which === 3) {
+				return false;
+			}
+
+			e.preventDefault();
+			if (!e.offsetX) {
+				e.offsetX = (e.pageX - $(e.target).offset().left);
+				e.offsetY = (e.pageY - $(e.target).offset().top);
+			}
+			x = e.offsetX;
+			y = e.offsetY;
+
+			if (points.length >= 6) {
+				var c = getCenter();
+				ctx.fillRect(c.x - 4, c.y - 4, 8, 8);
+				dis = Math.sqrt(Math.pow(x - c.x, 2) + Math.pow(y - c.y, 2));
+				if (dis < 6) {
+					startpoint = false;
+					$(this).on('mousemove', moveall);
+					return false;
+				}
+			}
+
+			for (var i = 0; i < points.length; i += 2) {
+				dis = Math.sqrt(Math.pow(x - points[i], 2) + Math.pow(y - points[i + 1], 2));
+				if (dis < 6) {
+					activePoint = i;
+					$(this).on('mousemove', move);
+					return false;
+				}
+			}
+
+			for (var i = 0; i < points.length; i += 2) {
+				if (i > 1) {
+					lineDis = dotLineLength(
+						x, y,
+						points[i], points[i + 1],
+						points[i - 2], points[i - 1],
+						true
+					);
+					if (lineDis < 6) {
+						insertAt = i;
+					}
+				}
+			}
+
+			points.splice(insertAt, 0, Math.round(x), Math.round(y));
+			activePoint = insertAt;
+			$(this).on('mousemove', move);
+
+			draw();
+			record();
+
+			return false;
+		};
+
+		draw = function () {
+			ctx.canvas.width = ctx.canvas.width;
+
+			record();
+			if (points.length < 2) {
+				return;
+			}
+			ctx.globalCompositeOperation = 'destination-over';
+			ctx.fillStyle = 'rgb(255,255,255)';
+			ctx.strokeStyle = 'rgb(255,20,20)';
+			ctx.lineWidth = 1;
+			if (points.length >= 6) {
+				var c = getCenter();
+				ctx.fillRect(c.x - 4, c.y - 4, 8, 8);
+			}
+			ctx.beginPath();
+			ctx.moveTo(points[0], points[1]);
+			for (var i = 0; i < points.length; i += 2) {
+				ctx.fillRect(points[i] - 2, points[i + 1] - 2, 4, 4);
+				ctx.strokeRect(points[i] - 2, points[i + 1] - 2, 4, 4);
+				if (points.length > 2 && i > 1) {
+					ctx.lineTo(points[i], points[i + 1]);
+				}
+			}
+			ctx.closePath();
+			ctx.fillStyle = 'rgba(255,0,0,0.3)';
+			ctx.fill();
+			ctx.stroke();
+
+		};
+
+		record = function () {
+			$(input).val(points.join(','));
+		};
+
+		getCenter = function () {
+			var ptc = [];
+			for (i = 0; i < points.length; i++) {
+				ptc.push({x: points[i], y: points[++i]});
+			}
+			var first = ptc[0], last = ptc[ptc.length - 1];
+			if (first.x != last.x || first.y != last.y) ptc.push(first);
+			var twicearea = 0,
+				x = 0, y = 0,
+				nptc = ptc.length,
+				p1, p2, f;
+			for (var i = 0, j = nptc - 1; i < nptc; j = i++) {
+				p1 = ptc[i];
+				p2 = ptc[j];
+				f = p1.x * p2.y - p2.x * p1.y;
+				twicearea += f;
+				x += ( p1.x + p2.x ) * f;
+				y += ( p1.y + p2.y ) * f;
+			}
+			f = twicearea * 3;
+			return {x: x / f, y: y / f};
+		};
+
+		$(input).on('change', function () {
+			var v = $(input).val().replace(/[^0-9\,]/ig, '');
+			if (v.length) {
+				points = v.split(',').map(function (point) {
+					return parseInt(point, 10);
+				});
+			} else {
+				points = [];
+			}
+			draw();
+		});
+
+		$(document).find($reset).click(reset);
+		$(document).find($canvas).on('mousedown', mousedown);
+		$(document).find($canvas).on('contextmenu', rightclick);
+		$(document).find($canvas).on('mouseup', stopdrag);
+
+	};
+
+	$(document).ready(function () {
+		$('.canvas-area[data-image-url]').canvasAreaDraw();
+	});
+
+	var dotLineLength = function (x, y, x0, y0, x1, y1, o) {
+		function lineLength(x, y, x0, y0) {
+			return Math.sqrt((x -= x0) * x + (y -= y0) * y);
+		}
+
+		if (o && !(o = function (x, y, x0, y0, x1, y1) {
+				if (!(x1 - x0)) return {x: x0, y: y};
+				else if (!(y1 - y0)) return {x: x, y: y0};
+				var left, tg = -1 / ((y1 - y0) / (x1 - x0));
+				return {
+					x: left = (x1 * (x * tg - y + y0) + x0 * (x * -tg + y - y1)) / (tg * (x1 - x0) + y0 - y1),
+					y: tg * left - tg * x + y
+				};
+			}(x, y, x0, y0, x1, y1), o.x >= Math.min(x0, x1) && o.x <= Math.max(x0, x1) && o.y >= Math.min(y0, y1) && o.y <= Math.max(y0, y1))) {
+			var l1 = lineLength(x, y, x0, y0), l2 = lineLength(x, y, x1, y1);
+			return l1 > l2 ? l2 : l1;
+		}
+		else {
+			var a = y0 - y1, b = x1 - x0, c = x0 * y1 - y0 * x1;
+			return Math.abs(a * x + b * y + c) / Math.sqrt(a * a + b * b);
+		}
+	};
+})(jQuery);
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/zmi/resources/js/jquery-canvasAreaDraw.min.js	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,1 @@
+!function(t){t.fn.canvasAreaDraw=function(t){this.each(function(n,f){e.apply(f,[n,f,t])})};var e=function(e,f,a){var o,r,i,s,u,h,l,c,g,p,d,v,m,y,x,M,X=!1;i=t.extend({imageUrl:t(this).attr("data-image-url")},a);var w=t(f).val().replace(/[^0-9\,]/gi,"");o=w.length?w.split(",").map(function(t){return parseInt(t,10)}):[],s=t('<i class="fa fa-fw fa-trash"></i>'),u=t("<canvas>"),h=u[0].getContext("2d"),l=new Image,m=function(){u.attr("height",l.height).attr("width",l.width),c()},t(l).load(m),l.src=i.imageUrl,l.loaded&&m(),u.css({background:"url("+l.src+")"}),"hidden"!==f.type&&t(f).after("<br />"),t(f).after(u,"<br />",s),y=function(){o=[],c()},d=function(e){e.offsetX||(e.offsetX=e.pageX-t(e.target).offset().left,e.offsetY=e.pageY-t(e.target).offset().top),o[r]=Math.round(e.offsetX),o[r+1]=Math.round(e.offsetY),c()},v=function(e){e.offsetX||(e.offsetX=e.pageX-t(e.target).offset().left,e.offsetY=e.pageY-t(e.target).offset().top),X||(X={x:Math.round(e.offsetX),y:Math.round(e.offsetY)});for(var n={x:Math.round(e.offsetX),y:Math.round(e.offsetY)},f=0;f<o.length;f++)o[f]=n.x-X.x+o[f],o[++f]=n.y-X.y+o[f];X=n,c()},p=function(){t(this).off("mousemove"),M(),r=null},x=function(e){e.preventDefault(),e.offsetX||(e.offsetX=e.pageX-t(e.target).offset().left,e.offsetY=e.pageY-t(e.target).offset().top);for(var n=e.offsetX,f=e.offsetY,a=0;a<o.length;a+=2)if(dis=Math.sqrt(Math.pow(n-o[a],2)+Math.pow(f-o[a+1],2)),dis<6)return o.splice(a,2),c(),M(),!1;return!1},g=function(e){var f,a,i=o.length;if(3===e.which)return!1;if(e.preventDefault(),e.offsetX||(e.offsetX=e.pageX-t(e.target).offset().left,e.offsetY=e.pageY-t(e.target).offset().top),f=e.offsetX,a=e.offsetY,o.length>=6){var s=getCenter();if(h.fillRect(s.x-4,s.y-4,8,8),Math.sqrt(Math.pow(f-s.x,2)+Math.pow(a-s.y,2))<6)return X=!1,t(this).on("mousemove",v),!1}for(u=0;u<o.length;u+=2)if(Math.sqrt(Math.pow(f-o[u],2)+Math.pow(a-o[u+1],2))<6)return r=u,t(this).on("mousemove",d),!1;for(var u=0;u<o.length;u+=2)u>1&&n(f,a,o[u],o[u+1],o[u-2],o[u-1],!0)<6&&(i=u);return o.splice(i,0,Math.round(f),Math.round(a)),r=i,t(this).on("mousemove",d),c(),M(),!1},c=function(){if(h.canvas.width=h.canvas.width,M(),!(o.length<2)){if(h.globalCompositeOperation="destination-over",h.fillStyle="rgb(255,255,255)",h.strokeStyle="rgb(255,20,20)",h.lineWidth=1,o.length>=6){var t=getCenter();h.fillRect(t.x-4,t.y-4,8,8)}h.beginPath(),h.moveTo(o[0],o[1]);for(var e=0;e<o.length;e+=2)h.fillRect(o[e]-2,o[e+1]-2,4,4),h.strokeRect(o[e]-2,o[e+1]-2,4,4),o.length>2&&e>1&&h.lineTo(o[e],o[e+1]);h.closePath(),h.fillStyle="rgba(255,0,0,0.3)",h.fill(),h.stroke()}},M=function(){t(f).val(o.join(","))},getCenter=function(){var t=[];for(l=0;l<o.length;l++)t.push({x:o[l],y:o[++l]});var e=t[0],n=t[t.length-1];e.x==n.x&&e.y==n.y||t.push(e);for(var f,a,r,i=0,s=0,u=0,h=t.length,l=0,c=h-1;l<h;c=l++)f=t[l],a=t[c],i+=r=f.x*a.y-a.x*f.y,s+=(f.x+a.x)*r,u+=(f.y+a.y)*r;return r=3*i,{x:s/r,y:u/r}},t(f).on("change",function(){var e=t(f).val().replace(/[^0-9\,]/gi,"");o=e.length?e.split(",").map(function(t){return parseInt(t,10)}):[],c()}),t(document).find(s).click(y),t(document).find(u).on("mousedown",g),t(document).find(u).on("contextmenu",x),t(document).find(u).on("mouseup",p)};t(document).ready(function(){t(".canvas-area[data-image-url]").canvasAreaDraw()});var n=function(t,e,n,f,a,o,r){function i(t,e,n,f){return Math.sqrt((t-=n)*t+(e-=f)*e)}if(!r||(r=function(t,e,n,f,a,o){if(!(a-n))return{x:n,y:e};if(!(o-f))return{x:t,y:f};var r,i=-1/((o-f)/(a-n));return{x:r=(a*(t*i-e+f)+n*(t*-i+e-o))/(i*(a-n)+f-o),y:i*r-i*t+e}}(t,e,n,f,a,o)).x>=Math.min(n,a)&&r.x<=Math.max(n,a)&&r.y>=Math.min(f,o)&&r.y<=Math.max(f,o)){var s=f-o,u=a-n,h=n*o-f*a;return Math.abs(s*t+u*e+h)/Math.sqrt(s*s+u*u)}var l=i(t,e,n,f),c=i(t,e,a,o);return l>c?c:l}}(jQuery);
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/zmi/resources/js/jquery-imagemapster-1.2.10.js	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,4668 @@
+/* ImageMapster
+   Version: 1.2.10 (2/25/2013)
+
+Copyright 2011-2012 James Treworgy
+
+http://www.outsharked.com/imagemapster
+https://github.com/jamietre/ImageMapster
+
+A jQuery plugin to enhance image maps.
+
+*/
+
+;
+
+/// LICENSE (MIT License)
+///
+/// Permission is hereby granted, free of charge, to any person obtaining
+/// a copy of this software and associated documentation files (the
+/// "Software"), to deal in the Software without restriction, including
+/// without limitation the rights to use, copy, modify, merge, publish,
+/// distribute, sublicense, and/or sell copies of the Software, and to
+/// permit persons to whom the Software is furnished to do so, subject to
+/// the following conditions:
+///
+/// The above copyright notice and this permission notice shall be
+/// included in all copies or substantial portions of the Software.
+///
+/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+/// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+/// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+/// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+/// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+/// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+/// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+///
+/// January 19, 2011
+
+/** @license MIT License (c) copyright B Cavalier & J Hann */
+
+/**
+* when
+* A lightweight CommonJS Promises/A and when() implementation
+*
+* when is part of the cujo.js family of libraries (http://cujojs.com/)
+*
+* Licensed under the MIT License at:
+* http://www.opensource.org/licenses/mit-license.php
+*
+* @version 1.2.0
+*/
+
+/*lint-ignore-start*/
+
+(function (define) {
+    define(function () {
+        var freeze, reduceArray, slice, undef;
+
+        //
+        // Public API
+        //
+
+        when.defer = defer;
+        when.reject = reject;
+        when.isPromise = isPromise;
+
+        when.all = all;
+        when.some = some;
+        when.any = any;
+
+        when.map = map;
+        when.reduce = reduce;
+
+        when.chain = chain;
+
+        /** Object.freeze */
+        freeze = Object.freeze || function (o) { return o; };
+
+        /**
+        * Trusted Promise constructor.  A Promise created from this constructor is
+        * a trusted when.js promise.  Any other duck-typed promise is considered
+        * untrusted.
+        *
+        * @constructor
+        */
+        function Promise() { }
+
+        Promise.prototype = freeze({
+            always: function (alwaysback, progback) {
+                return this.then(alwaysback, alwaysback, progback);
+            },
+
+            otherwise: function (errback) {
+                return this.then(undef, errback);
+            }
+        });
+
+        /**
+        * Create an already-resolved promise for the supplied value
+        * @private
+        *
+        * @param value anything
+        * @return {Promise}
+        */
+        function resolved(value) {
+
+            var p = new Promise();
+
+            p.then = function (callback) {
+                var nextValue;
+                try {
+                    if (callback) nextValue = callback(value);
+                    return promise(nextValue === undef ? value : nextValue);
+                } catch (e) {
+                    return rejected(e);
+                }
+            };
+
+            return freeze(p);
+        }
+
+        /**
+        * Create an already-rejected {@link Promise} with the supplied
+        * rejection reason.
+        * @private
+        *
+        * @param reason rejection reason
+        * @return {Promise}
+        */
+        function rejected(reason) {
+
+            var p = new Promise();
+
+            p.then = function (callback, errback) {
+                var nextValue;
+                try {
+                    if (errback) {
+                        nextValue = errback(reason);
+                        return promise(nextValue === undef ? reason : nextValue)
+                    }
+
+                    return rejected(reason);
+
+                } catch (e) {
+                    return rejected(e);
+                }
+            };
+
+            return freeze(p);
+        }
+
+        /**
+        * Returns a rejected promise for the supplied promiseOrValue. If
+        * promiseOrValue is a value, it will be the rejection value of the
+        * returned promise.  If promiseOrValue is a promise, its
+        * completion value will be the rejected value of the returned promise
+        *
+        * @param promiseOrValue {*} the rejected value of the returned {@link Promise}
+        *
+        * @return {Promise} rejected {@link Promise}
+        */
+        function reject(promiseOrValue) {
+            return when(promiseOrValue, function (value) {
+                return rejected(value);
+            });
+        }
+
+        /**
+        * Creates a new, CommonJS compliant, Deferred with fully isolated
+        * resolver and promise parts, either or both of which may be given out
+        * safely to consumers.
+        * The Deferred itself has the full API: resolve, reject, progress, and
+        * then. The resolver has resolve, reject, and progress.  The promise
+        * only has then.
+        *
+        * @memberOf when
+        * @function
+        *
+        * @returns {Deferred}
+        */
+        function defer() {
+            var deferred, promise, listeners, progressHandlers, _then, _progress, complete;
+
+            listeners = [];
+            progressHandlers = [];
+
+            /**
+            * Pre-resolution then() that adds the supplied callback, errback, and progback
+            * functions to the registered listeners
+            *
+            * @private
+            *
+            * @param [callback] {Function} resolution handler
+            * @param [errback] {Function} rejection handler
+            * @param [progback] {Function} progress handler
+            *
+            * @throws {Error} if any argument is not null, undefined, or a Function
+            */
+            _then = function unresolvedThen(callback, errback, progback) {
+                var deferred = defer();
+
+                listeners.push(function (promise) {
+                    promise.then(callback, errback)
+					.then(deferred.resolve, deferred.reject, deferred.progress);
+                });
+
+                progback && progressHandlers.push(progback);
+
+                return deferred.promise;
+            };
+
+            /**
+            * Registers a handler for this {@link Deferred}'s {@link Promise}.  Even though all arguments
+            * are optional, each argument that *is* supplied must be null, undefined, or a Function.
+            * Any other value will cause an Error to be thrown.
+            *
+            * @memberOf Promise
+            *
+            * @param [callback] {Function} resolution handler
+            * @param [errback] {Function} rejection handler
+            * @param [progback] {Function} progress handler
+            *
+            * @throws {Error} if any argument is not null, undefined, or a Function
+            */
+            function then(callback, errback, progback) {
+                return _then(callback, errback, progback);
+            }
+
+            /**
+            * Resolves this {@link Deferred}'s {@link Promise} with val as the
+            * resolution value.
+            *
+            * @memberOf Resolver
+            *
+            * @param val anything
+            */
+            function resolve(val) {
+                complete(resolved(val));
+            }
+
+            /**
+            * Rejects this {@link Deferred}'s {@link Promise} with err as the
+            * reason.
+            *
+            * @memberOf Resolver
+            *
+            * @param err anything
+            */
+            function reject(err) {
+                complete(rejected(err));
+            }
+
+            /**
+            * @private
+            * @param update
+            */
+            _progress = function (update) {
+                var progress, i = 0;
+                while (progress = progressHandlers[i++]) progress(update);
+            };
+
+            /**
+            * Emits a progress update to all progress observers registered with
+            * this {@link Deferred}'s {@link Promise}
+            *
+            * @memberOf Resolver
+            *
+            * @param update anything
+            */
+            function progress(update) {
+                _progress(update);
+            }
+
+            /**
+            * Transition from pre-resolution state to post-resolution state, notifying
+            * all listeners of the resolution or rejection
+            *
+            * @private
+            *
+            * @param completed {Promise} the completed value of this deferred
+            */
+            complete = function (completed) {
+                var listener, i = 0;
+
+                // Replace _then with one that directly notifies with the result.
+                _then = completed.then;
+
+                // Replace complete so that this Deferred can only be completed
+                // once. Also Replace _progress, so that subsequent attempts to issue
+                // progress throw.
+                complete = _progress = function alreadyCompleted() {
+                    // TODO: Consider silently returning here so that parties who
+                    // have a reference to the resolver cannot tell that the promise
+                    // has been resolved using try/catch
+                    throw new Error("already completed");
+                };
+
+                // Free progressHandlers array since we'll never issue progress events
+                // for this promise again now that it's completed
+                progressHandlers = undef;
+
+                // Notify listeners
+                // Traverse all listeners registered directly with this Deferred
+
+                while (listener = listeners[i++]) {
+                    listener(completed);
+                }
+
+                listeners = [];
+            };
+
+            /**
+            * The full Deferred object, with both {@link Promise} and {@link Resolver}
+            * parts
+            * @class Deferred
+            * @name Deferred
+            */
+            deferred = {};
+
+            // Promise and Resolver parts
+            // Freeze Promise and Resolver APIs
+
+            promise = new Promise();
+            promise.then = deferred.then = then;
+
+            /**
+            * The {@link Promise} for this {@link Deferred}
+            * @memberOf Deferred
+            * @name promise
+            * @type {Promise}
+            */
+            deferred.promise = freeze(promise);
+
+            /**
+            * The {@link Resolver} for this {@link Deferred}
+            * @memberOf Deferred
+            * @name resolver
+            * @class Resolver
+            */
+            deferred.resolver = freeze({
+                resolve: (deferred.resolve = resolve),
+                reject: (deferred.reject = reject),
+                progress: (deferred.progress = progress)
+            });
+
+            return deferred;
+        }
+
+        /**
+        * Determines if promiseOrValue is a promise or not.  Uses the feature
+        * test from http://wiki.commonjs.org/wiki/Promises/A to determine if
+        * promiseOrValue is a promise.
+        *
+        * @param promiseOrValue anything
+        *
+        * @returns {Boolean} true if promiseOrValue is a {@link Promise}
+        */
+        function isPromise(promiseOrValue) {
+            return promiseOrValue && typeof promiseOrValue.then === 'function';
+        }
+
+        /**
+        * Register an observer for a promise or immediate value.
+        *
+        * @function
+        * @name when
+        * @namespace
+        *
+        * @param promiseOrValue anything
+        * @param {Function} [callback] callback to be called when promiseOrValue is
+        *   successfully resolved.  If promiseOrValue is an immediate value, callback
+        *   will be invoked immediately.
+        * @param {Function} [errback] callback to be called when promiseOrValue is
+        *   rejected.
+        * @param {Function} [progressHandler] callback to be called when progress updates
+        *   are issued for promiseOrValue.
+        *
+        * @returns {Promise} a new {@link Promise} that will complete with the return
+        *   value of callback or errback or the completion value of promiseOrValue if
+        *   callback and/or errback is not supplied.
+        */
+        function when(promiseOrValue, callback, errback, progressHandler) {
+            // Get a promise for the input promiseOrValue
+            // See promise()
+            var trustedPromise = promise(promiseOrValue);
+
+            // Register promise handlers
+            return trustedPromise.then(callback, errback, progressHandler);
+        }
+
+        /**
+        * Returns promiseOrValue if promiseOrValue is a {@link Promise}, a new Promise if
+        * promiseOrValue is a foreign promise, or a new, already-resolved {@link Promise}
+        * whose resolution value is promiseOrValue if promiseOrValue is an immediate value.
+        *
+        * Note that this function is not safe to export since it will return its
+        * input when promiseOrValue is a {@link Promise}
+        *
+        * @private
+        *
+        * @param promiseOrValue anything
+        *
+        * @returns Guaranteed to return a trusted Promise.  If promiseOrValue is a when.js {@link Promise}
+        *   returns promiseOrValue, otherwise, returns a new, already-resolved, when.js {@link Promise}
+        *   whose resolution value is:
+        *   * the resolution value of promiseOrValue if it's a foreign promise, or
+        *   * promiseOrValue if it's a value
+        */
+        function promise(promiseOrValue) {
+            var promise, deferred;
+
+            if (promiseOrValue instanceof Promise) {
+                // It's a when.js promise, so we trust it
+                promise = promiseOrValue;
+
+            } else {
+                // It's not a when.js promise.  Check to see if it's a foreign promise
+                // or a value.
+
+                deferred = defer();
+                if (isPromise(promiseOrValue)) {
+                    // It's a compliant promise, but we don't know where it came from,
+                    // so we don't trust its implementation entirely.  Introduce a trusted
+                    // middleman when.js promise
+
+                    // IMPORTANT: This is the only place when.js should ever call .then() on
+                    // an untrusted promise.
+                    promiseOrValue.then(deferred.resolve, deferred.reject, deferred.progress);
+                    promise = deferred.promise;
+
+                } else {
+                    // It's a value, not a promise.  Create an already-resolved promise
+                    // for it.
+                    deferred.resolve(promiseOrValue);
+                    promise = deferred.promise;
+                }
+            }
+
+            return promise;
+        }
+
+        /**
+        * Return a promise that will resolve when howMany of the supplied promisesOrValues
+        * have resolved. The resolution value of the returned promise will be an array of
+        * length howMany containing the resolutions values of the triggering promisesOrValues.
+        *
+        * @memberOf when
+        *
+        * @param promisesOrValues {Array} array of anything, may contain a mix
+        *      of {@link Promise}s and values
+        * @param howMany
+        * @param [callback]
+        * @param [errback]
+        * @param [progressHandler]
+        *
+        * @returns {Promise}
+        */
+        function some(promisesOrValues, howMany, callback, errback, progressHandler) {
+
+            checkCallbacks(2, arguments);
+
+            return when(promisesOrValues, function (promisesOrValues) {
+
+                var toResolve, results, ret, deferred, resolver, rejecter, handleProgress, len, i;
+
+                len = promisesOrValues.length >>> 0;
+
+                toResolve = Math.max(0, Math.min(howMany, len));
+                results = [];
+                deferred = defer();
+                ret = when(deferred, callback, errback, progressHandler);
+
+                // Wrapper so that resolver can be replaced
+                function resolve(val) {
+                    resolver(val);
+                }
+
+                // Wrapper so that rejecter can be replaced
+                function reject(err) {
+                    rejecter(err);
+                }
+
+                // Wrapper so that progress can be replaced
+                function progress(update) {
+                    handleProgress(update);
+                }
+
+                function complete() {
+                    resolver = rejecter = handleProgress = noop;
+                }
+
+                // No items in the input, resolve immediately
+                if (!toResolve) {
+                    deferred.resolve(results);
+
+                } else {
+                    // Resolver for promises.  Captures the value and resolves
+                    // the returned promise when toResolve reaches zero.
+                    // Overwrites resolver var with a noop once promise has
+                    // be resolved to cover case where n < promises.length
+                    resolver = function (val) {
+                        // This orders the values based on promise resolution order
+                        // Another strategy would be to use the original position of
+                        // the corresponding promise.
+                        results.push(val);
+
+                        if (! --toResolve) {
+                            complete();
+                            deferred.resolve(results);
+                        }
+                    };
+
+                    // Rejecter for promises.  Rejects returned promise
+                    // immediately, and overwrites rejecter var with a noop
+                    // once promise to cover case where n < promises.length.
+                    // TODO: Consider rejecting only when N (or promises.length - N?)
+                    // promises have been rejected instead of only one?
+                    rejecter = function (err) {
+                        complete();
+                        deferred.reject(err);
+                    };
+
+                    handleProgress = deferred.progress;
+
+                    // TODO: Replace while with forEach
+                    for (i = 0; i < len; ++i) {
+                        if (i in promisesOrValues) {
+                            when(promisesOrValues[i], resolve, reject, progress);
+                        }
+                    }
+                }
+
+                return ret;
+            });
+        }
+
+        /**
+        * Return a promise that will resolve only once all the supplied promisesOrValues
+        * have resolved. The resolution value of the returned promise will be an array
+        * containing the resolution values of each of the promisesOrValues.
+        *
+        * @memberOf when
+        *
+        * @param promisesOrValues {Array|Promise} array of anything, may contain a mix
+        *      of {@link Promise}s and values
+        * @param [callback] {Function}
+        * @param [errback] {Function}
+        * @param [progressHandler] {Function}
+        *
+        * @returns {Promise}
+        */
+        function all(promisesOrValues, callback, errback, progressHandler) {
+
+            checkCallbacks(1, arguments);
+
+            return when(promisesOrValues, function (promisesOrValues) {
+                return _reduce(promisesOrValues, reduceIntoArray, []);
+            }).then(callback, errback, progressHandler);
+        }
+
+        function reduceIntoArray(current, val, i) {
+            current[i] = val;
+            return current;
+        }
+
+        /**
+        * Return a promise that will resolve when any one of the supplied promisesOrValues
+        * has resolved. The resolution value of the returned promise will be the resolution
+        * value of the triggering promiseOrValue.
+        *
+        * @memberOf when
+        *
+        * @param promisesOrValues {Array|Promise} array of anything, may contain a mix
+        *      of {@link Promise}s and values
+        * @param [callback] {Function}
+        * @param [errback] {Function}
+        * @param [progressHandler] {Function}
+        *
+        * @returns {Promise}
+        */
+        function any(promisesOrValues, callback, errback, progressHandler) {
+
+            function unwrapSingleResult(val) {
+                return callback ? callback(val[0]) : val[0];
+            }
+
+            return some(promisesOrValues, 1, unwrapSingleResult, errback, progressHandler);
+        }
+
+        /**
+        * Traditional map function, similar to `Array.prototype.map()`, but allows
+        * input to contain {@link Promise}s and/or values, and mapFunc may return
+        * either a value or a {@link Promise}
+        *
+        * @memberOf when
+        *
+        * @param promise {Array|Promise} array of anything, may contain a mix
+        *      of {@link Promise}s and values
+        * @param mapFunc {Function} mapping function mapFunc(value) which may return
+        *      either a {@link Promise} or value
+        *
+        * @returns {Promise} a {@link Promise} that will resolve to an array containing
+        *      the mapped output values.
+        */
+        function map(promise, mapFunc) {
+            return when(promise, function (array) {
+                return _map(array, mapFunc);
+            });
+        }
+
+        /**
+        * Private map helper to map an array of promises
+        * @private
+        *
+        * @param promisesOrValues {Array}
+        * @param mapFunc {Function}
+        * @return {Promise}
+        */
+        function _map(promisesOrValues, mapFunc) {
+
+            var results, len, i;
+
+            // Since we know the resulting length, we can preallocate the results
+            // array to avoid array expansions.
+            len = promisesOrValues.length >>> 0;
+            results = new Array(len);
+
+            // Since mapFunc may be async, get all invocations of it into flight
+            // asap, and then use reduce() to collect all the results
+            for (i = 0; i < len; i++) {
+                if (i in promisesOrValues)
+                    results[i] = when(promisesOrValues[i], mapFunc);
+            }
+
+            // Could use all() here, but that would result in another array
+            // being allocated, i.e. map() would end up allocating 2 arrays
+            // of size len instead of just 1.  Since all() uses reduce()
+            // anyway, avoid the additional allocation by calling reduce
+            // directly.
+            return _reduce(results, reduceIntoArray, results);
+        }
+
+        /**
+        * Traditional reduce function, similar to `Array.prototype.reduce()`, but
+        * input may contain {@link Promise}s and/or values, and reduceFunc
+        * may return either a value or a {@link Promise}, *and* initialValue may
+        * be a {@link Promise} for the starting value.
+        *
+        * @memberOf when
+        *
+        * @param promise {Array|Promise} array of anything, may contain a mix
+        *      of {@link Promise}s and values.  May also be a {@link Promise} for
+        *      an array.
+        * @param reduceFunc {Function} reduce function reduce(currentValue, nextValue, index, total),
+        *      where total is the total number of items being reduced, and will be the same
+        *      in each call to reduceFunc.
+        * @param initialValue starting value, or a {@link Promise} for the starting value
+        *
+        * @returns {Promise} that will resolve to the final reduced value
+        */
+        function reduce(promise, reduceFunc, initialValue) {
+            var args = slice.call(arguments, 1);
+            return when(promise, function (array) {
+                return _reduce.apply(undef, [array].concat(args));
+            });
+        }
+
+        /**
+        * Private reduce to reduce an array of promises
+        * @private
+        *
+        * @param promisesOrValues {Array}
+        * @param reduceFunc {Function}
+        * @param initialValue {*}
+        * @return {Promise}
+        */
+        function _reduce(promisesOrValues, reduceFunc, initialValue) {
+
+            var total, args;
+
+            total = promisesOrValues.length;
+
+            // Skip promisesOrValues, since it will be used as 'this' in the call
+            // to the actual reduce engine below.
+
+            // Wrap the supplied reduceFunc with one that handles promises and then
+            // delegates to the supplied.
+
+            args = [
+			function (current, val, i) {
+			    return when(current, function (c) {
+			        return when(val, function (value) {
+			            return reduceFunc(c, value, i, total);
+			        });
+			    });
+			}
+		];
+
+            if (arguments.length > 2) args.push(initialValue);
+
+            return reduceArray.apply(promisesOrValues, args);
+        }
+
+        /**
+        * Ensure that resolution of promiseOrValue will complete resolver with the completion
+        * value of promiseOrValue, or instead with resolveValue if it is provided.
+        *
+        * @memberOf when
+        *
+        * @param promiseOrValue
+        * @param resolver {Resolver}
+        * @param [resolveValue] anything
+        *
+        * @returns {Promise}
+        */
+        function chain(promiseOrValue, resolver, resolveValue) {
+            var useResolveValue = arguments.length > 2;
+
+            return when(promiseOrValue,
+			function (val) {
+			    if (useResolveValue) val = resolveValue;
+			    resolver.resolve(val);
+			    return val;
+			},
+			function (e) {
+			    resolver.reject(e);
+			    return rejected(e);
+			},
+			resolver.progress
+		);
+        }
+
+        //
+        // Utility functions
+        //
+
+        /**
+        * Helper that checks arrayOfCallbacks to ensure that each element is either
+        * a function, or null or undefined.
+        *
+        * @private
+        *
+        * @param arrayOfCallbacks {Array} array to check
+        * @throws {Error} if any element of arrayOfCallbacks is something other than
+        * a Functions, null, or undefined.
+        */
+        function checkCallbacks(start, arrayOfCallbacks) {
+            var arg, i = arrayOfCallbacks.length;
+            while (i > start) {
+                arg = arrayOfCallbacks[--i];
+                if (arg != null && typeof arg != 'function') throw new Error('callback is not a function');
+            }
+        }
+
+        /**
+        * No-Op function used in method replacement
+        * @private
+        */
+        function noop() { }
+
+        slice = [].slice;
+
+        // ES5 reduce implementation if native not available
+        // See: http://es5.github.com/#x15.4.4.21 as there are many
+        // specifics and edge cases.
+        reduceArray = [].reduce ||
+		function (reduceFunc /*, initialValue */) {
+		    // ES5 dictates that reduce.length === 1
+
+		    // This implementation deviates from ES5 spec in the following ways:
+		    // 1. It does not check if reduceFunc is a Callable
+
+		    var arr, args, reduced, len, i;
+
+		    i = 0;
+		    arr = Object(this);
+		    len = arr.length >>> 0;
+		    args = arguments;
+
+		    // If no initialValue, use first item of array (we know length !== 0 here)
+		    // and adjust i to start at second item
+		    if (args.length <= 1) {
+		        // Skip to the first real element in the array
+		        for (; ; ) {
+		            if (i in arr) {
+		                reduced = arr[i++];
+		                break;
+		            }
+
+		            // If we reached the end of the array without finding any real
+		            // elements, it's a TypeError
+		            if (++i >= len) {
+		                throw new TypeError();
+		            }
+		        }
+		    } else {
+		        // If initialValue provided, use it
+		        reduced = args[1];
+		    }
+
+		    // Do the actual reduce
+		    for (; i < len; ++i) {
+		        // Skip holes
+		        if (i in arr)
+		            reduced = reduceFunc(reduced, arr[i], i, arr);
+		    }
+
+		    return reduced;
+		};
+
+        return when;
+    });
+})(typeof define == 'function'
+	? define
+	: function (factory) {
+	    typeof module != 'undefined'
+		? (module.exports = factory())
+		: (jQuery.mapster_when = factory());
+	}
+// Boilerplate for AMD, Node, and browser global
+);
+/*lint-ignore-end*/
+/* ImageMapster core */
+
+/*jslint laxbreak: true, evil: true, unparam: true */
+
+/*global jQuery: true, Zepto: true */
+
+
+(function ($) {
+    // all public functions in $.mapster.impl are methods
+    $.fn.mapster = function (method) {
+        var m = $.mapster.impl;
+        if ($.isFunction(m[method])) {
+            return m[method].apply(this, Array.prototype.slice.call(arguments, 1));
+        } else if (typeof method === 'object' || !method) {
+            return m.bind.apply(this, arguments);
+        } else {
+            $.error('Method ' + method + ' does not exist on jQuery.mapster');
+        }
+    };
+
+    $.mapster = {
+        version: "1.2.10",
+        render_defaults: {
+            isSelectable: true,
+            isDeselectable: true,
+            fade: false,
+            fadeDuration: 150,
+            fill: true,
+            fillColor: '000000',
+            fillColorMask: 'FFFFFF',
+            fillOpacity: 0.7,
+            highlight: true,
+            stroke: false,
+            strokeColor: 'ff0000',
+            strokeOpacity: 1,
+            strokeWidth: 1,
+            includeKeys: '',
+            altImage: null,
+            altImageId: null, // used internally            
+            altImages: {} 
+        },
+        defaults: {
+            clickNavigate: false,
+            wrapClass: null,
+            wrapCss: null,
+            onGetList: null,
+            sortList: false,
+            listenToList: false,
+            mapKey: '',
+            mapValue: '',
+            singleSelect: false,
+            listKey: 'value',
+            listSelectedAttribute: 'selected',
+            listSelectedClass: null,
+            onClick: null,
+            onMouseover: null,
+            onMouseout: null,
+            mouseoutDelay: 0,
+            onStateChange: null,
+            boundList: null,
+            onConfigured: null,
+            configTimeout: 30000,
+            noHrefIsMask: true,
+            scaleMap: true,
+            safeLoad: false,
+            areas: []
+        },
+        shared_defaults: {
+            render_highlight: { fade: true },
+            render_select: { fade: false },
+            staticState: null,
+            selected: null
+        },
+        area_defaults:
+        {
+            includeKeys: '',
+            isMask: false
+        },
+        canvas_style: {
+            position: 'absolute',
+            left: 0,
+            top: 0,
+            padding: 0,
+            border: 0
+        },
+        hasCanvas: null,
+        isTouch: null,
+        map_cache: [],
+        hooks: {},
+        addHook: function(name,callback) {
+            this.hooks[name]=(this.hooks[name]||[]).push(callback);
+        },
+        callHooks: function(name,context) {
+            $.each(this.hooks[name]||[],function(i,e) {
+                e.apply(context);
+            });
+        },
+        utils: {
+            when: $.mapster_when,
+            defer: $.mapster_when.defer,
+
+            // extends the constructor, returns a new object prototype. Does not refer to the
+            // original constructor so is protected if the original object is altered. This way you
+            // can "extend" an object by replacing it with its subclass.
+            subclass: function(BaseClass, constr) {
+                var Subclass=function() {
+                    var me=this, 
+                        args=Array.prototype.slice.call(arguments,0);
+                    me.base = BaseClass.prototype;
+                    me.base.init = function() {
+                        BaseClass.prototype.constructor.apply(me,args);
+                    };
+                    constr.apply(me,args);
+                };
+                Subclass.prototype = new BaseClass();
+                Subclass.prototype.constructor=Subclass;
+                return Subclass;
+            },
+            asArray: function (obj) {
+                return obj.constructor === Array ?
+                    obj : this.split(obj);
+            },
+            // clean split: no padding or empty elements
+            split: function (text,cb) {
+                var i,el, arr = text.split(',');
+                for (i = 0; i < arr.length; i++) {
+                    el = $.trim(arr[i]);
+                    if (el==='') {
+                        arr.splice(i,1);
+                    } else {
+                        arr[i] = cb ? cb(el):el;
+                    }
+                }
+                return arr;
+            },
+            // similar to $.extend but does not add properties (only updates), unless the
+            // first argument is an empty object, then all properties will be copied
+            updateProps: function (_target, _template) {
+                var onlyProps,
+                    target = _target || {},
+                    template = $.isEmptyObject(target) ? _template : _target;
+
+                //if (template) {
+                onlyProps = [];
+                $.each(template, function (prop) {
+                    onlyProps.push(prop);
+                });
+                //}
+
+                $.each(Array.prototype.slice.call(arguments, 1), function (i, src) {
+                    $.each(src || {}, function (prop) {
+                        if (!onlyProps || $.inArray(prop, onlyProps) >= 0) {
+                            var p = src[prop];
+
+                            if ($.isPlainObject(p)) {
+                                // not recursive - only copies 1 level of subobjects, and always merges
+                                target[prop] = $.extend(target[prop] || {}, p);
+                            } else if (p && p.constructor === Array) {
+                                target[prop] = p.slice(0);
+                            } else if (typeof p !== 'undefined') {
+                                target[prop] = src[prop];
+                            }
+
+                        }
+                    });
+                });
+                return target;
+            },
+            isElement: function (o) {
+                return (typeof HTMLElement === "object" ? o instanceof HTMLElement :
+                        o && typeof o === "object" && o.nodeType === 1 && typeof o.nodeName === "string");
+            },
+            // finds element of array or object with a property "prop" having value "val"
+            // if prop is not defined, then just looks for property with value "val"
+            indexOfProp: function (obj, prop, val) {
+                var result = obj.constructor === Array ? -1 : null;
+                $.each(obj, function (i, e) {
+                    if (e && (prop ? e[prop] : e) === val) {
+                        result = i;
+                        return false;
+                    }
+                });
+                return result;
+            },
+            // returns "obj" if true or false, or "def" if not true/false
+            boolOrDefault: function (obj, def) {
+                return this.isBool(obj) ?
+                        obj : def || false;
+            },
+            isBool: function (obj) {
+                return typeof obj === "boolean";
+            },
+            isUndef: function(obj) {
+                return typeof obj === "undefined";
+            },
+            // evaluates "obj", if function, calls it with args
+            // (todo - update this to handle variable lenght/more than one arg)
+            ifFunction: function (obj, that, args) {
+                if ($.isFunction(obj)) {
+                    obj.call(that, args);
+                }
+            },
+            size: function(image, raw) {
+                var u=$.mapster.utils;
+                return { 
+                    width: raw ? (image.width || image.naturalWidth) : u.imgWidth(image,true) ,
+                    height: raw ? (image.height || image.naturalHeight) : u.imgHeight(image,true),
+                    complete: function() { return !!this.height && !!this.width;}
+                };
+            },
+
+                
+            /**
+             * Set the opacity of the element. This is an IE<8 specific function for handling VML.
+             * When using VML we must override the "setOpacity" utility function (monkey patch ourselves).
+             * jQuery does not deal with opacity correctly for VML elements. This deals with that.
+             * 
+             * @param {Element} el The DOM element
+             * @param {double} opacity A value between 0 and 1 inclusive.
+             */
+
+            setOpacity: function (el, opacity) {
+                if ($.mapster.hasCanvas()) {
+                    el.style.opacity = opacity;
+                } else {
+                    $(el).each(function(i,e) {
+                        if (typeof e.opacity !=='undefined') {
+                           e.opacity=opacity;
+                        } else {
+                            $(e).css("opacity",opacity);
+                        }
+                    });
+                }
+            },
+
+
+            // fade "el" from opacity "op" to "endOp" over a period of time "duration"
+            
+            fader: (function () {
+                var elements = {},
+                        lastKey = 0,
+                        fade_func = function (el, op, endOp, duration) {
+                            var index, 
+                                cbIntervals = duration/15,
+                                obj, u = $.mapster.utils;
+
+                            if (typeof el === 'number') {
+                                obj = elements[el];
+                                if (!obj) {
+                                    return;
+                                }
+                            } else {
+                                index = u.indexOfProp(elements, null, el);
+                                if (index) {
+                                    delete elements[index];
+                                }
+                                elements[++lastKey] = obj = el;
+                                el = lastKey;
+                            }
+
+                            endOp = endOp || 1;
+
+                            op = (op + (endOp / cbIntervals) > endOp - 0.01) ? endOp : op + (endOp / cbIntervals);
+
+                            u.setOpacity(obj, op);
+                            if (op < endOp) {
+                                setTimeout(function () {
+                                    fade_func(el, op, endOp, duration);
+                                }, 15);
+                            }
+                        };
+                return fade_func;
+            } ())
+        },
+        getBoundList: function (opts, key_list) {
+            if (!opts.boundList) {
+                return null;
+            }
+            var index, key, result = $(), list = $.mapster.utils.split(key_list);
+            opts.boundList.each(function (i,e) {
+                for (index = 0; index < list.length; index++) {
+                    key = list[index];
+                    if ($(e).is('[' + opts.listKey + '="' + key + '"]')) {
+                        result = result.add(e);
+                    }
+                }
+            });
+            return result;
+        },
+        // Causes changes to the bound list based on the user action (select or deselect)
+        // area: the jQuery area object
+        // returns the matching elements from the bound list for the first area passed (normally only one should be passed, but
+        // a list can be passed
+        setBoundListProperties: function (opts, target, selected) {
+            target.each(function (i,e) {
+                if (opts.listSelectedClass) {
+                    if (selected) {
+                        $(e).addClass(opts.listSelectedClass);
+                    } else {
+                        $(e).removeClass(opts.listSelectedClass);
+                    }
+                }
+                if (opts.listSelectedAttribute) {
+                    $(e).attr(opts.listSelectedAttribute, selected);
+                }
+            });
+        },
+        getMapDataIndex: function (obj) {
+            var img, id;
+            switch (obj.tagName && obj.tagName.toLowerCase()) {
+                case 'area':
+                    id = $(obj).parent().attr('name');
+                    img = $("img[usemap='#" + id + "']")[0];
+                    break;
+                case 'img':
+                    img = obj;
+                    break;
+            }
+            return img ?
+                this.utils.indexOfProp(this.map_cache, 'image', img) : -1;
+        },
+        getMapData: function (obj) {
+            var index = this.getMapDataIndex(obj.length ? obj[0]:obj);
+            if (index >= 0) {
+                return index >= 0 ? this.map_cache[index] : null;
+            }
+        },
+        /**
+         * Queue a command to be run after the active async operation has finished
+         * @param  {MapData}  map_data    The target MapData object
+         * @param  {jQuery}   that        jQuery object on which the command was invoked
+         * @param  {string}   command     the ImageMapster method name
+         * @param  {object[]} args        arguments passed to the method
+         * @return {bool}                 true if the command was queued, false if not (e.g. there was no need to)
+         */
+        queueCommand: function (map_data, that, command, args) {
+            if (!map_data) {
+                return false;
+            }
+            if (!map_data.complete || map_data.currentAction) {
+                map_data.commands.push(
+                {
+                    that: that,
+                    command: command,
+                    args: args
+                });
+                return true;
+            }
+            return false;
+        },
+        unload: function () {
+            this.impl.unload();
+            this.utils = null;
+            this.impl = null;
+            $.fn.mapster = null;
+            $.mapster = null;
+            $('*').unbind();
+        }
+    };
+
+    // Config for object prototypes
+    // first: use only first object (for things that should not apply to lists)
+    /// calls back one of two fuinctions, depending on whether an area was obtained.
+    // opts: {
+    //    name: 'method name',
+    //    key: 'key,
+    //    args: 'args'
+    //
+    //}
+    // name: name of method (required)
+    // args: arguments to re-call with
+    // Iterates through all the objects passed, and determines whether it's an area or an image, and calls the appropriate
+    // callback for each. If anything is returned from that callback, the process is stopped and that data return. Otherwise,
+    // the object itself is returned.
+    
+    var m = $.mapster, 
+        u = m.utils,
+        ap = Array.prototype;
+
+
+    // jQuery's width() and height() are broken on IE9 in some situations. This tries everything. 
+    $.each(["width","height"],function(i,e) {
+        var capProp = e.substr(0,1).toUpperCase() + e.substr(1);
+        // when jqwidth parm is passed, it also checks the jQuery width()/height() property
+        // the issue is that jQUery width() can report a valid size before the image is loaded in some browsers
+        // without it, we can read zero even when image is loaded in other browsers if its not visible
+        // we must still check because stuff like adblock can temporarily block it
+        // what a goddamn headache
+        u["img"+capProp]=function(img,jqwidth) {
+                return (jqwidth ? $(img)[e]() : 0) || 
+                    img[e] || img["natural"+capProp] || img["client"+capProp] || img["offset"+capProp];
+        };
+     
+    });    
+
+    /**
+     * The Method object encapsulates the process of testing an ImageMapster method to see if it's being
+     * invoked on an image, or an area; then queues the command if the MapData is in an active state.
+     * 
+     * @param {[jQuery]}    that        The target of the invocation
+     * @param {[function]}  func_map    The callback if the target is an imagemap
+     * @param {[function]}  func_area   The callback if the target is an area
+     * @param {[object]}    opt         Options: { key: a map key if passed explicitly
+     *                                             name: the command name, if it can be queued,
+     *                                             args: arguments to the method
+     *                                            }
+     */
+    
+    m.Method = function (that, func_map, func_area, opts) {
+        var me = this;
+        me.name = opts.name;
+        me.output = that;
+        me.input = that;
+        me.first = opts.first || false;
+        me.args = opts.args ? ap.slice.call(opts.args, 0) : [];
+        me.key = opts.key;
+        me.func_map = func_map;
+        me.func_area = func_area;
+        //$.extend(me, opts);
+        me.name = opts.name;
+        me.allowAsync = opts.allowAsync || false;
+    };
+    m.Method.prototype = {
+        constructor: m.Method,
+        go: function () {
+            var i,  data, ar, len, result, src = this.input,
+                    area_list = [],
+                    me = this;
+
+            len = src.length;
+            for (i = 0; i < len; i++) {
+                data = $.mapster.getMapData(src[i]);
+                if (data) {
+                    if (!me.allowAsync && m.queueCommand(data, me.input, me.name, me.args)) {
+                        if (this.first) {
+                            result = '';
+                        }
+                        continue;
+                    }
+                    
+                    ar = data.getData(src[i].nodeName === 'AREA' ? src[i] : this.key);
+                    if (ar) {
+                        if ($.inArray(ar, area_list) < 0) {
+                            area_list.push(ar);
+                        }
+                    } else {
+                        result = this.func_map.apply(data, me.args);
+                    }
+                    if (this.first || typeof result !== 'undefined') {
+                        break;
+                    }
+                }
+            }
+            // if there were areas, call the area function for each unique group
+            $(area_list).each(function (i,e) {
+                result = me.func_area.apply(e, me.args);
+            });
+
+            if (typeof result !== 'undefined') {
+                return result;
+            } else {
+                return this.output;
+            }
+        }
+    };
+
+    $.mapster.impl = (function () {
+        var me = {},
+        addMap= function (map_data) {
+            return m.map_cache.push(map_data) - 1;
+        },
+        removeMap = function (map_data) {
+            m.map_cache.splice(map_data.index, 1);
+            for (var i = m.map_cache.length - 1; i >= this.index; i--) {
+                m.map_cache[i].index--;
+            }
+        };
+
+        
+        /**
+         * Test whether the browser supports VML. Credit: google.
+         * http://stackoverflow.com/questions/654112/how-do-you-detect-support-for-vml-or-svg-in-a-browser
+         * 
+         * @return {bool} true if vml is supported, false if not
+         */
+        
+        function hasVml() {
+            var a = $('<div />').appendTo('body');
+            a.html('<v:shape id="vml_flag1" adj="1" />');
+            
+            var b = a[0].firstChild;
+            b.style.behavior = "url(#default#VML)";
+            var has = b ? typeof b.adj === "object" : true;
+            a.remove();
+            return has;
+        }
+
+        /**
+         * Return a reference to the IE namespaces object, if available, or an empty object otherwise
+         * @return {obkect} The document.namespaces object.
+         */
+        function namespaces() {
+            return typeof(document.namespaces)==='object' ?
+                document.namespaces :
+                null;
+        }
+
+        /**
+         * Test for the presence of HTML5 Canvas support. This also checks to see if excanvas.js has been 
+         * loaded and is faking it; if so, we assume that canvas is not supported.
+         *
+         * @return {bool} true if HTML5 canvas support, false if not
+         */
+        
+        function hasCanvas() {
+            var d = namespaces();
+            // when g_vml_ is present, then we can be sure excanvas is active, meaning there's not a real canvas.
+            
+             return d && d.g_vml_ ? 
+                false :
+                $('<canvas />')[0].getContext ? 
+                    true : 
+                    false;
+        }
+
+        /**
+         * Merge new area data into existing area options on a MapData object. Used for rebinding.
+         * 
+         * @param  {[MapData]} map_data     The MapData object
+         * @param  {[object[]]} areas       areas array to merge
+         */
+        
+        function merge_areas(map_data, areas) {
+            var ar, index,
+                map_areas = map_data.options.areas;
+
+            if (areas) {
+                $.each(areas, function (i, e) {
+                    
+                    // Issue #68 - ignore invalid data in areas array
+                    
+                    if (!e || !e.key) { 
+                        return;
+                    }
+
+                    index = u.indexOfProp(map_areas, "key", e.key);
+
+                    if (index >= 0) {
+                        $.extend(map_areas[index], e);
+                    }
+                    else {
+                        map_areas.push(e);
+                    }
+                    ar = map_data.getDataForKey(e.key);
+                    if (ar) {
+                        $.extend(ar.options, e);
+                    }
+                });
+            }
+        }
+        function merge_options(map_data, options) {
+            var temp_opts = u.updateProps({}, options);
+            delete temp_opts.areas;
+
+            u.updateProps(map_data.options, temp_opts);
+
+            merge_areas(map_data, options.areas);
+            // refresh the area_option template
+            u.updateProps(map_data.area_options, map_data.options);
+        }
+
+        // Most methods use the "Method" object which handles figuring out whether it's an image or area called and
+        // parsing key parameters. The constructor wants:
+        // this, the jQuery object
+        // a function that is called when an image was passed (with a this context of the MapData)
+        // a function that is called when an area was passed (with a this context of the AreaData)
+        // options: first = true means only the first member of a jQuery object is handled
+        //          key = the key parameters passed
+        //          defaultReturn: a value to return other than the jQuery object (if its not chainable)
+        //          args: the arguments
+        // Returns a comma-separated list of user-selected areas. "staticState" areas are not considered selected for the purposes of this method.
+        
+        me.get = function (key) {
+            var md = m.getMapData(this);
+            if (!(md && md.complete)) {
+                throw("Can't access data until binding complete.");
+            }
+
+            return (new m.Method(this,
+                function () {
+                    // map_data return
+                    return this.getSelected();
+                },
+                function () {
+                    return this.isSelected();
+                },
+                { name: 'get',
+                    args: arguments,
+                    key: key,
+                    first: true,
+                    allowAsync: true,
+                    defaultReturn: ''
+                }
+            )).go();
+        };
+        me.data = function (key) {
+            return (new m.Method(this,
+                null,
+                function () {
+                    return this;
+                },
+                { name: 'data',
+                    args: arguments,
+                    key: key
+                }
+            )).go();
+        };
+
+
+        // Set or return highlight state.
+        //  $(img).mapster('highlight') -- return highlighted area key, or null if none
+        //  $(area).mapster('highlight') -- highlight an area
+        //  $(img).mapster('highlight','area_key') -- highlight an area
+        //  $(img).mapster('highlight',false) -- remove highlight
+        me.highlight = function (key) {
+            return (new m.Method(this,
+                function () {
+                    if (key === false) {
+                        this.ensureNoHighlight();
+                    } else {
+                        var id = this.highlightId;
+                        return id >= 0 ? this.data[id].key : null;
+                    }
+                },
+                function () {
+                    this.highlight();
+                },
+                { name: 'highlight',
+                    args: arguments,
+                    key: key,
+                    first: true
+                }
+            )).go();
+        };
+        // Return the primary keys for an area or group key.
+        // $(area).mapster('key')
+        // includes all keys (not just primary keys)
+        // $(area).mapster('key',true)
+        // $(img).mapster('key','group-key')
+
+        // $(img).mapster('key','group-key', true)
+        me.keys = function(key,all) {
+            var keyList=[], 
+                md = m.getMapData(this);
+
+            if (!(md && md.complete)) {
+                throw("Can't access data until binding complete.");
+            }
+
+
+            function addUniqueKeys(ad) {
+                var areas,keys=[];
+                if (!all) {
+                    keys.push(ad.key);
+                } else {
+                    areas=ad.areas();
+                    $.each(areas,function(i,e) {
+                        keys=keys.concat(e.keys);
+                    });
+                }
+                $.each(keys,function(i,e) {
+                    if ($.inArray(e,keyList)<0) {
+                        keyList.push(e);                         
+                    }
+                });
+            }
+
+            if (!(md  && md.complete)) {
+                return '';
+            }
+            if (typeof key === 'string') {
+                if (all) {
+                    addUniqueKeys(md.getDataForKey(key));
+                } else {
+                    keyList=[md.getKeysForGroup(key)];
+                }
+            } else {
+                all = key;
+                this.each(function(i,e) {
+                    if (e.nodeName==='AREA') {
+                        addUniqueKeys(md.getDataForArea(e));
+                    }
+                });
+            }
+            return keyList.join(',');
+        
+
+        };
+        me.select = function () {
+            me.set.call(this, true);
+        };
+        me.deselect = function () {
+            me.set.call(this, false);
+        };
+        
+        /**
+         * Select or unselect areas. Areas can be identified by a single string key, a comma-separated list of keys, 
+         * or an array of strings.
+         * 
+         * 
+         * @param {boolean} selected Determines whether areas are selected or deselected
+         * @param {string|string[]} key A string, comma-separated string, or array of strings indicating 
+         *                              the areas to select or deselect
+         * @param {object} options Rendering options to apply when selecting an area
+         */ 
+
+        me.set = function (selected, key, options) {
+            var lastMap, map_data, opts=options,
+                key_list, area_list; // array of unique areas passed
+
+            function setSelection(ar) {
+                if (ar) {
+                    switch (selected) {
+                        case true:
+                            ar.select(opts); break;
+                        case false:
+                            ar.deselect(true); break;
+                        default:
+                            ar.toggle(opts); break;
+                    }
+                }
+            }
+            function addArea(ar) {
+               if (ar && $.inArray(ar, area_list) < 0) {
+                    area_list.push(ar);
+                    key_list+=(key_list===''?'':',')+ar.key;
+                }
+            }
+            // Clean up after a group that applied to the same map
+            function finishSetForMap(map_data) {
+                $.each(area_list, function (i, el) {
+                    setSelection(el);
+                });
+                if (!selected) {
+                    map_data.removeSelectionFinish();
+                }
+                if (map_data.options.boundList) {
+                    m.setBoundListProperties(map_data.options, m.getBoundList(map_data.options, key_list), selected);
+                }            
+            }
+
+            this.filter('img,area').each(function (i,e) {
+                var keys;
+                map_data = m.getMapData(e);
+
+                if (map_data !== lastMap) {
+                    if (lastMap) {
+                       finishSetForMap(lastMap);
+                    }
+
+                    area_list = [];
+                    key_list='';
+                }
+                
+               if (map_data) {
+                    
+                    keys = '';
+                    if (e.nodeName.toUpperCase()==='IMG') {
+                        if (!m.queueCommand(map_data, $(e), 'set', [selected, key, opts])) {
+                            if (key instanceof Array) {
+                                if (key.length) {
+                                    keys = key.join(",");
+                                }
+                            }
+                            else {
+                                keys = key;
+                            }
+
+                            if (keys) {
+                                $.each(u.split(keys), function (i,key) {
+                                    addArea(map_data.getDataForKey(key.toString()));
+                                    lastMap = map_data;
+                                });
+                            }
+                        }
+                    } else {
+                        opts=key;
+                        if (!m.queueCommand(map_data, $(e), 'set', [selected, opts])) {
+                            addArea(map_data.getDataForArea(e));
+                            lastMap = map_data;
+                        }
+                    
+                    }
+                }
+            });
+            
+            if (map_data) {
+               finishSetForMap(map_data);
+            }
+
+           
+            return this;
+        };
+        me.unbind = function (preserveState) {
+            return (new m.Method(this,
+                function () {
+                    this.clearEvents();
+                    this.clearMapData(preserveState);
+                    removeMap(this);
+                },
+                null,
+                { name: 'unbind',
+                    args: arguments
+                }
+            )).go();
+        };
+
+
+        // refresh options and update selection information.
+        me.rebind = function (options) {
+            return (new m.Method(this,
+                function () {
+                    var me=this;
+
+                    me.complete=false;
+                    me.configureOptions(options);
+                    me.bindImages().then(function() {
+                        me.buildDataset(true);
+                        me.complete=true;
+                    });
+                    //this.redrawSelections();
+                },
+                null,
+                {
+                    name: 'rebind',
+                    args: arguments
+                }
+            )).go();
+        };
+        // get options. nothing or false to get, or "true" to get effective options (versus passed options)
+        me.get_options = function (key, effective) {
+            var eff = u.isBool(key) ? key : effective; // allow 2nd parm as "effective" when no key
+            return (new m.Method(this,
+                function () {
+                    var opts = $.extend({}, this.options);
+                    if (eff) {
+                        opts.render_select = u.updateProps(
+                            {},
+                            m.render_defaults,
+                            opts,
+                            opts.render_select);
+
+                        opts.render_highlight = u.updateProps(
+                            {},
+                            m.render_defaults,
+                            opts,
+                            opts.render_highlight);
+                    }
+                    return opts;
+                },
+                function () {
+                    return eff ? this.effectiveOptions() : this.options;
+                },
+                {
+                    name: 'get_options',
+                    args: arguments,
+                    first: true,
+                    allowAsync: true,
+                    key: key
+                }
+            )).go();
+        };
+
+        // set options - pass an object with options to set,
+        me.set_options = function (options) {
+            return (new m.Method(this,
+                function () {
+                    merge_options(this, options);
+                },
+                null,
+                {
+                    name: 'set_options',
+                    args: arguments
+                }
+            )).go();
+        };
+        me.unload = function () {
+            var i;
+            for (i = m.map_cache.length - 1; i >= 0; i--) {
+                if (m.map_cache[i]) {
+                    me.unbind.call($(m.map_cache[i].image));
+                }
+            }
+            me.graphics = null;
+        };
+
+        me.snapshot = function () {
+            return (new m.Method(this,
+                function () {
+                    $.each(this.data, function (i, e) {
+                        e.selected = false;
+                    });
+
+                    this.base_canvas = this.graphics.createVisibleCanvas(this);
+                    $(this.image).before(this.base_canvas);
+                },
+                null,
+                { name: 'snapshot' }
+            )).go();
+        };
+        
+        // do not queue this function
+        
+        me.state = function () {
+            var md, result = null;
+            $(this).each(function (i,e) {
+                if (e.nodeName === 'IMG') {
+                    md = m.getMapData(e);
+                    if (md) {
+                        result = md.state();
+                    }
+                    return false;
+                }
+            });
+            return result;
+        };
+
+        me.bind = function (options) {
+
+            return this.each(function (i,e) {
+                var img, map, usemap, md;
+
+                // save ref to this image even if we can't access it yet. commands will be queued
+                img = $(e);
+
+                md = m.getMapData(e);
+
+                // if already bound completely, do a total rebind
+                
+                if (md) {
+                    me.unbind.apply(img);
+                    if (!md.complete) {
+                        // will be queued
+                        img.bind();
+                        return true;
+                    }
+                    md = null;
+                }
+
+                // ensure it's a valid image
+                // jQuery bug with Opera, results in full-url#usemap being returned from jQuery's attr.
+                // So use raw getAttribute instead.
+                
+                usemap = this.getAttribute('usemap');
+                map = usemap && $('map[name="' + usemap.substr(1) + '"]');
+                if (!(img.is('img') && usemap && map.size() > 0)) {
+                    return true;
+                }
+
+                // sorry - your image must have border:0, things are too unpredictable otherwise.
+                img.css('border', 0);
+
+                if (!md) {
+                    md = new m.MapData(this, options);
+
+                    md.index = addMap(md);
+                    md.map = map;
+                    md.bindImages().then(function() {
+                        md.initialize();
+                    });
+                }
+            });
+        };
+
+        me.init = function (useCanvas) {
+            var style, shapes;
+
+            // for testing/debugging, use of canvas can be forced by initializing 
+            // manually with "true" or "false". But generally we test for it.
+            
+            m.hasCanvas = function() {
+                if (!u.isBool(m.hasCanvas.value)) {
+                    m.hasCanvas.value = u.isBool(useCanvas) ?
+                        useCanvas : 
+                        hasCanvas();
+                }
+                return m.hasCanvas.value;
+            };
+            m.hasVml = function() {
+                if (!u.isBool(m.hasVml.value)) {
+                    // initialize VML the first time we detect its presence.
+                    var d = namespaces();
+
+                    if (d && !d.v) {
+                        d.add("v", "urn:schemas-microsoft-com:vml");
+                        style = document.createStyleSheet();
+                        shapes = ['shape', 'rect', 'oval', 'circ', 'fill', 'stroke', 'imagedata', 'group', 'textbox'];
+                        $.each(shapes,
+                        function (i, el) {
+                            style.addRule('v\\:' + el, "behavior: url(#default#VML); antialias:true");
+                        });
+                    }
+                    m.hasVml.value = hasVml();
+                }
+
+                return m.hasVml.value;
+            };
+
+            m.isTouch = !!document.documentElement.ontouchstart;
+
+            $.extend(m.defaults, m.render_defaults,m.shared_defaults);
+            $.extend(m.area_defaults, m.render_defaults,m.shared_defaults);
+            
+        };
+        me.test = function (obj) {
+            return eval(obj);
+        };
+        return me;
+    } ());
+    
+    $.mapster.impl.init();
+    
+    
+} (jQuery));
+/* graphics.js
+   Graphics object handles all rendering.
+*/
+(function ($) {
+    var p, m=$.mapster,
+        u=m.utils,
+        canvasMethods,
+        vmlMethods;
+    
+    /**
+     * Implemenation to add each area in an AreaData object to the canvas
+     * @param {Graphics} graphics The target graphics object
+     * @param {AreaData} areaData The AreaData object (a collection of area elements and metadata)
+     * @param {object} options Rendering options to apply when rendering this group of areas
+     */
+    function addShapeGroupImpl(graphics, areaData, options) {
+        var me = graphics,
+            md = me.map_data,
+            isMask = options.isMask;
+
+        // first get area options. Then override fade for selecting, and finally merge in the 
+        // "select" effect options.
+
+        $.each(areaData.areas(), function (i,e) {
+            options.isMask = isMask || (e.nohref && md.options.noHrefIsMask);
+            me.addShape(e, options);
+        });
+
+        // it's faster just to manipulate the passed options isMask property and restore it, than to 
+        // copy the object each time
+        
+        options.isMask=isMask;
+
+    }
+
+     /**
+     * Convert a hex value to decimal
+     * @param  {string} hex A hexadecimal toString
+     * @return {int} Integer represenation of the hex string
+     */
+
+    function hex_to_decimal(hex) {
+        return Math.max(0, Math.min(parseInt(hex, 16), 255));
+    }
+    function css3color(color, opacity) {
+        return 'rgba(' + hex_to_decimal(color.substr(0, 2)) + ','
+                + hex_to_decimal(color.substr(2, 2)) + ','
+                + hex_to_decimal(color.substr(4, 2)) + ',' + opacity + ')';
+    }
+    /**
+     * An object associated with a particular map_data instance to manage renderin.
+     * @param {MapData} map_data The MapData object bound to this instance
+     */
+    
+    m.Graphics = function (map_data) {
+        //$(window).unload($.mapster.unload);
+        // create graphics functions for canvas and vml browsers. usage:
+        // 1) init with map_data, 2) call begin with canvas to be used (these are separate b/c may not require canvas to be specified
+        // 3) call add_shape_to for each shape or mask, 4) call render() to finish
+
+        var me = this;
+        me.active = false;
+        me.canvas = null;
+        me.width = 0;
+        me.height = 0;
+        me.shapes = [];
+        me.masks = [];
+        me.map_data = map_data;
+    };
+    
+    p = m.Graphics.prototype= {
+        constructor: m.Graphics,
+
+        /**
+         * Initiate a graphics request for a canvas
+         * @param  {Element} canvas The canvas element that is the target of this operation
+         * @param  {string} [elementName] The name to assign to the element (VML only)
+         */
+        
+        begin: function(canvas, elementName) {
+            var c = $(canvas);
+
+            this.elementName = elementName;
+            this.canvas = canvas;
+
+            this.width = c.width();
+            this.height = c.height();
+            this.shapes = [];
+            this.masks = [];
+            this.active = true;
+
+        },
+        
+        /**
+         * Add an area to be rendered to this canvas. 
+         * @param {MapArea} mapArea The MapArea object to render
+         * @param {object} options An object containing any rendering options that should override the
+         *                         defaults for the area
+         */
+        
+        addShape: function(mapArea, options) {
+            var addto = options.isMask ? this.masks : this.shapes;
+            addto.push({ mapArea: mapArea, options: options });
+        },
+
+        /**
+         * Create a canvas that is sized and styled for the MapData object
+         * @param  {MapData} mapData The MapData object that will receive this new canvas
+         * @return {Element} A canvas element
+         */
+        
+        createVisibleCanvas: function (mapData) {
+            return $(this.createCanvasFor(mapData))
+                .addClass('mapster_el')
+                .css(m.canvas_style)[0];
+        },
+
+        /**
+         * Add a group of shapes from an AreaData object to the canvas
+         * 
+         * @param {AreaData} areaData An AreaData object (a set of area elements)
+         * @param {string} mode     The rendering mode, "select" or "highlight". This determines the target 
+         *                          canvas and which default options to use.
+         * @param {striong} options  Rendering options
+         */
+        
+        addShapeGroup: function (areaData, mode,options) {
+            // render includeKeys first - because they could be masks
+            var me = this,
+                list, name, canvas,
+                map_data = this.map_data,
+                opts = areaData.effectiveRenderOptions(mode);
+
+            if (options) {
+                 $.extend(opts,options);
+            }
+
+            if (mode === 'select') {
+                name = "static_" + areaData.areaId.toString();
+                canvas = map_data.base_canvas;
+            } else {
+                canvas = map_data.overlay_canvas;
+            }
+
+            me.begin(canvas, name);
+
+            if (opts.includeKeys) {
+                list = u.split(opts.includeKeys);
+                $.each(list, function (i,e) {
+                    var areaData = map_data.getDataForKey(e.toString());
+                    addShapeGroupImpl(me,areaData, areaData.effectiveRenderOptions(mode));
+                });
+            }
+
+            addShapeGroupImpl(me,areaData, opts);
+            me.render();
+            if (opts.fade) {
+                
+                // fading requires special handling for IE. We must access the fill elements directly. The fader also has to deal with 
+                // the "opacity" attribute (not css)
+
+                u.fader(m.hasCanvas() ? 
+                    canvas : 
+                    $(canvas).find('._fill').not('.mapster_mask'),
+                0,
+                m.hasCanvas() ? 
+                    1 : 
+                    opts.fillOpacity,
+                opts.fadeDuration); 
+               
+            }
+
+        }
+
+        // These prototype methods are implementation dependent
+    };
+
+    function noop() {}
+
+  
+    // configure remaining prototype methods for ie or canvas-supporting browser
+
+    canvasMethods = {
+        renderShape: function (context, mapArea, offset) {
+            var i,
+                c = mapArea.coords(null,offset);
+
+            switch (mapArea.shape) {
+                case 'rect':
+                    context.rect(c[0], c[1], c[2] - c[0], c[3] - c[1]);
+                    break;
+                case 'poly':
+                    context.moveTo(c[0], c[1]);
+
+                    for (i = 2; i < mapArea.length; i += 2) {
+                        context.lineTo(c[i], c[i + 1]);
+                    }
+                    context.lineTo(c[0], c[1]);
+                    break;
+                case 'circ':
+                case 'circle':
+                    context.arc(c[0], c[1], c[2], 0, Math.PI * 2, false);
+                    break;
+            }
+        },
+        addAltImage: function (context, image, mapArea, options) {
+            context.beginPath();
+
+            this.renderShape(context, mapArea);
+            context.closePath();
+            context.clip();
+
+            context.globalAlpha = options.altImageOpacity || options.fillOpacity;
+
+            context.drawImage(image, 0, 0, mapArea.owner.scaleInfo.width, mapArea.owner.scaleInfo.height);
+        },
+        render: function () {
+            // firefox 6.0 context.save() seems to be broken. to work around,  we have to draw the contents on one temp canvas,
+            // the mask on another, and merge everything. ugh. fixed in 1.2.2. unfortunately this is a lot more code for masks,
+            // but no other way around it that i can see.
+
+            var maskCanvas, maskContext,
+                        me = this,
+                        md = me.map_data,
+                        hasMasks = me.masks.length,
+                        shapeCanvas = me.createCanvasFor(md),
+                        shapeContext = shapeCanvas.getContext('2d'),
+                        context = me.canvas.getContext('2d');
+
+            if (hasMasks) {
+                maskCanvas = me.createCanvasFor(md);
+                maskContext = maskCanvas.getContext('2d');
+                maskContext.clearRect(0, 0, maskCanvas.width, maskCanvas.height);
+
+                $.each(me.masks, function (i,e) {
+                    maskContext.save();
+                    maskContext.beginPath();
+                    me.renderShape(maskContext, e.mapArea);
+                    maskContext.closePath();
+                    maskContext.clip();
+                    maskContext.lineWidth = 0;
+                    maskContext.fillStyle = '#000';
+                    maskContext.fill();
+                    maskContext.restore();
+                });
+
+            }
+
+            $.each(me.shapes, function (i,s) {
+                shapeContext.save();
+                if (s.options.fill) {
+                    if (s.options.altImageId) {
+                        me.addAltImage(shapeContext, md.images[s.options.altImageId], s.mapArea, s.options);
+                    } else {
+                        shapeContext.beginPath();
+                        me.renderShape(shapeContext, s.mapArea);
+                        shapeContext.closePath();
+                        //shapeContext.clip();
+                        shapeContext.fillStyle = css3color(s.options.fillColor, s.options.fillOpacity);
+                        shapeContext.fill();
+                    }
+                }
+                shapeContext.restore();
+            });
+
+
+            // render strokes at end since masks get stroked too
+
+            $.each(me.shapes.concat(me.masks), function (i,s) {
+                var offset = s.options.strokeWidth === 1 ? 0.5 : 0;
+                // offset applies only when stroke width is 1 and stroke would render between pixels.
+
+                if (s.options.stroke) {
+                    shapeContext.save();
+                    shapeContext.strokeStyle = css3color(s.options.strokeColor, s.options.strokeOpacity);
+                    shapeContext.lineWidth = s.options.strokeWidth;
+
+                    shapeContext.beginPath();
+
+                    me.renderShape(shapeContext, s.mapArea, offset);
+                    shapeContext.closePath();
+                    shapeContext.stroke();
+                    shapeContext.restore();
+                }
+            });
+
+            if (hasMasks) {
+                // render the new shapes against the mask
+
+                maskContext.globalCompositeOperation = "source-out";
+                maskContext.drawImage(shapeCanvas, 0, 0);
+
+                // flatten into the main canvas
+                context.drawImage(maskCanvas, 0, 0);
+            } else {
+                context.drawImage(shapeCanvas, 0, 0);
+            }
+
+            me.active = false;
+            return me.canvas;
+        },
+
+        // create a canvas mimicing dimensions of an existing element
+        createCanvasFor: function (md) {
+            return $('<canvas width="' + md.scaleInfo.width + '" height="' +md.scaleInfo.height + '"></canvas>')[0];
+        },
+        clearHighlight: function () {
+            var c = this.map_data.overlay_canvas;
+            c.getContext('2d').clearRect(0, 0, c.width, c.height);
+        },
+        // Draw all items from selected_list to a new canvas, then swap with the old one. This is used to delete items when using canvases.
+        refreshSelections: function () {
+            var canvas_temp, map_data = this.map_data;
+            // draw new base canvas, then swap with the old one to avoid flickering
+            canvas_temp = map_data.base_canvas;
+
+            map_data.base_canvas = this.createVisibleCanvas(map_data);
+            $(map_data.base_canvas).hide();
+            $(canvas_temp).before(map_data.base_canvas);
+
+            map_data.redrawSelections();
+
+            $(map_data.base_canvas).show();
+            $(canvas_temp).remove();
+        }
+    };
+
+    vmlMethods = {
+
+        renderShape: function (mapArea, options, cssclass) {
+            var me = this, fill,stroke, e, t_fill, el_name, el_class, template, c = mapArea.coords();
+            el_name = me.elementName ? 'name="' + me.elementName + '" ' : '';
+            el_class = cssclass ? 'class="' + cssclass + '" ' : '';
+
+            t_fill = '<v:fill color="#' + options.fillColor + '" class="_fill" opacity="' + 
+                (options.fill ? 
+                    options.fillOpacity :
+                    0) + 
+                '" /><v:stroke class="_fill" opacity="' + 
+                options.strokeOpacity + '"/>';
+
+
+            stroke = options.stroke ?
+                ' strokeweight=' + options.strokeWidth + ' stroked="t" strokecolor="#' + 
+                    options.strokeColor + '"' :
+                ' stroked="f"';
+            
+            fill = options.fill ? 
+                ' filled="t"' :
+                ' filled="f"';
+
+            switch (mapArea.shape) {
+                case 'rect':
+                    template = '<v:rect ' + el_class + el_name + fill + stroke + 
+                        ' style="zoom:1;margin:0;padding:0;display:block;position:absolute;left:' + 
+                          c[0] + 'px;top:' + c[1]  + 'px;width:' + (c[2] - c[0]) + 
+                          'px;height:' + (c[3] - c[1]) + 'px;">' + t_fill + '</v:rect>';
+                    break;
+                case 'poly':
+                    template = '<v:shape ' + el_class + el_name + fill + stroke + ' coordorigin="0,0" coordsize="' + me.width + ',' + me.height
+                                + '" path="m ' + c[0] + ',' + c[1] + ' l ' + c.slice(2).join(',')
+                                + ' x e" style="zoom:1;margin:0;padding:0;display:block;position:absolute;top:0px;left:0px;width:' + me.width + 'px;height:' + me.height + 'px;">' + t_fill + '</v:shape>';
+                    break;
+                case 'circ':
+                case 'circle':
+                    template = '<v:oval ' + el_class + el_name + fill + stroke
+                                + ' style="zoom:1;margin:0;padding:0;display:block;position:absolute;left:' + (c[0] - c[2]) + 'px;top:' + (c[1] - c[2])
+                                + 'px;width:' + (c[2] * 2) + 'px;height:' + (c[2] * 2) + 'px;">' + t_fill + '</v:oval>';
+                    break;
+            }
+            e = $(template);
+            $(me.canvas).append(e);
+
+            return e;
+        },
+        render: function () {
+            var opts, me = this;
+
+            $.each(this.shapes, function (i,e) {
+                me.renderShape(e.mapArea, e.options);
+            });
+
+            if (this.masks.length) {
+                $.each(this.masks, function (i,e) {
+                    opts = u.updateProps({},
+                        e.options, {
+                            fillOpacity: 1,
+                            fillColor: e.options.fillColorMask
+                        });
+                    me.renderShape(e.mapArea, opts, 'mapster_mask');
+                });
+            }
+
+            this.active = false;
+            return this.canvas;
+        },
+
+        createCanvasFor: function (md) {
+            var w = md.scaleInfo.width,
+                h = md.scaleInfo.height;
+            return $('<var width="' + w + '" height="' + h 
+                + '" style="zoom:1;overflow:hidden;display:block;width:' 
+                + w + 'px;height:' + h + 'px;"></var>')[0];
+        },
+
+        clearHighlight: function () {
+            $(this.map_data.overlay_canvas).children().remove();
+        },
+        // remove single or all selections
+        removeSelections: function (area_id) {
+            if (area_id >= 0) {
+                $(this.map_data.base_canvas).find('[name="static_' + area_id.toString() + '"]').remove();
+            }
+            else {
+                $(this.map_data.base_canvas).children().remove();
+            }
+        }
+
+    };
+
+    // for all methods with two implemenatations, add a function that will automatically replace itself with the correct
+    // method on first invocation
+    
+    $.each(['renderShape',
+           'addAltImage',
+           'render',
+           'createCanvasFor',
+           'clearHighlight',
+           'removeSelections',
+           'refreshSelections'],
+        function(i,e) {
+            p[e]=(function(method) {
+                return function() {
+                    p[method] = (m.hasCanvas() ?
+                        canvasMethods[method] : 
+                        vmlMethods[method]) || noop;
+                  
+                    return p[method].apply(this,arguments);
+                };
+            }(e));
+    });
+
+
+} (jQuery));
+/* mapimage.js
+   the MapImage object, repesents an instance of a single bound imagemap
+*/
+
+(function ($) {
+
+    var m = $.mapster, 
+        u = m.utils,
+        ap=[];
+    /**
+     * An object encapsulating all the images used by a MapData.
+     */
+    
+    m.MapImages = function(owner) {
+        this.owner = owner;
+        this.clear();
+    };
+
+    
+    m.MapImages.prototype = {
+        constructor: m.MapImages,
+
+        /* interface to make this array-like */
+
+        slice: function() {
+            return ap.slice.apply(this,arguments);
+        },
+        splice: function() {
+            ap.slice.apply(this.status,arguments);
+            var result= ap.slice.apply(this,arguments);
+            return result;
+        },
+     
+        /** 
+         * a boolean value indicates whether all images are done loading 
+         * @return {bool} true when all are done
+         */
+        complete: function() {
+            return $.inArray(false, this.status) < 0;
+        },
+        
+        /**
+         * Save an image in the images array and return its index 
+         * @param  {Image} image An Image object
+         * @return {int} the index of the image
+         */
+        
+        _add: function(image) {
+            var index = ap.push.call(this,image)-1;
+            this.status[index] = false;
+            return index;
+        },
+
+        /**
+         * Return the index of an Image within the images array
+         * @param  {Image} img An Image
+         * @return {int} the index within the array, or -1 if it was not found
+         */
+        
+        indexOf: function(image) {
+            return $.inArray(image, this);
+        },
+        
+        /**
+         * Clear this object and reset it to its initial state after binding.
+         */
+        
+        clear: function() {
+            var me=this;
+
+            if (me.ids && me.ids.length>0) {
+                $.each(me.ids,function(i,e) {
+                    delete me[e];
+                });
+            }
+            
+            /**
+             * A list of the cross-reference IDs bound to this object
+             * @type {string[]}
+             */
+            
+            me.ids=[];
+
+            /**
+             * Length property for array-like behavior, set to zero when initializing. Array prototype
+             * methods will update it after that.
+             * 
+             * @type {int}
+             */
+            
+            me.length=0;
+
+            /**
+             * the loaded status of the corresponding image
+             * @type {boolean[]}
+             */
+            
+            me.status=[];
+            
+            
+            // actually erase the images
+            
+            me.splice(0);
+            
+        },
+
+        /**
+         * Bind an image to the map and add it to the queue to be loaded; return an ID that
+         * can be used to reference the
+         * 
+         * @param {Image|string} image An Image object or a URL to an image
+         * @param {string} [id] An id to refer to this image
+         * @returns {int} an ID referencing the index of the image object in 
+         *                map_data.images
+         */
+     
+        add: function(image,id) {
+            var index,src,me = this;
+
+            if (!image) { return; }
+
+            if (typeof image === 'string') {
+                src = image;
+                image = me[src];
+                if (typeof image==='object') {
+                    return me.indexOf(image);
+                }
+
+                image = $('<img />')
+                    .addClass('mapster_el')
+                    .hide();
+
+                index=me._add(image[0]);
+                
+                image
+                    .bind('load',function(e) {
+                        me.imageLoaded.call(me,e);
+                    })
+                    .bind('error',function(e) {
+                        me.imageLoadError.call(me,e);
+                    });
+                
+                image.attr('src', src);
+            } else {
+
+                // use attr because we want the actual source, not the resolved path the browser will return directly calling image.src
+                
+                index=me._add($(image)[0]);
+            }
+            if (id) {
+                if (this[id]) {
+                    throw(id+" is already used or is not available as an altImage alias.");
+                }
+                me.ids.push(id);
+                me[id]=me[index];
+            }
+            return index;
+        },
+
+        /**
+         * Bind the images in this object, 
+         * @param  {boolean} retry when true, indicates that the function is calling itself after failure 
+         * @return {Promise} a promise that resolves when the images have finished loading
+         */
+        
+        bind: function(retry) {
+            var me = this,
+                promise,
+                triesLeft = me.owner.options.configTimeout / 200,
+
+            /* A recursive function to continue checking that the images have been 
+               loaded until a timeout has elapsed */
+
+            check=function() {
+                var i;
+
+                // refresh status of images
+                
+                i=me.length;
+
+                while (i-->0) {
+                    if (!me.isLoaded(i)) {
+                        break;
+                    }
+                }
+
+                // check to see if every image has already been loaded
+                
+                if (me.complete()) {
+                    me.resolve();
+                } else {
+                    // to account for failure of onLoad to fire in rare situations
+                    if (triesLeft-- > 0) {
+                        me.imgTimeout=window.setTimeout(function() {
+                            check.call(me,true);
+                        }, 50);
+                    } else {
+                        me.imageLoadError.call(me);
+                    }
+                }
+            
+            };
+
+            promise = me.deferred=u.defer();
+            
+            check();
+            return promise;
+        },
+   
+        resolve: function() {
+            var me=this,
+                resolver=me.deferred;
+                
+            if (resolver) {
+                // Make a copy of the resolver before calling & removing it to ensure
+                // it is not called twice
+                me.deferred=null;
+                resolver.resolve();
+            }
+        },
+
+        /**
+         * Event handler for image onload
+         * @param  {object} e jQuery event data
+         */
+        
+        imageLoaded: function(e) {
+            var me=this,
+                index = me.indexOf(e.target);
+
+            if (index>=0) {
+
+                me.status[index] = true;
+                if ($.inArray(false, me.status) < 0) {
+                    me.resolve();
+                }
+            }
+        },
+        
+        /**
+         * Event handler for onload error
+         * @param  {object} e jQuery event data
+         */
+        
+        imageLoadError: function(e) {
+            clearTimeout(this.imgTimeout);
+            this.triesLeft=0;
+            var err = e ? 'The image ' + e.target.src + ' failed to load.' : 
+                'The images never seemed to finish loading. You may just need to increase the configTimeout if images could take a long time to load.';
+            throw err;
+        },
+        /**
+         * Test if the image at specificed index has finished loading
+         * @param  {int}  index The image index
+         * @return {boolean} true if loaded, false if not
+         */
+        
+        isLoaded: function(index) {
+            var img,
+                me=this,
+                status=me.status;
+
+            if (status[index]) { return true; }
+            img = me[index];
+            
+            if (typeof img.complete !== 'undefined') {
+                status[index]=img.complete;
+            } else {
+                status[index]=!!u.imgWidth(img);
+            }
+            // if complete passes, the image is loaded, but may STILL not be available because of stuff like adblock.
+            // make sure it is.
+
+            return status[index];
+        }
+    };
+    } (jQuery));
+/* mapdata.js
+   the MapData object, repesents an instance of a single bound imagemap
+*/
+
+
+(function ($) {
+
+    var m = $.mapster, 
+        u = m.utils;
+   
+    /**
+     * Set default values for MapData object properties
+     * @param  {MapData} me The MapData object
+     */
+    
+    function initializeDefaults(me) {
+        $.extend(me,{
+            complete: false,         // (bool)    when configuration is complete       
+            map: null,                // ($)      the image map
+            base_canvas: null,       // (canvas|var)  where selections are rendered
+            overlay_canvas: null,    // (canvas|var)  where highlights are rendered
+            commands: [],            // {}        commands that were run before configuration was completed (b/c images weren't loaded)
+            data: [],                // MapData[] area groups
+            mapAreas: [],            // MapArea[] list. AreaData entities contain refs to this array, so options are stored with each.
+            _xref: {},               // (int)      xref of mapKeys to data[]
+            highlightId: -1,        // (int)      the currently highlighted element.
+            currentAreaId: -1,
+            _tooltip_events: [],     // {}         info on events we bound to a tooltip container, so we can properly unbind them
+            scaleInfo: null,         // {}         info about the image size, scaling, defaults
+            index: -1,                 // index of this in map_cache - so we have an ID to use for wraper div
+            activeAreaEvent: null
+        });
+    }
+
+    /**
+     * Return an array of all image-containing options from an options object; 
+     * that is, containers that may have an "altImage" property
+     * 
+     * @param  {object} obj     An options object
+     * @return {object[]}       An array of objects
+     */
+    function getOptionImages(obj) {
+        return [obj, obj.render_highlight, obj.render_select];
+    }
+
+    /**
+     * Parse all the altImage references, adding them to the library so they can be preloaded
+     * and aliased.
+     * 
+     * @param  {MapData} me The MapData object on which to operate
+     */
+    function configureAltImages(me)
+    {
+        var opts = me.options,
+            mi = me.images;
+
+        // add alt images
+        
+        if (m.hasCanvas()) {
+            // map altImage library first
+            
+            $.each(opts.altImages || {}, function(i,e) {
+                mi.add(e,i);
+            });
+            
+            // now find everything else
+
+            $.each([opts].concat(opts.areas),function(i,e) {
+                $.each(getOptionImages(e),function(i2,e2) {
+                    if (e2 && e2.altImage) {
+                        e2.altImageId=mi.add(e2.altImage);
+                    }
+                });
+            });
+        }
+
+        // set area_options
+        me.area_options = u.updateProps({}, // default options for any MapArea
+            m.area_defaults,
+            opts);
+    }
+
+    /**
+     * Queue a mouse move action based on current delay settings 
+     * (helper for mouseover/mouseout handlers)
+     * 
+     * @param  {MapData}    me       The MapData context
+     * @param  {number}     delay    The number of milliseconds to delay the action
+     * @param  {AreaData}   area     AreaData affected
+     * @param  {Deferred}   deferred A deferred object to return (instead of a new one)
+     * @return {Promise}    A promise that resolves when the action is completed
+     */
+    function queueMouseEvent(me,delay,area, deferred) {
+        
+        deferred = deferred || u.when.defer();
+
+        function cbFinal(areaId) {
+            if (me.currentAreaId!==areaId && me.highlightId>=0) {
+                deferred.resolve();
+            }
+        }
+        if (me.activeAreaEvent) {
+            window.clearTimeout(me.activeAreaEvent);
+            me.activeAreaEvent=0;
+        }
+        if (delay<0) {
+            return;
+        }
+
+        if (area.owner.currentAction || delay) {
+            me.activeAreaEvent = window.setTimeout((function() {
+                    return function() {
+                        queueMouseEvent(me,0,area,deferred);
+                    };
+                }(area)),
+                delay || 100);
+        } else {
+             cbFinal(area.areaId);
+        }
+        return deferred;
+    }
+
+     /**
+     * Mousedown event. This is captured only to prevent browser from drawing an outline around an
+     * area when it's clicked.
+     *
+     * @param  {EventData} e jQuery event data
+     */
+    
+    function mousedown(e) {
+        if (!m.hasCanvas()) {
+            this.blur();
+        }
+        e.preventDefault();
+    }
+
+    /**
+     * Mouseover event. Handle highlight rendering and client callback on mouseover
+     * 
+     * @param  {MapData} me The MapData context
+     * @param  {EventData} e jQuery event data
+     * @return {[type]}   [description]
+     */
+    
+    function mouseover(me,e) {
+        var arData = me.getAllDataForArea(this),
+            ar=arData.length ? arData[0] : null;
+
+        // mouseover events are ignored entirely while resizing, though we do care about mouseout events
+        // and must queue the action to keep things clean.
+
+        if (!ar || ar.isNotRendered() || ar.owner.currentAction) {
+            return;
+        }
+
+        if (me.currentAreaId === ar.areaId) {
+            return;
+        }
+        if (me.highlightId !== ar.areaId) {
+            me.clearEffects();
+
+            ar.highlight();
+
+            if (me.options.showToolTip) {
+                $.each(arData,function(i,e) {
+                    if (e.effectiveOptions().toolTip) {
+                        e.showToolTip();
+                    }
+                });
+            }
+        }
+
+        me.currentAreaId = ar.areaId;
+
+        if ($.isFunction(me.options.onMouseover)) {
+            me.options.onMouseover.call(this,
+            {
+                e: e,
+                options:ar.effectiveOptions(),
+                key: ar.key,
+                selected: ar.isSelected()
+            });
+        }
+    }
+
+    /**
+     * Mouseout event.
+     *
+     * @param  {MapData} me The MapData context
+     * @param  {EventData} e jQuery event data
+     * @return {[type]}   [description]
+     */
+    
+    function mouseout(me,e) {
+        var newArea,
+            ar = me.getDataForArea(this),
+            opts = me.options;
+
+
+        if (me.currentAreaId<0 || !ar) {
+            return;
+        }
+
+        newArea=me.getDataForArea(e.relatedTarget);
+        
+        if (newArea === ar) {
+            return;
+        }
+
+        me.currentAreaId = -1;
+        ar.area=null;
+
+        queueMouseEvent(me,opts.mouseoutDelay,ar)
+            .then(me.clearEffects);
+
+        if ($.isFunction(opts.onMouseout)) {
+            opts.onMouseout.call(this,
+            {
+                e: e,
+                options: opts,
+                key: ar.key,
+                selected: ar.isSelected()
+            });
+        }
+
+    }
+    
+    /**
+     * Clear any active tooltip or highlight
+     *
+     * @param  {MapData} me The MapData context
+     * @param  {EventData} e jQuery event data
+     * @return {[type]}   [description]
+     */
+    
+    function clearEffects(me) {
+        var opts = me.options;
+
+        me.ensureNoHighlight();
+
+        if (opts.toolTipClose 
+            && $.inArray('area-mouseout', opts.toolTipClose) >= 0 
+            && me.activeToolTip) 
+        {
+            me.clearToolTip();
+        }
+    }
+
+    /**
+     * Mouse click event handler
+     *
+     * @param  {MapData} me The MapData context
+     * @param  {EventData} e jQuery event data
+     * @return {[type]}   [description]
+     */
+    
+    function click(me,e) {
+        var selected, list, list_target, newSelectionState, canChangeState, cbResult,
+            that = this,
+            ar = me.getDataForArea(this),
+            opts = me.options;
+
+        function clickArea(ar) {
+            var areaOpts,target;
+            canChangeState = (ar.isSelectable() &&
+                (ar.isDeselectable() || !ar.isSelected()));
+            
+            if (canChangeState) {
+                newSelectionState = !ar.isSelected();
+            } else {
+                newSelectionState = ar.isSelected();
+            }
+
+            list_target = m.getBoundList(opts, ar.key);
+
+            if ($.isFunction(opts.onClick)) 
+            {
+                cbResult= opts.onClick.call(that,
+                {
+                    e: e,
+                    listTarget: list_target,
+                    key: ar.key,
+                    selected: newSelectionState
+                });
+
+                if (u.isBool(cbResult)) {
+                    if (!cbResult) {
+                        return false;
+                    }
+                    target = $(ar.area).attr('href');
+                    if (target!=='#') {
+                        window.location.href=target;
+                        return false;
+                    }
+                }
+            }
+
+            if (canChangeState) {
+                selected = ar.toggle();
+            }
+
+            if (opts.boundList && opts.boundList.length > 0) {
+                m.setBoundListProperties(opts, list_target, ar.isSelected());
+            }
+
+            areaOpts = ar.effectiveOptions();
+            if (areaOpts.includeKeys) {
+                list = u.split(areaOpts.includeKeys);
+                $.each(list, function (i, e) {
+                    var ar = me.getDataForKey(e.toString());
+                    if (!ar.options.isMask) {
+                        clickArea(ar);
+                    }
+                });
+            }
+        }
+
+        mousedown.call(this,e);
+
+        if (opts.clickNavigate && ar.href) {
+            window.location.href=ar.href;
+            return;
+        }
+
+        if (ar && !ar.owner.currentAction) {
+            opts = me.options;
+            clickArea(ar);
+        }
+    }
+
+    /**
+     * Prototype for a MapData object, representing an ImageMapster bound object
+     * @param {Element} image   an IMG element
+     * @param {object} options  ImageMapster binding options
+     */
+    m.MapData = function (image, options) 
+    {
+        var me = this;
+        
+        // (Image)  main map image
+        
+        me.image = image;              
+
+        me.images = new m.MapImages(me); 
+        me.graphics = new m.Graphics(me);
+
+        // save the initial style of the image for unbinding. This is problematic, chrome 
+        // duplicates styles when assigning, and cssText is apparently not universally supported.
+        // Need to do something more robust to make unbinding work universally.
+        
+        me.imgCssText = image.style.cssText || null;
+
+        initializeDefaults(me);
+
+        me.configureOptions(options);
+        
+        // create context-bound event handlers from our private functions
+        
+        me.mouseover = function(e) { mouseover.call(this,me,e); };
+        me.mouseout = function(e) { mouseout.call(this,me,e); };
+        me.click = function(e) { click.call(this,me,e); };
+        me.clearEffects = function(e) { clearEffects.call(this,me,e); };
+    };
+
+    m.MapData.prototype = {
+        constructor: m.MapData,
+
+         /**
+         * Set target.options from defaults + options
+         * @param  {[type]} target      The target
+         * @param  {[type]} options     The options to merge
+         */
+        
+        configureOptions: function(options) {
+            this.options= u.updateProps({}, m.defaults, options);
+        },
+
+        /**
+         * Ensure all images are loaded
+         * @return {Promise} A promise that resolves when the images have finished loading (or fail)
+         */
+    
+        bindImages: function() {
+            var me=this,
+                mi = me.images;
+
+            // reset the images if this is a rebind
+            
+            if (mi.length>2) {
+                mi.splice(2);
+            } else if (mi.length===0) {
+
+                // add the actual main image
+                mi.add(me.image);
+                // will create a duplicate of the main image, we need this to get raw size info
+                mi.add(me.image.src);
+            }
+            
+            configureAltImages(me);
+
+            return me.images.bind();
+        },
+
+        /**
+         * Test whether an async action is currently in progress
+         * @return {Boolean} true or false indicating state
+         */
+        
+        isActive: function() {
+            return !this.complete || this.currentAction;
+        },
+
+        /**
+         * Return an object indicating the various states. This isn't really used by 
+         * production code.
+         * 
+         * @return {object} An object with properties for various states
+         */
+        
+        state: function () {
+            return {
+                complete: this.complete,
+                resizing: this.currentAction==='resizing',
+                zoomed: this.zoomed,
+                zoomedArea: this.zoomedArea,
+                scaleInfo: this.scaleInfo
+            };
+        },   
+
+        /**
+         * Get a unique ID for the wrapper of this imagemapster
+         * @return {string} A string that is unique to this image
+         */
+        
+        wrapId: function () {
+            return 'mapster_wrap_' + this.index;
+        },
+        _idFromKey: function (key) {
+            return typeof key === "string" && this._xref.hasOwnProperty(key) ?
+                        this._xref[key] : -1;
+        },
+
+        /**
+         * Return a comma-separated string of all selected keys
+         * @return {string} CSV of all keys that are currently selected
+         */
+        
+        getSelected: function () {
+            var result = '';
+            $.each(this.data, function (i,e) {
+                if (e.isSelected()) {
+                    result += (result ? ',' : '') + this.key;
+                }
+            });
+            return result;
+        },
+
+        /**
+         * Get an array of MapAreas associated with a specific AREA based on the keys for that area
+         * @param  {Element} area   An HTML AREA
+         * @param  {number} atMost  A number limiting the number of areas to be returned (typically 1 or 0 for no limit)
+         * @return {MapArea[]}      Array of MapArea objects
+         */
+        
+        getAllDataForArea:function (area,atMost) {
+            var i,ar, result,
+                me=this,
+                key = $(area).filter('area').attr(me.options.mapKey);
+
+            if (key) {
+                result=[];
+                key = u.split(key);
+
+                for (i=0;i<(atMost || key.length);i++) {
+                    ar = me.data[me._idFromKey(key[i])];
+                    ar.area=area.length ? area[0]:area;
+                    // set the actual area moused over/selected
+                    // TODO: this is a brittle model for capturing which specific area - if this method was not used,
+                    // ar.area could have old data. fix this.
+                    result.push(ar);
+                }
+            }
+
+            return result;
+        },
+        getDataForArea: function(area) {
+            var ar=this.getAllDataForArea(area,1);
+            return ar ? ar[0] || null : null;
+        },
+        getDataForKey: function (key) {
+            return this.data[this._idFromKey(key)];
+        },
+        
+        /**
+         * Get the primary keys associated with an area group.
+         * If this is a primary key, it will be returned.
+         * 
+         * @param  {string key An area key
+         * @return {string} A CSV of area keys
+         */
+        
+        getKeysForGroup: function(key) {
+            var ar=this.getDataForKey(key);
+            
+            return !ar ? '':
+                ar.isPrimary ? 
+                    ar.key :
+                    this.getPrimaryKeysForMapAreas(ar.areas()).join(',');
+        },
+        
+        /**
+         * given an array of MapArea object, return an array of its unique primary keys
+         * @param  {MapArea[]} areas The areas to analyze
+         * @return {string[]} An array of unique primary keys
+         */
+        
+        getPrimaryKeysForMapAreas: function(areas)
+        {
+            var keys=[];
+            $.each(areas,function(i,e) {
+                if ($.inArray(e.keys[0],keys)<0) {
+                    keys.push(e.keys[0]);
+                }
+            });
+            return keys;
+        },
+        getData: function (obj) {
+            if (typeof obj === 'string') {
+                return this.getDataForKey(obj);
+            } else if (obj && obj.mapster || u.isElement(obj)) {
+                return this.getDataForArea(obj);
+            } else {
+                return null;
+            }
+        },
+        // remove highlight if present, raise event
+        ensureNoHighlight: function () {
+            var ar;
+            if (this.highlightId >= 0) {
+                this.graphics.clearHighlight();
+                ar = this.data[this.highlightId];
+                ar.changeState('highlight', false);
+                this.setHighlightId(-1);
+            }
+        },
+        setHighlightId: function(id) {
+            this.highlightId = id;
+        },
+        
+        /**
+         * Clear all active selections on this map
+         */
+        
+        clearSelections: function () {
+            $.each(this.data, function (i,e) {
+                if (e.selected) {
+                    e.deselect(true);
+                 }
+            });
+            this.removeSelectionFinish();
+            
+        },
+
+        /**
+         * Set area options from an array of option data.
+         * 
+         * @param {object[]} areas An array of objects containing area-specific options
+         */
+        
+        setAreaOptions: function (areas) {
+            var i, area_options, ar;
+            areas = areas || [];
+
+            // refer by: map_data.options[map_data.data[x].area_option_id]
+            
+            for (i = areas.length - 1; i >= 0; i--) {
+                area_options = areas[i];
+                if (area_options) {
+                    ar = this.getDataForKey(area_options.key);
+                    if (ar) {
+                        u.updateProps(ar.options, area_options);
+                        
+                        // TODO: will not deselect areas that were previously selected, so this only works
+                        // for an initial bind.
+                        
+                        if (u.isBool(area_options.selected)) {
+                            ar.selected = area_options.selected;
+                        }
+                    }
+                }
+            }
+        },
+        // keys: a comma-separated list
+        drawSelections: function (keys) {
+            var i, key_arr = u.asArray(keys);
+
+            for (i = key_arr.length - 1; i >= 0; i--) {
+                this.data[key_arr[i]].drawSelection();
+            }
+        },
+        redrawSelections: function () {
+            $.each(this.data, function (i, e) {
+                if (e.isSelectedOrStatic()) {
+                    e.drawSelection();
+                }
+            });
+
+        },
+        ///called when images are done loading
+        initialize: function () {
+            var imgCopy, base_canvas, overlay_canvas, wrap, parentId, css, i,size,
+                img,sort_func, sorted_list,  scale,  
+                        me = this,
+                        opts = me.options;
+
+            if (me.complete) {
+                return;
+            }
+
+            img = $(me.image);
+            
+            parentId = img.parent().attr('id');
+
+            // create a div wrapper only if there's not already a wrapper, otherwise, own it
+            
+            if (parentId && parentId.length >= 12 && parentId.substring(0, 12) === "mapster_wrap") {
+                wrap = img.parent();
+                wrap.attr('id', me.wrapId());
+            } else {
+                wrap = $('<div id="' + me.wrapId() + '"></div>');
+
+                if (opts.wrapClass) {
+                    if (opts.wrapClass === true) {
+                        wrap.addClass(img[0].className);
+                    }
+                    else {
+                        wrap.addClass(opts.wrapClass);
+                    }
+                }
+            }
+            me.wrapper = wrap;
+            
+            // me.images[1] is the copy of the original image. It should be loaded & at its native size now so we can obtain the true
+            // width & height. This is needed to scale the imagemap if not being shown at its native size. It is also needed purely
+            // to finish binding in case the original image was not visible. It can be impossible in some browsers to obtain the
+            // native size of a hidden image.
+
+            me.scaleInfo = scale = u.scaleMap(me.images[0],me.images[1], opts.scaleMap);
+            
+            me.base_canvas = base_canvas = me.graphics.createVisibleCanvas(me);
+            me.overlay_canvas = overlay_canvas = me.graphics.createVisibleCanvas(me);
+
+            // Now we got what we needed from the copy -clone from the original image again to make sure any other attributes are copied
+            imgCopy = $(me.images[1])
+                .addClass('mapster_el '+ me.images[0].className)
+                .attr({id:null, usemap: null});
+                
+            size=u.size(me.images[0]);
+            
+            if (size.complete) {
+                imgCopy.css({
+                    width: size.width,
+                    height: size.height
+                });
+            }
+     
+            me.buildDataset();
+
+            // now that we have processed all the areas, set css for wrapper, scale map if needed
+
+            css = {
+                display: 'block',
+                position: 'relative',
+                padding: 0,
+                width: scale.width,
+                height: scale.height
+            };
+
+            if (opts.wrapCss) {
+                $.extend(css, opts.wrapCss);
+            }
+            // if we were rebinding with an existing wrapper, the image will aready be in it
+            if (img.parent()[0] !== me.wrapper[0]) {
+
+                img.before(me.wrapper);
+            }
+
+            wrap.css(css);
+
+            // move all generated images into the wrapper for easy removal later
+
+            $(me.images.slice(2)).hide();
+            for (i = 1; i < me.images.length; i++) {
+                wrap.append(me.images[i]);
+            }
+
+            //me.images[1].style.cssText = me.image.style.cssText;
+
+            wrap.append(base_canvas)
+                        .append(overlay_canvas)
+                        .append(img.css(m.canvas_style));
+
+            // images[0] is the original image with map, images[1] is the copy/background that is visible
+
+            u.setOpacity(me.images[0], 0);
+            $(me.images[1]).show();
+
+            u.setOpacity(me.images[1],1);
+
+            if (opts.isSelectable && opts.onGetList) {
+                sorted_list = me.data.slice(0);
+                if (opts.sortList) {
+                    if (opts.sortList === "desc") {
+                        sort_func = function (a, b) {
+                            return a === b ? 0 : (a > b ? -1 : 1);
+                        };
+                    }
+                    else {
+                        sort_func = function (a, b) {
+                            return a === b ? 0 : (a < b ? -1 : 1);
+                        };
+                    }
+
+                    sorted_list.sort(function (a, b) {
+                        a = a.value;
+                        b = b.value;
+                        return sort_func(a, b);
+                    });
+                }
+
+                me.options.boundList = opts.onGetList.call(me.image, sorted_list);
+            }
+            
+            me.complete=true;
+            me.processCommandQueue();
+            
+            if (opts.onConfigured && typeof opts.onConfigured === 'function') {
+                opts.onConfigured.call(img, true);
+            }
+        },
+
+        // when rebind is true, the MapArea data will not be rebuilt.
+        buildDataset: function(rebind) {
+            var sel,areas,j,area_id,$area,area,curKey,mapArea,key,keys,mapAreaId,group_value,dataItem,href,
+                me=this,
+                opts=me.options,
+                default_group;
+
+            function addAreaData(key, value) {
+                var dataItem = new m.AreaData(me, key, value);
+                dataItem.areaId = me._xref[key] = me.data.push(dataItem) - 1;
+                return dataItem.areaId;
+            }
+
+            me._xref = {};
+            me.data = [];
+            if (!rebind) {
+                me.mapAreas=[];
+            }
+
+            default_group = !opts.mapKey;
+            if (default_group) {
+                opts.mapKey = 'data-mapster-key';
+            }
+
+            // the [attribute] selector is broken on old IE with jQuery. hasVml() is a quick and dirty
+            // way to test for that
+            
+            sel = m.hasVml() ? 'area' :
+                        (default_group ? 
+                            'area[coords]' : 
+                            'area[' + opts.mapKey + ']');
+
+            areas = $(me.map).find(sel).unbind('.mapster');
+                        
+            for (mapAreaId = 0;mapAreaId<areas.length; mapAreaId++) {
+                area_id = 0;
+                area = areas[mapAreaId];
+                $area = $(area);
+
+                // skip areas with no coords - selector broken for older ie
+                if (!area.coords) {
+                    continue;
+                }
+                // Create a key if none was assigned by the user
+
+                if (default_group) {
+                     curKey=String(mapAreaId);
+                    $area.attr('data-mapster-key', curKey);
+                   
+                } else {
+                    curKey = area.getAttribute(opts.mapKey);
+                }
+
+                // conditions for which the area will be bound to mouse events
+                // only bind to areas that don't have nohref. ie 6&7 cannot detect the presence of nohref, so we have to also not bind if href is missing.
+
+                if (rebind) {
+                    mapArea = me.mapAreas[$area.data('mapster')-1];
+                    mapArea.configure(curKey);
+                } else {
+                    mapArea = new m.MapArea(me, area,curKey);
+                    me.mapAreas.push(mapArea);
+                }
+
+                keys = mapArea.keys; // converted to an array by mapArea
+
+
+                // Iterate through each mapKey assigned to this area
+                for (j = keys.length - 1; j >= 0; j--) {
+                    key = keys[j];
+
+                    if (opts.mapValue) {
+                        group_value = $area.attr(opts.mapValue);
+                    }
+                    if (default_group) {
+                        // set an attribute so we can refer to the area by index from the DOM object if no key
+                        area_id = addAreaData(me.data.length, group_value);
+                        dataItem = me.data[area_id];
+                        dataItem.key = key = area_id.toString();
+                    }
+                    else {
+                        area_id = me._xref[key];
+                        if (area_id >= 0) {
+                            dataItem = me.data[area_id];
+                            if (group_value && !me.data[area_id].value) {
+                                dataItem.value = group_value;
+                            }
+                        }
+                        else {
+                            area_id = addAreaData(key, group_value);
+                            dataItem = me.data[area_id];
+                            dataItem.isPrimary=j===0;
+                        }
+                    }
+                    mapArea.areaDataXref.push(area_id);
+                    dataItem.areasXref.push(mapAreaId);
+                }
+
+                href=$area.attr('href');
+                if (href && href!=='#' && !dataItem.href)
+                {
+                    dataItem.href=href;
+                }
+
+                if (!mapArea.nohref) {
+                    $area.bind('click.mapster', me.click);
+                       
+                    if (!m.isTouch) {
+                        $area.bind('mouseover.mapster', me.mouseover)
+                            .bind('mouseout.mapster', me.mouseout)
+                            .bind('mousedown.mapster', me.mousedown);
+                        
+                    }
+                        
+                }
+
+                // store an ID with each area. 
+                $area.data("mapster", mapAreaId+1);
+            }
+           
+            // TODO listenToList
+            //            if (opts.listenToList && opts.nitG) {
+            //                opts.nitG.bind('click.mapster', event_hooks[map_data.hooks_index].listclick_hook);
+            //            }
+
+            // populate areas from config options
+            me.setAreaOptions(opts.areas);
+            me.redrawSelections();
+
+        },
+        processCommandQueue: function() {
+            
+            var cur,me=this;
+            while (!me.currentAction && me.commands.length) {
+                cur = me.commands[0];
+                me.commands.splice(0,1);
+                m.impl[cur.command].apply(cur.that, cur.args);
+            }
+        },
+        clearEvents: function () {
+            $(this.map).find('area')
+                        .unbind('.mapster');
+            $(this.images)
+                        .unbind('.mapster');
+        },
+        _clearCanvases: function (preserveState) {
+            // remove the canvas elements created
+            if (!preserveState) {
+                $(this.base_canvas).remove();
+            }
+            $(this.overlay_canvas).remove();
+        },
+        clearMapData: function (preserveState) {
+            var me = this;
+            this._clearCanvases(preserveState);
+
+            // release refs to DOM elements
+            $.each(this.data, function (i, e) {
+                e.reset();
+            });
+            this.data = null;
+            if (!preserveState) {
+                // get rid of everything except the original image
+                this.image.style.cssText = this.imgCssText;
+                $(this.wrapper).before(this.image).remove();
+            }
+
+            me.images.clear();
+
+            this.image = null;
+            u.ifFunction(this.clearTooltip, this);
+        },
+
+        // Compelete cleanup process for deslecting items. Called after a batch operation, or by AreaData for single
+        // operations not flagged as "partial"
+        
+        removeSelectionFinish: function () {
+            var g = this.graphics;
+
+            g.refreshSelections();
+            // do not call ensure_no_highlight- we don't really want to unhilight it, just remove the effect
+            g.clearHighlight();
+        }
+    };
+} (jQuery));
+/* areadata.js
+   AreaData and MapArea protoypes
+*/
+
+(function ($) {
+    var m = $.mapster, u = m.utils;
+    
+    /**
+     * Select this area
+     * 
+     * @param {AreaData} me  AreaData context
+     * @param {object} options Options for rendering the selection
+     */
+    function select(options) {
+        // need to add the new one first so that the double-opacity effect leaves the current one highlighted for singleSelect
+        
+        var me=this, o = me.owner;
+        if (o.options.singleSelect) {
+            o.clearSelections();
+        }
+
+        // because areas can overlap - we can't depend on the selection state to tell us anything about the inner areas.
+        // don't check if it's already selected
+        if (!me.isSelected()) {
+            if (options) {
+                
+                // cache the current options, and map the altImageId if an altimage 
+                // was passed
+
+                me.optsCache = $.extend(me.effectiveRenderOptions('select'),
+                    options,
+                    { 
+                        altImageId: o.images.add(options.altImage)
+                    });
+            }
+
+            me.drawSelection();
+
+            me.selected = true;
+            me.changeState('select', true);
+        }
+
+        if (o.options.singleSelect) {
+            o.graphics.refreshSelections();
+        }
+    }
+
+    /**
+     * Deselect this area, optionally deferring finalization so additional areas can be deselected
+     * in a single operation
+     * 
+     * @param  {boolean} partial when true, the caller must invoke "finishRemoveSelection" to render 
+     */
+    
+    function deselect(partial) {
+        var me=this;
+        me.selected = false;
+        me.changeState('select', false);
+
+        // release information about last area options when deselecting.
+        
+        me.optsCache=null;
+        me.owner.graphics.removeSelections(me.areaId);
+
+        // Complete selection removal process. This is separated because it's very inefficient to perform the whole
+        // process for multiple removals, as the canvas must be totally redrawn at the end of the process.ar.remove
+        
+        if (!partial) {
+            me.owner.removeSelectionFinish();
+        }
+    }
+
+    /**
+     * Toggle the selection state of this area
+     * @param  {object} options Rendering options, if toggling on
+     * @return {bool} The new selection state
+     */
+    function toggle(options) {
+        var me=this;
+        if (!me.isSelected()) {
+            me.select(options);
+        }
+        else {
+            me.deselect();
+        }
+        return me.isSelected();
+    }
+
+    /**
+     * An AreaData object; represents a conceptual area that can be composed of 
+     * one or more MapArea objects
+     * 
+     * @param {MapData} owner The MapData object to which this belongs
+     * @param {string} key   The key for this area
+     * @param {string} value The mapValue string for this area
+     */
+    
+    m.AreaData = function (owner, key, value) {
+        $.extend(this,{
+            owner: owner, 
+            key: key || '',
+            // means this represents the first key in a list of keys (it's the area group that gets highlighted on mouseover)
+            isPrimary: true,
+            areaId: -1,
+            href: '',
+            value: value || '',
+            options:{},
+            // "null" means unchanged. Use "isSelected" method to just test true/false 
+            selected: null,       
+            // xref to MapArea objects
+            areasXref: [],
+            // (temporary storage) - the actual area moused over
+            area: null,
+            // the last options used to render this. Cache so when re-drawing after a remove, changes in options won't
+            // break already selected things. 
+            optsCache: null
+         });
+    };
+
+    /**
+     * The public API for AreaData object
+     */
+
+    m.AreaData.prototype = {
+        constuctor: m.AreaData,
+        select: select,
+        deselect: deselect,
+        toggle: toggle,
+        areas: function() {
+            var i,result=[];
+            for (i=0;i<this.areasXref.length;i++) {
+                result.push(this.owner.mapAreas[this.areasXref[i]]);
+            }
+            return result;
+        },
+        // return all coordinates for all areas
+        coords: function(offset) {
+            var coords = [];
+            $.each(this.areas(), function (i, el) {
+                coords = coords.concat(el.coords(offset));
+            });
+            return coords;
+        },
+        reset: function () {
+            $.each(this.areas(), function (i, e) {
+                e.reset();
+            });
+            this.areasXref = [];
+            this.options = null;
+        },
+        // Return the effective selected state of an area, incorporating staticState
+        isSelectedOrStatic: function () {
+
+            var o = this.effectiveOptions();
+            return u.isBool(o.staticState) ? o.staticState :
+                        this.isSelected();
+        },
+        isSelected: function () {
+            return u.isBool(this.selected) ? this.selected :
+                u.isBool(this.owner.area_options.selected) ? this.owner.area_options.selected : false;
+        },
+        isSelectable: function () {
+            return u.isBool(this.effectiveOptions().staticState) ? false :
+                        (u.isBool(this.owner.options.staticState) ? false : u.boolOrDefault(this.effectiveOptions().isSelectable,true));
+        },
+        isDeselectable: function () {
+            return u.isBool(this.effectiveOptions().staticState) ? false :
+                        (u.isBool(this.owner.options.staticState) ? false : u.boolOrDefault(this.effectiveOptions().isDeselectable,true));
+        },
+        isNotRendered: function() {
+            var area = $(this.area);
+            return area.attr('nohref') ||
+                !area.attr('href') ||
+                this.effectiveOptions().isMask;
+
+        },
+
+        
+         /**
+         * Return the overall options effective for this area. 
+         * This should get the default options, and merge in area-specific options, finally
+         * overlaying options passed by parameter
+         * 
+         * @param  {[type]} options  options which will supercede all other options for this area
+         * @return {[type]}          the combined options
+         */
+        
+        effectiveOptions: function (options) {
+            
+            var opts = u.updateProps({},
+                    this.owner.area_options,
+                    this.options,
+                    options || {},
+                    {
+                        id: this.areaId 
+                    }
+                );
+
+            opts.selected = this.isSelected();
+            
+            return opts;
+        },
+
+        /**
+         * Return the options effective for this area for a "render" or "highlight" mode. 
+         * This should get the default options, merge in the areas-specific options, 
+         * and then the mode-specific options.
+         * @param  {string} mode    'render' or 'highlight'
+         * @param  {[type]} options  options which will supercede all other options for this area
+         * @return {[type]}          the combined options
+         */
+        
+        effectiveRenderOptions: function (mode, options) {
+            var allOpts,opts=this.optsCache;
+            
+            if (!opts || mode==='highlight') {
+                allOpts = this.effectiveOptions(options);
+                opts = u.updateProps({},
+                    allOpts,
+                    allOpts["render_" + mode]
+                );
+                    
+                if (mode!=='highlight') {
+                    this.optsCache=opts;
+                }
+            }
+            return $.extend({},opts);
+        },
+
+        // Fire callback on area state change
+        changeState: function (state_type, state) {
+            if ($.isFunction(this.owner.options.onStateChange)) {
+                this.owner.options.onStateChange.call(this.owner.image,
+                    {
+                        key: this.key,
+                        state: state_type,
+                        selected: state
+                    }
+                );
+            }
+        },
+
+        // highlight this area
+         
+        highlight: function (options) {
+            var o = this.owner;
+            if (this.effectiveOptions().highlight) {
+                o.graphics.addShapeGroup(this, "highlight",options);
+            }
+            o.setHighlightId(this.areaId);
+            this.changeState('highlight', true);
+        },
+
+        // select this area. if "callEvent" is true then the state change event will be called. (This method can be used
+        // during config operations, in which case no event is indicated)
+        
+        drawSelection: function () {
+        
+
+            this.owner.graphics.addShapeGroup(this, "select");
+        
+        }
+
+
+    };
+    // represents an HTML area
+    m.MapArea = function (owner,areaEl,keys) {
+        if (!owner) {
+            return;
+        }
+        var me = this;
+        me.owner = owner;   // a MapData object
+        me.area = areaEl;
+        me.areaDataXref=[]; // a list of map_data.data[] id's for each areaData object containing this
+        me.originalCoords = [];
+        $.each(u.split(areaEl.coords), function (i, el) {
+            me.originalCoords.push(parseFloat(el));
+        });
+        me.length = me.originalCoords.length;
+        me.shape = areaEl.shape.toLowerCase();
+        me.nohref = areaEl.nohref || !areaEl.href;
+        me.configure(keys);
+    };
+    m.MapArea.prototype= {
+        constructor: m.MapArea,
+        configure: function(keys) {
+            this.keys = u.split(keys);
+        },
+        reset: function() {
+            this.area=null;
+        },
+        coords: function (offset) {
+            return $.map(this.originalCoords,function(e) {
+                return offset ? e : e+offset;
+            });
+        }
+    };
+} (jQuery));
+/* areacorners.js
+   determine the best place to put a box of dimensions (width,height) given a circle, rect or poly
+*/
+
+(function ($) {
+    var u=$.mapster.utils;
+
+
+    /**
+     * Compute positions that will place a target with dimensions [width,height] outside 
+     * but near the boundaries of the elements "elements". When an imagemap is passed, the 
+     *
+     * @param  {Element|Element[]} elements An element or an array of elements (such as a jQuery object)
+     * @param  {Element} image The image to which area elements are bound, if this is an image map.
+     * @param  {Element} container The contianer in which the target must be constrained (or document, if missing)
+     * @param  {int} width The width of the target object
+     * @return {object} a structure with the x and y positions
+     */
+    u.areaCorners = function (elements, image, container, width, height) {
+        var pos,found, minX, minY, maxX, maxY, bestMinX, bestMaxX, bestMinY, bestMaxY, curX, curY, nest, j,
+           offsetx=0, 
+           offsety=0,
+           rootx,
+           rooty,
+           iCoords,radius,angle,el,
+           coords=[];
+
+        // if a single element was passed, map it to an array
+        
+        elements = elements.length ? 
+            elements:
+            [elements];
+
+        container = container ? 
+            $(container):
+            $(document.body);
+
+        // get the relative root of calculation
+
+        pos = container.offset();
+        rootx = pos.left;
+        rooty = pos.top;
+
+        // with areas, all we know about is relative to the top-left corner of the image. We need to add an offset compared to
+        // the actual container. After this calculation, offsetx/offsety can be added to either the area coords, or the target's
+        // absolute position to get the correct top/left boundaries of the container.
+
+        if (image) {
+            pos = $(image).offset();
+            offsetx = pos.left;
+            offsety = pos.top;
+        }
+
+        // map the coordinates of any type of shape to a poly and use the logic. simpler than using three different
+        // calculation methods. Circles use a 20 degree increment for this estimation.
+
+        for (j=0;j<elements.length;j++) 
+        {
+            el=elements[j];
+            if (el.nodeName==='AREA') {
+                iCoords = u.split(el.coords,parseInt);
+
+                switch(el.shape) {
+                    case 'circle':
+                        curX=iCoords[0];
+                        curY=iCoords[1];
+                        radius=iCoords[2];
+                        coords=[];
+                        for (j=0;j<360;j+=20) {
+                             angle=j*Math.PI/180;
+                             coords.push(curX+radius*Math.cos(angle),curY+radius*Math.sin(angle));
+                        }
+                        break;
+                      case 'rect':
+                          coords.push(iCoords[0],iCoords[1],iCoords[2],iCoords[1],iCoords[2],iCoords[3],iCoords[0],iCoords[3]);
+                          break;
+                      default:
+                          coords=coords.concat(iCoords);
+                         break;
+                }
+
+                // map area positions to it's real position in the container
+
+                for (j=0;j<coords.length;j+=2)
+                {
+                    coords[j]=parseInt(coords[j],10)+offsetx;
+                    coords[j+1]=parseInt(coords[j+1],10)+offsety;
+                }
+            } else {
+                el=$(el);
+                pos = el.position();
+                coords.push(pos.left,pos.top,
+                            pos.left+el.width(),pos.top,
+                            pos.left+el.width(),pos.top+el.height(),
+                            pos.left,pos.top+el.height());
+
+            }
+        }
+        
+        minX = minY = bestMinX = bestMinY = 999999;
+        maxX = maxY = bestMaxX = bestMaxY = -1;
+
+        for (j = coords.length - 2; j >= 0; j -= 2) {
+            curX = coords[j];
+            curY = coords[j + 1];
+            
+            if (curX < minX) {
+                minX = curX;
+                bestMaxY = curY;
+            }
+            if (curX > maxX) {
+                maxX = curX;
+                bestMinY = curY;
+            }
+            if (curY < minY) {
+                minY = curY;
+                bestMaxX = curX;
+            }
+            if (curY > maxY) {
+                maxY = curY;
+                bestMinX = curX;
+            }
+
+        }
+
+        // try to figure out the best place for the tooltip
+        
+        if (width && height) {
+            found=false;
+            $.each([[bestMaxX - width, minY - height], [bestMinX, minY - height],
+                             [minX - width, bestMaxY - height], [minX - width, bestMinY],
+                             [maxX,bestMaxY - height], [ maxX,bestMinY],
+                             [bestMaxX - width, maxY], [bestMinX, maxY]
+                      ],function (i, e) {
+                          if (!found && (e[0] > rootx && e[1] > rooty)) {
+                              nest = e;
+                              found=true;
+                              return false;
+                  }
+             });
+             
+             // default to lower-right corner if nothing fit inside the boundaries of the image
+             
+             if (!found) {
+                 nest=[maxX,maxY];
+             }
+        }
+        return nest;
+    };
+} (jQuery));
+/* scale.js: resize and zoom functionality
+   requires areacorners.js, when.js
+*/
+
+
+(function ($) {
+    var m = $.mapster, u = m.utils, p = m.MapArea.prototype;
+
+    m.utils.getScaleInfo = function (eff, actual) {
+        var pct;
+        if (!actual) {
+            pct = 1;
+            actual=eff;
+        } else {
+            pct = eff.width / actual.width || eff.height / actual.height;
+            // make sure a float error doesn't muck us up
+            if (pct > 0.98 && pct < 1.02) { pct = 1; }
+        }
+        return {
+            scale: (pct !== 1),
+            scalePct: pct,
+            realWidth: actual.width,
+            realHeight: actual.height,
+            width: eff.width,
+            height: eff.height,
+            ratio: eff.width / eff.height
+        };
+    };
+    // Scale a set of AREAs, return old data as an array of objects
+    m.utils.scaleMap = function (image, imageRaw, scale) {
+        
+        // stunningly, jQuery width can return zero even as width does not, seems to happen only
+        // with adBlock or maybe other plugins. These must interfere with onload events somehow.
+
+
+        var vis=u.size(image),
+            raw=u.size(imageRaw,true);
+
+        if (!raw.complete()) {
+            throw("Another script, such as an extension, appears to be interfering with image loading. Please let us know about this.");
+        }
+        if (!vis.complete()) {
+            vis=raw;
+        }
+        return this.getScaleInfo(vis, scale ? raw : null);
+    };
+    
+    /**
+     * Resize the image map. Only one of newWidth and newHeight should be passed to preserve scale
+     * 
+     * @param  {int}   width       The new width OR an object containing named parameters matching this function sig
+     * @param  {int}   height      The new height
+     * @param  {int}   effectDuration Time in ms for the resize animation, or zero for no animation
+     * @param  {function} callback    A function to invoke when the operation finishes
+     * @return {promise}              NOT YET IMPLEMENTED
+     */
+    
+    m.MapData.prototype.resize = function (width, height, duration, callback) {
+        var p,promises,newsize,els, highlightId, ratio, 
+            me = this;
+        
+        // allow omitting duration
+        callback = callback || duration;
+
+        function sizeCanvas(canvas, w, h) {
+            if (m.hasCanvas()) {
+                canvas.width = w;
+                canvas.height = h;
+            } else {
+                $(canvas).width(w);
+                $(canvas).height(h);
+            }
+        }
+
+        // Finalize resize action, do callback, pass control to command queue
+
+        function cleanupAndNotify() {
+
+            me.currentAction = '';
+            
+            if ($.isFunction(callback)) {
+                callback();
+            }
+            
+            me.processCommandQueue();
+        }
+
+        // handle cleanup after the inner elements are resized
+        
+        function finishResize() {
+            sizeCanvas(me.overlay_canvas, width, height);
+
+            // restore highlight state if it was highlighted before
+            if (highlightId >= 0) {
+                var areaData = me.data[highlightId];
+                areaData.tempOptions = { fade: false };
+                me.getDataForKey(areaData.key).highlight();
+                areaData.tempOptions = null;
+            }
+            sizeCanvas(me.base_canvas, width, height);
+            me.redrawSelections();
+            cleanupAndNotify();
+        }
+
+        function resizeMapData() {
+            $(me.image).css(newsize);
+            // start calculation at the same time as effect
+            me.scaleInfo = u.getScaleInfo({
+                    width: width,
+                    height: height
+                },
+                { 
+                    width: me.scaleInfo.realWidth,
+                    height: me.scaleInfo.realHeight
+                });
+            $.each(me.data, function (i, e) {
+                $.each(e.areas(), function (i, e) {
+                    e.resize();
+                });
+            });
+        }
+
+        if (me.scaleInfo.width === width && me.scaleInfo.height === height) {
+            return;
+        }
+
+        highlightId = me.highlightId;
+
+        
+        if (!width) {
+            ratio = height / me.scaleInfo.realHeight;
+            width = Math.round(me.scaleInfo.realWidth * ratio);
+        }
+        if (!height) {
+            ratio = width / me.scaleInfo.realWidth;
+            height = Math.round(me.scaleInfo.realHeight * ratio);
+        }
+
+        newsize = { 'width': String(width) + 'px', 'height': String(height) + 'px' };
+        if (!m.hasCanvas()) {
+            $(me.base_canvas).children().remove();
+        }
+
+        // resize all the elements that are part of the map except the image itself (which is not visible)
+        // but including the div wrapper
+        els = $(me.wrapper).find('.mapster_el').add(me.wrapper);
+
+        if (duration) {
+            promises = [];
+            me.currentAction = 'resizing';
+            els.each(function (i, e) {
+                p = u.defer();
+                promises.push(p);
+
+                $(e).animate(newsize, {
+                    duration: duration,
+                    complete: p.resolve,
+                    easing: "linear"
+                });
+            });
+
+            p = u.defer();
+            promises.push(p);
+
+            // though resizeMapData is not async, it needs to be finished just the same as the animations,
+            // so add it to the "to do" list.
+            
+            u.when.all(promises).then(finishResize);
+            resizeMapData();
+            p.resolve();
+        } else {
+            els.css(newsize);
+            resizeMapData();
+            finishResize();
+            
+        }
+    };
+
+
+    m.MapArea = u.subclass(m.MapArea, function () {
+        //change the area tag data if needed
+        this.base.init();
+        if (this.owner.scaleInfo.scale) {
+            this.resize();
+        }
+    });
+
+    p.coords = function (percent, coordOffset) {
+        var j, newCoords = [],
+                    pct = percent || this.owner.scaleInfo.scalePct,
+                    offset = coordOffset || 0;
+
+        if (pct === 1 && coordOffset === 0) {
+            return this.originalCoords;
+        }
+
+        for (j = 0; j < this.length; j++) {
+            //amount = j % 2 === 0 ? xPct : yPct;
+            newCoords.push(Math.round(this.originalCoords[j] * pct) + offset);
+        }
+        return newCoords;
+    };
+    p.resize = function () {
+        this.area.coords = this.coords().join(',');
+    };
+
+    p.reset = function () {
+        this.area.coords = this.coords(1).join(',');
+    };
+    
+    m.impl.resize = function (width, height, duration, callback) {
+        if (!width && !height) {
+            return false;
+        }
+        var x= (new m.Method(this,
+                function () {
+                    this.resize(width, height, duration, callback);
+                },
+                null,
+                {
+                    name: 'resize',
+                    args: arguments
+                }
+            )).go();
+        return x;
+    };
+
+/*
+    m.impl.zoom = function (key, opts) {
+        var options = opts || {};
+
+        function zoom(areaData) {
+            // this will be MapData object returned by Method
+
+            var scroll, corners, height, width, ratio,
+                    diffX, diffY, ratioX, ratioY, offsetX, offsetY, newWidth, newHeight, scrollLeft, scrollTop,
+                    padding = options.padding || 0,
+                    scrollBarSize = areaData ? 20 : 0,
+                    me = this,
+                    zoomOut = false;
+
+            if (areaData) {
+                // save original state on first zoom operation
+                if (!me.zoomed) {
+                    me.zoomed = true;
+                    me.preZoomWidth = me.scaleInfo.width;
+                    me.preZoomHeight = me.scaleInfo.height;
+                    me.zoomedArea = areaData;
+                    if (options.scroll) {
+                        me.wrapper.css({ overflow: 'auto' });
+                    }
+                }
+                corners = $.mapster.utils.areaCorners(areaData.coords(1, 0));
+                width = me.wrapper.innerWidth() - scrollBarSize - padding * 2;
+                height = me.wrapper.innerHeight() - scrollBarSize - padding * 2;
+                diffX = corners.maxX - corners.minX;
+                diffY = corners.maxY - corners.minY;
+                ratioX = width / diffX;
+                ratioY = height / diffY;
+                ratio = Math.min(ratioX, ratioY);
+                offsetX = (width - diffX * ratio) / 2;
+                offsetY = (height - diffY * ratio) / 2;
+
+                newWidth = me.scaleInfo.realWidth * ratio;
+                newHeight = me.scaleInfo.realHeight * ratio;
+                scrollLeft = (corners.minX) * ratio - padding - offsetX;
+                scrollTop = (corners.minY) * ratio - padding - offsetY;
+            } else {
+                if (!me.zoomed) {
+                    return;
+                }
+                zoomOut = true;
+                newWidth = me.preZoomWidth;
+                newHeight = me.preZoomHeight;
+                scrollLeft = null;
+                scrollTop = null;
+            }
+
+            this.resize({
+                width: newWidth,
+                height: newHeight,
+                duration: options.duration,
+                scroll: scroll,
+                scrollLeft: scrollLeft,
+                scrollTop: scrollTop,
+                // closure so we can be sure values are correct
+                callback: (function () {
+                    var isZoomOut = zoomOut,
+                            scroll = options.scroll,
+                            areaD = areaData;
+                    return function () {
+                        if (isZoomOut) {
+                            me.preZoomWidth = null;
+                            me.preZoomHeight = null;
+                            me.zoomed = false;
+                            me.zoomedArea = false;
+                            if (scroll) {
+                                me.wrapper.css({ overflow: 'inherit' });
+                            }
+                        } else {
+                            // just to be sure it wasn't canceled & restarted
+                            me.zoomedArea = areaD;
+                        }
+                    };
+                } ())
+            });
+        }
+        return (new m.Method(this,
+                function (opts) {
+                    zoom.call(this);
+                },
+                function () {
+                    zoom.call(this.owner, this);
+                },
+                {
+                    name: 'zoom',
+                    args: arguments,
+                    first: true,
+                    key: key
+                }
+                )).go();
+
+
+    };
+    */
+} (jQuery));
+/* tooltip.js - tooltip functionality
+   requires areacorners.js
+*/
+
+(function ($) {
+
+    var m = $.mapster, u = m.utils;
+    
+    $.extend(m.defaults, {
+        toolTipContainer: '<div style="border: 2px solid black; background: #EEEEEE; width:160px; padding:4px; margin: 4px; -moz-box-shadow: 3px 3px 5px #535353; ' +
+        '-webkit-box-shadow: 3px 3px 5px #535353; box-shadow: 3px 3px 5px #535353; -moz-border-radius: 6px 6px 6px 6px; -webkit-border-radius: 6px; ' +
+        'border-radius: 6px 6px 6px 6px; opacity: 0.9;"></dteniv>',
+        showToolTip: false,
+        toolTipFade: true,
+        toolTipClose: ['area-mouseout','image-mouseout'],
+        onShowToolTip: null,
+        onHideToolTip: null
+    });
+    
+    $.extend(m.area_defaults, {
+        toolTip: null,
+        toolTipClose: null
+    });
+    
+
+    /**
+     * Show a tooltip positioned near this area.
+     * 
+     * @param {string|jquery} html A string of html or a jQuery object containing the tooltip content.
+     * @param {string|jquery} [template] The html template in which to wrap the content
+     * @param {string|object} [css] CSS to apply to the outermost element of the tooltip 
+     * @return {jquery} The tooltip that was created
+     */
+    
+    function createToolTip(html, template, css) {
+        var tooltip;
+
+        // wrap the template in a jQuery object, or clone the template if it's already one.
+        // This assumes that anything other than a string is a jQuery object; if it's not jQuery will
+        // probably throw an error.
+        
+        if (template) {
+            tooltip = typeof template === 'string' ?
+                $(template) : 
+                $(template).clone();
+
+            tooltip.append(html);
+        } else {
+            tooltip=$(html);
+        }
+
+        // always set display to block, or the positioning css won't work if the end user happened to
+        // use a non-block type element.
+
+        tooltip.css($.extend((css || {}),{
+                display:"block",
+                position:"absolute"
+            })).hide();
+        
+        $('body').append(tooltip);
+
+        // we must actually add the tooltip to the DOM and "show" it in order to figure out how much space it
+        // consumes, and then reposition it with that knowledge.
+        // We also cache the actual opacity setting to restore finally.
+        
+        tooltip.attr("data-opacity",tooltip.css("opacity"))
+            .css("opacity",0);
+        
+        // doesn't really show it because opacity=0
+        
+        return tooltip.show();
+    }
+
+
+    /**
+     * Show a tooltip positioned near this area.
+     * 
+     * @param {jquery} tooltip The tooltip
+     * @param {object} [options] options for displaying the tooltip.
+     *  @config {int} [left] The 0-based absolute x position for the tooltip
+     *  @config {int} [top] The 0-based absolute y position for the tooltip
+     *  @config {string|object} [css] CSS to apply to the outermost element of the tooltip 
+     *  @config {bool} [fadeDuration] When non-zero, the duration in milliseconds of a fade-in effect for the tooltip.
+     */
+    
+    function showToolTipImpl(tooltip,options)
+    {
+        var tooltipCss = { 
+                "left":  options.left + "px",
+                "top": options.top + "px"
+            }, 
+            actalOpacity=tooltip.attr("data-opacity") || 0,
+            zindex = tooltip.css("z-index");
+        
+        if (parseInt(zindex,10)===0 
+            || zindex === "auto") {
+            tooltipCss["z-index"] = 9999;
+        }
+
+        tooltip.css(tooltipCss)
+            .addClass('mapster_tooltip');
+
+        
+        if (options.fadeDuration && options.fadeDuration>0) {
+            u.fader(tooltip[0], 0, actalOpacity, options.fadeDuration);
+        } else {
+            u.setOpacity(tooltip[0], actalOpacity);
+        }
+    }
+      
+    /**
+     * Hide and remove active tooltips
+     * 
+     * @param  {MapData} this The mapdata object to which the tooltips belong
+     */
+    
+    m.MapData.prototype.clearToolTip = function() {
+        if (this.activeToolTip) {
+            this.activeToolTip.stop().remove();
+            this.activeToolTip = null;
+            this.activeToolTipID = null;
+            u.ifFunction(this.options.onHideToolTip, this);
+        }
+    };
+
+    /**
+     * Configure the binding between a named tooltip closing option, and a mouse event.
+     *
+     * If a callback is passed, it will be called when the activating event occurs, and the tooltip will
+     * only closed if it returns true.
+     *
+     * @param  {MapData}  [this]     The MapData object to which this tooltip belongs.
+     * @param  {String}   option     The name of the tooltip closing option
+     * @param  {String}   event      UI event to bind to this option
+     * @param  {Element}  target     The DOM element that is the target of the event
+     * @param  {Function} [beforeClose] Callback when the tooltip is closed
+     * @param  {Function} [onClose]  Callback when the tooltip is closed
+     */
+    function bindToolTipClose(options, bindOption, event, target, beforeClose, onClose) {
+        var event_name = event + '.mapster-tooltip';
+        
+        if ($.inArray(bindOption, options) >= 0) {
+            target.unbind(event_name)
+                .bind(event_name, function (e) {
+                    if (!beforeClose || beforeClose.call(this,e)) {
+                        target.unbind('.mapster-tooltip');
+                        if (onClose) {
+                            onClose.call(this);
+                        }
+                    }
+                });
+            
+            return {
+                object: target, 
+                event: event_name
+            };
+        }
+    }
+    
+    /**
+     * Show a tooltip.
+     *
+     * @param {string|jquery}   [tooltip]       A string of html or a jQuery object containing the tooltip content.
+     * 
+     * @param {string|jquery}   [target]        The target of the tooltip, to be used to determine positioning. If null,
+     *                                          absolute position values must be passed with left and top.
+     *
+     * @param {string|jquery}   [image]         If target is an [area] the image that owns it
+     * 
+     * @param {string|jquery}   [container]     An element within which the tooltip must be bounded
+     *
+     *
+     * 
+     * @param {object|string|jQuery} [options]  options to apply when creating this tooltip - OR -
+     *                                          The markup, or a jquery object, containing the data for the tooltip 
+     *                                         
+     *  @config {string}        [closeEvents]   A string with one or more comma-separated values that determine when the tooltip
+     *                                          closes: 'area-click','tooltip-click','image-mouseout' are valid values
+     *                                          then no template will be used.
+     *  @config {int}           [offsetx]       the horizontal amount to offset the tooltip 
+     *  @config {int}           [offsety]       the vertical amount to offset the tooltip 
+     *  @config {string|object} [css]           CSS to apply to the outermost element of the tooltip 
+     */
+    
+    function showToolTip(tooltip,target,image,container,options) {
+        var corners,
+            ttopts = {};
+    
+        options = options || {};
+
+
+        if (target) {
+
+            corners = u.areaCorners(target,image,container,
+                                    tooltip.outerWidth(true),
+                                    tooltip.outerHeight(true));
+
+            // Try to upper-left align it first, if that doesn't work, change the parameters
+
+            ttopts.left = corners[0];
+            ttopts.top = corners[1];
+
+        } else {
+            
+            ttopts.left = options.left;
+            ttopts.top = options.top;
+        }
+
+        ttopts.left += (options.offsetx || 0);
+        ttopts.top +=(options.offsety || 0);
+
+        ttopts.css= options.css;
+        ttopts.fadeDuration = options.fadeDuration;
+
+        showToolTipImpl(tooltip,ttopts);
+
+        return tooltip;
+    }
+    
+    /**
+     * Show a tooltip positioned near this area.
+      *
+     * @param {string|jquery}   [content]       A string of html or a jQuery object containing the tooltip content.
+     
+     * @param {object|string|jQuery} [options]  options to apply when creating this tooltip - OR -
+     *                                          The markup, or a jquery object, containing the data for the tooltip 
+     *  @config {string|jquery}   [container]     An element within which the tooltip must be bounded
+     *  @config {bool}          [template]      a template to use instead of the default. If this property exists and is null,
+     *                                          then no template will be used.
+     *  @config {string}        [closeEvents]   A string with one or more comma-separated values that determine when the tooltip
+     *                                          closes: 'area-click','tooltip-click','image-mouseout' are valid values
+     *                                          then no template will be used.
+     *  @config {int}           [offsetx]       the horizontal amount to offset the tooltip 
+     *  @config {int}           [offsety]       the vertical amount to offset the tooltip 
+     *  @config {string|object} [css]           CSS to apply to the outermost element of the tooltip 
+     */
+    m.AreaData.prototype.showToolTip= function(content,options) {
+        var tooltip, closeOpts, target, tipClosed, template,
+            ttopts = {},
+            ad=this,
+            md=ad.owner,
+            areaOpts = ad.effectiveOptions();
+    
+        // copy the options object so we can update it
+        options = options ? $.extend({},options) : {};
+
+        content = content || areaOpts.toolTip;
+        closeOpts = options.closeEvents || areaOpts.toolTipClose || md.options.toolTipClose || 'tooltip-click';
+        
+        template = typeof options.template !== 'undefined' ? 
+                options.template :
+                md.options.toolTipContainer;
+
+        options.closeEvents = typeof closeOpts === 'string' ?
+            closeOpts = u.split(closeOpts) :
+            closeOpts;
+
+        options.fadeDuration = options.fadeDuration ||
+                 (md.options.toolTipFade ? 
+                    (md.options.fadeDuration || areaOpts.fadeDuration) : 0);
+
+        target = ad.area ? 
+            ad.area :
+            $.map(ad.areas(),
+                function(e) {
+                    return e.area;
+                });
+
+        if (md.activeToolTipID===ad.areaId) {
+            return;
+        }
+
+        md.clearToolTip();
+
+        md.activeToolTip = tooltip = createToolTip(content,
+            template,
+            options.css);
+
+        md.activeToolTipID = ad.areaId;
+
+        tipClosed = function() {
+            md.clearToolTip();
+        };
+
+        bindToolTipClose(closeOpts,'area-click', 'click', $(md.map), null, tipClosed);
+        bindToolTipClose(closeOpts,'tooltip-click', 'click', tooltip,null, tipClosed);
+        bindToolTipClose(closeOpts,'image-mouseout', 'mouseout', $(md.image), function(e) {
+            return (e.relatedTarget && e.relatedTarget.nodeName!=='AREA' && e.relatedTarget!==ad.area);
+        }, tipClosed);
+
+
+        showToolTip(tooltip,
+                    target,
+                    md.image,
+                    options.container,
+                    template,
+                    options);
+
+        u.ifFunction(md.options.onShowToolTip, ad.area,
+        {
+            toolTip: tooltip,
+            options: ttopts,
+            areaOptions: areaOpts,
+            key: ad.key,
+            selected: ad.isSelected()
+        });
+
+        return tooltip;
+    };
+    
+
+    /**
+     * Parse an object that could be a string, a jquery object, or an object with a "contents" property
+     * containing html or a jQuery object.
+     * 
+     * @param  {object|string|jQuery} options The parameter to parse
+     * @return {string|jquery} A string or jquery object
+     */
+    function getHtmlFromOptions(options) {
+
+            // see if any html was passed as either the options object itself, or the content property
+
+            return (options ?
+                ((typeof options === 'string' || options.jquery) ?
+                    options :
+                    options.content) :
+                null);
+    }
+
+    /**
+     * Activate or remove a tooltip for an area. When this method is called on an area, the
+     * key parameter doesn't apply and "options" is the first parameter.
+     *
+     * When called with no parameters, or "key" is a falsy value, any active tooltip is cleared.
+     * 
+     * When only a key is provided, the default tooltip for the area is used. 
+     * 
+     * When html is provided, this is used instead of the default tooltip.
+     * 
+     * When "noTemplate" is true, the default tooltip template will not be used either, meaning only
+     * the actual html passed will be used.
+     *  
+     * @param  {string|AreaElement} key The area for which to activate a tooltip, or a DOM element.
+     * 
+     * @param {object|string|jquery} [options] options to apply when creating this tooltip - OR -
+     *                                         The markup, or a jquery object, containing the data for the tooltip 
+     *  @config {string|jQuery} [content]   the inner content of the tooltip; the tooltip text or HTML
+     *  @config {Element|jQuery} [container]   the inner content of the tooltip; the tooltip text or HTML
+     *  @config {bool}          [template]  a template to use instead of the default. If this property exists and is null,
+     *                                      then no template will be used.
+     *  @config {int}           [offsetx]   the horizontal amount to offset the tooltip.
+     *  @config {int}           [offsety]   the vertical amount to offset the tooltip.
+     *  @config {string|object} [css]       CSS to apply to the outermost element of the tooltip 
+     *  @config {string|object} [css] CSS to apply to the outermost element of the tooltip 
+     *  @config {bool}          [fadeDuration] When non-zero, the duration in milliseconds of a fade-in effect for the tooltip.
+     * @return {jQuery} The jQuery object
+     */
+    
+    m.impl.tooltip = function (key,options) {
+        return (new m.Method(this,
+        function mapData() {
+            var tooltip, target, md=this;
+            if (!key) {
+                md.clearToolTip();
+            } else {
+                target=$(key);
+                if (md.activeToolTipID ===target[0]) {
+                    return;
+                }
+                md.clearToolTip();
+
+                md.activeToolTip = tooltip = createToolTip(getHtmlFromOptions(options),
+                            options.template || md.options.toolTipContainer,
+                            options.css);
+                md.activeToolTipID = target[0];
+
+                bindToolTipClose(['tooltip-click'],'tooltip-click', 'click', tooltip, null, function() {
+                    md.clearToolTip();
+                });
+
+                md.activeToolTip = tooltip = showToolTip(tooltip,
+                    target,
+                    md.image,
+                    options.container,
+                    options);
+            }
+        },
+        function areaData() {
+            if ($.isPlainObject(key) && !options) {
+                options = key;
+            }
+
+            this.showToolTip(getHtmlFromOptions(options),options);
+        },
+        { 
+            name: 'tooltip',
+            args: arguments,
+            key: key
+        }
+    )).go();
+    };
+} (jQuery));
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/zmi/resources/js/jquery-imagemapster-1.2.10.min.js	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,1 @@
+!function(e){e(function(){function e(){}function t(t){var n=new e;return n.then=function(e){var n;try{return e&&(n=e(t)),r(n===g?t:n)}catch(e){return a(e)}},f(n)}function a(t){var n=new e;return n.then=function(e,n){var i;try{return n?(i=n(t),r(i===g?t:i)):a(t)}catch(e){return a(e)}},f(n)}function n(){var i,o,r,s,c,l,u;return r=[],s=[],c=function(e,t,a){var i=n();return r.push(function(a){a.then(e,t).then(i.resolve,i.reject,i.progress)}),a&&s.push(a),i.promise},l=function(e){for(var t,a=0;t=s[a++];)t(e)},u=function(e){var t,a=0;for(c=e.then,u=l=function(){throw new Error("already completed")},s=g;t=r[a++];)t(e);r=[]},i={},o=new e,o.then=i.then=function(e,t,a){return c(e,t,a)},i.promise=f(o),i.resolver=f({resolve:i.resolve=function(e){u(t(e))},reject:i.reject=function(e){u(a(e))},progress:i.progress=function(e){l(e)}}),i}function i(e){return e&&"function"==typeof e.then}function o(e,t,a,n){return r(e).then(t,a,n)}function r(t){var a,o;return t instanceof e?a=t:(o=n(),i(t)?(t.then(o.resolve,o.reject,o.progress),a=o.promise):(o.resolve(t),a=o.promise)),a}function s(e,t,a,i,r){return h(2,arguments),o(e,function(e){function s(){f=d=m=p}var c,l,u,h,f,d,m,g,v;if(g=e.length>>>0,c=Math.max(0,Math.min(t,g)),l=[],h=n(),u=o(h,a,i,r),c)for(f=function(e){l.push(e),--c||(s(),h.resolve(l))},d=function(e){s(),h.reject(e)},m=h.progress,v=0;v<g;++v)v in e&&o(e[v],function(e){f(e)},function(e){d(e)},function(e){m(e)});else h.resolve(l);return u})}function c(e,t,a){return e[a]=t,e}function l(e,t){var a,n,i;for(n=e.length>>>0,a=new Array(n),i=0;i<n;i++)i in e&&(a[i]=o(e[i],t));return u(a,c,a)}function u(e,t,a){var n,i;return n=e.length,i=[function(e,a,i){return o(e,function(e){return o(a,function(a){return t(e,a,i,n)})})}],arguments.length>2&&i.push(a),d.apply(e,i)}function h(e,t){for(var a,n=t.length;n>e;)if(null!=(a=t[--n])&&"function"!=typeof a)throw new Error("callback is not a function")}function p(){}var f,d,m,g;return o.defer=n,o.reject=function(e){return o(e,function(e){return a(e)})},o.isPromise=i,o.all=function(e,t,a,n){return h(1,arguments),o(e,function(e){return u(e,c,[])}).then(t,a,n)},o.some=s,o.any=function(e,t,a,n){return s(e,1,function(e){return t?t(e[0]):e[0]},a,n)},o.map=function(e,t){return o(e,function(e){return l(e,t)})},o.reduce=function(e,t,a){var n=m.call(arguments,1);return o(e,function(e){return u.apply(g,[e].concat(n))})},o.chain=function(e,t,n){var i=arguments.length>2;return o(e,function(e){return i&&(e=n),t.resolve(e),e},function(e){return t.reject(e),a(e)},t.progress)},f=Object.freeze||function(e){return e},e.prototype=f({always:function(e,t){return this.then(e,e,t)},otherwise:function(e){return this.then(g,e)}}),m=[].slice,d=[].reduce||function(e){var t,a,n,i,o;if(o=0,t=Object(this),i=t.length>>>0,(a=arguments).length<=1)for(;;){if(o in t){n=t[o++];break}if(++o>=i)throw new TypeError}else n=a[1];for(;o<i;++o)o in t&&(n=e(n,t[o],o,t));return n},o})}("function"==typeof define?define:function(e){"undefined"!=typeof module?module.exports=e():jQuery.mapster_when=e()}),function($){$.fn.mapster=function(e){var t=$.mapster.impl;return $.isFunction(t[e])?t[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?void $.error("Method "+e+" does not exist on jQuery.mapster"):t.bind.apply(this,arguments)},$.mapster={version:"1.2.10",render_defaults:{isSelectable:!0,isDeselectable:!0,fade:!1,fadeDuration:150,fill:!0,fillColor:"000000",fillColorMask:"FFFFFF",fillOpacity:.7,highlight:!0,stroke:!1,strokeColor:"ff0000",strokeOpacity:1,strokeWidth:1,includeKeys:"",altImage:null,altImageId:null,altImages:{}},defaults:{clickNavigate:!1,wrapClass:null,wrapCss:null,onGetList:null,sortList:!1,listenToList:!1,mapKey:"",mapValue:"",singleSelect:!1,listKey:"value",listSelectedAttribute:"selected",listSelectedClass:null,onClick:null,onMouseover:null,onMouseout:null,mouseoutDelay:0,onStateChange:null,boundList:null,onConfigured:null,configTimeout:3e4,noHrefIsMask:!0,scaleMap:!0,safeLoad:!1,areas:[]},shared_defaults:{render_highlight:{fade:!0},render_select:{fade:!1},staticState:null,selected:null},area_defaults:{includeKeys:"",isMask:!1},canvas_style:{position:"absolute",left:0,top:0,padding:0,border:0},hasCanvas:null,isTouch:null,map_cache:[],hooks:{},addHook:function(e,t){this.hooks[e]=(this.hooks[e]||[]).push(t)},callHooks:function(e,t){$.each(this.hooks[e]||[],function(e,a){a.apply(t)})},utils:{when:$.mapster_when,defer:$.mapster_when.defer,subclass:function(e,t){var a=function(){var a=this,n=Array.prototype.slice.call(arguments,0);a.base=e.prototype,a.base.init=function(){e.prototype.constructor.apply(a,n)},t.apply(a,n)};return a.prototype=new e,a.prototype.constructor=a,a},asArray:function(e){return e.constructor===Array?e:this.split(e)},split:function(e,t){var a,n,i=e.split(",");for(a=0;a<i.length;a++)""===(n=$.trim(i[a]))?i.splice(a,1):i[a]=t?t(n):n;return i},updateProps:function(e,t){var a,n=e||{},i=$.isEmptyObject(n)?t:e;return a=[],$.each(i,function(e){a.push(e)}),$.each(Array.prototype.slice.call(arguments,1),function(e,t){$.each(t||{},function(e){if(!a||$.inArray(e,a)>=0){var i=t[e];$.isPlainObject(i)?n[e]=$.extend(n[e]||{},i):i&&i.constructor===Array?n[e]=i.slice(0):void 0!==i&&(n[e]=t[e])}})}),n},isElement:function(e){return"object"==typeof HTMLElement?e instanceof HTMLElement:e&&"object"==typeof e&&1===e.nodeType&&"string"==typeof e.nodeName},indexOfProp:function(e,t,a){var n=e.constructor===Array?-1:null;return $.each(e,function(e,i){if(i&&(t?i[t]:i)===a)return n=e,!1}),n},boolOrDefault:function(e,t){return this.isBool(e)?e:t||!1},isBool:function(e){return"boolean"==typeof e},isUndef:function(e){return void 0===e},ifFunction:function(e,t,a){$.isFunction(e)&&e.call(t,a)},size:function(e,t){var a=$.mapster.utils;return{width:t?e.width||e.naturalWidth:a.imgWidth(e,!0),height:t?e.height||e.naturalHeight:a.imgHeight(e,!0),complete:function(){return!!this.height&&!!this.width}}},setOpacity:function(e,t){$.mapster.hasCanvas()?e.style.opacity=t:$(e).each(function(e,a){void 0!==a.opacity?a.opacity=t:$(a).css("opacity",t)})},fader:function(){var e={},t=0,a=function(n,i,o,r){var s,c,l=r/15,u=$.mapster.utils;if("number"==typeof n){if(!(c=e[n]))return}else(s=u.indexOfProp(e,null,n))&&delete e[s],e[++t]=c=n,n=t;i=i+(o=o||1)/l>o-.01?o:i+o/l,u.setOpacity(c,i),i<o&&setTimeout(function(){a(n,i,o,r)},15)};return a}()},getBoundList:function(e,t){if(!e.boundList)return null;var a,n,i=$(),o=$.mapster.utils.split(t);return e.boundList.each(function(t,r){for(a=0;a<o.length;a++)n=o[a],$(r).is("["+e.listKey+'="'+n+'"]')&&(i=i.add(r))}),i},setBoundListProperties:function(e,t,a){t.each(function(t,n){e.listSelectedClass&&(a?$(n).addClass(e.listSelectedClass):$(n).removeClass(e.listSelectedClass)),e.listSelectedAttribute&&$(n).attr(e.listSelectedAttribute,a)})},getMapDataIndex:function(e){var t,a;switch(e.tagName&&e.tagName.toLowerCase()){case"area":a=$(e).parent().attr("name"),t=$("img[usemap='#"+a+"']")[0];break;case"img":t=e}return t?this.utils.indexOfProp(this.map_cache,"image",t):-1},getMapData:function(e){var t=this.getMapDataIndex(e.length?e[0]:e);if(t>=0)return t>=0?this.map_cache[t]:null},queueCommand:function(e,t,a,n){return!!e&&(!(e.complete&&!e.currentAction)&&(e.commands.push({that:t,command:a,args:n}),!0))},unload:function(){this.impl.unload(),this.utils=null,this.impl=null,$.fn.mapster=null,$.mapster=null,$("*").unbind()}};var m=$.mapster,u=m.utils,ap=Array.prototype;$.each(["width","height"],function(e,t){var a=t.substr(0,1).toUpperCase()+t.substr(1);u["img"+a]=function(e,n){return(n?$(e)[t]():0)||e[t]||e["natural"+a]||e["client"+a]||e["offset"+a]}}),m.Method=function(e,t,a,n){var i=this;i.name=n.name,i.output=e,i.input=e,i.first=n.first||!1,i.args=n.args?ap.slice.call(n.args,0):[],i.key=n.key,i.func_map=t,i.func_area=a,i.name=n.name,i.allowAsync=n.allowAsync||!1},m.Method.prototype={constructor:m.Method,go:function(){var e,t,a,n,i,o=this.input,r=[],s=this;for(n=o.length,e=0;e<n;e++)if(t=$.mapster.getMapData(o[e])){if(!s.allowAsync&&m.queueCommand(t,s.input,s.name,s.args)){this.first&&(i="");continue}if((a=t.getData("AREA"===o[e].nodeName?o[e]:this.key))?$.inArray(a,r)<0&&r.push(a):i=this.func_map.apply(t,s.args),this.first||void 0!==i)break}return $(r).each(function(e,t){i=s.func_area.apply(t,s.args)}),void 0!==i?i:this.output}},$.mapster.impl=function(){function hasVml(){var e=$("<div />").appendTo("body");e.html('<v:shape id="vml_flag1" adj="1" />');var t=e[0].firstChild;t.style.behavior="url(#default#VML)";var a=!t||"object"==typeof t.adj;return e.remove(),a}function namespaces(){return"object"==typeof document.namespaces?document.namespaces:null}function hasCanvas(){var e=namespaces();return(!e||!e.g_vml_)&&!!$("<canvas />")[0].getContext}function merge_areas(e,t){var a,n,i=e.options.areas;t&&$.each(t,function(t,o){o&&o.key&&((n=u.indexOfProp(i,"key",o.key))>=0?$.extend(i[n],o):i.push(o),(a=e.getDataForKey(o.key))&&$.extend(a.options,o))})}function merge_options(e,t){var a=u.updateProps({},t);delete a.areas,u.updateProps(e.options,a),merge_areas(e,t.areas),u.updateProps(e.area_options,e.options)}var me={},addMap=function(e){return m.map_cache.push(e)-1},removeMap=function(e){m.map_cache.splice(e.index,1);for(var t=m.map_cache.length-1;t>=this.index;t--)m.map_cache[t].index--};return me.get=function(e){var t=m.getMapData(this);if(!t||!t.complete)throw"Can't access data until binding complete.";return new m.Method(this,function(){return this.getSelected()},function(){return this.isSelected()},{name:"get",args:arguments,key:e,first:!0,allowAsync:!0,defaultReturn:""}).go()},me.data=function(e){return new m.Method(this,null,function(){return this},{name:"data",args:arguments,key:e}).go()},me.highlight=function(e){return new m.Method(this,function(){if(!1!==e){var t=this.highlightId;return t>=0?this.data[t].key:null}this.ensureNoHighlight()},function(){this.highlight()},{name:"highlight",args:arguments,key:e,first:!0}).go()},me.keys=function(e,t){function a(e){var a,i=[];t?(a=e.areas(),$.each(a,function(e,t){i=i.concat(t.keys)})):i.push(e.key),$.each(i,function(e,t){$.inArray(t,n)<0&&n.push(t)})}var n=[],i=m.getMapData(this);if(!i||!i.complete)throw"Can't access data until binding complete.";return i&&i.complete?("string"==typeof e?t?a(i.getDataForKey(e)):n=[i.getKeysForGroup(e)]:(t=e,this.each(function(e,t){"AREA"===t.nodeName&&a(i.getDataForArea(t))})),n.join(",")):""},me.select=function(){me.set.call(this,!0)},me.deselect=function(){me.set.call(this,!1)},me.set=function(e,t,a){function n(t){if(t)switch(e){case!0:t.select(h);break;case!1:t.deselect(!0);break;default:t.toggle(h)}}function i(e){e&&$.inArray(e,l)<0&&(l.push(e),c+=(""===c?"":",")+e.key)}function o(t){$.each(l,function(e,t){n(t)}),e||t.removeSelectionFinish(),t.options.boundList&&m.setBoundListProperties(t.options,m.getBoundList(t.options,c),e)}var r,s,c,l,h=a;return this.filter("img,area").each(function(a,n){var p;(s=m.getMapData(n))!==r&&(r&&o(r),l=[],c=""),s&&(p="","IMG"===n.nodeName.toUpperCase()?m.queueCommand(s,$(n),"set",[e,t,h])||(t instanceof Array?t.length&&(p=t.join(",")):p=t,p&&$.each(u.split(p),function(e,t){i(s.getDataForKey(t.toString())),r=s})):(h=t,m.queueCommand(s,$(n),"set",[e,h])||(i(s.getDataForArea(n)),r=s)))}),s&&o(s),this},me.unbind=function(e){return new m.Method(this,function(){this.clearEvents(),this.clearMapData(e),removeMap(this)},null,{name:"unbind",args:arguments}).go()},me.rebind=function(e){return new m.Method(this,function(){var t=this;t.complete=!1,t.configureOptions(e),t.bindImages().then(function(){t.buildDataset(!0),t.complete=!0})},null,{name:"rebind",args:arguments}).go()},me.get_options=function(e,t){var a=u.isBool(e)?e:t;return new m.Method(this,function(){var e=$.extend({},this.options);return a&&(e.render_select=u.updateProps({},m.render_defaults,e,e.render_select),e.render_highlight=u.updateProps({},m.render_defaults,e,e.render_highlight)),e},function(){return a?this.effectiveOptions():this.options},{name:"get_options",args:arguments,first:!0,allowAsync:!0,key:e}).go()},me.set_options=function(e){return new m.Method(this,function(){merge_options(this,e)},null,{name:"set_options",args:arguments}).go()},me.unload=function(){var e;for(e=m.map_cache.length-1;e>=0;e--)m.map_cache[e]&&me.unbind.call($(m.map_cache[e].image));me.graphics=null},me.snapshot=function(){return new m.Method(this,function(){$.each(this.data,function(e,t){t.selected=!1}),this.base_canvas=this.graphics.createVisibleCanvas(this),$(this.image).before(this.base_canvas)},null,{name:"snapshot"}).go()},me.state=function(){var e,t=null;return $(this).each(function(a,n){if("IMG"===n.nodeName)return(e=m.getMapData(n))&&(t=e.state()),!1}),t},me.bind=function(e){return this.each(function(t,a){var n,i,o,r;if(n=$(a),r=m.getMapData(a)){if(me.unbind.apply(n),!r.complete)return n.bind(),!0;r=null}if(o=this.getAttribute("usemap"),i=o&&$('map[name="'+o.substr(1)+'"]'),!(n.is("img")&&o&&i.size()>0))return!0;n.css("border",0),r||((r=new m.MapData(this,e)).index=addMap(r),r.map=i,r.bindImages().then(function(){r.initialize()}))})},me.init=function(e){var t,a;m.hasCanvas=function(){return u.isBool(m.hasCanvas.value)||(m.hasCanvas.value=u.isBool(e)?e:hasCanvas()),m.hasCanvas.value},m.hasVml=function(){if(!u.isBool(m.hasVml.value)){var e=namespaces();e&&!e.v&&(e.add("v","urn:schemas-microsoft-com:vml"),t=document.createStyleSheet(),a=["shape","rect","oval","circ","fill","stroke","imagedata","group","textbox"],$.each(a,function(e,a){t.addRule("v\\:"+a,"behavior: url(#default#VML); antialias:true")})),m.hasVml.value=hasVml()}return m.hasVml.value},m.isTouch=!!document.documentElement.ontouchstart,$.extend(m.defaults,m.render_defaults,m.shared_defaults),$.extend(m.area_defaults,m.render_defaults,m.shared_defaults)},me.test=function(obj){return eval(obj)},me}(),$.mapster.impl.init()}(jQuery),function(e){function t(t,a,n){var i=t,o=i.map_data,r=n.isMask;e.each(a.areas(),function(e,t){n.isMask=r||t.nohref&&o.options.noHrefIsMask,i.addShape(t,n)}),n.isMask=r}function a(e){return Math.max(0,Math.min(parseInt(e,16),255))}function n(e,t){return"rgba("+a(e.substr(0,2))+","+a(e.substr(2,2))+","+a(e.substr(4,2))+","+t+")"}function i(){}var o,r,s,c=e.mapster,l=c.utils;c.Graphics=function(e){var t=this;t.active=!1,t.canvas=null,t.width=0,t.height=0,t.shapes=[],t.masks=[],t.map_data=e},o=c.Graphics.prototype={constructor:c.Graphics,begin:function(t,a){var n=e(t);this.elementName=a,this.canvas=t,this.width=n.width(),this.height=n.height(),this.shapes=[],this.masks=[],this.active=!0},addShape:function(e,t){(t.isMask?this.masks:this.shapes).push({mapArea:e,options:t})},createVisibleCanvas:function(t){return e(this.createCanvasFor(t)).addClass("mapster_el").css(c.canvas_style)[0]},addShapeGroup:function(a,n,i){var o,r,s,u=this,h=this.map_data,p=a.effectiveRenderOptions(n);i&&e.extend(p,i),"select"===n?(r="static_"+a.areaId.toString(),s=h.base_canvas):s=h.overlay_canvas,u.begin(s,r),p.includeKeys&&(o=l.split(p.includeKeys),e.each(o,function(e,a){var i=h.getDataForKey(a.toString());t(u,i,i.effectiveRenderOptions(n))})),t(u,a,p),u.render(),p.fade&&l.fader(c.hasCanvas()?s:e(s).find("._fill").not(".mapster_mask"),0,c.hasCanvas()?1:p.fillOpacity,p.fadeDuration)}},r={renderShape:function(e,t,a){var n,i=t.coords(null,a);switch(t.shape){case"rect":e.rect(i[0],i[1],i[2]-i[0],i[3]-i[1]);break;case"poly":for(e.moveTo(i[0],i[1]),n=2;n<t.length;n+=2)e.lineTo(i[n],i[n+1]);e.lineTo(i[0],i[1]);break;case"circ":case"circle":e.arc(i[0],i[1],i[2],0,2*Math.PI,!1)}},addAltImage:function(e,t,a,n){e.beginPath(),this.renderShape(e,a),e.closePath(),e.clip(),e.globalAlpha=n.altImageOpacity||n.fillOpacity,e.drawImage(t,0,0,a.owner.scaleInfo.width,a.owner.scaleInfo.height)},render:function(){var t,a,i=this,o=i.map_data,r=i.masks.length,s=i.createCanvasFor(o),c=s.getContext("2d"),l=i.canvas.getContext("2d");return r&&(t=i.createCanvasFor(o),(a=t.getContext("2d")).clearRect(0,0,t.width,t.height),e.each(i.masks,function(e,t){a.save(),a.beginPath(),i.renderShape(a,t.mapArea),a.closePath(),a.clip(),a.lineWidth=0,a.fillStyle="#000",a.fill(),a.restore()})),e.each(i.shapes,function(e,t){c.save(),t.options.fill&&(t.options.altImageId?i.addAltImage(c,o.images[t.options.altImageId],t.mapArea,t.options):(c.beginPath(),i.renderShape(c,t.mapArea),c.closePath(),c.fillStyle=n(t.options.fillColor,t.options.fillOpacity),c.fill())),c.restore()}),e.each(i.shapes.concat(i.masks),function(e,t){var a=1===t.options.strokeWidth?.5:0;t.options.stroke&&(c.save(),c.strokeStyle=n(t.options.strokeColor,t.options.strokeOpacity),c.lineWidth=t.options.strokeWidth,c.beginPath(),i.renderShape(c,t.mapArea,a),c.closePath(),c.stroke(),c.restore())}),r?(a.globalCompositeOperation="source-out",a.drawImage(s,0,0),l.drawImage(t,0,0)):l.drawImage(s,0,0),i.active=!1,i.canvas},createCanvasFor:function(t){return e('<canvas width="'+t.scaleInfo.width+'" height="'+t.scaleInfo.height+'"></canvas>')[0]},clearHighlight:function(){var e=this.map_data.overlay_canvas;e.getContext("2d").clearRect(0,0,e.width,e.height)},refreshSelections:function(){var t,a=this.map_data;t=a.base_canvas,a.base_canvas=this.createVisibleCanvas(a),e(a.base_canvas).hide(),e(t).before(a.base_canvas),a.redrawSelections(),e(a.base_canvas).show(),e(t).remove()}},s={renderShape:function(t,a,n){var i,o,r,s,c,l,u,h=this,p=t.coords();switch(c=h.elementName?'name="'+h.elementName+'" ':"",l=n?'class="'+n+'" ':"",s='<v:fill color="#'+a.fillColor+'" class="_fill" opacity="'+(a.fill?a.fillOpacity:0)+'" /><v:stroke class="_fill" opacity="'+a.strokeOpacity+'"/>',o=a.stroke?" strokeweight="+a.strokeWidth+' stroked="t" strokecolor="#'+a.strokeColor+'"':' stroked="f"',i=a.fill?' filled="t"':' filled="f"',t.shape){case"rect":u="<v:rect "+l+c+i+o+' style="zoom:1;margin:0;padding:0;display:block;position:absolute;left:'+p[0]+"px;top:"+p[1]+"px;width:"+(p[2]-p[0])+"px;height:"+(p[3]-p[1])+'px;">'+s+"</v:rect>";break;case"poly":u="<v:shape "+l+c+i+o+' coordorigin="0,0" coordsize="'+h.width+","+h.height+'" path="m '+p[0]+","+p[1]+" l "+p.slice(2).join(",")+' x e" style="zoom:1;margin:0;padding:0;display:block;position:absolute;top:0px;left:0px;width:'+h.width+"px;height:"+h.height+'px;">'+s+"</v:shape>";break;case"circ":case"circle":u="<v:oval "+l+c+i+o+' style="zoom:1;margin:0;padding:0;display:block;position:absolute;left:'+(p[0]-p[2])+"px;top:"+(p[1]-p[2])+"px;width:"+2*p[2]+"px;height:"+2*p[2]+'px;">'+s+"</v:oval>"}return r=e(u),e(h.canvas).append(r),r},render:function(){var t,a=this;return e.each(this.shapes,function(e,t){a.renderShape(t.mapArea,t.options)}),this.masks.length&&e.each(this.masks,function(e,n){t=l.updateProps({},n.options,{fillOpacity:1,fillColor:n.options.fillColorMask}),a.renderShape(n.mapArea,t,"mapster_mask")}),this.active=!1,this.canvas},createCanvasFor:function(t){var a=t.scaleInfo.width,n=t.scaleInfo.height;return e('<var width="'+a+'" height="'+n+'" style="zoom:1;overflow:hidden;display:block;width:'+a+"px;height:"+n+'px;"></var>')[0]},clearHighlight:function(){e(this.map_data.overlay_canvas).children().remove()},removeSelections:function(t){t>=0?e(this.map_data.base_canvas).find('[name="static_'+t.toString()+'"]').remove():e(this.map_data.base_canvas).children().remove()}},e.each(["renderShape","addAltImage","render","createCanvasFor","clearHighlight","removeSelections","refreshSelections"],function(e,t){o[t]=function(e){return function(){return o[e]=(c.hasCanvas()?r[e]:s[e])||i,o[e].apply(this,arguments)}}(t)})}(jQuery),function(e){var t=e.mapster,a=t.utils,n=[];t.MapImages=function(e){this.owner=e,this.clear()},t.MapImages.prototype={constructor:t.MapImages,slice:function(){return n.slice.apply(this,arguments)},splice:function(){return n.slice.apply(this.status,arguments),n.slice.apply(this,arguments)},complete:function(){return e.inArray(!1,this.status)<0},_add:function(e){var t=n.push.call(this,e)-1;return this.status[t]=!1,t},indexOf:function(t){return e.inArray(t,this)},clear:function(){var t=this;t.ids&&t.ids.length>0&&e.each(t.ids,function(e,a){delete t[a]}),t.ids=[],t.length=0,t.status=[],t.splice(0)},add:function(t,a){var n,i,o=this;if(t){if("string"==typeof t){if(i=t,"object"==typeof(t=o[i]))return o.indexOf(t);t=e("<img />").addClass("mapster_el").hide(),n=o._add(t[0]),t.bind("load",function(e){o.imageLoaded.call(o,e)}).bind("error",function(e){o.imageLoadError.call(o,e)}),t.attr("src",i)}else n=o._add(e(t)[0]);if(a){if(this[a])throw a+" is already used or is not available as an altImage alias.";o.ids.push(a),o[a]=o[n]}return n}},bind:function(e){var t,n=this,i=n.owner.options.configTimeout/200,o=function(){var e;for(e=n.length;e-- >0&&n.isLoaded(e););n.complete()?n.resolve():i-- >0?n.imgTimeout=window.setTimeout(function(){o.call(n,!0)},50):n.imageLoadError.call(n)};return t=n.deferred=a.defer(),o(),t},resolve:function(){var e=this,t=e.deferred;t&&(e.deferred=null,t.resolve())},imageLoaded:function(t){var a=this,n=a.indexOf(t.target);n>=0&&(a.status[n]=!0,e.inArray(!1,a.status)<0&&a.resolve())},imageLoadError:function(e){throw clearTimeout(this.imgTimeout),this.triesLeft=0,e?"The image "+e.target.src+" failed to load.":"The images never seemed to finish loading. You may just need to increase the configTimeout if images could take a long time to load."},isLoaded:function(e){var t,n=this,i=n.status;return!!i[e]||(void 0!==(t=n[e]).complete?i[e]=t.complete:i[e]=!!a.imgWidth(t),i[e])}}}(jQuery),function(e){function t(t){e.extend(t,{complete:!1,map:null,base_canvas:null,overlay_canvas:null,commands:[],data:[],mapAreas:[],_xref:{},highlightId:-1,currentAreaId:-1,_tooltip_events:[],scaleInfo:null,index:-1,activeAreaEvent:null})}function a(e){return[e,e.render_highlight,e.render_select]}function n(t){var n=t.options,i=t.images;u.hasCanvas()&&(e.each(n.altImages||{},function(e,t){i.add(t,e)}),e.each([n].concat(n.areas),function(t,n){e.each(a(n),function(e,t){t&&t.altImage&&(t.altImageId=i.add(t.altImage))})})),t.area_options=h.updateProps({},u.area_defaults,n)}function i(e,t,a,n){if(n=n||h.when.defer(),e.activeAreaEvent&&(window.clearTimeout(e.activeAreaEvent),e.activeAreaEvent=0),!(t<0))return a.owner.currentAction||t?e.activeAreaEvent=window.setTimeout(function(){i(e,0,a,n)},t||100):function(t){e.currentAreaId!==t&&e.highlightId>=0&&n.resolve()}(a.areaId),n}function o(e){u.hasCanvas()||this.blur(),e.preventDefault()}function r(t,a){var n=t.getAllDataForArea(this),i=n.length?n[0]:null;!i||i.isNotRendered()||i.owner.currentAction||t.currentAreaId!==i.areaId&&(t.highlightId!==i.areaId&&(t.clearEffects(),i.highlight(),t.options.showToolTip&&e.each(n,function(e,t){t.effectiveOptions().toolTip&&t.showToolTip()})),t.currentAreaId=i.areaId,e.isFunction(t.options.onMouseover)&&t.options.onMouseover.call(this,{e:a,options:i.effectiveOptions(),key:i.key,selected:i.isSelected()}))}function s(t,a){var n=t.getDataForArea(this),o=t.options;t.currentAreaId<0||!n||t.getDataForArea(a.relatedTarget)!==n&&(t.currentAreaId=-1,n.area=null,i(t,o.mouseoutDelay,n).then(t.clearEffects),e.isFunction(o.onMouseout)&&o.onMouseout.call(this,{e:a,options:o,key:n.key,selected:n.isSelected()}))}function c(t){var a=t.options;t.ensureNoHighlight(),a.toolTipClose&&e.inArray("area-mouseout",a.toolTipClose)>=0&&t.activeToolTip&&t.clearToolTip()}function l(t,a){function n(o){var d,g;if(l=o.isSelectable()&&(o.isDeselectable()||!o.isSelected()),c=l?!o.isSelected():o.isSelected(),s=u.getBoundList(m,o.key),e.isFunction(m.onClick)&&(p=m.onClick.call(f,{e:a,listTarget:s,key:o.key,selected:c}),h.isBool(p))){if(!p)return!1;if("#"!==(g=e(o.area).attr("href")))return window.location.href=g,!1}l&&(i=o.toggle()),m.boundList&&m.boundList.length>0&&u.setBoundListProperties(m,s,o.isSelected()),(d=o.effectiveOptions()).includeKeys&&(r=h.split(d.includeKeys),e.each(r,function(e,a){var i=t.getDataForKey(a.toString());i.options.isMask||n(i)}))}var i,r,s,c,l,p,f=this,d=t.getDataForArea(this),m=t.options;o.call(this,a),m.clickNavigate&&d.href?window.location.href=d.href:d&&!d.owner.currentAction&&(m=t.options,n(d))}var u=e.mapster,h=u.utils;u.MapData=function(e,a){var n=this;n.image=e,n.images=new u.MapImages(n),n.graphics=new u.Graphics(n),n.imgCssText=e.style.cssText||null,t(n),n.configureOptions(a),n.mouseover=function(e){r.call(this,n,e)},n.mouseout=function(e){s.call(this,n,e)},n.click=function(e){l.call(this,n,e)},n.clearEffects=function(e){c.call(this,n,e)}},u.MapData.prototype={constructor:u.MapData,configureOptions:function(e){this.options=h.updateProps({},u.defaults,e)},bindImages:function(){var e=this,t=e.images;return t.length>2?t.splice(2):0===t.length&&(t.add(e.image),t.add(e.image.src)),n(e),e.images.bind()},isActive:function(){return!this.complete||this.currentAction},state:function(){return{complete:this.complete,resizing:"resizing"===this.currentAction,zoomed:this.zoomed,zoomedArea:this.zoomedArea,scaleInfo:this.scaleInfo}},wrapId:function(){return"mapster_wrap_"+this.index},_idFromKey:function(e){return"string"==typeof e&&this._xref.hasOwnProperty(e)?this._xref[e]:-1},getSelected:function(){var t="";return e.each(this.data,function(e,a){a.isSelected()&&(t+=(t?",":"")+this.key)}),t},getAllDataForArea:function(t,a){var n,i,o,r=this,s=e(t).filter("area").attr(r.options.mapKey);if(s)for(o=[],s=h.split(s),n=0;n<(a||s.length);n++)(i=r.data[r._idFromKey(s[n])]).area=t.length?t[0]:t,o.push(i);return o},getDataForArea:function(e){var t=this.getAllDataForArea(e,1);return t?t[0]||null:null},getDataForKey:function(e){return this.data[this._idFromKey(e)]},getKeysForGroup:function(e){var t=this.getDataForKey(e);return t?t.isPrimary?t.key:this.getPrimaryKeysForMapAreas(t.areas()).join(","):""},getPrimaryKeysForMapAreas:function(t){var a=[];return e.each(t,function(t,n){e.inArray(n.keys[0],a)<0&&a.push(n.keys[0])}),a},getData:function(e){return"string"==typeof e?this.getDataForKey(e):e&&e.mapster||h.isElement(e)?this.getDataForArea(e):null},ensureNoHighlight:function(){this.highlightId>=0&&(this.graphics.clearHighlight(),this.data[this.highlightId].changeState("highlight",!1),this.setHighlightId(-1))},setHighlightId:function(e){this.highlightId=e},clearSelections:function(){e.each(this.data,function(e,t){t.selected&&t.deselect(!0)}),this.removeSelectionFinish()},setAreaOptions:function(e){var t,a,n;for(t=(e=e||[]).length-1;t>=0;t--)(a=e[t])&&(n=this.getDataForKey(a.key))&&(h.updateProps(n.options,a),h.isBool(a.selected)&&(n.selected=a.selected))},drawSelections:function(e){var t,a=h.asArray(e);for(t=a.length-1;t>=0;t--)this.data[a[t]].drawSelection()},redrawSelections:function(){e.each(this.data,function(e,t){t.isSelectedOrStatic()&&t.drawSelection()})},initialize:function(){var t,a,n,i,o,r,s,c,l,p,f,d,m=this,g=m.options;if(!m.complete){for((o=(l=e(m.image)).parent().attr("id"))&&o.length>=12&&"mapster_wrap"===o.substring(0,12)?(i=l.parent()).attr("id",m.wrapId()):(i=e('<div id="'+m.wrapId()+'"></div>'),g.wrapClass&&(!0===g.wrapClass?i.addClass(l[0].className):i.addClass(g.wrapClass))),m.wrapper=i,m.scaleInfo=d=h.scaleMap(m.images[0],m.images[1],g.scaleMap),m.base_canvas=a=m.graphics.createVisibleCanvas(m),m.overlay_canvas=n=m.graphics.createVisibleCanvas(m),t=e(m.images[1]).addClass("mapster_el "+m.images[0].className).attr({id:null,usemap:null}),(c=h.size(m.images[0])).complete&&t.css({width:c.width,height:c.height}),m.buildDataset(),r={display:"block",position:"relative",padding:0,width:d.width,height:d.height},g.wrapCss&&e.extend(r,g.wrapCss),l.parent()[0]!==m.wrapper[0]&&l.before(m.wrapper),i.css(r),e(m.images.slice(2)).hide(),s=1;s<m.images.length;s++)i.append(m.images[s]);i.append(a).append(n).append(l.css(u.canvas_style)),h.setOpacity(m.images[0],0),e(m.images[1]).show(),h.setOpacity(m.images[1],1),g.isSelectable&&g.onGetList&&(f=m.data.slice(0),g.sortList&&(p="desc"===g.sortList?function(e,t){return e===t?0:e>t?-1:1}:function(e,t){return e===t?0:e<t?-1:1},f.sort(function(e,t){return e=e.value,t=t.value,p(e,t)})),m.options.boundList=g.onGetList.call(m.image,f)),m.complete=!0,m.processCommandQueue(),g.onConfigured&&"function"==typeof g.onConfigured&&g.onConfigured.call(l,!0)}},buildDataset:function(t){function a(e,t){var a=new u.AreaData(w,e,t);return a.areaId=w._xref[e]=w.data.push(a)-1,a.areaId}var n,i,o,r,s,c,l,h,p,f,d,m,g,v,y,w=this,b=w.options;for(w._xref={},w.data=[],t||(w.mapAreas=[]),(y=!b.mapKey)&&(b.mapKey="data-mapster-key"),n=u.hasVml()?"area":y?"area[coords]":"area["+b.mapKey+"]",i=e(w.map).find(n).unbind(".mapster"),d=0;d<i.length;d++)if(r=0,c=i[d],s=e(c),c.coords){for(y?(l=String(d),s.attr("data-mapster-key",l)):l=c.getAttribute(b.mapKey),t?(h=w.mapAreas[s.data("mapster")-1]).configure(l):(h=new u.MapArea(w,c,l),w.mapAreas.push(h)),o=(f=h.keys).length-1;o>=0;o--)p=f[o],b.mapValue&&(m=s.attr(b.mapValue)),y?(r=a(w.data.length,m),(g=w.data[r]).key=p=r.toString()):(r=w._xref[p])>=0?(g=w.data[r],m&&!w.data[r].value&&(g.value=m)):(r=a(p,m),(g=w.data[r]).isPrimary=0===o),h.areaDataXref.push(r),g.areasXref.push(d);(v=s.attr("href"))&&"#"!==v&&!g.href&&(g.href=v),h.nohref||(s.bind("click.mapster",w.click),u.isTouch||s.bind("mouseover.mapster",w.mouseover).bind("mouseout.mapster",w.mouseout).bind("mousedown.mapster",w.mousedown)),s.data("mapster",d+1)}w.setAreaOptions(b.areas),w.redrawSelections()},processCommandQueue:function(){for(var e,t=this;!t.currentAction&&t.commands.length;)e=t.commands[0],t.commands.splice(0,1),u.impl[e.command].apply(e.that,e.args)},clearEvents:function(){e(this.map).find("area").unbind(".mapster"),e(this.images).unbind(".mapster")},_clearCanvases:function(t){t||e(this.base_canvas).remove(),e(this.overlay_canvas).remove()},clearMapData:function(t){var a=this;this._clearCanvases(t),e.each(this.data,function(e,t){t.reset()}),this.data=null,t||(this.image.style.cssText=this.imgCssText,e(this.wrapper).before(this.image).remove()),a.images.clear(),this.image=null,h.ifFunction(this.clearTooltip,this)},removeSelectionFinish:function(){var e=this.graphics;e.refreshSelections(),e.clearHighlight()}}}(jQuery),function(e){var t=e.mapster,a=t.utils;t.AreaData=function(t,a,n){e.extend(this,{owner:t,key:a||"",isPrimary:!0,areaId:-1,href:"",value:n||"",options:{},selected:null,areasXref:[],area:null,optsCache:null})},t.AreaData.prototype={constuctor:t.AreaData,select:function(t){var a=this,n=a.owner;n.options.singleSelect&&n.clearSelections(),a.isSelected()||(t&&(a.optsCache=e.extend(a.effectiveRenderOptions("select"),t,{altImageId:n.images.add(t.altImage)})),a.drawSelection(),a.selected=!0,a.changeState("select",!0)),n.options.singleSelect&&n.graphics.refreshSelections()},deselect:function(e){var t=this;t.selected=!1,t.changeState("select",!1),t.optsCache=null,t.owner.graphics.removeSelections(t.areaId),e||t.owner.removeSelectionFinish()},toggle:function(e){var t=this;return t.isSelected()?t.deselect():t.select(e),t.isSelected()},areas:function(){var e,t=[];for(e=0;e<this.areasXref.length;e++)t.push(this.owner.mapAreas[this.areasXref[e]]);return t},coords:function(t){var a=[];return e.each(this.areas(),function(e,n){a=a.concat(n.coords(t))}),a},reset:function(){e.each(this.areas(),function(e,t){t.reset()}),this.areasXref=[],this.options=null},isSelectedOrStatic:function(){var e=this.effectiveOptions();return a.isBool(e.staticState)?e.staticState:this.isSelected()},isSelected:function(){return a.isBool(this.selected)?this.selected:!!a.isBool(this.owner.area_options.selected)&&this.owner.area_options.selected},isSelectable:function(){return!a.isBool(this.effectiveOptions().staticState)&&(!a.isBool(this.owner.options.staticState)&&a.boolOrDefault(this.effectiveOptions().isSelectable,!0))},isDeselectable:function(){return!a.isBool(this.effectiveOptions().staticState)&&(!a.isBool(this.owner.options.staticState)&&a.boolOrDefault(this.effectiveOptions().isDeselectable,!0))},isNotRendered:function(){var t=e(this.area);return t.attr("nohref")||!t.attr("href")||this.effectiveOptions().isMask},effectiveOptions:function(e){var t=a.updateProps({},this.owner.area_options,this.options,e||{},{id:this.areaId});return t.selected=this.isSelected(),t},effectiveRenderOptions:function(t,n){var i,o=this.optsCache;return o&&"highlight"!==t||(i=this.effectiveOptions(n),o=a.updateProps({},i,i["render_"+t]),"highlight"!==t&&(this.optsCache=o)),e.extend({},o)},changeState:function(t,a){e.isFunction(this.owner.options.onStateChange)&&this.owner.options.onStateChange.call(this.owner.image,{key:this.key,state:t,selected:a})},highlight:function(e){var t=this.owner;this.effectiveOptions().highlight&&t.graphics.addShapeGroup(this,"highlight",e),t.setHighlightId(this.areaId),this.changeState("highlight",!0)},drawSelection:function(){this.owner.graphics.addShapeGroup(this,"select")}},t.MapArea=function(t,n,i){if(t){var o=this;o.owner=t,o.area=n,o.areaDataXref=[],o.originalCoords=[],e.each(a.split(n.coords),function(e,t){o.originalCoords.push(parseFloat(t))}),o.length=o.originalCoords.length,o.shape=n.shape.toLowerCase(),o.nohref=n.nohref||!n.href,o.configure(i)}},t.MapArea.prototype={constructor:t.MapArea,configure:function(e){this.keys=a.split(e)},reset:function(){this.area=null},coords:function(t){return e.map(this.originalCoords,function(e){return t?e:e+t})}}}(jQuery),function(e){var t=e.mapster.utils;t.areaCorners=function(a,n,i,o,r){var s,c,l,u,h,p,f,d,m,g,v,y,w,b,k,_,C,A,I,S,T=0,x=0,M=[];for(a=a.length?a:[a],s=(i=e(i?i:document.body)).offset(),k=s.left,_=s.top,n&&(T=(s=e(n).offset()).left,x=s.top),b=0;b<a.length;b++)if("AREA"===(S=a[b]).nodeName){switch(C=t.split(S.coords,parseInt),S.shape){case"circle":for(v=C[0],y=C[1],A=C[2],M=[],b=0;b<360;b+=20)I=b*Math.PI/180,M.push(v+A*Math.cos(I),y+A*Math.sin(I));break;case"rect":M.push(C[0],C[1],C[2],C[1],C[2],C[3],C[0],C[3]);break;default:M=M.concat(C)}for(b=0;b<M.length;b+=2)M[b]=parseInt(M[b],10)+T,M[b+1]=parseInt(M[b+1],10)+x}else s=(S=e(S)).position(),M.push(s.left,s.top,s.left+S.width(),s.top,s.left+S.width(),s.top+S.height(),s.left,s.top+S.height());for(l=u=f=m=999999,h=p=d=g=-1,b=M.length-2;b>=0;b-=2)v=M[b],y=M[b+1],v<l&&(l=v,g=y),v>h&&(h=v,m=y),y<u&&(u=y,d=v),y>p&&(p=y,f=v);return o&&r&&(c=!1,e.each([[d-o,u-r],[f,u-r],[l-o,g-r],[l-o,m],[h,g-r],[h,m],[d-o,p],[f,p]],function(e,t){if(!c&&t[0]>k&&t[1]>_)return w=t,c=!0,!1}),c||(w=[h,p])),w}}(jQuery),function(e){var t=e.mapster,a=t.utils,n=t.MapArea.prototype;t.utils.getScaleInfo=function(e,t){var a;return t?(a=e.width/t.width||e.height/t.height)>.98&&a<1.02&&(a=1):(a=1,t=e),{scale:1!==a,scalePct:a,realWidth:t.width,realHeight:t.height,width:e.width,height:e.height,ratio:e.width/e.height}},t.utils.scaleMap=function(e,t,n){var i=a.size(e),o=a.size(t,!0);if(!o.complete())throw"Another script, such as an extension, appears to be interfering with image loading. Please let us know about this.";return i.complete()||(i=o),this.getScaleInfo(i,n?o:null)},t.MapData.prototype.resize=function(n,i,o,r){function s(a,n,i){t.hasCanvas()?(a.width=n,a.height=i):(e(a).width(n),e(a).height(i))}function c(){v.currentAction="",e.isFunction(r)&&r(),v.processCommandQueue()}function l(){if(s(v.overlay_canvas,n,i),m>=0){var e=v.data[m];e.tempOptions={fade:!1},v.getDataForKey(e.key).highlight(),e.tempOptions=null}s(v.base_canvas,n,i),v.redrawSelections(),c()}function u(){e(v.image).css(f),v.scaleInfo=a.getScaleInfo({width:n,height:i},{width:v.scaleInfo.realWidth,height:v.scaleInfo.realHeight}),e.each(v.data,function(t,a){e.each(a.areas(),function(e,t){t.resize()})})}var h,p,f,d,m,g,v=this;r=r||o,v.scaleInfo.width===n&&v.scaleInfo.height===i||(m=v.highlightId,n||(g=i/v.scaleInfo.realHeight,n=Math.round(v.scaleInfo.realWidth*g)),i||(g=n/v.scaleInfo.realWidth,i=Math.round(v.scaleInfo.realHeight*g)),f={width:String(n)+"px",height:String(i)+"px"},t.hasCanvas()||e(v.base_canvas).children().remove(),d=e(v.wrapper).find(".mapster_el").add(v.wrapper),o?(p=[],v.currentAction="resizing",d.each(function(t,n){h=a.defer(),p.push(h),e(n).animate(f,{duration:o,complete:h.resolve,easing:"linear"})}),h=a.defer(),p.push(h),a.when.all(p).then(l),u(),h.resolve()):(d.css(f),u(),l()))},t.MapArea=a.subclass(t.MapArea,function(){this.base.init(),this.owner.scaleInfo.scale&&this.resize()}),n.coords=function(e,t){var a,n=[],i=e||this.owner.scaleInfo.scalePct,o=t||0;if(1===i&&0===t)return this.originalCoords;for(a=0;a<this.length;a++)n.push(Math.round(this.originalCoords[a]*i)+o);return n},n.resize=function(){this.area.coords=this.coords().join(",")},n.reset=function(){this.area.coords=this.coords(1).join(",")},t.impl.resize=function(e,a,n,i){return!(!e&&!a)&&new t.Method(this,function(){this.resize(e,a,n,i)},null,{name:"resize",args:arguments}).go()}}(jQuery),function(e){function t(t,a,n){var i;return a?(i="string"==typeof a?e(a):e(a).clone()).append(t):i=e(t),i.css(e.extend(n||{},{display:"block",position:"absolute"})).hide(),e("body").append(i),i.attr("data-opacity",i.css("opacity")).css("opacity",0),i.show()}function a(e,t){var a={left:t.left+"px",top:t.top+"px"},n=e.attr("data-opacity")||0,i=e.css("z-index");0!==parseInt(i,10)&&"auto"!==i||(a["z-index"]=9999),e.css(a).addClass("mapster_tooltip"),t.fadeDuration&&t.fadeDuration>0?s.fader(e[0],0,n,t.fadeDuration):s.setOpacity(e[0],n)}function n(t,a,n,i,o,r){var s=n+".mapster-tooltip";if(e.inArray(a,t)>=0)return i.unbind(s).bind(s,function(e){o&&!o.call(this,e)||(i.unbind(".mapster-tooltip"),r&&r.call(this))}),{object:i,event:s}}function i(e,t,n,i,o){var r,c={};return o=o||{},t?(r=s.areaCorners(t,n,i,e.outerWidth(!0),e.outerHeight(!0)),c.left=r[0],c.top=r[1]):(c.left=o.left,c.top=o.top),c.left+=o.offsetx||0,c.top+=o.offsety||0,c.css=o.css,c.fadeDuration=o.fadeDuration,a(e,c),e}function o(e){return e?"string"==typeof e||e.jquery?e:e.content:null}var r=e.mapster,s=r.utils;e.extend(r.defaults,{toolTipContainer:'<div style="border: 2px solid black; background: #EEEEEE; width:160px; padding:4px; margin: 4px; -moz-box-shadow: 3px 3px 5px #535353; -webkit-box-shadow: 3px 3px 5px #535353; box-shadow: 3px 3px 5px #535353; -moz-border-radius: 6px 6px 6px 6px; -webkit-border-radius: 6px; border-radius: 6px 6px 6px 6px; opacity: 0.9;"></dteniv>',showToolTip:!1,toolTipFade:!0,toolTipClose:["area-mouseout","image-mouseout"],onShowToolTip:null,onHideToolTip:null}),e.extend(r.area_defaults,{toolTip:null,toolTipClose:null}),r.MapData.prototype.clearToolTip=function(){this.activeToolTip&&(this.activeToolTip.stop().remove(),this.activeToolTip=null,this.activeToolTipID=null,s.ifFunction(this.options.onHideToolTip,this))},r.AreaData.prototype.showToolTip=function(a,o){var r,c,l,u,h,p=this,f=p.owner,d=p.effectiveOptions();if(o=o?e.extend({},o):{},a=a||d.toolTip,c=o.closeEvents||d.toolTipClose||f.options.toolTipClose||"tooltip-click",h=void 0!==o.template?o.template:f.options.toolTipContainer,o.closeEvents="string"==typeof c?c=s.split(c):c,o.fadeDuration=o.fadeDuration||(f.options.toolTipFade?f.options.fadeDuration||d.fadeDuration:0),l=p.area?p.area:e.map(p.areas(),function(e){return e.area}),f.activeToolTipID!==p.areaId)return f.clearToolTip(),f.activeToolTip=r=t(a,h,o.css),f.activeToolTipID=p.areaId,u=function(){f.clearToolTip()},n(c,"area-click","click",e(f.map),null,u),n(c,"tooltip-click","click",r,null,u),n(c,"image-mouseout","mouseout",e(f.image),function(e){return e.relatedTarget&&"AREA"!==e.relatedTarget.nodeName&&e.relatedTarget!==p.area},u),i(r,l,f.image,o.container,h),s.ifFunction(f.options.onShowToolTip,p.area,{toolTip:r,options:{},areaOptions:d,key:p.key,selected:p.isSelected()}),r},r.impl.tooltip=function(a,s){return new r.Method(this,function(){var r,c,l=this;if(a){if(c=e(a),l.activeToolTipID===c[0])return;l.clearToolTip(),l.activeToolTip=r=t(o(s),s.template||l.options.toolTipContainer,s.css),l.activeToolTipID=c[0],n(["tooltip-click"],"tooltip-click","click",r,null,function(){l.clearToolTip()}),l.activeToolTip=r=i(r,c,l.image,s.container,s)}else l.clearToolTip()},function(){e.isPlainObject(a)&&!s&&(s=a),this.showToolTip(o(s),s)},{name:"tooltip",args:arguments,key:a}).go()}}(jQuery);
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/zmi/resources/js/pyams_content.js	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,700 @@
+(function($, globals) {
+
+	"use strict";
+
+	var MyAMS = globals.MyAMS;
+
+	var PyAMS_content = {
+
+		/**
+		 * Custom widgets management
+		 */
+		widget: {
+
+			/** Treeview widget */
+			treeview: {
+
+				selectFolder: function(event, node) {
+					var target = $(event.target);
+					target.siblings('input[type="hidden"]').val(node.id);
+				},
+
+				unselectFolder: function(event, node) {
+					var target = $(event.target);
+					target.siblings('input[type="hidden"]').val(null);
+				}
+			}
+		},
+
+		/**
+		 * TinyMCE editor configuration
+		 */
+		TinyMCE: {
+
+			initEditor: function(settings) {
+
+				// Update TinyMCE translations
+				tinyMCE.addI18n('fr', {
+					"Link list": "Liste de liens",
+					"Toggle h3 header": "En-tête H3",
+					"Toggle h4 header": "En-tête H4",
+					"Insert internal link": "Insérer un lien interne",
+					"Link title": "Texte à afficher",
+					"Internal number": "N° interne"
+				});
+
+				// Declare internal link input plug-in
+				tinymce.PluginManager.add('internal_links', function(editor, url) {
+					editor.addButton('internal_links', {
+						icon: 'cloud-check',
+						tooltip: "Insert internal link",
+						image: '/--static--/pyams_content/img/internal-link.png',
+						stateSelector: 'a[href^="oid://"]',
+						onclick: function() {
+							var data = {},
+								dom = editor.dom,
+								selection = editor.selection,
+								selectedElm = selection.getNode(),
+								anchorElm = dom.getParent(selectedElm, 'a[href]');
+							data.text = anchorElm ? (anchorElm.innerText || anchorElm.textContent) : selection.getContent({format: 'text'});
+							data.href = anchorElm ? dom.getAttrib(anchorElm, 'href') : '';
+							editor.windowManager.open({
+								title: "Insert internal link",
+								body: [
+									{
+										type: 'textbox',
+										name: 'oid',
+										label:'Internal number',
+										value: data.href,
+										onchange: function() {
+											data.href = this.value();
+										}
+									}, {
+										type: 'textbox',
+										name: 'title',
+										label: 'Link title',
+										value: data.text,
+										onchange: function() {
+											data.text = this.value();
+										}
+									}
+								],
+								onsubmit: function(e) {
+									editor.focus();  // activate change events
+									var href = data.href;
+									if (href) {
+										if (anchorElm) {
+											if ('innerText' in anchorElm) {
+												anchorElm.innerText = data.text;
+											} else {
+												anchorElm.textContent = data.text;
+											}
+											dom.setAttribs(anchorElm, {href: data.href});
+											selection.select(anchorElm);
+											editor.undoManager.add();
+										} else {
+											editor.insertContent('<a href="oid://' + e.data.oid + '">' + e.data.title + '</a>');
+										}
+									} else {
+										editor.execCommand('unlink');
+									}
+								}
+							});
+						}
+					})
+				});
+
+				// Declare direct H3 and H4 style formatter
+				tinyMCE.PluginManager.add('headers', function (editor, url) {
+					['h3', 'h4'].forEach(function (name) {
+						editor.addButton("header-" + name, {
+							tooltip: "Toggle " + name + " header",
+							text: name.toUpperCase(),
+							onClick: function () {
+								editor.execCommand('mceToggleFormat', false, name);
+							},
+							onPostRender: function () {
+								var self = this,
+									setup = function () {
+										editor.formatter.formatChanged(name, function (state) {
+											self.active(state);
+										});
+									};
+								editor.formatter ? setup() : editor.on('init', setup);
+							}
+						})
+					});
+				});
+
+				// Update TinyMCE settings
+				settings.image_list = PyAMS_content.TinyMCE.getImagesList;
+				settings.link_list = PyAMS_content.TinyMCE.getLinksList;
+				settings.style_formats = [
+					{
+						title: 'Inline',
+						items: [
+							{title: 'Bold', icon: 'bold', format: 'bold'},
+							{title: 'Italic', icon: 'italic', format: 'italic'},
+							{title: 'Underline', icon: 'underline', format: 'underline'},
+							{title: 'Strikethrough', icon: 'strikethrough', format: 'strikethrough'},
+							{title: 'Superscript', icon: 'superscript', format: 'superscript'},
+							{title: 'Subscript', icon: 'subscript', format: 'subscript'},
+							{title: 'Code', icon: 'code', format: 'code'}
+						]
+					},
+					{
+						title: 'Blocks',
+						items: [
+							{title: 'Paragraph', format: 'p'},
+							{title: 'Blockquote', format: 'blockquote'},
+							{title: 'Div', format: 'div'},
+							{title: 'Pre', format: 'pre'}
+						]
+					},
+					{
+						title: 'Alignment',
+						items: [
+							{title: 'Left', icon: 'alignleft', format: 'alignleft'},
+							{title: 'Center', icon: 'aligncenter', format: 'aligncenter'},
+							{title: 'Right', icon: 'alignright', format: 'alignright'},
+							{title: 'Justify', icon: 'alignjustify', format: 'alignjustify'}
+						]
+					}
+				];
+				settings.plugins += ' internal_links headers';
+				if (settings.toolbar1) {
+					settings.toolbar1 = "undo redo | header-h3 header-h4 styleselect | bold italic | " +
+										"alignleft aligncenter alignright alignjustify | bullist numlist outdent indent";
+				}
+				if (settings.toolbar2) {
+					settings.toolbar2 = "forecolor backcolor | charmap internal_links link | fullscreen preview print | code";
+				}
+				return settings;
+			},
+
+			getImagesList: function(callback) {
+				var form = $(document.activeElement).parents('form');
+				if (form.exists()) {
+					var base = form.attr('data-ams-form-handler') || form.attr('action');
+					var target = base.substr(0, base.lastIndexOf('/') + 1);
+					return MyAMS.ajax.post(target + 'get-images-list.json', {}, callback);
+				}
+			},
+
+			getLinksList: function(callback) {
+				var form = $(document.activeElement).parents('form');
+				if (form.exists()) {
+					var base = form.attr('data-ams-form-handler') || form.attr('action');
+					var target = base.substr(0, base.lastIndexOf('/')+1);
+					return MyAMS.ajax.post(target + 'get-links-list.json', {}, callback);
+				}
+			}
+		},
+
+		/**
+		 * Galleries management
+		 */
+		galleries: {
+
+			addMediaCallback: function(options) {
+				var gallery = $('.gallery', $('[id="' + options.parent + '"]'));
+				var switcher = gallery.siblings('.switcher');
+				if (switcher.parents('fieldset:first').hasClass('switched')) {
+					switcher.click();
+				}
+				for (var i=0; i < options.medias.length; i++) {
+					gallery.append(options.medias[i]);
+				}
+				gallery.sortable({
+					helper: 'clone',
+					stop: PyAMS_content.galleries.setOrder
+				})
+			},
+
+			updateMediaTitle: function(options) {
+				$('img[id="' + options.media_id + '"]').attr('original-title', options.title);
+			},
+
+			switchMediaVisibility: function(element) {
+				return function() {
+					var source = $(this);
+					var media = source.parents('.media');
+					var gallery = media.parents('.gallery');
+					$('i', source).attr('class', 'fa fa-fw fa-spinner fa-pulse');
+					MyAMS.ajax.post(gallery.data('ams-location') + '/set-media-visibility.json',
+									{object_name: media.data('ams-element-name')},
+									function(result, status) {
+										if (result.visible) {
+											$('i', source).attr('class', 'fa fa-fw fa-eye');
+											source.parents('.btn-group').siblings('a.fancyimg').removeClass('not-visible');
+										} else {
+											$('i', source).attr('class', 'fa fa-fw fa-eye-slash text-danger');
+											source.parents('.btn-group').siblings('a.fancyimg').addClass('not-visible');
+										}
+										if (result.handle_json) {
+											MyAMS.ajax.handleJSON(result);
+										}
+									});
+				};
+			},
+
+			setOrder: function(event, ui) {
+				if (ui && ui.item.hasClass('already-dropped')) {
+					return;
+				}
+				var gallery = ui.item.parents('.gallery');
+				var ids = $('.media', gallery).listattr('data-ams-element-name');
+				MyAMS.ajax.post(gallery.data('ams-location') + '/set-medias-order.json',
+								{medias: JSON.stringify(ids)});
+			},
+
+			removeMedia: function(element) {
+				return function() {
+					var link = $(this);
+					MyAMS.skin.bigBox({
+						title: MyAMS.i18n.WARNING,
+						content: '<i class="text-danger fa fa-2x fa-bell shake animated"></i>&nbsp; ' + MyAMS.i18n.DELETE_WARNING,
+						buttons: MyAMS.i18n.BTN_OK_CANCEL
+					}, function(button) {
+						if (button === MyAMS.i18n.BTN_OK) {
+							var gallery = link.parents('.gallery');
+							var location = gallery.data('ams-location');
+							var media = link.parents('.media');
+							var object_name = media.data('ams-element-name');
+							MyAMS.ajax.post(location + '/delete-element.json',
+											{object_name: object_name},
+											function(result, status) {
+												media.remove();
+												if (result.handle_json) {
+													MyAMS.ajax.handleJSON(result);
+												}
+											});
+						}
+					});
+				};
+			},
+
+			afterFancyboxLoad: function(current, previous) {
+				var element = current.element;
+				if (element.hasClass('not-visible')) {
+					current.inner.prepend('<div class="hidden-mask"></div>');
+				}
+			}
+		},
+
+		/**
+		 * Illustrations management
+		 */
+		illustration: {
+
+			addIllustration: function() {
+				var source = $(this);
+				var group = source.parents('.btn-group');
+				var legend = group.siblings('legend.switcher');
+				$('i.fa-plus', legend).click();
+				source.hide();
+				$('input[type="file"]', legend.siblings('.form-group:first')).click();
+			}
+		},
+
+		/**
+		 * Paragraphs management
+		 */
+		paragraphs: {
+
+			/* Store and restore paragraphs state on reload */
+			preReload: function() {
+				PyAMS_content.paragraphs.switched = $('i.switch.fa-minus-square-o', '#paragraphs_list').parents('tr').listattr('id');
+			},
+
+			postReload: function() {
+				$(PyAMS_content.paragraphs.switched).each(function() {
+					$('i.switch.fa-plus-square-o', '[id="' + this + '"]').parents('div').first().click();
+				});
+				delete PyAMS_content.paragraphs.switched;
+			},
+
+			refreshParagraph: function(changes) {
+				var para = $('tr[id="' + changes.object_id + '"]');
+				$('span.title', para).html(changes.title || ' - - - - - - - -');
+			},
+
+			switchEditor: function(element) {
+				var source = $(this);
+				var switcher = $('i.switch', source);
+				var td = source.parents('td');
+				var editor = $('.editor', td);
+				var para = source.parents('tr');
+				if (switcher.hasClass('fa-plus-square-o')) {
+					var container = para.parents('table');
+					editor.html('<h1 class="loading"><i class="fa fa-2x fa-gear fa-spin"></i></h1>');
+					MyAMS.ajax.post(container.data('ams-location') + '/get-paragraph-editor.json',
+									{object_name: para.data('ams-element-name')},
+									function(result) {
+										editor.html(result);
+										if (result) {
+											MyAMS.initContent(editor);
+											switcher.removeClass('fa-plus-square-o')
+													.addClass('fa-minus-square-o');
+											para.data('ams-disabled-handlers', true);
+											MyAMS.skin.scrollTo(editor, {
+												offset: editor.height() - para.height()
+											});
+										}
+									});
+				} else {
+					MyAMS.skin.cleanContainer(editor);
+					editor.empty();
+					switcher.removeClass('fa-minus-square-o')
+							.addClass('fa-plus-square-o');
+					para.removeData('ams-disabled-handlers');
+				}
+			},
+
+			switchLastEditor: function(table_id) {
+				var table = $('table[id="' + table_id + '"]');
+				var tr = $('tr:last', table);
+				$('[data-ams-click-handler="PyAMS_content.paragraphs.switchEditor"]', tr).click();
+			},
+
+			switchAllEditors: function(element) {
+				var source = $(this);
+				var switcher = $('i', source);
+				var container = source.parents('table');
+				if (switcher.hasClass('fa-plus-square-o')) {
+					switcher.removeClass('fa-plus-square-o')
+							.addClass('fa-cog fa-spin');
+					MyAMS.ajax.post(container.data('ams-location') + '/get-paragraphs-editors.json',
+									{},
+									function(result) {
+										for (var para_id in result) {
+											if (!result.hasOwnProperty(para_id)) {
+												continue;
+											}
+											var para = $('tr[data-ams-element-name="' + para_id + '"]', container);
+											var editor = $('.editor', para);
+											if (editor.is(':empty')) {
+												editor.html(result[para_id]);
+											}
+											$('.fa-plus-square-o', para).removeClass('fa-plus-square-o')
+																		.addClass('fa-minus-square-o');
+											para.data('ams-disabled-handlers', true);
+										}
+										if (!$('i.fa-plus-square-o', $('tbody', container)).exists()) {
+											switcher.removeClass('fa-cog fa-spin')
+													.addClass('fa-minus-square-o');
+										}
+										MyAMS.initContent(container);
+									});
+				} else {
+					$('.editor', container).each(function() {
+						MyAMS.skin.cleanContainer($(this));
+						$(this).empty();
+					});
+					$('.fa-minus-square-o', container).removeClass('fa-minus-square-o')
+													  .addClass('fa-plus-square-o');
+					$('tr', container).removeData('ams-disabled-handlers');
+				}
+			},
+
+			updateToolbar: function(settings) {
+				var para = $('tr[id="' + settings.object_id + '"]');
+				var toolbar = $('.title-toolbar', para);
+				toolbar.replaceWith(settings.toolbar_tag);
+				toolbar = $('.title-toolbar', para);
+				MyAMS.initContent(toolbar);
+			},
+
+			updateMarkers: function(settings) {
+				var para = $('tr[id="' + settings.object_id + '"]');
+				var toolbar = $('.title-toolbar', para);
+				var marker = $('DIV.action.' + settings.marker_type, toolbar);
+				if (marker.exists()) {
+					marker.replaceWith(settings.marker_tag);
+				} else {
+					$(settings.marker_tag).appendTo(toolbar);
+				}
+				if (settings.marker_tag) {
+					marker = $('DIV.action.' + settings.marker_type, toolbar);
+					MyAMS.initContent(marker);
+				}
+				MyAMS.helpers.sort(toolbar, 'weight');
+			}
+		},
+
+		/**
+		 * Pictograms management
+		 */
+		pictograms: {
+
+			initManagerSelection: function() {
+				var form = $(this);
+				var selected = $('input[type="hidden"]', $('.selected-pictograms', form)).listattr('value');
+				return {
+					selected: JSON.stringify(selected)
+				};
+			},
+
+			switchPictogram: function() {
+				var pictogram = $(this);
+				var parent = pictogram.parents('.pictograms');
+				var manager = parent.parents('.pictograms-manager');
+				if (parent.hasClass('available-pictograms')) {
+					$('.selected-pictograms', manager).append(pictogram);
+				} else {
+					$('.available-pictograms', manager).append(pictogram);
+				}
+			}
+		},
+
+		/**
+		 * Themes management
+		 */
+		themes: {
+
+			initExtracts: function(element) {
+				var thesaurus = $('select[name="manager_themes.widgets.thesaurus_name:list"]', element);
+				var thesaurus_name = thesaurus.val();
+				var extract = $('select[name="manager_themes.widgets.extract_name:list"]', element);
+				var extract_name = extract.val();
+				if (thesaurus_name) {
+					MyAMS.jsonrpc.post('getExtracts',
+									   {thesaurus_name: thesaurus_name},
+									   {url: '/api/thesaurus/json'},
+									   function(data) {
+											extract.empty();
+											$(data.result).each(function() {
+												$('<option></option>').attr('value', this.id)
+																	  .attr('selected', this.id === extract_name)
+																	  .text(this.text)
+																	  .appendTo(extract);
+											});
+									   });
+				}
+			},
+
+			getExtracts: function(event) {
+				var select = $(event.currentTarget);
+				var form = select.parents('form');
+				var thesaurus_name = $('select[name="manager_themes.widgets.thesaurus_name:list"]', form).val();
+				var extract = $('select[name="manager_themes.widgets.extract_name:list"]', form);
+				var plugin = extract.data('select2');
+				if (thesaurus_name && (thesaurus_name !== '--NOVALUE--')) {
+					MyAMS.jsonrpc.post('getExtracts',
+									   {thesaurus_name: thesaurus_name},
+									   {url: '/api/thesaurus/json'},
+									   function(data) {
+											plugin.results.empty();
+											plugin.opts.populateResults.call(plugin, plugin.results, data.result,
+																			 {term: ''});
+									   });
+				} else {
+					extract.select2('data', null);
+					plugin.results.empty();
+					plugin.opts.populateResults.call(plugin, plugin.results, [], {term: ''});
+				}
+			}
+		},
+
+		/**
+		 * Form fields management
+		 */
+		fields: {
+
+			refreshField: function(changes) {
+				var container = $('table[id="form_fields_list"]');
+				var para = $('tr[data-ams-element-name="' + changes.object_name + '"]', container);
+				$('td:nth-child(4)', para).html(changes.title);
+			}
+		},
+
+		/**
+		 * Image map management
+		 */
+		imgmap: {
+
+			init: function() {
+				var image = $(this);
+				MyAMS.ajax.check($.fn.canvasAreaDraw,
+								 '/--static--/pyams_content/js/jquery-canvasAreaDraw' + MyAMS.devext + '.js',
+								 function() {
+									image.canvasAreaDraw({imageUrl: image.data('ams-image-url')});
+								 });
+			},
+
+			initPreview: function() {
+				var image = $(this);
+				MyAMS.ajax.check($.fn.mapster,
+								 '/--static--/pyams_content/js/jquery-imagemapster-1.2.10' + MyAMS.devext + '.js',
+								 function() {
+									image.mapster({
+										fillColor: 'ff0000',
+										fillOpacity: 0.35,
+										selected: true,
+										highlight: true,
+										staticState: true
+									});
+								 });
+			}
+		},
+
+		/**
+		 * Site management
+		 */
+		site: {
+
+			switchVisibility: function() {
+				return function() {
+					var source = $(this);
+					var content = source.parents('tr').first();
+					MyAMS.ajax.post(content.data('ams-location') + '/switch-content-visibility.json',
+									{object_name: content.data('ams-element-name')},
+									function(result, status) {
+										var klass = 'fa-eye';
+										if (!result.visible) {
+											klass += '-slash';
+										}
+										if (!result.published) {
+											klass += ' text-danger';
+										}
+										$('i', source).attr('class', 'fa fa-fw ' + klass);
+									});
+				};
+			}
+		},
+
+		/**
+		 * Review comments management
+		 */
+		review: {
+
+			timer: null,
+			timer_duration: {
+				general: 30000,
+				chat: 5000
+			},
+
+			initComments: function(element) {
+				var chat = $('.chat-body', element);
+				chat.animate({scrollTop: chat[0].scrollHeight}, 1000);
+				clearInterval(PyAMS_content.review.timer);
+				PyAMS_content.review.timer = setInterval(PyAMS_content.review.updateComments,
+														 PyAMS_content.review.timer_duration.chat);
+				MyAMS.skin.registerCleanCallback(PyAMS_content.review.cleanCommentsCallback);
+			},
+
+			cleanCommentsCallback: function() {
+				clearInterval(PyAMS_content.review.timer);
+				PyAMS_content.review.timer = setInterval(PyAMS_content.review.updateComments,
+														 PyAMS_content.review.timer_duration.general);
+			},
+
+			updateComments: function() {
+				var badge = $('.badge', 'nav a[href="#review-comments.html"]'),
+					count;
+				var chat = $('.chat-body', '.widget-body');
+				if (chat.exists()) {
+					count = $('.message', chat).length;
+				} else {
+					count = parseInt(badge.text());
+				}
+				MyAMS.ajax.post('get-last-review-comments.json', {count: count}, function(result) {
+					if (chat.exists()) {
+						badge.removeClass('bg-color-danger')
+							 .addClass('bg-color-info');
+					}
+					if (count !== result.count) {
+						badge.text(result.count).removeClass('hidden');
+						if (chat.exists()) {
+							$('.messages', chat).append(result.content);
+							chat.animate({scrollTop: chat[0].scrollHeight}, 1000);
+						}
+						if (!chat.exists()) {
+							badge.removeClass('bg-color-info')
+								 .addClass('bg-color-danger')
+								 .animate({'padding': '3px 12px 2px',
+										   'margin-right': '9px'}, 'slow', function() {
+									$(this).animate({'padding': '3px 6px 2px',
+													 'margin-right': '15px'}, 'slow');
+								 });
+						}
+					}
+				});
+			},
+
+			initCommentData: function(veto) {
+				var chat = $('.chat-body', '.widget-body');
+				return {count: $('.message', chat).length};
+			},
+
+			addCommentAction: function() {
+				return function() {
+					$('textarea[name="comment"]').focus();
+				};
+			},
+
+			addCommentCallback: function(options) {
+				var form = $(this);
+				var widget = form.parents('.widget-body');
+				$('.messages', widget).append(options.content);
+				$('textarea[name="comment"]', form).val('');
+				var chat = $('.chat-body', widget);
+				chat.animate({scrollTop: chat[0].scrollHeight}, 1000);
+				$('.badge', 'nav a[href="#review-comments.html"]').text(options.count).removeClass('hidden');
+			}
+		},
+
+		/**
+		 * Header management
+		 */
+		header: {
+
+			submitEditForm: function() {
+				var form = $(this).parents('form').first();
+				MyAMS.form.submit(form, {form_data: {'autosubmit': true}});
+			}
+		},
+
+		/**
+		 * Footer management
+		 */
+		footer: {
+
+			submitEditForm: function() {
+				var form = $(this).parents('form').first();
+				MyAMS.form.submit(form, {form_data: {'autosubmit': true}});
+			}
+		},
+
+		/**
+		 * User profile management
+		 */
+		profile: {
+
+			switchFavorite: function() {
+				var star = $(this);
+				var oid = star.data('sequence-oid');
+				MyAMS.ajax.post('switch-user-favorite.json',
+								{oid: oid},
+								function(result, status) {
+									if (result.favorite) {
+										star.removeClass('fa-star-o')
+											.addClass('fa-star');
+									} else {
+										star.removeClass('fa-star')
+											.addClass('fa-star-o');
+									}
+								});
+			}
+		}
+	};
+
+	var badge = $('.badge', 'nav a[href="#review-comments.html"]');
+	if (badge.exists()) {
+		PyAMS_content.review.timer = setInterval(PyAMS_content.review.updateComments,
+												 PyAMS_content.review.timer_duration.general);
+	}
+
+	globals.PyAMS_content = PyAMS_content;
+
+})(jQuery, this);
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/zmi/resources/js/pyams_content.min.js	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,1 @@
+!function(t,e){"use strict";var a=e.MyAMS,i={widget:{treeview:{selectFolder:function(e,a){t(e.target).siblings('input[type="hidden"]').val(a.id)},unselectFolder:function(e,a){t(e.target).siblings('input[type="hidden"]').val(null)}}},TinyMCE:{initEditor:function(t){return tinyMCE.addI18n("fr",{"Link list":"Liste de liens","Toggle h3 header":"En-tête H3","Toggle h4 header":"En-tête H4","Insert internal link":"Insérer un lien interne","Link title":"Texte à afficher","Internal number":"N° interne"}),tinymce.PluginManager.add("internal_links",function(t,e){t.addButton("internal_links",{icon:"cloud-check",tooltip:"Insert internal link",image:"/--static--/pyams_content/img/internal-link.png",stateSelector:'a[href^="oid://"]',onclick:function(){var e={},a=t.dom,i=t.selection,n=i.getNode(),s=a.getParent(n,"a[href]");e.text=s?s.innerText||s.textContent:i.getContent({format:"text"}),e.href=s?a.getAttrib(s,"href"):"",t.windowManager.open({title:"Insert internal link",body:[{type:"textbox",name:"oid",label:"Internal number",value:e.href,onchange:function(){e.href=this.value()}},{type:"textbox",name:"title",label:"Link title",value:e.text,onchange:function(){e.text=this.value()}}],onsubmit:function(n){t.focus(),e.href?s?("innerText"in s?s.innerText=e.text:s.textContent=e.text,a.setAttribs(s,{href:e.href}),i.select(s),t.undoManager.add()):t.insertContent('<a href="oid://'+n.data.oid+'">'+n.data.title+"</a>"):t.execCommand("unlink")}})}})}),tinyMCE.PluginManager.add("headers",function(t,e){["h3","h4"].forEach(function(e){t.addButton("header-"+e,{tooltip:"Toggle "+e+" header",text:e.toUpperCase(),onClick:function(){t.execCommand("mceToggleFormat",!1,e)},onPostRender:function(){var a=this,i=function(){t.formatter.formatChanged(e,function(t){a.active(t)})};t.formatter?i():t.on("init",i)}})})}),t.image_list=i.TinyMCE.getImagesList,t.link_list=i.TinyMCE.getLinksList,t.style_formats=[{title:"Inline",items:[{title:"Bold",icon:"bold",format:"bold"},{title:"Italic",icon:"italic",format:"italic"},{title:"Underline",icon:"underline",format:"underline"},{title:"Strikethrough",icon:"strikethrough",format:"strikethrough"},{title:"Superscript",icon:"superscript",format:"superscript"},{title:"Subscript",icon:"subscript",format:"subscript"},{title:"Code",icon:"code",format:"code"}]},{title:"Blocks",items:[{title:"Paragraph",format:"p"},{title:"Blockquote",format:"blockquote"},{title:"Div",format:"div"},{title:"Pre",format:"pre"}]},{title:"Alignment",items:[{title:"Left",icon:"alignleft",format:"alignleft"},{title:"Center",icon:"aligncenter",format:"aligncenter"},{title:"Right",icon:"alignright",format:"alignright"},{title:"Justify",icon:"alignjustify",format:"alignjustify"}]}],t.plugins+=" internal_links headers",t.toolbar1&&(t.toolbar1="undo redo | header-h3 header-h4 styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent"),t.toolbar2&&(t.toolbar2="forecolor backcolor | charmap internal_links link | fullscreen preview print | code"),t},getImagesList:function(e){var i=t(document.activeElement).parents("form");if(i.exists()){var n=i.attr("data-ams-form-handler")||i.attr("action"),s=n.substr(0,n.lastIndexOf("/")+1);return a.ajax.post(s+"get-images-list.json",{},e)}},getLinksList:function(e){var i=t(document.activeElement).parents("form");if(i.exists()){var n=i.attr("data-ams-form-handler")||i.attr("action"),s=n.substr(0,n.lastIndexOf("/")+1);return a.ajax.post(s+"get-links-list.json",{},e)}}},galleries:{addMediaCallback:function(e){var a=t(".gallery",t('[id="'+e.parent+'"]')),n=a.siblings(".switcher");n.parents("fieldset:first").hasClass("switched")&&n.click();for(var s=0;s<e.medias.length;s++)a.append(e.medias[s]);a.sortable({helper:"clone",stop:i.galleries.setOrder})},updateMediaTitle:function(e){t('img[id="'+e.media_id+'"]').attr("original-title",e.title)},switchMediaVisibility:function(e){return function(){var e=t(this),i=e.parents(".media"),n=i.parents(".gallery");t("i",e).attr("class","fa fa-fw fa-spinner fa-pulse"),a.ajax.post(n.data("ams-location")+"/set-media-visibility.json",{object_name:i.data("ams-element-name")},function(i,n){i.visible?(t("i",e).attr("class","fa fa-fw fa-eye"),e.parents(".btn-group").siblings("a.fancyimg").removeClass("not-visible")):(t("i",e).attr("class","fa fa-fw fa-eye-slash text-danger"),e.parents(".btn-group").siblings("a.fancyimg").addClass("not-visible")),i.handle_json&&a.ajax.handleJSON(i)})}},setOrder:function(e,i){if(!i||!i.item.hasClass("already-dropped")){var n=i.item.parents(".gallery"),s=t(".media",n).listattr("data-ams-element-name");a.ajax.post(n.data("ams-location")+"/set-medias-order.json",{medias:JSON.stringify(s)})}},removeMedia:function(e){return function(){var e=t(this);a.skin.bigBox({title:a.i18n.WARNING,content:'<i class="text-danger fa fa-2x fa-bell shake animated"></i>&nbsp; '+a.i18n.DELETE_WARNING,buttons:a.i18n.BTN_OK_CANCEL},function(t){if(t===a.i18n.BTN_OK){var i=e.parents(".gallery").data("ams-location"),n=e.parents(".media"),s=n.data("ams-element-name");a.ajax.post(i+"/delete-element.json",{object_name:s},function(t,e){n.remove(),t.handle_json&&a.ajax.handleJSON(t)})}})}},afterFancyboxLoad:function(t,e){t.element.hasClass("not-visible")&&t.inner.prepend('<div class="hidden-mask"></div>')}},illustration:{addIllustration:function(){var e=t(this),a=e.parents(".btn-group").siblings("legend.switcher");t("i.fa-plus",a).click(),e.hide(),t('input[type="file"]',a.siblings(".form-group:first")).click()}},paragraphs:{preReload:function(){i.paragraphs.switched=t("i.switch.fa-minus-square-o","#paragraphs_list").parents("tr").listattr("id")},postReload:function(){t(i.paragraphs.switched).each(function(){t("i.switch.fa-plus-square-o",'[id="'+this+'"]').parents("div").first().click()}),delete i.paragraphs.switched},refreshParagraph:function(e){var a=t('tr[id="'+e.object_id+'"]');t("span.title",a).html(e.title||" - - - - - - - -")},switchEditor:function(e){var i=t(this),n=t("i.switch",i),s=i.parents("td"),r=t(".editor",s),o=i.parents("tr");if(n.hasClass("fa-plus-square-o")){var l=o.parents("table");r.html('<h1 class="loading"><i class="fa fa-2x fa-gear fa-spin"></i></h1>'),a.ajax.post(l.data("ams-location")+"/get-paragraph-editor.json",{object_name:o.data("ams-element-name")},function(t){r.html(t),t&&(a.initContent(r),n.removeClass("fa-plus-square-o").addClass("fa-minus-square-o"),o.data("ams-disabled-handlers",!0),a.skin.scrollTo(r,{offset:r.height()-o.height()}))})}else a.skin.cleanContainer(r),r.empty(),n.removeClass("fa-minus-square-o").addClass("fa-plus-square-o"),o.removeData("ams-disabled-handlers")},switchLastEditor:function(e){var a=t('table[id="'+e+'"]'),i=t("tr:last",a);t('[data-ams-click-handler="PyAMS_content.paragraphs.switchEditor"]',i).click()},switchAllEditors:function(e){var i=t(this),n=t("i",i),s=i.parents("table");n.hasClass("fa-plus-square-o")?(n.removeClass("fa-plus-square-o").addClass("fa-cog fa-spin"),a.ajax.post(s.data("ams-location")+"/get-paragraphs-editors.json",{},function(e){for(var i in e)if(e.hasOwnProperty(i)){var r=t('tr[data-ams-element-name="'+i+'"]',s),o=t(".editor",r);o.is(":empty")&&o.html(e[i]),t(".fa-plus-square-o",r).removeClass("fa-plus-square-o").addClass("fa-minus-square-o"),r.data("ams-disabled-handlers",!0)}t("i.fa-plus-square-o",t("tbody",s)).exists()||n.removeClass("fa-cog fa-spin").addClass("fa-minus-square-o"),a.initContent(s)})):(t(".editor",s).each(function(){a.skin.cleanContainer(t(this)),t(this).empty()}),t(".fa-minus-square-o",s).removeClass("fa-minus-square-o").addClass("fa-plus-square-o"),t("tr",s).removeData("ams-disabled-handlers"))},updateToolbar:function(e){var i=t('tr[id="'+e.object_id+'"]'),n=t(".title-toolbar",i);n.replaceWith(e.toolbar_tag),n=t(".title-toolbar",i),a.initContent(n)},updateMarkers:function(e){var i=t('tr[id="'+e.object_id+'"]'),n=t(".title-toolbar",i),s=t("DIV.action."+e.marker_type,n);s.exists()?s.replaceWith(e.marker_tag):t(e.marker_tag).appendTo(n),e.marker_tag&&(s=t("DIV.action."+e.marker_type,n),a.initContent(s)),a.helpers.sort(n,"weight")}},pictograms:{initManagerSelection:function(){var e=t(this),a=t('input[type="hidden"]',t(".selected-pictograms",e)).listattr("value");return{selected:JSON.stringify(a)}},switchPictogram:function(){var e=t(this),a=e.parents(".pictograms"),i=a.parents(".pictograms-manager");a.hasClass("available-pictograms")?t(".selected-pictograms",i).append(e):t(".available-pictograms",i).append(e)}},themes:{initExtracts:function(e){var i=t('select[name="manager_themes.widgets.thesaurus_name:list"]',e).val(),n=t('select[name="manager_themes.widgets.extract_name:list"]',e),s=n.val();i&&a.jsonrpc.post("getExtracts",{thesaurus_name:i},{url:"/api/thesaurus/json"},function(e){n.empty(),t(e.result).each(function(){t("<option></option>").attr("value",this.id).attr("selected",this.id===s).text(this.text).appendTo(n)})})},getExtracts:function(e){var i=t(e.currentTarget).parents("form"),n=t('select[name="manager_themes.widgets.thesaurus_name:list"]',i).val(),s=t('select[name="manager_themes.widgets.extract_name:list"]',i),r=s.data("select2");n&&"--NOVALUE--"!==n?a.jsonrpc.post("getExtracts",{thesaurus_name:n},{url:"/api/thesaurus/json"},function(t){r.results.empty(),r.opts.populateResults.call(r,r.results,t.result,{term:""})}):(s.select2("data",null),r.results.empty(),r.opts.populateResults.call(r,r.results,[],{term:""}))}},fields:{refreshField:function(e){var a=t('table[id="form_fields_list"]'),i=t('tr[data-ams-element-name="'+e.object_name+'"]',a);t("td:nth-child(4)",i).html(e.title)}},imgmap:{init:function(){var e=t(this);a.ajax.check(t.fn.canvasAreaDraw,"/--static--/pyams_content/js/jquery-canvasAreaDraw"+a.devext+".js",function(){e.canvasAreaDraw({imageUrl:e.data("ams-image-url")})})},initPreview:function(){var e=t(this);a.ajax.check(t.fn.mapster,"/--static--/pyams_content/js/jquery-imagemapster-1.2.10"+a.devext+".js",function(){e.mapster({fillColor:"ff0000",fillOpacity:.35,selected:!0,highlight:!0,staticState:!0})})}},site:{switchVisibility:function(){return function(){var e=t(this),i=e.parents("tr").first();a.ajax.post(i.data("ams-location")+"/switch-content-visibility.json",{object_name:i.data("ams-element-name")},function(a,i){var n="fa-eye";a.visible||(n+="-slash"),a.published||(n+=" text-danger"),t("i",e).attr("class","fa fa-fw "+n)})}}},review:{timer:null,timer_duration:{general:3e4,chat:5e3},initComments:function(e){var n=t(".chat-body",e);n.animate({scrollTop:n[0].scrollHeight},1e3),clearInterval(i.review.timer),i.review.timer=setInterval(i.review.updateComments,i.review.timer_duration.chat),a.skin.registerCleanCallback(i.review.cleanCommentsCallback)},cleanCommentsCallback:function(){clearInterval(i.review.timer),i.review.timer=setInterval(i.review.updateComments,i.review.timer_duration.general)},updateComments:function(){var e,i=t(".badge",'nav a[href="#review-comments.html"]'),n=t(".chat-body",".widget-body");e=n.exists()?t(".message",n).length:parseInt(i.text()),a.ajax.post("get-last-review-comments.json",{count:e},function(a){n.exists()&&i.removeClass("bg-color-danger").addClass("bg-color-info"),e!==a.count&&(i.text(a.count).removeClass("hidden"),n.exists()&&(t(".messages",n).append(a.content),n.animate({scrollTop:n[0].scrollHeight},1e3)),n.exists()||i.removeClass("bg-color-info").addClass("bg-color-danger").animate({padding:"3px 12px 2px","margin-right":"9px"},"slow",function(){t(this).animate({padding:"3px 6px 2px","margin-right":"15px"},"slow")}))})},initCommentData:function(e){var a=t(".chat-body",".widget-body");return{count:t(".message",a).length}},addCommentAction:function(){return function(){t('textarea[name="comment"]').focus()}},addCommentCallback:function(e){var a=t(this),i=a.parents(".widget-body");t(".messages",i).append(e.content),t('textarea[name="comment"]',a).val("");var n=t(".chat-body",i);n.animate({scrollTop:n[0].scrollHeight},1e3),t(".badge",'nav a[href="#review-comments.html"]').text(e.count).removeClass("hidden")}},header:{submitEditForm:function(){var e=t(this).parents("form").first();a.form.submit(e,{form_data:{autosubmit:!0}})}},footer:{submitEditForm:function(){var e=t(this).parents("form").first();a.form.submit(e,{form_data:{autosubmit:!0}})}},profile:{switchFavorite:function(){var e=t(this),i=e.data("sequence-oid");a.ajax.post("switch-user-favorite.json",{oid:i},function(t,a){t.favorite?e.removeClass("fa-star-o").addClass("fa-star"):e.removeClass("fa-star").addClass("fa-star-o")})}}};t(".badge",'nav a[href="#review-comments.html"]').exists()&&(i.review.timer=setInterval(i.review.updateComments,i.review.timer_duration.general)),e.PyAMS_content=i}(jQuery,this);
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/zmi/resources/less/pyams_content.less	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,59 @@
+.ams-widget.comments {
+
+	.widget-body {
+		position: fixed;
+		height: ~"calc(100% - 337px)";
+
+		.chat-body {
+			position: relative;
+			height: 100%;
+		}
+
+		.chat-footer {
+			position: fixed;
+			bottom: 10px;
+		}
+
+		&,
+		.chat-footer {
+			width: ~"calc(100% - 240px)";
+
+			@media (max-width: 767px) {
+				width: ~"calc(100% - 10px)";
+			}
+			@media (min-width: 768px) and (max-width: 979px) {
+				width: ~"calc(100% - 20px)";
+			}
+
+			.minified & {
+				width: ~"calc(100% - 65px)";
+
+				@media (max-width: 767px) {
+					& {
+						width: ~"calc(100% - 55px)";
+					}
+				}
+			}
+			.hidden-menu & {
+				width: ~"calc(100% - 30px)";
+			}
+		}
+	}
+}
+
+
+.pictograms-manager {
+	.pictogram {
+		border-bottom: 1px solid silver;
+	}
+	.pictogram:last-child {
+		border-bottom: none;
+	}
+}
+
+
+.sortable {
+	&.gallery {
+		max-height: 550px;
+	}
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/zmi/tinymce.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,40 @@
+#
+# 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
+from pyams_content.zmi import pyams_content
+from pyams_form.interfaces.form import IForm
+from pyams_skin.interfaces.tinymce import ITinyMCEConfiguration
+from pyams_skin.layer import IPyAMSLayer
+
+# import packages
+from pyams_utils.adapter import adapter_config, ContextRequestAdapter
+from pyams_utils.fanstatic import get_resource_path
+
+
+@adapter_config(context=(IForm, IPyAMSLayer), provides=ITinyMCEConfiguration)
+class TinyMCEEditorConfiguration(ContextRequestAdapter):
+    """TinyMCE editor configuration"""
+
+    @property
+    def configuration(self):
+        return {
+            'ams-plugins': 'pyams_content',
+            'ams-plugin-pyams_content-src': get_resource_path(pyams_content),
+            'ams-plugin-pyams_content-async': 'false',
+            'ams-tinymce-init-callback': 'PyAMS_content.TinyMCE.initEditor'
+        }
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/zmi/viewlet/__init__.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,20 @@
+#
+# 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
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/zmi/viewlet/toplinks/__init__.py	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,161 @@
+#
+# 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 locale
+
+from hypatia.catalog import CatalogQuery
+from hypatia.interfaces import ICatalog
+from hypatia.query import And, Any, NotEq, Or
+
+from pyams_catalog.query import CatalogResultSet
+from pyams_content.shared.common.interfaces import IBaseSharedTool, ISharedSite
+from pyams_content.zmi.interfaces import IUserAddingsMenuLabel
+from pyams_i18n.interfaces import II18n
+from pyams_skin.interfaces.viewlet import ITopLinksViewletManager
+from pyams_skin.viewlet.toplinks import TopLinksMenu, TopLinksViewlet
+from pyams_template.template import template_config
+from pyams_utils.list import unique
+from pyams_utils.registry import get_all_utilities_registered_for, get_utility
+from pyams_utils.url import absolute_url
+from pyams_viewlet.viewlet import viewlet_config
+from pyams_zmi.layer import IAdminLayer
+
+from pyams_content import _
+
+
+@viewlet_config(name='shared-sites.menu', layer=IAdminLayer, manager=ITopLinksViewletManager, weight=20)
+class SharedSitesMenu(TopLinksViewlet):
+    """Shared sites menu"""
+
+    label = ''
+    css_class = 'top-menu bordered margin-top-10'
+    dropdown_label = _("Shared sites")
+
+    def update(self):
+        super(SharedSitesMenu, self).update()
+        context = self.context
+        request = self.request
+        parent = self.__parent__
+        for site in sorted(get_all_utilities_registered_for(ISharedSite),
+                           key=lambda x: locale.strxfrm(II18n(x).query_attribute('title', request=request) or '')):
+            menu = TopLinksMenu(context, request, parent, self)
+            menu.label = II18n(site).query_attribute('title', request=request) or site.__name__
+            menu.url = absolute_url(site, request, 'admin#dashboard.html')
+            self.viewlets.append(menu)
+
+
+@viewlet_config(name='shared-contents.menu', layer=IAdminLayer, manager=ITopLinksViewletManager, weight=30)
+class SharedContentsMenu(TopLinksViewlet):
+    """Shared contents menu"""
+
+    label = ''
+    css_class = 'top-menu bordered margin-top-10'
+    dropdown_label = _("Shared contents")
+
+    def update(self):
+        super(SharedContentsMenu, self).update()
+        context = self.context
+        request = self.request
+        parent = self.__parent__
+        for tool in sorted(get_all_utilities_registered_for(IBaseSharedTool),
+                           key=lambda x: locale.strxfrm(II18n(x).query_attribute('title', request=request) or '')):
+            if ISharedSite.providedBy(tool) or (not tool.shared_content_menu):
+                continue
+            menu = TopLinksMenu(context, request, parent, self)
+            menu.label = II18n(tool).query_attribute('title', request=request) or tool.__name__
+            menu.url = absolute_url(tool, request, 'admin#dashboard.html')
+            self.viewlets.append(menu)
+
+
+@viewlet_config(name='shared-tools.menu', layer=IAdminLayer, manager=ITopLinksViewletManager, weight=40)
+class SharedToolsMenu(TopLinksViewlet):
+    """Shared tools menu"""
+
+    label = ''
+    css_class = 'top-menu bordered margin-top-10'
+    dropdown_label = _("Shared tools")
+
+    def update(self):
+        super(SharedToolsMenu, self).update()
+        context = self.context
+        request = self.request
+        parent = self.__parent__
+        for tool in sorted(get_all_utilities_registered_for(IBaseSharedTool),
+                           key=lambda x: locale.strxfrm(II18n(x).query_attribute('title', request=request) or '')):
+            if ISharedSite.providedBy(tool) or tool.shared_content_menu:
+                continue
+            menu = TopLinksMenu(context, request, parent, self)
+            menu.label = II18n(tool).query_attribute('title', request=request) or tool.__name__
+            menu.url = absolute_url(tool, request, 'admin#dashboard.html')
+            self.viewlets.append(menu)
+
+
+@viewlet_config(name='user-roles.menu', layer=IAdminLayer, manager=ITopLinksViewletManager, weight=90)
+class UserRolesMenu(TopLinksViewlet):
+    """User roles menu"""
+
+    label = ''
+    css_class = 'top-menu bordered margin-top-10'
+    dropdown_label = _("My roles")
+
+    def update(self):
+        super(UserRolesMenu, self).update()
+        catalog = get_utility(ICatalog)
+        context = self.context
+        request = self.request
+        parent = self.__parent__
+        params = And(Or(Any(catalog['role:contributor'], {request.principal.id}),
+                        Any(catalog['role:manager'], {request.principal.id}),
+                        Any(catalog['role:pilot'], {request.principal.id})),
+                     NotEq(catalog['content_type'], None))
+        for tool in sorted(unique(CatalogResultSet(CatalogQuery(catalog).query(params))),
+                           key=lambda x: locale.strxfrm(II18n(x).query_attribute('title', request=request) or '')):
+            menu = TopLinksMenu(context, request, parent, self)
+            menu.label = II18n(tool).query_attribute('title', request=request) or tool.__name__
+            menu.url = absolute_url(tool, request, 'admin#dashboard.html')
+            self.viewlets.append(menu)
+
+
+@viewlet_config(name='user-addings.menu', layer=IAdminLayer, manager=ITopLinksViewletManager, weight=95)
+@template_config(template='templates/user-addings.pt', layer=IAdminLayer)
+class UserAddingsMenu(TopLinksViewlet):
+    """User addings menu"""
+
+    label = ''
+    css_class = 'top-menu margin-top-5-neg'
+    dropdown_label = ''
+
+    def update(self):
+        super(UserAddingsMenu, self).update()
+        catalog = get_utility(ICatalog)
+        context = self.context
+        request = self.request
+        parent = self.__parent__
+        registry = request.registry
+        params = And(Any(catalog['role:contributor'], {request.principal.id}),
+                     NotEq(catalog['content_type'], None))
+        for tool in sorted(unique(CatalogResultSet(CatalogQuery(catalog).query(params))),
+                           key=lambda x: locale.strxfrm(II18n(x).query_attribute('title', request=request) or '')):
+            content_class = tool.shared_content_factory.content_class
+            if content_class is None:
+                continue
+            menu = TopLinksMenu(context, request, parent, self)
+            adapter = registry.queryMultiAdapter((tool, request), IUserAddingsMenuLabel)
+            if adapter is None:
+                menu.label = request.localizer.translate(content_class.content_name)
+            else:
+                menu.label = adapter.label
+            menu.url = absolute_url(tool, request, 'add-shared-content.html')
+            menu.data = {'data-toggle': 'modal'}
+            self.viewlets.append(menu)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/zmi/viewlet/toplinks/templates/user-addings.pt	Tue Nov 13 14:05:02 2018 +0100
@@ -0,0 +1,14 @@
+<div class="top-menu" tal:attributes="class view.css_class" i18n:domain="pyams_content">
+	<span class="label" tal:content="view.label | default">Label:</span>
+	<span class="top-selector popover-trigger-element dropdown-toggle btn-success"
+		  data-toggle="dropdown">
+		<i class="fa fa-3x fa-plus-square text-success opaque hint"
+		   data-ams-hint-gravity="w"
+		   title="Create new content" i18n:attributes="title"></i>
+	</span>
+	<ul class="dropdown-menu">
+		<tal:loop repeat="menu view.viewlets">
+			<tal:li replace="structure menu.render()" />
+		</tal:loop>
+	</ul>
+</div>