1<?php 2/** 3 * DokuWiki Default Template fork 2017 4 * 5 * @link http://dokuwiki.org/template 6 * @author beemoon <contact@beemoon.fr> 7 * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) 8 */ 9 10if (tpl_getConf('enableAccordion')==1) : ?> 11 <script src="https://code.jquery.com/jquery-1.12.4.js"></script> 12 <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script> 13 <script> 14 $( function() { 15 $( "#accordion" ).accordion({ 16 collapsible: true, 17 heightStyle: "content", 18 active: false 19 }); 20 } ); 21 </script> 22<?php endif; ?> 23 24