[TASK] Clean-up EXT: aboutmodules, adapt to "TYPO3 CMS"
[Packages/TYPO3.CMS.git] / typo3 / sysext / aboutmodules / Resources / Private / Templates / Modules / Index.html
1 <f:layout name="Default" />
2
3 <f:section name="Content">
4 <h1>TYPO3 CMS {TYPO3Version}<br />
5 <f:translate key="LLL:EXT:lang/locallang_alt_intro.xlf:introtext" />
6 </h1>
7
8 <p>{copyRightNotice -> f:format.raw()}</p>
9
10 {warningMessages -> f:format.raw()}
11
12 <h3>
13 <f:translate key="LLL:EXT:lang/locallang_alt_intro.xlf:introtext2" />
14 </h3>
15
16 <table border="0" cellpadding="0" cellspacing="0" id="typo3-aboutmodules">
17 <tbody>
18 <f:for each="{modules}" as="mainModule">
19 <tr class="c-mainitem">
20 <td colspan="3">
21 <f:if condition="{mainModules.subModules -> f:count()} > 0">
22 <f:then>
23 <h3><f:image src="{mainModule.icon}" alt="" /> {mainModule.label}</h3>
24 </f:then>
25 <f:else>
26 <h3>
27 <a href="#" onclick="top.goToModule('{mainModule.name}'); return false;">
28 <f:image src="{mainModule.icon}" alt="" />
29 </a>
30
31 <a href="#" onclick="top.goToModule('{mainModule.name}'); return false;">
32 {mainModule.label}
33 </a>
34 </h3>
35 </f:else>
36 </f:if>
37 </td>
38 </tr>
39
40 <f:for each="{mainModule.subModules}" as="subModule" iteration="subModuleIterator">
41 <f:if condition="{subModuleIterator.isFirst}">
42 <tr class="c-first"><td colspan="3"></td></tr>
43 </f:if>
44
45 <tr class="c-subitem-row">
46 <td>
47 <a
48 href="#"
49 onclick="top.goToModule('{mainModule.name}_{subModule.name}'); return false;"
50 title="{subModule.shortDescription}"
51 >
52 <f:image src="{subModule.icon}" alt="{subModule.label}" />
53 </a>
54 </td>
55 <td>
56 <a
57 href="#"
58 onclick="top.goToModule('{mainModule.name}_{subModule.name}'); return false;"
59 title="{subModule.shortDescription}"
60 >
61 {subModule.label}
62 </a>
63 </td>
64 <td class="module-description">
65 <f:if condition="{subModule.shortDescription}">
66 <strong>
67 <a
68 href="#"
69 onclick="top.goToModule('{mainModule.name}'); return false;"
70 title="{subModule.shortDescription}"
71 >
72 {subModule.shortDescription}
73 </a>
74 </strong>
75 <br />
76 </f:if>
77
78 {subModule.longDescription -> f:format.raw()}
79 </td>
80 </tr>
81 </f:for>
82
83 <f:if condition="{mainModule.subModules -> f:count()} > 0">
84 <tr class="c-endrow"><td colspan="3"></td></tr>
85 </f:if>
86 </f:for>
87 </tbody>
88 </table>
89
90 <br />
91
92 <p>
93 <em>
94 (<f:translate key="LLL:EXT:lang/locallang_alt_intro.xlf:endText" />)
95 </em>
96 </p>
97
98 <br />
99
100 </f:section>