Commit a0342187 authored by john's avatar john

3010

parent 0fbb2249
...@@ -59,6 +59,7 @@ $modelDocList = new DocList(); ...@@ -59,6 +59,7 @@ $modelDocList = new DocList();
</div> </div>
<?php echo $modelContent->html ?> <?php echo $modelContent->html ?>
<div class="pluso" data-background="transparent" data-options="big,square,line,horizontal,nocounter,theme=04" data-services="facebook,vkontakte,twitter,google"></div>
</div> </div>
<!-- Sidebar --> <!-- Sidebar -->
...@@ -114,4 +115,19 @@ $modelDocList = new DocList(); ...@@ -114,4 +115,19 @@ $modelDocList = new DocList();
</div> </div>
</div> </div>
</div> </div>
<?php
$js=<<<JS
(function() {
if (window.pluso)if (typeof window.pluso.start == "function") return;
if (window.ifpluso==undefined) { window.ifpluso = 1;
var d = document, s = d.createElement('script'), g = 'getElementsByTagName';
s.type = 'text/javascript'; s.charset='UTF-8'; s.async = true;
s.src = ('https:' == window.location.protocol ? 'https' : 'http') + '://share.pluso.ru/pluso-like.js';
var h=d[g]('body')[0];
h.appendChild(s);
}})();
JS;
$this->registerJs($js); ?>
<?= $this->render('@app/views/layouts/footer') ?> <?= $this->render('@app/views/layouts/footer') ?>
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment