1<script src="<?php print DOKU_TPL; ?>js/jquery-1.9.1.min.js" type="text/javascript"></script> 2<script type="text/javascript"> 3 var jQNew = $.noConflict(true); 4</script> 5<script src="<?php print DOKU_TPL; ?>js/bootstrap.min.js" type="text/javascript"></script> 6<script src="<?php print DOKU_TPL; ?>js/sorttable.js" type="text/javascript"></script> 7<script src="<?php print DOKU_TPL; ?>js/script.js" type="text/javascript"></script> 8<?php 9// omit ga script code if tracking id is not set 10if(tpl_getConf('google_analytics')!='') { ?> 11<!-- Google Analytics: Set this in your template settings. 12 //doku.php/start?do=admin&page=config#config___tpl____starter-bootstrap____google_analytics --> 13<script> 14 var _gaq=[['_setAccount','<?php echo tpl_getConf('google_analytics'); ?>'],['_trackPageview']]; 15 (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0]; 16 g.src='//www.google-analytics.com/ga.js'; 17 s.parentNode.insertBefore(g,s)}(document,'script')); 18</script> 19<?php } ?> 20