Файловый менеджер - Редактировать - /var/www/html/administrator/components/com_jdonation/view/plugins/tmpl/default.php
Ðазад
<?php /** * @version 5.6.0 * @package Joomla * @subpackage Joom Donation * @author Tuan Pham Ngoc * @copyright Copyright (C) 2009 - 2023 Ossolution Team * @license GNU/GPL, see LICENSE.php */ defined('_JEXEC') or die; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Factory; use Joomla\CMS\Language\Text; use Joomla\CMS\Router\Route; // We don't need toolbar in the modal window. if (version_compare(JVERSION, '3.0', 'ge')) { //DonationHelper::addSideBarmenus('plugins'); //$sidebar = JHtmlSidebar::render(); } $listOrder = $this->state->filter_order; $listDirn = $this->state->filter_order_Dir; $saveOrder = $listOrder == 'tbl.ordering'; $ordering = ($this->state->filter_order == 'tbl.ordering'); if ($saveOrder) { $saveOrderingUrl = 'index.php?option=com_jdonation&task=plugin.save_order_ajax'; HTMLHelper::_('sortablelist.sortable', 'pluginTable', 'adminForm', strtolower($listDirn), $saveOrderingUrl, false, true); } $customOptions = array( 'filtersHidden' => true, 'defaultLimit' => Factory::getApplication()->get('list_limit', 20), 'searchFieldSelector' => '#filter_search', 'orderFieldSelector' => '#filter_full_ordering' ); HTMLHelper::_('searchtools.form', '#adminForm', $customOptions); if (count($this->items)) { foreach ($this->items as $item) { $this->ordering[$item->parent_id][] = $item->id; } } ?> <form action="index.php?option=com_jdonation&view=plugins" method="post" name="adminForm" id="adminForm" enctype="multipart/form-data"> <div class="row-fluid"> <div id="filter-bar" class="btn-toolbar"> <div class="filter-search btn-group pull-left"> <div class="input-group"> <input type="text" name="filter_search" id="search" placeholder="<?php echo Text::_('JSEARCH_FILTER'); ?>" value="<?php echo $this->escape($this->state->filter_search); ?>" class="hasTooltip form-control" /> <button type="submit" class="btn btn-primary hasTooltip" title="<?php echo Text::_('JSEARCH_FILTER_SUBMIT'); ?>"><span class="icon-search"></span></button> <button type="button" class="btn btn-warning hasTooltip" title="<?php echo Text::_('JSEARCH_FILTER_CLEAR'); ?>" onclick="document.getElementById('search').value='';this.form.submit();"><span class="icon-remove"></span></button> </div> </div> </div> </div> <div id="editcell"> <?php if (!DonationHelper::isJoomla4()) { $tableClass = "table-striped"; } else { $tableClass = "itemList"; } ?> <table class="table <?php echo $tableClass;?>" id="pluginTable"> <thead> <tr> <th width="5%" class="nowrap center hidden-phone"> <?php echo HTMLHelper::_('searchtools.sort', '', 'tbl.ordering', $listDirn, $listOrder, null, 'asc', 'JGRID_HEADING_ORDERING', 'icon-menu-2'); ?> </th> <th width="20"> <input type="checkbox" name="toggle" value="" onclick="Joomla.checkAll(this);" /> </th> <th class="title" style="text-align: left;"> <?php echo HTMLHelper::_('grid.sort', Text::_('JD_NAME'), 'tbl.name', $this->state->filter_order_Dir, $this->state->filter_order ); ?> </th> <th class="title" width="20%" style="text-align: left;"> <?php echo HTMLHelper::_('grid.sort', Text::_('JD_TITLE'), 'tbl.title', $this->state->filter_order_Dir, $this->state->filter_order ); ?> </th> <th class="title"> <?php echo HTMLHelper::_('grid.sort', Text::_('JD_AUTHOR') , 'tbl.author', $this->state->filter_order_Dir, $this->state->filter_order ); ?> </th> <th class="title center"> <?php echo HTMLHelper::_('grid.sort', Text::_('JD_AUTHOR_EMAIL'), 'tbl.email', $this->state->filter_order_Dir, $this->state->filter_order ); ?> </th> <th class="title center" style="text-align:center;"> <?php echo HTMLHelper::_('grid.sort', Text::_('JD_PUBLISHED') , 'tbl.published', $this->state->filter_order_Dir, $this->state->filter_order ); ?> </th> <th style="text-align:center;"> <?php echo HTMLHelper::_('grid.sort', Text::_('JD_ID') , 'tbl.id', $this->state->filter_order_Dir, $this->state->filter_order ); ?> </th> </tr> </thead> <tfoot> <tr> <td colspan="9"> <?php echo $this->pagination->getListFooter(); ?> </td> </tr> </tfoot> <tbody <?php if ($saveOrder) :?> class="js-draggable" data-url="<?php echo $saveOrderingUrl; ?>" data-direction="<?php echo strtolower($listDirn); ?>" data-nested="false"<?php endif; ?>> <?php $canChange = true; for ($i=0, $n=count( $this->items ); $i < $n; $i++) { $row = $this->items[$i]; $orderkey = array_search($row->id, $this->ordering[$row->parent_id]); $link = Route::_( 'index.php?option=com_jdonation&task=plugin.edit&id='. $row->id ); $checked = HTMLHelper::_('grid.id', $i, $row->id ); $ordering = true ; $published = HTMLHelper::_('jgrid.published', $row->published, $i); ?> <tr class="row<?php echo $i % 2; ?>" data-draggable-group="0" sortable-group-id="0" item-id="<?php echo $row->id ?>" parents="<?php echo $parentsStr ?>" level="0"> <td class="order nowrap center hidden-phone"> <?php $iconClass = ''; if (!$canChange) { $iconClass = ' inactive'; } elseif (!$saveOrder) { $iconClass = ' inactive tip-top hasTooltip" title="' . HTMLHelper::tooltipText('JORDERINGDISABLED'); } ?> <span class="sortable-handler<?php echo $iconClass ?>"> <span class="icon-menu"></span> </span> <?php if ($canChange && $saveOrder) : ?> <input type="text" style="display:none" name="order[]" size="5" value="<?php echo $orderkey + 1; ?>" /> <?php endif; ?> </td> <td> <?php echo $checked; ?> </td> <td> <a href="<?php echo $link; ?>"> <?php echo $row->name; ?> </a> </td> <td> <?php echo $row->title; ?> </td> <td> <?php echo $row->author; ?> </td> <td class="center"> <?php echo $row->author_email;?> </td> <td class="center" style="text-align:center;"> <?php echo $published ; ?> </td> <td class="center" style="text-align:center;"> <?php echo $row->id; ?> </td> </tr> <?php } ?> </tbody> </table> <table class="adminform" style="margin-top: 50px;"> <tr> <td> <fieldset class="adminform"> <legend><?php echo Text::_('JD_INTALL_PAYMENT_PLUGIN'); ?></legend> <table> <tr> <td> <input type="file" name="plugin_package" id="plugin_package" size="50" class="input-large form-control" /> <button class="btn btn-primary" title="<?php echo Text::_('Install'); ?>" onclick="installPlugin();" /><?php echo Text::_('Install'); ?></button> </td> </tr> </table> </fieldset> </td> </tr> </table> </div> <input type="hidden" name="task" value="" /> <input type="hidden" name="boxchecked" value="0" /> <input type="hidden" name="filter_order" value="<?php echo $this->state->filter_order; ?>" /> <input type="hidden" name="filter_order_Dir" value="<?php echo $this->state->filter_order_Dir; ?>" /> <input type="hidden" id="filter_full_ordering" name="filter_full_ordering" value="" /> <?php echo HTMLHelper::_( 'form.token' ); ?> <script type="text/javascript"> function installPlugin() { var form = document.adminForm ; if (form.plugin_package.value =="") { alert("<?php echo Text::_("JD_CHOOSE_PLUGIN_TO_INSTALL"); ?>"); return ; } form.task.value = 'install' ; form.submit(); } </script> </form>
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка