| Server IP : 54.36.91.62 / Your IP : 216.73.217.117 Web Server : Apache System : Linux webm013.cluster127.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 : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/www/cj79373/administrator/components/com_kunena/template/j3/categories/ |
Upload File : |
<?php
/**
* Kunena Component
* @package Kunena.Administrator.Template
* @subpackage Categories
*
* @copyright Copyright (C) 2008 - 2022 Kunena Team. All rights reserved.
* @license https://www.gnu.org/copyleft/gpl.html GNU/GPL
* @link https://www.kunena.org
**/
defined('_JEXEC') or die();
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Factory;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Uri\Uri;
HTMLHelper::_('behavior.tooltip');
HTMLHelper::_('behavior.multiselect');
HTMLHelper::_('dropdown.init');
HTMLHelper::_('behavior.tabstate');
Text::script('COM_KUNENA_CATEGORIES_ERROR_CHOOSE_ANOTHER_ALIAS');
/** @noinspection PhpDeprecationInspection */
Factory::getDocument()->addScript(Uri::root() . 'administrator\components\com_kunena\template\j3\categories\edit.js');
?>
<div id="kunena" class="admin override">
<div id="j-sidebar-container" class="span2">
<div id="sidebar">
<div class="sidebar-nav"><?php include KPATH_ADMIN . '/template/j3/common/menu.php'; ?></div>
</div>
</div>
<div id="j-main-container" class="span10">
<div class="well well-small">
<div class="module-title nav-header">
<i class="icon-list-view"></i>
<?php echo Text::_('COM_KUNENA_CPANEL_LABEL_CATEGORIES') ?>
: <?php echo $this->escape($this->category->name); ?></div>
<hr class="hr-condensed">
<form action="<?php echo KunenaRoute::_('administrator/index.php?option=com_kunena&view=categories') ?>"
method="post" id="adminForm"
name="adminForm">
<input type="hidden" name="task" value="save"/>
<input type="hidden" name="catid" value="<?php echo intval($this->category->id); ?>"/>
<?php echo HTMLHelper::_('form.token'); ?>
<article class="data-block">
<div class="data-container">
<div class="tabbable-panel">
<div class="tabbable-line">
<ul class="nav nav-tabs">
<li class="active">
<a href="#tab-general" data-toggle="tab">
<?php echo Text::_('COM_KUNENA_BASICSFORUMINFO'); ?>
</a>
</li>
<li>
<a href="#tab-access" data-toggle="tab">
<?php echo Text::_('COM_KUNENA_CATEGORY_PERMISSIONS'); ?>
</a>
</li>
<?php if (!$this->category->id || !$this->category->isSection())
:
?>
<li>
<a href="#tab-settings" data-toggle="tab">
<?php echo Text::_('COM_KUNENA_ADVANCEDDESCINFO'); ?>
</a>
</li>
<?php endif; ?>
<li>
<a href="#tab-display" data-toggle="tab">
<?php echo Text::_('COM_KUNENA_A_CATEGORY_CFG_TAB_DISPLAY'); ?>
</a>
</li>
<?php if (!$this->category->id || !$this->category->isSection())
:
?>
<li>
<a href="#tab-mods" data-toggle="tab">
<?php echo Text::_('COM_KUNENA_MODHEADER'); ?>
</a>
</li>
<?php endif; ?>
</ul>
<div class="tab-content" style="padding-bottom: 9px; border-bottom: 1px solid #ddd;">
<div class="tab-pane active" id="tab-general">
<fieldset>
<table class="table table-striped">
<tr>
<td><?php echo Text::_('COM_KUNENA_PARENT'); ?></td>
<td>
<?php echo $this->options ['categories']; ?>
<p><?php echo Text::_('COM_KUNENA_PARENTDESC'); ?></p>
</td>
</tr>
<tr>
<td><?php echo Text::_('COM_KUNENA_NAMEADD'); ?></td>
<td>
<input class="inputbox" type="text" name="name" size="80"
value="<?php echo $this->escape($this->category->name); ?>"/>
</td>
</tr>
<tr>
<td><?php echo Text::_('COM_KUNENA_A_CATEGORY_ALIAS'); ?></td>
<td>
<input class="inputbox" id="jform_aliases" type="text"
name="alias" size="80"
value="<?php echo $this->escape($this->category->alias); ?>"/>
<span id="aliasinfo"></span>
<?php
if ($this->options ['aliases'])
:
?>
<?php echo '<span id="aliascheck">' . $this->options ['aliases'] . '</span>'; ?>
<?php endif ?>
</td>
</tr>
<tr>
<td><?php echo Text::_('COM_KUNENA_PUBLISHED'); ?>:</td>
<td><?php echo $this->options ['published']; ?></td>
</tr>
<tr>
<td><?php echo Text::_('COM_KUNENA_ICON'); ?></td>
<td>
<input class="inputbox" type="text" name="icon" size="80"
value="<?php echo $this->escape($this->category->icon); ?>"/>
<p><?php echo Text::_('COM_KUNENA_ICON_DESC'); ?></p>
</td>
</tr>
<tr>
<td><?php echo Text::_('COM_KUNENA_CLASS_SFX'); ?></td>
<td>
<input class="inputbox" type="text" name="class_sfx" size="20"
maxlength="20"
value="<?php echo $this->escape($this->category->class_sfx); ?>"/>
<p><?php echo Text::_('COM_KUNENA_CLASS_SFXDESC'); ?></p>
</td>
</tr>
<tr>
<td><?php echo Text::_('COM_KUNENA_DESCRIPTIONADD'); ?></td>
<td>
<textarea class="inputbox" cols="50" rows="6" name="description"
id="description"
style="width: 500px;"><?php echo $this->escape($this->category->description); ?></textarea>
<p><?php echo Text::_('COM_KUNENA_DESCRIPTIONADD_DESC'); ?></p>
</td>
</tr>
<tr>
<td><?php echo Text::_('COM_KUNENA_HEADERADD'); ?></td>
<td>
<textarea class="inputbox" cols="50" rows="6" name="headerdesc"
id="headerdesc"
style="width: 500px;"><?php echo $this->escape($this->category->headerdesc); ?></textarea>
</td>
</tr>
<tr>
<td><?php echo Text::_('COM_KUNENA_CATEGORY_TOPIC_TEMPLATE'); ?></td>
<td>
<textarea class="inputbox" cols="50" rows="6"
name="topictemplate" id="topictemplate"
style="width: 500px;"><?php echo $this->escape($this->category->topictemplate); ?></textarea>
</td>
</tr>
</table>
</fieldset>
</div>
<div class="tab-pane" id="tab-access">
<fieldset>
<table class="table table-striped">
<thead>
<tr>
<td><?php echo Text::_('COM_KUNENA_A_ACCESSTYPE_TITLE'); ?></td>
<td><?php echo $this->options ['accesstypes']; ?></td>
<td><?php echo Text::_('COM_KUNENA_A_ACCESSTYPE_DESC'); ?></td>
</tr>
</thead>
<?php foreach ($this->options ['accesslists'] as $accesstype => $accesslist)
{
foreach ($accesslist as $accessinput)
:
?>
<tr class="kaccess kaccess-<?php echo $accesstype ?>"
style="<?php echo $this->category->accesstype != $accesstype ? 'display:none' : '' ?>">
<td><?php echo $accessinput['title'] ?></td>
<td><?php echo $accessinput['input'] ?></td>
<td><?php echo $accessinput['desc'] ?></td>
</tr>
<?php endforeach;
} ?>
</table>
</fieldset>
</div>
<?php if (!$this->category->id || !$this->category->isSection())
:
?>
<div class="tab-pane" id="tab-settings">
<fieldset>
<table class="table table-striped">
<tr>
<td><?php echo Text::_('COM_KUNENA_LOCKED1'); ?></td>
<td><?php echo $this->options ['forumLocked']; ?></td>
<td><?php echo Text::_('COM_KUNENA_LOCKEDDESC'); ?></td>
</tr>
<tr>
<td><?php echo Text::_('COM_KUNENA_REV'); ?></td>
<td><?php echo $this->options ['forumReview']; ?></td>
<td><?php echo Text::_('COM_KUNENA_REVDESC'); ?></td>
</tr>
<tr>
<td><?php echo Text::_('COM_KUNENA_CATEGORY_ANONYMOUS_ALLOW'); ?>
:
</td>
<td><?php echo $this->options ['allow_anonymous']; ?></td>
<td><?php echo Text::_('COM_KUNENA_CATEGORY_ANONYMOUS_ALLOW_DESC'); ?></td>
</tr>
<tr>
<td><?php echo Text::_('COM_KUNENA_CATEGORY_ANONYMOUS_DEFAULT'); ?>
:
</td>
<td><?php echo $this->options ['post_anonymous']; ?></td>
<td><?php echo Text::_('COM_KUNENA_CATEGORY_ANONYMOUS_DEFAULT_DESC'); ?></td>
</tr>
<tr>
<td><?php echo Text::_('COM_KUNENA_A_POLL_CATEGORIES_ALLOWED'); ?>
:
</td>
<td><?php echo $this->options ['allow_polls']; ?></td>
<td><?php echo Text::_('COM_KUNENA_A_POLL_CATEGORIES_ALLOWED_DESC'); ?></td>
</tr>
<tr>
<td><?php echo Text::_('COM_KUNENA_CATEGORY_CHANNELS'); ?>:
</td>
<td><?php echo $this->options ['channels']; ?></td>
<td><?php echo Text::_('COM_KUNENA_CATEGORY_CHANNELS_DESC'); ?></td>
</tr>
<tr>
<td><?php echo Text::_('COM_KUNENA_CATEGORY_TOPIC_ORDERING'); ?>
:
</td>
<td><?php echo $this->options ['topic_ordering']; ?></td>
<td><?php echo Text::_('COM_KUNENA_CATEGORY_TOPIC_ORDERING_DESC'); ?></td>
</tr>
<tr>
<td><?php echo Text::_('COM_KUNENA_A_CATEGORY_TOPICICONSET'); ?>
:
</td>
<td><?php echo $this->options ['category_iconset']; ?></td>
<td><?php echo Text::_('COM_KUNENA_A_POLL_CATEGORY_TOPICICONSET_DESC'); ?></td>
</tr>
<tr>
<td><?php echo Text::_('COM_KUNENA_RATING_CATEGORIES_ALLOWED'); ?>
:
</td>
<td><?php echo $this->options ['allow_ratings']; ?></td>
<td><?php echo Text::_('COM_KUNENA_RATING_CATEGORIES_ALLOWED_DESC'); ?></td>
</tr>
</table>
</fieldset>
</div>
<?php endif; ?>
<div class="tab-pane" id="tab-display">
<fieldset>
<legend><?php echo Text::_('COM_KUNENA_A_CATEGORY_CFG_DISPLAY_INDEX_LEGEND'); ?></legend>
<table class="table table-striped">
<tr>
<td><?php echo Text::_('COM_KUNENA_A_CATEGORY_CFG_DISPLAY_PARENT'); ?></td>
<td><?php echo $this->options ['display_parent']; ?></td>
<td><?php echo Text::_('COM_KUNENA_A_CATEGORY_CFG_DISPLAY_PARENT_DESC'); ?></td>
</tr>
<tr>
<td><?php echo Text::_('COM_KUNENA_A_CATEGORY_CFG_DISPLAY_CHILDREN'); ?></td>
<td><?php echo $this->options ['display_children']; ?></td>
<td><?php echo Text::_('COM_KUNENA_A_CATEGORY_CFG_DISPLAY_CHILDREN_DESC'); ?></td>
</tr>
</table>
</fieldset>
</div>
<?php if (!$this->category->id || !$this->category->isSection())
:
?>
<div class="tab-pane" id="tab-mods">
<fieldset>
<legend><?php echo Text::_('COM_KUNENA_MODSASSIGNED'); ?></legend>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th><?php echo Text::_('COM_KUNENA_USERNAME'); ?></th>
<th><?php echo Text::_('COM_KUNENA_USRL_REALNAME'); ?></th>
<th class="span1"><?php echo Text::_('JGRID_HEADING_ID'); ?></th>
</tr>
</thead>
<tbody>
<?php $i = 0;
if (empty($this->moderators))
:
?>
<tr>
<td colspan="5"
align="center"><?php echo Text::_('COM_KUNENA_NOMODS') ?></td>
</tr>
<?php else
:
foreach ($this->moderators as $ml)
:
?>
<tr>
<td><?php echo $this->escape($ml->username); ?></td>
<td><?php echo $this->escape($ml->name); ?></td>
<td><?php echo $this->escape($ml->userid); ?></td>
</tr>
<?php endforeach;
endif; ?>
</tbody>
</table>
</fieldset>
</div>
<?php endif; ?>
</div>
</div>
</div>
</div>
</article>
</form>
<div class="clearfix"></div>
</div>
</div>
<div class="pull-right small">
<?php echo KunenaAdminVersion::getLongVersionHTML(); ?>
</div>
</div>