Added prototype for pluginstore widget on WCF ACP index
authorAlexander Ebert <ebert@woltlab.com>
Tue, 22 Apr 2014 14:28:28 +0000 (16:28 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 22 Apr 2014 14:28:28 +0000 (16:28 +0200)
com.woltlab.wcf/option.xml
wcfsetup/install/files/acp/templates/index.tpl

index 08f5a91c78a20e0acd937991a92982cf314c26c0..51f038fd66be0d14b62132a63331e9ebd9176d5f 100644 (file)
                                <defaultvalue>1</defaultvalue>
                        </option>
                        
+                       <option name="enable_pluginstore_widget">
+                               <categoryname>module.system</categoryname>
+                               <optiontype>boolean</optiontype>
+                               <!-- TODO: change this to "1" once the widget goes live -->
+                               <defaultvalue>0</defaultvalue>
+                       </option>
+                       
                        <option name="module_system_recaptcha">
                                <categoryname>module.system</categoryname>
                                <optiontype>boolean</optiontype>
index 3b3545796a58a9b68e0dbcea12c477ed7c316000..628041e141b399d35913446b206f3dc13f25c6b9 100644 (file)
 
 {event name='userNotice'}
 
+{if ENABLE_PLUGINSTORE_WIDGET}
+       <div id="pluginstore"></div>
+       <script data-relocate="true" src="//www.woltlab.com/pluginstore/widget/featuredFiles.min.js"></script>
+{/if}
+
 <div class="tabMenuContainer" data-active="{if ENABLE_WOLTLAB_NEWS}news{else}system{/if}" data-store="activeTabMenuItem">
        <nav class="tabMenu">
                <ul>