Add condition object types for boxes
authorjoshuaruesweg <ruesweg@woltlab.com>
Mon, 23 Aug 2021 11:30:54 +0000 (13:30 +0200)
committerjoshuaruesweg <ruesweg@woltlab.com>
Mon, 23 Aug 2021 11:30:54 +0000 (13:30 +0200)
com.woltlab.wcf/objectType.xml
com.woltlab.wcf/objectTypeDefinition.xml

index 9038daf0457eb092a2dc04cef702dead19c69dea..5a8f2155e665f9079bf25a7f1ab6ac31b664f0df 100644 (file)
                        <conditiongroup>general</conditiongroup>
                </type>
                <!-- /notice conditions -->
+               <!-- box conditions -->
+               <type>
+                       <name>com.woltlab.wcf.page</name>
+                       <definitionname>com.woltlab.wcf.condition.box</definitionname>
+                       <classname>wcf\system\condition\page\MultiPageCondition</classname>
+                       <conditionobject>com.woltlab.wcf.page</conditionobject>
+               </type>
+               <!-- /box conditions -->
                <!-- ad locations -->
                <type>
                        <name>com.woltlab.wcf.logo</name>
index 145f508acd320420e1bc4e1e404658d49169915e..bfc871dd49dc1d380818c52f4265543bf9f654d9 100644 (file)
                        <name>com.woltlab.wcf.statDailyHandler</name>
                        <interfacename>wcf\system\stat\IStatDailyHandler</interfacename>
                </definition>
+               <definition>
+                       <name>com.woltlab.wcf.condition.box</name>
+                       <interfacename>wcf\system\condition\IContentCondition</interfacename>
+               </definition>
                <definition>
                        <name>com.woltlab.wcf.condition.userGroupAssignment</name>
                        <interfacename>wcf\system\condition\IUserCondition</interfacename>