Файловый менеджер - Редактировать - /var/www/html/libraries.zip
Ðазад
PK ! ?���A A foundry/themes/info/site.phpnu �[��� <?php /** * @package Foundry * @copyright Copyright (C) Stack Ideas Sdn Bhd. All rights reserved. * @license GNU/GPL, see LICENSE.php * Foundry is free software. This version may have been modified pursuant * to the GNU General Public License, and as distributed it includes or * is derivative of works licensed under the GNU General Public License or * other free or open source software licenses. * See COPYRIGHT.php for copyright notices and details. */ defined('_JEXEC') or die('Unauthorized Access'); ?> <?php echo $this->fd->html('alert.standard', $content, $class); ?>PK ! ?���A A foundry/themes/info/admin.phpnu �[��� <?php /** * @package Foundry * @copyright Copyright (C) Stack Ideas Sdn Bhd. All rights reserved. * @license GNU/GPL, see LICENSE.php * Foundry is free software. This version may have been modified pursuant * to the GNU General Public License, and as distributed it includes or * is derivative of works licensed under the GNU General Public License or * other free or open source software licenses. * See COPYRIGHT.php for copyright notices and details. */ defined('_JEXEC') or die('Unauthorized Access'); ?> <?php echo $this->fd->html('alert.standard', $content, $class); ?>PK ! %��Y Y ) foundry/themes/pagination/footer/link.phpnu �[��� <?php /** * @package Foundry * @copyright Copyright (C) Stack Ideas Sdn Bhd. All rights reserved. * @license GNU/GPL, see LICENSE.php * Foundry is free software. This version may have been modified pursuant * to the GNU General Public License, and as distributed it includes or * is derivative of works licensed under the GNU General Public License or * other free or open source software licenses. * See COPYRIGHT.php for copyright notices and details. */ defined('_JEXEC') or die('Unauthorized Access'); $display = $item->text ? $item->text : ''; $href = 'javascript:void(0);'; if ($isLink) { $href = ($item->active || !$item->link) ? "javascript:void(0);" : $item->link; } $disabled = ($item->active || !$item->link) ? true : false; // setup disabled class $disabledClass = !$item->link ? ' text-gray-300 hover:text-gray-300' : ''; if ($item->active) { $disabledClass = !$item->link ? ' text-gray-500 hover:text-gray-500' : ''; } if ($disabled) { $disabledClass .= ' cursor-not-allowed'; } $activeClass = $item->active ? ' bg-gray-100' : ''; ?> <a class="o-pagination__btn <?php echo $class; ?><?php echo $disabledClass; ?><?php echo $activeClass; ?>" href="<?php echo $href; ?>" data-fd-pagination-link data-fd-pagination-link-limitstart="<?php echo $item->base ? $item->base : 0; ?>" <?php if ($disabled) { ?> data-fd-pagination-link-disabled <?php if (!$item->active) { ?> aria-disabled="true" <?php } ?> <?php } ?> <?php if ($item->active) { ?> aria-current="page" <?php } ?> <?php if ($display && !$icon) { ?> aria-label="<?php echo JText::sprintf('FD_PAGINATION_NUMBER', $display); ?>" <?php } ?> > <?php if ($icon) { ?> <i aria-hidden="true" class="fdi fa fa-fw <?php echo $icon; ?>"></i> <span class="sr-only"><?php echo $srtext ;?></span> <?php } else if ($display) { ?> <span><?php echo $display; ?></span> <?php } ?> </a> PK ! ��J5X X , foundry/themes/pagination/footer/default.phpnu �[��� <?php /** * @package Foundry * @copyright Copyright (C) Stack Ideas Sdn Bhd. All rights reserved. * @license GNU/GPL, see LICENSE.php * Foundry is free software. This version may have been modified pursuant * to the GNU General Public License, and as distributed it includes or * is derivative of works licensed under the GNU General Public License or * other free or open source software licenses. * See COPYRIGHT.php for copyright notices and details. */ defined('_JEXEC') or die('Unauthorized Access'); // $namespace = $isLink ? 'link' : 'button'; // dump($namespace, $data); ?> <div class="o-pagination-wrapper px-xs py-2xs flex items-center justify-center mb-sm" data-fd-pagination data-fd-extension="<?php echo $this->fd->getName();?>" > <div class="o-pagination" aria-label="pagination"> <?php echo $this->output('pagination/footer/list', [ 'data' => $data, 'isLink' => $isLink ]); ?> <?php if (!$isLink) { ?> <?php echo $this->fd->html('form.hidden', $pagination->prefix . 'limitstart', $pagination->limitstart, '', 'data-fd-pagination-limitstart'); ?> <?php } ?> </div> </div> PK ! �� � ) foundry/themes/pagination/footer/list.phpnu �[��� <?php /** * @package Foundry * @copyright Copyright (C) Stack Ideas Sdn Bhd. All rights reserved. * @license GNU/GPL, see LICENSE.php * Foundry is free software. This version may have been modified pursuant * to the GNU General Public License, and as distributed it includes or * is derivative of works licensed under the GNU General Public License or * other free or open source software licenses. * See COPYRIGHT.php for copyright notices and details. */ defined('_JEXEC') or die('Unauthorized Access'); $pageIdxToShow = []; if ($responsive->isMobile()) { $activeIdx = 1; $lastIdx = 10; foreach ($data->pages as $idx => $page) { if ($page->active) { $activeIdx = $idx; } $lastIdx = $idx; } // special handling when view with mobile $pageIdxToShow[] = $activeIdx; $totalPages = count($data->pages); // when render in mobile, max pagination elements to be displayed are 7. if ($totalPages >= 2) { if ($activeIdx == 1) { $pageIdxToShow[] = $activeIdx + 1; // 2nd index $pageIdxToShow[] = $activeIdx + 2; // 3rd index } if ($activeIdx > 1 && $activeIdx != $lastIdx) { $pageIdxToShow[] = $activeIdx - 1; $pageIdxToShow[] = $activeIdx + 1; } if ($activeIdx > 1 && $activeIdx == $lastIdx) { $pageIdxToShow[] = $activeIdx - 1; // 2nd last index $pageIdxToShow[] = $activeIdx - 2; // 3rd last index } $pageIdxToShow = array_unique($pageIdxToShow); } } ?> <div class="relative z-0 inline-flex"> <?php if ($data->start) { ?> <?php echo $this->output('pagination/footer/link', [ 'item' => $data->start, 'icon' => 'fa-angle-double-left', 'class' => 'rounded-l-md px-xs', 'isLink' => $isLink, 'srtext' => JText::_('FD_PAGINATION_FIRST_PAGE') ]); ?> <?php } ?> <?php if ($data->previous) { ?> <?php echo $this->output('pagination/footer/link', [ 'item' => $data->previous, 'icon' => 'fa-angle-left', 'class' => '-ml-px px-xs', 'isLink' => $isLink, 'srtext' => JText::_('FD_PAGINATION_PREVIOUS_PAGE') ]); ?> <?php } ?> <?php foreach ($data->pages as $idx => $page) { ?> <?php if ($responsive->isMobile() && $pageIdxToShow && !in_array($idx, $pageIdxToShow)) { continue; } ?> <?php echo $this->output('pagination/footer/link', [ 'item' => $page, 'icon' => '', 'class' => '-ml-px px-sm', 'isLink' => $isLink, 'srtext' => '' ]); ?> <?php } ?> <?php if ($data->next) { ?> <?php echo $this->output('pagination/footer/link', [ 'item' => $data->next, 'icon' => 'fa-angle-right', 'class' => '-ml-px px-xs', 'isLink' => $isLink, 'srtext' => JText::_('FD_PAGINATION_NEXT_PAGE') ]); ?> <?php } ?> <?php if ($data->end) { ?> <?php echo $this->output('pagination/footer/link', [ 'item' => $data->end, 'icon' => 'fa-angle-double-right', 'class' => '-ml-px rounded-r-md px-xs', 'isLink' => $isLink, 'srtext' => JText::_('FD_PAGINATION_LAST_PAGE') ]); ?> <?php } ?> </div>PK ! -���� � "