| Server IP : 213.186.33.4 / Your IP : 216.73.216.193 Web Server : Apache System : Linux webm006.cluster103.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : awebpaca ( 35430) PHP Version : 8.5.0 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/awebpaca/blog/components/com_kunena/template/crypsisb3/layouts/topic/edit/history/ |
Upload File : |
<?php
/**
* Kunena Component
*
* @package Kunena.Template.Crypsis
* @subpackage Topic
*
* @copyright (C) 2008 - 2018 Kunena Team. All rights reserved.
* @license https://www.gnu.org/copyleft/gpl.html GNU/GPL
* @link https://www.kunena.org
**/
defined('_JEXEC') or die();
$k = 0;
?>
<div class="pull-right">
<div class="btn btn-default btn-small" data-toggle="collapse" data-target="#history">X</div>
</div>
<h3>
<?php echo JText::_('COM_KUNENA_POST_TOPIC_HISTORY') ?>:
<?php echo $this->escape($this->topic->subject) ?>
</h3>
<div id="history" class="collapse in">
<p>
<?php echo JText::_('COM_KUNENA_POST_TOPIC_HISTORY_MAX') . ' ' . $this->escape($this->config->historylimit) . ' ' . JText::_('COM_KUNENA_POST_TOPIC_HISTORY_LAST') ?>
</p>
<?php foreach ($this->history as $this->message) : ?>
<div class="row">
<div class="col-md-2 center">
<ul class="unstyled center profilebox">
<li>
<strong><?php echo $this->message->getAuthor()->getLink(null, null, '', '', null, $this->topic->getcategory()->id) ?></strong>
</li>
<li>
<?php
$profile = KunenaFactory::getUser(intval($this->message->userid));
$useravatar = $profile->getAvatarImage(KunenaFactory::getTemplate()->params->get('avatarType'), 'profile');
if ($useravatar) :
echo $this->message->getAuthor()->getLink($useravatar, null, '', '', null, $this->topic->getcategory()->id);
endif;
?>
</li>
</ul>
</div>
<div class="col-md-10">
<small class="text-muted pull-right hidden-xs" style="margin-top:-5px;">
<?php echo KunenaIcons::clock();?> <?php echo $this->message->getTime()->toSpan('config_post_dateformat', 'config_post_dateformat_hover'); ?>
</small>
<div class="badger-left badger-info khistory" data-badger="<?php echo $this->message->displayField('subject'); ?>">
<div class="kmessage">
<p class="kmsg"><?php echo KunenaHtmlParser::parseBBCode($this->message->message, $this) ?></p>
</div>
<?php
$attachments = $this->message->getAttachments();
if (!empty($attachments)) : ?>
<div class="kattach col-md-12">
<h4><?php echo JText::_('COM_KUNENA_ATTACHMENTS'); ?></h4>
<ul class="thumbnails">
<?php foreach ($attachments as $attachment) : ?>
<li class="col-md-4">
<div class="thumbnail">
<?php echo $attachment->getLayout()->render('thumbnail'); ?>
<?php echo $attachment->getLayout()->render('textlink'); ?>
</div>
</li>
<?php endforeach; ?>
</ul>
</div>
<?php endif; ?>
</div>
</div>
</div>
<?php endforeach; ?>
</div>