Strip pour éviter que le firstChild soit un nœud text.
[Plinn.git] / content.zcml
1 <configure
2 xmlns="http://namespaces.zope.org/zope"
3 xmlns:five="http://namespaces.zope.org/five">
4
5 <!-- File -->
6 <five:registerClass
7 class=".File.File"
8 meta_type="Plinn File"
9 permission="cmf.AddPortalContent"
10 />
11
12 <utility
13 component=".File.FileFactory"
14 name="plinn.file"
15 />
16
17 <!-- Plinn Folder -->
18 <five:registerClass
19 class=".Folder.PlinnFolder"
20 meta_type="Plinn Folder"
21 permission="cmf.AddPortalFolders"
22 />
23
24 <utility
25 component=".Folder.PlinnFolderFactory"
26 name="plinn.folder.normal"
27 />
28
29 <!-- Huge Plinn Folder -->
30 <five:registerClass
31 class=".HugePlinnFolder.HugePlinnFolder"
32 meta_type="Huge Plinn Folder"
33 permission="cmf.AddPortalFolders"
34 />
35
36 <utility
37 component=".HugePlinnFolder.HugePlinnFolderFactory"
38 name="plinn.folder.huge"
39 />
40
41
42 <!-- Topic -->
43
44 <five:registerClass
45 class=".Topic.Topic"
46 meta_type="Plinn Topic"
47 permission="cmf.AddPortalTopics"
48 />
49
50 <utility
51 component=".Topic.TopicFactory"
52 name="plinn.topic"
53 />
54
55 </configure>