Changeset 4498
- Timestamp:
- 01/23/12 11:59:33 (4 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
plugins/apostropheBlogPlugin/branches/1.5/modules/aBlog/templates/_disqus.php
r3899 r4498 14 14 (function() { 15 15 var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; 16 dsq.src = "http://<?php echo $disqus_shortname ?>.disqus.com/embed.js"; 16 var protocol = "<?php echo $sf_request->isSecure() ? 'https' : 'http' ?>"; 17 dsq.src = protocol + "://<?php echo $disqus_shortname ?>.disqus.com/embed.js"; 17 18 (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); 18 19 })();

