uawdijnntqw1x1x1
IP : 216.73.217.102
Hostname : webm003.cluster107.gra.hosting.ovh.net
Kernel : Linux webm003.cluster107.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
OS : Linux
PATH:
/
home
/
opticamezl
/
www
/
newok
/
tmp
/
..
/
cli
/
..
/
api
/
components
/
..
/
..
/
tmp
/
..
/
cli
/
cli
/
..
/
..
/
pagebreak.tar
/
/
pagebreak.xml000064400000001602151721512700007207 0ustar00<?xml version="1.0" encoding="UTF-8"?> <extension type="plugin" group="editors-xtd" method="upgrade"> <name>plg_editors-xtd_pagebreak</name> <author>Joomla! Project</author> <creationDate>2004-08</creationDate> <copyright>(C) 2005 Open Source Matters, Inc.</copyright> <license>GNU General Public License version 2 or later; see LICENSE.txt</license> <authorEmail>admin@joomla.org</authorEmail> <authorUrl>www.joomla.org</authorUrl> <version>3.0.0</version> <description>PLG_EDITORSXTD_PAGEBREAK_XML_DESCRIPTION</description> <namespace path="src">Joomla\Plugin\EditorsXtd\PageBreak</namespace> <files> <folder plugin="pagebreak">services</folder> <folder>src</folder> </files> <languages> <language tag="en-GB">language/en-GB/plg_editors-xtd_pagebreak.ini</language> <language tag="en-GB">language/en-GB/plg_editors-xtd_pagebreak.sys.ini</language> </languages> </extension> tmpl/toc.php000064400000001635151721512700007024 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Content.pagebreak * * @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Router\Route; ?> <div class="card float-end article-index ms-3 mb-3"> <div class="card-body"> <?php if ($headingtext) : ?> <h3><?php echo $headingtext; ?></h3> <?php endif; ?> <ul class="nav flex-column"> <?php foreach ($list as $listItem) : ?> <?php $class = $listItem->active ? ' active' : ''; ?> <li class="py-1"> <a href="<?php echo Route::_($listItem->link); ?>" class="toclink<?php echo $class; ?>"> <?php echo $listItem->title; ?> </a> </li> <?php endforeach; ?> </ul> </div> </div> tmpl/navigation.php000064400000003671151721512700010400 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Content.pagebreak * * @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Language\Text; use Joomla\CMS\Router\Route; /** * @var $links array Array with keys 'previous' and 'next' with non-SEO links to the previous and next pages * @var $page integer The page number */ $lang = $this->getApplication()->getLanguage(); ?> <ul class="pagination"> <li class="previous page-item"> <?php if ($links['previous']) : $direction = $lang->isRtl() ? 'right' : 'left'; $title = htmlspecialchars($this->list[$page]->title, ENT_QUOTES, 'UTF-8'); $ariaLabel = Text::_('JPREVIOUS') . ': ' . $title . ' (' . Text::sprintf('JLIB_HTML_PAGE_CURRENT_OF_TOTAL', $page, $n) . ')'; ?> <a class="page-link" href="<?php echo Route::_($links['previous']); ?>" title="<?php echo $title; ?>" aria-label="<?php echo $ariaLabel; ?>" rel="prev"> <?php echo '<span class="icon-chevron-' . $direction . '" aria-hidden="true"></span> ' . Text::_('JPREV'); ?> </a> <?php endif; ?> </li> <li class="next page-item"> <?php if ($links['next']) : $direction = $lang->isRtl() ? 'left' : 'right'; $title = htmlspecialchars($this->list[$page + 2]->title, ENT_QUOTES, 'UTF-8'); $ariaLabel = Text::_('JNEXT') . ': ' . $title . ' (' . Text::sprintf('JLIB_HTML_PAGE_CURRENT_OF_TOTAL', ($page + 2), $n) . ')'; ?> <a class="page-link" href="<?php echo Route::_($links['next']); ?>" title="<?php echo $title; ?>" aria-label="<?php echo $ariaLabel; ?>" rel="next"> <?php echo Text::_('JNEXT') . ' <span class="icon-chevron-' . $direction . '" aria-hidden="true"></span>'; ?> </a> <?php endif; ?> </li> </ul> src/Extension/PageBreak.php000064400000005617151721512700011653 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Editors-xtd.pagebreak * * @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\Plugin\EditorsXtd\PageBreak\Extension; use Joomla\CMS\Application\CMSWebApplicationInterface; use Joomla\CMS\Object\CMSObject; use Joomla\CMS\Plugin\CMSPlugin; // phpcs:disable PSR1.Files.SideEffects \defined('_JEXEC') or die; // phpcs:enable PSR1.Files.SideEffects /** * Editor Pagebreak button * * @since 1.5 */ final class PageBreak extends CMSPlugin { /** * Load the language file on instantiation. * * @var boolean * @since 3.1 */ protected $autoloadLanguage = true; /** * Display the button * * @param string $name The name of the button to add * * @return CMSObject|void The button options as CMSObject * * @since 1.5 */ public function onDisplay($name) { $app = $this->getApplication(); if (!$app instanceof CMSWebApplicationInterface) { return; } $user = $app->getIdentity(); // Can create in any category (component permission) or at least in one category $canCreateRecords = $user->authorise('core.create', 'com_content') || count($user->getAuthorisedCategories('com_content', 'core.create')) > 0; // Instead of checking edit on all records, we can use **same** check as the form editing view $values = (array) $app->getUserState('com_content.edit.article.id'); $isEditingRecords = count($values); // This ACL check is probably a double-check (form view already performed checks) $hasAccess = $canCreateRecords || $isEditingRecords; if (!$hasAccess) { return; } $app->getDocument()->addScriptOptions('xtd-pagebreak', ['editor' => $name]); $link = 'index.php?option=com_content&view=article&layout=pagebreak&tmpl=component&e_name=' . $name; $button = new CMSObject(); $button->modal = true; $button->link = $link; $button->text = $app->getLanguage()->_('PLG_EDITORSXTD_PAGEBREAK_BUTTON_PAGEBREAK'); $button->name = $this->_type . '_' . $this->_name; $button->icon = 'copy'; $button->iconSVG = '<svg viewBox="0 0 32 32" width="24" height="24"><path d="M26 8h-6v-2l-6-6h-14v24h12v8h20v-18l-6-6zM26 10.828l3.172 3' . '.172h-3.172v-3.172zM14 2.828l3.172 3.172h-3.172v-3.172zM2 2h10v6h6v14h-16v-20zM30 30h-16v-6h6v-14h4v6h6v14z"></pa' . 'th></svg>'; $button->options = [ 'height' => '200px', 'width' => '400px', 'bodyHeight' => '70', 'modalWidth' => '80', ]; return $button; } } services/provider.php000064400000002475151721512700010743 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Editors-xtd.pagebreak * * @copyright (C) 2023 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Extension\PluginInterface; use Joomla\CMS\Factory; use Joomla\CMS\Plugin\PluginHelper; use Joomla\DI\Container; use Joomla\DI\ServiceProviderInterface; use Joomla\Event\DispatcherInterface; use Joomla\Plugin\EditorsXtd\PageBreak\Extension\PageBreak; return new class () implements ServiceProviderInterface { /** * Registers the service provider with a DI container. * * @param Container $container The DI container. * * @return void * * @since 4.4.0 */ public function register(Container $container) { $container->set( PluginInterface::class, function (Container $container) { $dispatcher = $container->get(DispatcherInterface::class); $plugin = new PageBreak( $dispatcher, (array) PluginHelper::getPlugin('editors-xtd', 'pagebreak') ); $plugin->setApplication(Factory::getApplication()); return $plugin; } ); } }; index.html000060400000000037151721512700006536 0ustar00<!DOCTYPE html><title></title>
/home/opticamezl/www/newok/tmp/../cli/../api/components/../../tmp/../cli/cli/../../pagebreak.tar