Файловый менеджер - Редактировать - /home/wuectly/www/03cbe/link.php.tar
Назад
home/wuectly/www/components/com_jce/editor/plugins/link/link.php 0000604 00000005723 15245615154 0021165 0 ustar 00 <?php /** * @package JCE * @subpackage Editor * * @copyright Copyright (c) 2009-2024 Ryan Demmer. All rights reserved * @license GNU General Public License version 2 or later; see LICENSE.txt */ \defined('_JEXEC') or die; // Link Plugin Controller class WFLinkPlugin extends WFEditorPlugin { protected $name = 'link'; public $extensions = array(); public $popups = array(); public $tabs = array(); /** * Constructor activating the default information of the class. */ public function __construct() { parent::__construct(); $this->getLinks(); $this->getSearch('link'); } public function display() { parent::display(); $document = WFDocument::getInstance(); $settings = $this->getSettings(); $document->addScriptDeclaration('LinkDialog.settings=' . json_encode($settings) . ';'); $tabs = WFTabs::getInstance(array( 'base_path' => WF_EDITOR_PLUGIN, )); // Add tabs $tabs->addTab('link', 1, array('plugin' => $this)); $tabs->addTab('advanced', $this->getParam('tabs_advanced', 1)); // get and display links $links = $this->getLinks(); $links->display(); // get and display search $search = $this->getSearch('link'); $search->display(); // Load Popups instance $popups = WFPopupsExtension::getInstance(array( 'text' => false, 'default' => $this->getParam('link.popups.default', ''), )); $popups->display(); // add link stylesheet $document->addStyleSheet(array('link'), 'plugins'); // add link scripts last $document->addScript(array('link'), 'plugins'); } public function showHelp() { return (bool) $this->getParam('help_button', 1); } public function getLinks() { static $links; if (!isset($links)) { $links = WFLinkExtension::getInstance(); } return $links; } public function getSearch($type = 'link') { static $search; if (!isset($search)) { $search = array(); } if (empty($search[$type])) { $search[$type] = WFSearchExtension::getInstance($type); } return $search[$type]; } public function getSettings($settings = array()) { $profile = $this->getProfile(); $settings = array( 'file_browser' => $this->getParam('file_browser', 1) && in_array('browser', explode(',', $profile->plugins)), 'attributes' => array( 'target' => $this->getParam('attributes_target', 1), 'anchor' => $this->getParam('attributes_anchor', 1), 'classes' => $this->getParam('attributes_classes', 1), 'title' => $this->getParam('attributes_title', 1), ), ); return parent::getSettings($settings); } } home/wuectly/www/layouts/joomla/links/link.php 0000604 00000002111 15245616510 0015557 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage Layout * * @copyright (C) 2013 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; $id = empty($displayData['id']) ? '' : (' id="' . $displayData['id'] . '"'); $target = empty($displayData['target']) ? '' : (' target="' . $displayData['target'] . '"'); $rel = empty($displayData['rel']) ? '' : (' rel="' . $displayData['rel'] . '"'); $onclick = empty($displayData['onclick']) ? '' : (' onclick="' . $displayData['onclick'] . '"'); $title = empty($displayData['title']) ? '' : (' title="' . $this->escape($displayData['title']) . '"'); $text = empty($displayData['text']) ? '' : ('<span class="j-links-link">' . $displayData['text'] . '</span>') ?> <li<?php echo $id; ?>> <a href="<?php echo JFilterOutput::ampReplace($displayData['link']); ?>"<?php echo $target . $rel . $onclick . $title; ?>> <span class="icon-<?php echo $displayData['image']; ?>" aria-hidden="true"></span> <?php echo $text; ?> </a> </li> home/wuectly/www/layouts/joomla/toolbar/link.php 0000604 00000001023 15245617177 0016114 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage Layout * * @copyright (C) 2013 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; $doTask = $displayData['doTask']; $class = $displayData['class']; $text = $displayData['text']; ?> <button onclick="location.href='<?php echo $doTask; ?>';" class="btn btn-small"> <span class="<?php echo $class; ?>" aria-hidden="true"></span> <?php echo $text; ?> </button> home/wuectly/www/components/com_jce/editor/plugins/link/tmpl/link.php 0000604 00000006472 15245624771 0022150 0 ustar 00 <?php /** * @package JCE * @subpackage Editor * * @copyright Copyright (c) 2009-2024 Ryan Demmer. All rights reserved * @license GNU General Public License version 2 or later; see LICENSE.txt */ \defined('_JEXEC') or die; use Joomla\CMS\Factory; use Joomla\CMS\Language\Text; use Joomla\CMS\Session\Session; $search = $this->plugin->getSearch('link'); $links = $this->plugin->getLinks(); ?> <div class="uk-form-row uk-grid uk-grid-small"> <label class="uk-form-label uk-width-1-1 uk-width-small-1-5" for="href" class="hastip" title="<?php echo Text::_('WF_LABEL_URL_DESC'); ?>"><?php echo Text::_('WF_LABEL_URL'); ?></label> <div class="uk-form-controls uk-form-icon uk-form-icon-flip uk-width-1-1 uk-width-small-4-5"> <input id="href" type="text" value="" required class="browser" /> <button class="email uk-icon uk-icon-email uk-button uk-button-link" aria-haspopup="true" aria-label="<?php echo Text::_('WF_LABEL_EMAIL'); ?>" title="<?php echo Text::_('WF_LABEL_EMAIL'); ?>"></button> </div> </div> <div class="uk-form-row uk-grid uk-grid-small"> <label for="text" class="uk-form-label uk-width-1-1 uk-width-small-1-5 hastip" title="<?php echo Text::_('WF_LINK_LINK_TEXT_DESC'); ?>"><?php echo Text::_('WF_LINK_LINK_TEXT'); ?></label> <div class="uk-form-controls uk-width-1-1 uk-width-small-4-5"> <input id="text" type="text" value="" required placeholder="<?php echo Text::_('WF_ELEMENT_SELECTION'); ?>" /> </div> </div> <?php if ($search->isEnabled() || count($links->getLists())) : ?> <div id="link-options" class="uk-placeholder"> <?php echo $search->render(); ?> <?php echo $links->render(); ?> </div> <?php endif; ?> <div class="uk-form-row uk-hidden-mini uk-form-row uk-grid uk-grid-small" id="attributes-anchor"> <label for="anchor" class="uk-form-label uk-width-1-1 uk-width-small-1-5 hastip" title="<?php echo Text::_('WF_LABEL_ANCHORS_DESC'); ?>"><?php echo Text::_('WF_LABEL_ANCHORS'); ?></label> <div class="uk-form-controls uk-width-1-1 uk-width-small-4-5" id="anchor_container"></div> </div> <div class="uk-form-row uk-grid uk-grid-small" id="attributes-target"> <label for="target" class="uk-form-label uk-width-1-1 uk-width-small-1-5 hastip" title="<?php echo Text::_('WF_LABEL_TARGET_DESC'); ?>"><?php echo Text::_('WF_LABEL_TARGET'); ?></label> <div class="uk-form-controls uk-width-1-1 uk-width-small-4-5"> <select id="target"> <option value=""><?php echo Text::_('WF_OPTION_NOT_SET'); ?></option> <option value="_self"><?php echo Text::_('WF_OPTION_TARGET_SELF'); ?></option> <option value="_blank"><?php echo Text::_('WF_OPTION_TARGET_BLANK'); ?></option> <option value="_parent"><?php echo Text::_('WF_OPTION_TARGET_PARENT'); ?></option> <option value="_top"><?php echo Text::_('WF_OPTION_TARGET_TOP'); ?></option> </select> </div> </div> <div class="uk-form-row uk-grid uk-grid-small uk-hidden-mini" id="attributes-title"> <label class="uk-form-label uk-width-1-1 uk-width-small-1-5" for="title" class="hastip" title="<?php echo Text::_('WF_LABEL_TITLE_DESC'); ?>"><?php echo Text::_('WF_LABEL_TITLE'); ?></label> <div class="uk-form-controls uk-width-1-1 uk-width-small-4-5"> <input id="title" type="text" value="" /> </div> </div>
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка