Renames xml files to fit standards of the WCF package
authorMatthias Schmidt <gravatronics@live.com>
Sun, 4 Mar 2012 14:02:33 +0000 (15:02 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 4 Mar 2012 14:02:33 +0000 (15:02 +0100)
acpMenu.xml [new file with mode: 0644]
acpmenu.xml [deleted file]
package.xml
userGroupOption.xml [new file with mode: 0644]
usergroupoption.xml [deleted file]

diff --git a/acpMenu.xml b/acpMenu.xml
new file mode 100644 (file)
index 0000000..d4e3af2
--- /dev/null
@@ -0,0 +1,36 @@
+<?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/acpmenu.xsd">
+       <import>
+               <acpmenuitem name="wcf.acp.menu.link.language">
+                       <parent>wcf.acp.menu.link.display</parent>
+               </acpmenuitem>
+               
+               <acpmenuitem name="wcf.acp.menu.link.language.list">
+                       <parent>wcf.acp.menu.link.language</parent>
+                       <link>index.php/LanguageList/</link>
+                       <permissions>admin.language.canEditLanguage,admin.language.canDeleteLanguage</permissions>
+               </acpmenuitem>
+               
+               <acpmenuitem name="wcf.acp.menu.link.language.add">
+                       <parent>wcf.acp.menu.link.language</parent>
+                       <link>index.php/LanguageAdd/</link>
+                       <permissions>admin.language.canAddLanguage</permissions>
+               </acpmenuitem>
+               
+               <acpmenuitem name="wcf.acp.menu.link.language.server">
+                       <parent>wcf.acp.menu.link.language</parent>
+               </acpmenuitem>
+
+               <acpmenuitem name="wcf.acp.menu.link.language.server.list">
+                       <link>index.php/LanguageServerList/</link>
+                       <parent>wcf.acp.menu.link.language.server</parent>
+                       <permissions>admin.language.canEditServer,admin.language.canDeleteServer</permissions>
+               </acpmenuitem>
+
+               <acpmenuitem name="wcf.acp.menu.link.language.server.add">
+                       <link>index.php/LanguageServerAdd/</link>
+                       <parent>wcf.acp.menu.link.language.server</parent>
+                       <permissions>admin.language.canAddServer</permissions>
+               </acpmenuitem>
+       </import>
+</data>
diff --git a/acpmenu.xml b/acpmenu.xml
deleted file mode 100644 (file)
index d4e3af2..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<?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/acpmenu.xsd">
-       <import>
-               <acpmenuitem name="wcf.acp.menu.link.language">
-                       <parent>wcf.acp.menu.link.display</parent>
-               </acpmenuitem>
-               
-               <acpmenuitem name="wcf.acp.menu.link.language.list">
-                       <parent>wcf.acp.menu.link.language</parent>
-                       <link>index.php/LanguageList/</link>
-                       <permissions>admin.language.canEditLanguage,admin.language.canDeleteLanguage</permissions>
-               </acpmenuitem>
-               
-               <acpmenuitem name="wcf.acp.menu.link.language.add">
-                       <parent>wcf.acp.menu.link.language</parent>
-                       <link>index.php/LanguageAdd/</link>
-                       <permissions>admin.language.canAddLanguage</permissions>
-               </acpmenuitem>
-               
-               <acpmenuitem name="wcf.acp.menu.link.language.server">
-                       <parent>wcf.acp.menu.link.language</parent>
-               </acpmenuitem>
-
-               <acpmenuitem name="wcf.acp.menu.link.language.server.list">
-                       <link>index.php/LanguageServerList/</link>
-                       <parent>wcf.acp.menu.link.language.server</parent>
-                       <permissions>admin.language.canEditServer,admin.language.canDeleteServer</permissions>
-               </acpmenuitem>
-
-               <acpmenuitem name="wcf.acp.menu.link.language.server.add">
-                       <link>index.php/LanguageServerAdd/</link>
-                       <parent>wcf.acp.menu.link.language.server</parent>
-                       <permissions>admin.language.canAddServer</permissions>
-               </acpmenuitem>
-       </import>
-</data>
index 59d48c8c050c66145a128d34dc93f7230f32860f..48c7dc5a7c441d8a2d69fb0a5e0dd8b2729a5c55 100644 (file)
        </requiredpackages>
        
        <instructions type="install">
-               <instruction type="acpMenu">acpmenu.xml</instruction>
+               <instruction type="acpMenu">acpMenu.xml</instruction>
                <instruction type="acpTemplate">acptemplates.tar</instruction>
                <instruction type="file">files.tar</instruction>
-               <instruction type="userGroupOption">usergroupoption.xml</instruction>
+               <instruction type="userGroupOption">userGroupOption.xml</instruction>
                <instruction type="language">language/*.xml</instruction>
        </instructions>
 </package>
diff --git a/userGroupOption.xml b/userGroupOption.xml
new file mode 100644 (file)
index 0000000..16f85e2
--- /dev/null
@@ -0,0 +1,27 @@
+<?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/usergroupoptions.xsd">
+       <import>
+               <options>
+                       <option name="admin.language.canAddLanguage">
+                               <categoryname>admin.language</categoryname>
+                               <optiontype>boolean</optiontype>
+                               <defaultvalue>0</defaultvalue>
+                               <admindefaultvalue>1</admindefaultvalue>
+                       </option>
+                       
+                       <option name="admin.language.canEditLanguage">
+                               <categoryname>admin.language</categoryname>
+                               <optiontype>boolean</optiontype>
+                               <defaultvalue>0</defaultvalue>
+                               <admindefaultvalue>1</admindefaultvalue>
+                       </option>
+                       
+                       <option name="admin.language.canDeleteLanguage">
+                               <categoryname>admin.language</categoryname>
+                               <optiontype>boolean</optiontype>
+                               <defaultvalue>0</defaultvalue>
+                               <admindefaultvalue>1</admindefaultvalue>
+                       </option>
+               </options>
+       </import>
+</data>
diff --git a/usergroupoption.xml b/usergroupoption.xml
deleted file mode 100644 (file)
index 16f85e2..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-<?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/usergroupoptions.xsd">
-       <import>
-               <options>
-                       <option name="admin.language.canAddLanguage">
-                               <categoryname>admin.language</categoryname>
-                               <optiontype>boolean</optiontype>
-                               <defaultvalue>0</defaultvalue>
-                               <admindefaultvalue>1</admindefaultvalue>
-                       </option>
-                       
-                       <option name="admin.language.canEditLanguage">
-                               <categoryname>admin.language</categoryname>
-                               <optiontype>boolean</optiontype>
-                               <defaultvalue>0</defaultvalue>
-                               <admindefaultvalue>1</admindefaultvalue>
-                       </option>
-                       
-                       <option name="admin.language.canDeleteLanguage">
-                               <categoryname>admin.language</categoryname>
-                               <optiontype>boolean</optiontype>
-                               <defaultvalue>0</defaultvalue>
-                               <admindefaultvalue>1</admindefaultvalue>
-                       </option>
-               </options>
-       </import>
-</data>