Added setting to add rel="nofollow" to external links
authorMarcel Werk <burntime@woltlab.com>
Tue, 13 Nov 2012 17:03:05 +0000 (18:03 +0100)
committerMarcel Werk <burntime@woltlab.com>
Tue, 13 Nov 2012 17:03:05 +0000 (18:03 +0100)
com.woltlab.wcf/option.xml

index 278acef8d24745c30e6581a0fe5a72101f707dde..3b7174d7971fa5f5b8fbb0bbf836becf33d48398 100644 (file)
                        <category name="user">
                                <showorder>3</showorder>
                        </category>
+                       
+                       <category name="user.general">
+                               <parent>user</parent>
+                       </category>
                        <!-- /user -->
                        
                        <!-- security -->
@@ -352,6 +356,14 @@ no:!cache_source_memcache_host,!cache_source_memcache_use_pconnect]]></enableopt
                                <optiontype>boolean</optiontype>
                        </option>
                        <!-- /general.cache -->
+                       
+                       <!-- user -->
+                       <option name="external_link_rel_nofollow">
+                               <categoryname>user.general</categoryname>
+                               <optiontype>boolean</optiontype>
+                               <defaultvalue>1</defaultvalue>
+                       </option>
+                       <!-- /user -->
                </options>
        </import>
 </data>