| 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/crypsis/layouts/announcement/list/ |
Upload File : |
<?php
/**
* Kunena Component
* @package Kunena.Template.Crypsis
* @subpackage Layout.Announcement
*
* @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;
$options = $this->getOptions();
JHtml::_('behavior.core');
?>
<form action="<?php echo KunenaRoute::_('index.php?option=com_kunena&view=announcement'); ?>" method="post"
id="adminForm" name="adminForm">
<input type="hidden" name="boxchecked" value="0" />
<?php echo JHtml::_('form.token'); ?>
<h2>
<?php echo JText::_('COM_KUNENA_ANN_ANNOUNCEMENTS'); ?>
<?php if (!empty($options)) : ?>
<div class="input-group pull-right">
<div class="input-append">
<?php echo JHtml::_('select.genericlist', $options, 'task', '', 'value', 'text', 0, 'kchecktask'); ?>
<input type="submit" name="kcheckgo" class="btn" value="<?php echo JText::_('COM_KUNENA_GO') ?>" />
</div>
<a class="btn btn-primary" id="announcement-add-button"
href="<?php echo KunenaRoute::_('index.php?option=com_kunena&view=announcement&layout=create'); ?>">
<?php echo JText::_('COM_KUNENA_ANNOUNCEMENT_ACTIONS_LABEL_ADD'); ?>
</a>
</div>
<?php endif; ?>
</h2>
<table class="table table-striped table-bordered">
<thead>
<tr>
<th class="span1 hidden-phone">
<?php echo JText::_('COM_KUNENA_ANN_DATE'); ?>
</th>
<th class="span5">
<?php echo JText::_('COM_KUNENA_ANN_TITLE'); ?>
</th>
<?php if ($options) : ?>
<th class="span1 center">
<?php echo JText::_('COM_KUNENA_ANN_PUBLISH'); ?>
</th>
<th class="span1 center">
<?php echo JText::_('COM_KUNENA_ANN_EDIT'); ?>
</th>
<th class="span1 center">
<?php echo JText::_('COM_KUNENA_ANN_DELETE'); ?>
</th>
<?php endif; ?>
<th class="span2">
<?php echo JText::_('COM_KUNENA_ANNOUNCEMENT_AUTHOR'); ?>
</th>
<th class="span1 center hidden-phone">
<?php echo JText::_('COM_KUNENA_ANN_ID'); ?>
</th>
<?php if ($options) : ?>
<th class="span1 center">
<input type="checkbox" name="toggle" value="" onclick="Joomla.checkAll(this);" />
</th>
<?php endif; ?>
</tr>
</thead>
<?php if ($this->pagination->pagesTotal > 1) : ?>
<tfoot>
<tr>
<td colspan="<?php echo $options ? 8 : 3; ?>">
<div class="pull-right">
<?php echo $this->subLayout('Widget/Pagination/List')->set('pagination', $this->pagination); ?>
</div>
</td>
</tr>
</tfoot>
<?php endif; ?>
<tbody>
<?php foreach ($this->announcements as $row => $announcement) {
echo $this->subLayout('Announcement/List/Row')
->set('announcement', $announcement)
->set('row', $row)
->set('checkbox', !empty($options)); }
?>
</tbody>
</table>
</form>