Файловый менеджер - Редактировать - /var/www/html/components/com_kunena/template/aurelia/layouts/category/manage/default.php
Ðазад
<?php /** * Kunena Component * * @package Kunena.Template.Aurelia * @subpackage Layout.Category * * @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 **/ namespace Kunena\Forum\Site; \defined('_JEXEC') or die(); use Joomla\CMS\Factory; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; use Joomla\CMS\Uri\Uri; use Kunena\Forum\Libraries\Route\KunenaRoute; HTMLHelper::_('behavior.multiselect'); HTMLHelper::_('dropdown.init'); Text::script('COM_KUNENA_CATEGORIES_ERROR_CHOOSE_ANOTHER_ALIAS'); Factory::getApplication()->getDocument()->addScript(Uri::root() . 'administrator\components\com_kunena\template\categories\edit.js'); ?> <div class="card"> <div class="card-header"> <i class="icon-list-view"></i> <?php echo Text::_('COM_KUNENA_CPANEL_LABEL_CATEGORIES') ?> : <?php echo $this->escape($this->category->name); ?> </div> <div class="card-body"> <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="nav-item active"> <a class="nav-link active" href="#tab-general" data-bs-toggle="tab"> <?php echo Text::_('COM_KUNENA_BASICSFORUMINFO'); ?> </a> </li> <li class="nav-item"> <a class="nav-link" href="#tab-access" data-bs-toggle="tab"> <?php echo Text::_('COM_KUNENA_CATEGORY_PERMISSIONS'); ?> </a> </li> <?php if (!$this->category->id || !$this->category->isSection()) : ?> <li class="nav-item"> <a class="nav-link" href="#tab-settings" data-bs-toggle="tab"> <?php echo Text::_('COM_KUNENA_ADVANCEDDESCINFO'); ?> </a> </li> <?php endif; ?> <li class="nav-item"> <a class="nav-link" href="#tab-display" data-bs-toggle="tab"> <?php echo Text::_('COM_KUNENA_A_CATEGORY_CFG_TAB_DISPLAY'); ?> </a> </li> <?php if (!$this->category->id || !$this->category->isSection()) : ?> <li class="nav-item"> <a class="nav-link" href="#tab-mods" data-bs-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 style="width:20%;"><?php echo Text::_('COM_KUNENA_PARENT'); ?></td> <td style="width:20%;"> <?php echo $this->lists['categories']; ?> <p><?php echo Text::_('COM_KUNENA_PARENTDESC'); ?></p> </td> </tr> <tr> <td style="width:20%;"><?php echo Text::_('COM_KUNENA_NAMEADD'); ?></td> <td style="width:20%;"> <input class="inputbox form-control" type="text" name="name" size="80" value="<?php echo $this->escape($this->category->name); ?>"/> </td> </tr> <tr> <td style="width:20%;"><?php echo Text::_('COM_KUNENA_A_CATEGORY_ALIAS'); ?></td> <td style="width:20%;"> <input class="inputbox form-control" id="jform_aliases" type="text" name="alias" size="80" value="<?php echo $this->escape($this->category->alias); ?>"/> <?php if ($this->lists['aliases']) : ?> <?php echo '<span id="aliascheck">' . $this->lists['aliases'] . '</span>'; ?> <?php endif ?> </td> </tr> <tr> <td style="width:20%;"><?php echo Text::_('COM_KUNENA_PUBLISHED'); ?>:</td> <td style="width:20%;"><?php echo $this->lists['published']; ?></td> </tr> <tr> <td style="width:20%;"><?php echo Text::_('COM_KUNENA_ICON'); ?></td> <td style="width:20%;"> <input class="inputbox form-control" 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 style="width:20%;"><?php echo Text::_('COM_KUNENA_CLASS_SFX'); ?></td> <td style="width:20%;"> <input class="inputbox form-control" 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 style="width:20%;"><?php echo Text::_('COM_KUNENA_DESCRIPTIONADD'); ?></td> <td style="width:20%;"> <textarea class="inputbox form-control" 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 style="width:20%;"><?php echo Text::_('COM_KUNENA_HEADERADD'); ?></td> <td style="width:20%;"> <textarea class="inputbox form-control" cols="50" rows="6" name="headerdesc" id="headerdesc" style="width: 500px;"><?php echo $this->escape($this->category->headerdesc); ?></textarea> </td> </tr> <tr> <td style="width:20%;"><?php echo Text::_('COM_KUNENA_CATEGORY_TOPIC_TEMPLATE'); ?></td> <td style="width:20%;"> <textarea class="inputbox form-control" 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 style="width:20%;"><?php echo Text::_('COM_KUNENA_A_ACCESSTYPE_TITLE'); ?></td> <td style="width:30%;"><?php echo $this->lists['accesstypes']; ?></td> <td style="width:50%;"><?php echo Text::_('COM_KUNENA_A_ACCESSTYPE_DESC'); ?></td> </tr> </thead> <?php foreach ($this->lists['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 style="width:20%;"><?php echo $accessinput['title'] ?></td> <td style="width:20%;"><?php echo $accessinput['input'] ?></td> <td style="width:20%;"><?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 style="width:20%;"><?php echo Text::_('COM_KUNENA_LOCKED1'); ?></td> <td style="width:30%;"><?php echo $this->lists['forumLocked']; ?></td> <td style="width:50%;"><?php echo Text::_('COM_KUNENA_LOCKEDDESC'); ?></td> </tr> <tr> <td style="width:20%;"><?php echo Text::_('COM_KUNENA_REV'); ?></td> <td style="width:30%;"><?php echo $this->lists['forumReview']; ?></td> <td style="width:50%;"><?php echo Text::_('COM_KUNENA_REVDESC'); ?></td> </tr> <tr> <td style="width:20%;"><?php echo Text::_('COM_KUNENA_CATEGORY_ANONYMOUS_ALLOW'); ?> : </td> <td style="width:30%;"><?php echo $this->lists['allowAnonymous']; ?></td> <td style="width:50%;"><?php echo Text::_('COM_KUNENA_CATEGORY_ANONYMOUS_ALLOW_DESC'); ?></td> </tr> <tr> <td style="width:20%;"><?php echo Text::_('COM_KUNENA_CATEGORY_ANONYMOUS_DEFAULT'); ?> : </td> <td style="width:30%;"><?php echo $this->lists['postAnonymous']; ?></td> <td style="width:50%;"><?php echo Text::_('COM_KUNENA_CATEGORY_ANONYMOUS_DEFAULT_DESC'); ?></td> </tr> <tr> <td style="width:20%;"><?php echo Text::_('COM_KUNENA_A_POLL_CATEGORIES_ALLOWED'); ?> : </td> <td style="width:30%;"><?php echo $this->lists['allowPolls']; ?></td> <td style="width:50%;"><?php echo Text::_('COM_KUNENA_A_POLL_CATEGORIES_ALLOWED_DESC'); ?></td> </tr> <tr> <td style="width:20%;"><?php echo Text::_('COM_KUNENA_CATEGORY_CHANNELS'); ?> : </td> <td style="width:30%;"><?php echo $this->lists['channels']; ?></td> <td style="width:50%;"><?php echo Text::_('COM_KUNENA_CATEGORY_CHANNELS_DESC'); ?></td> </tr> <tr> <td style="width:20%;"><?php echo Text::_('COM_KUNENA_CATEGORY_TOPIC_ORDERING'); ?> : </td> <td style="width:30%;"><?php echo $this->lists['topicOrdering']; ?></td> <td style="width:50%;"><?php echo Text::_('COM_KUNENA_CATEGORY_TOPIC_ORDERING_DESC'); ?></td> </tr> <tr> <td style="width:20%;"><?php echo Text::_('COM_KUNENA_A_CATEGORY_TOPICICONSET'); ?> : </td> <td style="width:30%;"><?php echo $this->lists['categoryIconset']; ?></td> <td style="width:50%;"><?php echo Text::_('COM_KUNENA_A_POLL_CATEGORY_TOPICICONSET_DESC'); ?></td> </tr> <tr> <td style="width:20%;"><?php echo Text::_('COM_KUNENA_RATING_CATEGORIES_ALLOWED'); ?> : </td> <td style="width:30%;"><?php echo $this->lists['allowRatings']; ?></td> <td style="width:50%;"><?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 style="width:20%;"><?php echo Text::_('COM_KUNENA_A_CATEGORY_CFG_DISPLAY_PARENT'); ?></td> <td style="width:30%;"><?php echo $this->lists['display_parent']; ?></td> <td style="width:50%;"><?php echo Text::_('COM_KUNENA_A_CATEGORY_CFG_DISPLAY_PARENT_DESC'); ?></td> </tr> <tr> <td style="width:20%;"><?php echo Text::_('COM_KUNENA_A_CATEGORY_CFG_DISPLAY_CHILDREN'); ?></td> <td style="width:30%;"><?php echo $this->lists['display_children']; ?></td> <td style="width:50%;"><?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 style="width:20%;"><?php echo Text::_('COM_KUNENA_USERNAME'); ?></th> <th style="width:30%;"><?php echo Text::_('COM_KUNENA_USRL_REALNAME'); ?></th> <th style="width:50%;"><?php echo Text::_('JGRID_HEADING_ID'); ?></th> </tr> </thead> <tbody> <?php if (empty($this->moderators)) : ?> <tr> <td colspan="5" style="text-align:center;"><?php echo Text::_('COM_KUNENA_NOMODS') ?></td> </tr> <?php else : foreach ($this->moderators as $ml) : ?> <tr> <td style="width:20%;"><?php echo $this->escape($ml->username); ?></td> <td style="width:20%;"><?php echo $this->escape($ml->name); ?></td> <td style="width:20%;"><?php echo $this->escape($ml->userid); ?></td> </tr> <?php endforeach; endif; ?> </tbody> </table> </fieldset> </div> <?php endif; ?> </div> </div> </div> </div> </article> <div class="clearfix"></div> <div class="form-group row pt-3"> <div class="col-md-10 center"> <input name="submit" class="btn btn-outline-primary" type="submit" value="<?php echo Text::_('COM_KUNENA_SAVE'); ?>"/> <input onclick="window.history.back();" name="cancel" class="btn btn-outline-default border" type="button" value="<?php echo Text::_('COM_KUNENA_CANCEL'); ?>"/> </div> </div> </form> </div> </div>
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка