Add page object type
authorMatthias Schmidt <gravatronics@live.com>
Tue, 8 Jul 2014 05:48:09 +0000 (07:48 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Tue, 8 Jul 2014 05:48:09 +0000 (07:48 +0200)
language/de.xml
language/en.xml
objectType.xml [new file with mode: 0644]
package.xml

index a9ebf9d5aba63987f2015b4785090e85f9d9d7a8..687b6efe5598a7343366be6d96d0a651901e8524 100644 (file)
                <item name="wcf.acp.option.legal_notice_vat_id"><![CDATA[Umsatzsteuer-ID]]></item>
                <item name="wcf.acp.option.legal_notice_vat_id.description"><![CDATA[Falls Sie über eine Umsatzsteuer-Identifikationsnummer verfügen, tragen Sie diese bitte hier ein.]]></item>
        </category>
+       
        <category name="wcf.footer.menu">
                <item name="wcf.footer.menu.legalNotice"><![CDATA[Impressum]]></item>
        </category>
+       
        <category name="wcf.legalNotice">
                <item name="wcf.legalNotice.additionalText"><![CDATA[Weitere Informationen]]></item>
                <item name="wcf.legalNotice.address"><![CDATA[Name und Anschrift]]></item>
@@ -38,4 +40,8 @@
                <item name="wcf.legalNotice.title"><![CDATA[Impressum]]></item>
                <item name="wcf.legalNotice.vatID"><![CDATA[Umsatzsteuer-ID]]></item>
        </category>
+       
+       <category name="wcf.page">
+               <item name="wcf.page.com.woltlab.wcf.legalNotice.LegalNoticePage"><![CDATA[Impressum]]></item>
+       </category>
 </language>
\ No newline at end of file
index be9389113612c98b9abe9020f8e9dd67ab436897..6e435d18f18daa0fc3fc432c375215a20b5c1940 100644 (file)
                <item name="wcf.acp.option.legal_notice_vat_id"><![CDATA[VAT ID]]></item>
                <item name="wcf.acp.option.legal_notice_vat_id.description"><![CDATA[]]></item>
        </category>
+       
        <category name="wcf.footer.menu">
                <item name="wcf.footer.menu.legalNotice"><![CDATA[Legal Notice]]></item>
        </category>
+       
        <category name="wcf.legalNotice">
                <item name="wcf.legalNotice.additionalText"><![CDATA[Additional Information]]></item>
                <item name="wcf.legalNotice.address"><![CDATA[Name and Address]]></item>
@@ -38,4 +40,8 @@
                <item name="wcf.legalNotice.title"><![CDATA[Legal Notice]]></item>
                <item name="wcf.legalNotice.vatID"><![CDATA[VAT ID]]></item>
        </category>
+       
+       <category name="wcf.page">
+               <item name="wcf.page.com.woltlab.wcf.legalNotice.LegalNoticePage"><![CDATA[Legal Notice]]></item>
+       </category>
 </language>
\ No newline at end of file
diff --git a/objectType.xml b/objectType.xml
new file mode 100644 (file)
index 0000000..054cc5d
--- /dev/null
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/maelstrom/object-type.xsd">
+       <import>
+               <!-- pages -->
+               <type>
+                       <name>com.woltlab.wcf.legalNotice.LegalNoticePage</name>
+                       <definitionname>com.woltlab.wcf.page</definitionname>
+                       <classname><![CDATA[wcf\page\LegalNoticePage]]></classname>
+                       <categoryname>com.woltlab.wcf.other</categoryname>
+               </type>
+               <!-- /pages -->
+       </import>
+</data>
\ No newline at end of file
index b2eb905b4c11645de9fb83b983d4dcf652bd23db..780689ac2b39ad1282c78e7823c67ffef55616e5 100644 (file)
@@ -26,6 +26,7 @@
                <instruction type="file">files.tar</instruction>
                <instruction type="template">templates.tar</instruction>
                <instruction type="pageMenu">pageMenu.xml</instruction>
+               <instruction type="objectType">objectType.xml</instruction>
                <instruction type="option">option.xml</instruction>
                <instruction type="language">language/*.xml</instruction>
        </instructions>