Файловый менеджер - Редактировать - /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> home/wuectly/www/libraries/joomla/facebook/link.php 0000604 00000007535 15245657522 0016513 0 ustar 00 <?php /** * @package Joomla.Platform * @subpackage Facebook * * @copyright (C) 2013 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE */ defined('JPATH_PLATFORM') or die(); /** * Facebook API Link class for the Joomla Platform. * * @link http://developers.facebook.com/docs/reference/api/link/ * @since 3.2.0 * @deprecated 4.0 Use the `joomla/facebook` package via Composer instead */ class JFacebookLink extends JFacebookObject { /** * Method to get a link. Requires authentication and read_stream permission for non-public links. * * @param string $link The link id. * * @return mixed The decoded JSON response or false if the client is not authenticated. * * @since 3.2.0 */ public function getLink($link) { return $this->get($link); } /** * Method to get a link's comments. Requires authentication and read_stream permission for non-public links. * * @param string $link The link id. * @param integer $limit The number of objects per page. * @param integer $offset The object's number on the page. * @param string $until A unix timestamp or any date accepted by strtotime. * @param string $since A unix timestamp or any date accepted by strtotime. * * @return mixed The decoded JSON response or false if the client is not authenticated. * * @since 3.2.0 */ public function getComments($link, $limit = 0, $offset = 0, $until = null, $since = null) { return $this->getConnection($link, 'comments', '', $limit, $offset, $until, $since); } /** * Method to comment on a link. Requires authentication and publish_stream permission. * * @param string $link The link id. * @param string $message The comment's text. * * @return mixed The decoded JSON response or false if the client is not authenticated. * * @since 3.2.0 */ public function createComment($link, $message) { // Set POST request parameters. $data = array(); $data['message'] = $message; return $this->createConnection($link, 'comments', $data); } /** * Method to delete a comment. Requires authentication and publish_stream permission. * * @param string $comment The comment's id. * * @return mixed The decoded JSON response or false if the client is not authenticated. * * @since 3.2.0 */ public function deleteComment($comment) { return $this->deleteConnection($comment); } /** * Method to get link's likes. Requires authentication and read_stream permission for non-public links. * * @param string $link The link id. * @param integer $limit The number of objects per page. * @param integer $offset The object's number on the page. * @param string $until A unix timestamp or any date accepted by strtotime. * @param string $since A unix timestamp or any date accepted by strtotime. * * @return mixed The decoded JSON response or false if the client is not authenticated. * * @since 3.2.0 */ public function getLikes($link, $limit = 0, $offset = 0, $until = null, $since = null) { return $this->getConnection($link, 'likes', '', $limit, $offset, $until, $since); } /** * Method to like a link. Requires authentication and publish_stream permission. * * @param string $link The link id. * * @return boolean Returns true if successful, and false otherwise. * * @since 3.2.0 */ public function createLike($link) { return $this->createConnection($link, 'likes'); } /** * Method to unlike a link. Requires authentication and publish_stream permission. * * @param string $link The link id. * * @return boolean Returns true if successful, and false otherwise. * * @since 3.2.0 */ public function deleteLike($link) { return $this->deleteConnection($link, 'likes'); } } home/wuectly/www/layouts/joomla/pagination/link.php 0000604 00000003564 15245657632 0016617 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage Layout * * @copyright (C) 2014 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** @var JPaginationObject $item */ $item = $displayData['data']; $display = $item->text; switch ((string) $item->text) { // Check for "Start" item case JText::_('JLIB_HTML_START') : $icon = 'icon-backward icon-first'; break; // Check for "Prev" item case $item->text === JText::_('JPREV') : $item->text = JText::_('JPREVIOUS'); $icon = 'icon-step-backward icon-previous'; break; // Check for "Next" item case JText::_('JNEXT') : $icon = 'icon-step-forward icon-next'; break; // Check for "End" item case JText::_('JLIB_HTML_END') : $icon = 'icon-forward icon-last'; break; default: $icon = null; break; } if ($icon !== null) { $display = '<span class="' . $icon . '"></span>'; } if ($displayData['active']) { if ($item->base > 0) { $limit = 'limitstart.value=' . $item->base; } else { $limit = 'limitstart.value=0'; } $cssClasses = array(); $title = ''; if (!is_numeric($item->text)) { JHtml::_('bootstrap.tooltip'); $cssClasses[] = 'hasTooltip'; $title = ' title="' . $item->text . '" '; } $onClick = 'document.adminForm.' . $item->prefix . 'limitstart.value=' . ($item->base > 0 ? $item->base : '0') . '; Joomla.submitform();return false;'; } else { $class = (property_exists($item, 'active') && $item->active) ? 'active' : 'disabled'; } ?> <?php if ($displayData['active']) : ?> <li> <a <?php echo $cssClasses ? 'class="' . implode(' ', $cssClasses) . '"' : ''; ?> <?php echo $title; ?> href="#" onclick="<?php echo $onClick; ?>"> <?php echo $display; ?> </a> </li> <?php else : ?> <li class="<?php echo $class; ?>"> <span><?php echo $display; ?></span> </li> <?php endif; home/wuectly/www/libraries/f0f/hal/link.php 0000604 00000006153 15245667614 0014676 0 ustar 00 <?php /** * @package FrameworkOnFramework * @subpackage hal * @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('F0F_INCLUDED') or die; /** * Implementation of the Hypertext Application Language link in PHP. * * @package FrameworkOnFramework * @since 2.1 */ class F0FHalLink { /** * For indicating the target URI. Corresponds with the ’Target IRI’ as * defined in Web Linking (RFC 5988). This attribute MAY contain a URI * Template (RFC6570) and in which case, SHOULD be complemented by an * additional templated attribtue on the link with a boolean value true. * * @var string */ protected $_href = ''; /** * This attribute SHOULD be present with a boolean value of true when the * href of the link contains a URI Template (RFC6570). * * @var boolean */ protected $_templated = false; /** * For distinguishing between Resource and Link elements that share the * same relation * * @var string */ protected $_name = null; /** * For indicating what the language of the result of dereferencing the link should be. * * @var string */ protected $_hreflang = null; /** * For labeling the destination of a link with a human-readable identifier. * * @var string */ protected $_title = null; /** * Public constructor of a F0FHalLink object * * @param string $href See $this->_href * @param boolean $templated See $this->_templated * @param string $name See $this->_name * @param string $hreflang See $this->_hreflang * @param string $title See $this->_title * * @throws RuntimeException If $href is empty */ public function __construct($href, $templated = false, $name = null, $hreflang = null, $title = null) { if (empty($href)) { throw new RuntimeException('A HAL link must always have a non-empty href'); } $this->_href = $href; $this->_templated = $templated; $this->_name = $name; $this->_hreflang = $hreflang; $this->_title = $title; } /** * Is this a valid link? Checks the existence of required fields, not their * values. * * @return boolean */ public function check() { return !empty($this->_href); } /** * Magic getter for the protected properties * * @param string $name The name of the property to retrieve, sans the underscore * * @return mixed Null will always be returned if the property doesn't exist */ public function __get($name) { $property = '_' . $name; if (property_exists($this, $property)) { return $this->$property; } else { return null; } } /** * Magic setter for the protected properties * * @param string $name The name of the property to set, sans the underscore * @param mixed $value The value of the property to set * * @return void */ public function __set($name, $value) { if (($name == 'href') && empty($value)) { return; } $property = '_' . $name; if (property_exists($this, $property)) { $this->$property = $value; } } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка