Файловый менеджер - Редактировать - /var/www/html/components/com_kunena/template/aurelia/layouts/topic/item/message/default.php
Ðазад
<?php /** * Kunena Component * * @package Kunena.Template.Aurelia * @subpackage Layout.Topic * * @copyright Copyright (C) 2008 - 2026 Kunena Team. All rights reserved. * @license https://www.gnu.org/copyleft/gpl.html GNU/GPL * @link https://www.kunena.org **/ defined('_JEXEC') or die(); $topicStarter = $this->topic->first_post_userid == $this->message->userid; $direction = $this->ktemplate->params->get('avatarPosition'); $sideProfile = $this->profile->getSideProfile($this); $quick = $this->ktemplate->params->get('quick'); if ($direction === "left") : ?> <div class="row message"> <div class="col-md-2 shadow rounded d-none d-sm-block"> <?php echo $sideProfile ? $sideProfile : $this->subLayout('User/Profile') ->set('user', $this->profile) ->set('candisplaymail', $this->candisplaymail) ->set('config', $this->config) ->set('ktemplate', $this->ktemplate) ->setLayout('default')->set('topic_starter', $topicStarter)->set('category_id', $this->category->id); ?> </div> <div class="col-md-10 shadow-lg rounded message-<?php echo $this->message->getState(); ?>"> <?php echo $this->subLayout('Message/Item')->setProperties($this->getProperties()); ?> <?php echo $this->subRequest('Message/Item/Actions')->set('mesid', $this->message->id); ?> <?php if ($quick != 2) : ?> <?php echo $this->subLayout('Message/Edit')->set('message', $this->message) ->set('captchaEnabled', $this->captchaEnabled)->setLayout('quickReply'); ?> <?php endif; ?> </div> </div> <?php elseif ($direction === "right") : ?> <div class="row message"> <div class="col-md-10 shadow-lg rounded message-<?php echo $this->message->getState(); ?>"> <?php echo $this->subLayout('Message/Item')->setProperties($this->getProperties()); ?> <?php echo $this->subRequest('Message/Item/Actions')->set('mesid', $this->message->id); ?> <?php if ($quick != 2) : ?> <?php echo $this->subLayout('Message/Edit')->set('message', $this->message) ->set('captchaEnabled', $this->captchaEnabled)->setLayout('quickReply'); ?> <?php endif; ?> </div> <div class="col-md-2 shadow rounded d-none d-sm-block"> <?php echo $sideProfile ? $sideProfile : $this->subLayout('User/Profile') ->set('user', $this->profile) ->set('candisplaymail', $this->candisplaymail) ->set('config', $this->config) ->set('ktemplate', $this->ktemplate) ->setLayout('default')->set('topic_starter', $topicStarter)->set('category_id', $this->category->id); ?> </div> </div> <?php elseif ($direction === "top") : ?> <div class="row message message-<?php echo $this->message->getState(); ?>"> <div class="col-md-12 shadow-lg rounded" style="margin-left: 0;"> <?php echo $this->subLayout('Message/Item/Top')->setProperties($this->getProperties()); ?> <?php echo $this->subRequest('Message/Item/Actions')->set('mesid', $this->message->id); ?> <?php if ($quick != 2) : ?> <?php echo $this->subLayout('Message/Edit')->set('message', $this->message) ->set('captchaEnabled', $this->captchaEnabled)->setLayout('quickReply'); ?> <?php endif; ?> </div> </div> <?php elseif ($direction === "bottom") : ?> <div class="row message message-<?php echo $this->message->getState(); ?>"> <div class="col-md-12 shadow-lg rounded" style="margin-left: 0;"> <?php echo $this->subLayout('Message/Item/Bottom')->setProperties($this->getProperties()); ?> <?php echo $this->subRequest('Message/Item/Actions')->set('mesid', $this->message->id); ?> <?php if ($quick != 2) : ?> <?php echo $this->subLayout('Message/Edit')->set('message', $this->message) ->set('captchaEnabled', $this->captchaEnabled)->setLayout('quickReply'); ?> <?php endif; ?> </div> </div> <?php endif; ?> <?php echo $this->subLayout('Widget/Module')->set('position', 'kunena_msg_' . $this->message->replynum);
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка