Изменить положение блока "Превью" в шаблоне ls2
Уже перерыл весь шаблон не могу понять как изменить положение блока «Превью» при добавлении топика.
Читать дальше →
Читать дальше →
Vlad
<script class="cheScrpt" type="text/javascript"> (function(o) { var js = document.createElement('script'); var id = Math.floor( Math.random()*1000000 ); o.iframeId = "che-widget-"+id; js.type = "text/javascript"; js.async = true; js.src = "//d2j2dl4huu79en.cloudfront.net/s/latest/widget.min.js"; js.setAttribute("data-che-options", JSON.stringify(o)); document.getElementsByTagName('head')[0].appendChild(js); })({"partnerId":1111,"widgetId":11111}); </script>
<?php class HookIndex extends Hook { public function RegisterHook() { $this->AddHook('init_action','InitAction',__CLASS__,1000); } public function InitAction() { if (Config::Get('path.root.web')==trim(Router::GetPathWebCurrent(),'/')) { Router::Action('feed'); return; } } }
"<noindex>"который режется.
{if $oUserCurrent and $oUserCurrent->isAdministrator()} {/if}
if ($oPhoto->getTopicId()) { // проверяем права на топик if ($oTopic=$this->Topic_GetTopicById($oPhoto->getTopicId()) and $this->ACL_IsAllowEditTopic($oTopic,$this->oUserCurrent)) { $oPhoto->setDescription($this->Text_Parser(getRequestStr('text'))); $this->Topic_updateTopicPhoto($oPhoto); } } else { $oPhoto->setDescription($this->Text_Parser(getRequestStr('text'))); $this->Topic_updateTopicPhoto($oPhoto); }