<?php include __DIR__."/index.phtml" ?>
<?php endif; ?>
- <?php if (@$_SERVER["SERVER_NAME"] != "localhost") : ?>
-
- <div id="disqus_thread"></div>
+ <div id="disqus_thread"><button id="disqus_activator">Show <span> </span> Comment(s)</button></div>
<script>
var disqus_shortname = 'mdref';
var disqus_identifier = '<?=$ref?>';
- (function() {
- var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
- dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
- (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
- })();
</script>
- <?php endif; ?>
<footer>
<?php include __DIR__."/footer.phtml" ?>