Файловый менеджер - Редактировать - /home/wuectly/www/03cbe/message.php.tar
Назад
home/wuectly/www/layouts/plugins/system/privacyconsent/message.php 0000604 00000005040 15245570255 0021732 0 ustar 00 <?php /** * @package Joomla.Plugin * @subpackage System.privacyconsent * * @copyright (C) 2019 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; extract($displayData); /** * Layout variables * ----------------- * @var string $autocomplete Autocomplete attribute for the field. * @var boolean $autofocus Is autofocus enabled? * @var string $class Classes for the input. * @var string $description Description of the field. * @var boolean $disabled Is this field disabled? * @var string $group Group the field belongs to. <fields> section in form XML. * @var boolean $hidden Is this field hidden in the form? * @var string $hint Placeholder for the field. * @var string $id DOM id of the field. * @var string $label Label of the field. * @var string $labelclass Classes to apply to the label. * @var boolean $multiple Does this field support multiple values? * @var string $name Name of the input field. * @var string $onchange Onchange attribute for the field. * @var string $onclick Onclick attribute for the field. * @var string $pattern Pattern (Reg Ex) of value of the form field. * @var boolean $readonly Is this field read only? * @var boolean $repeat Allows extensions to duplicate elements. * @var boolean $required Is this field required? * @var integer $size Size attribute of the input. * @var boolean $spellcheck Spellcheck state for the form field. * @var string $validate Validation rules to apply. * @var string $value Value attribute of the field. * @var array $options Options available for this field. * @var array $privacynote The privacy note that needs to be displayed * @var array $translateLabel Should the label be translated? * @var array $translateDescription Should the description be translated? * @var array $translateHint Should the hint be translated? * @var array $privacyArticle The Article ID holding the Privacy Article */ echo '<div class="alert alert-info">' . $privacynote . '</div>'; home/wuectly/www/layouts/joomla/system/message.php 0000604 00000001765 15245570525 0016475 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; $msgList = $displayData['msgList']; ?> <div id="system-message-container"> <?php if (is_array($msgList) && !empty($msgList)) : ?> <div id="system-message"> <?php foreach ($msgList as $type => $msgs) : ?> <div class="alert alert-<?php echo $type; ?>"> <?php // This requires JS so we should add it through JS. Progressive enhancement and stuff. ?> <a class="close" data-dismiss="alert">×</a> <?php if (!empty($msgs)) : ?> <h4 class="alert-heading"><?php echo JText::_($type); ?></h4> <div> <?php foreach ($msgs as $msg) : ?> <div class="alert-message"><?php echo $msg; ?></div> <?php endforeach; ?> </div> <?php endif; ?> </div> <?php endforeach; ?> </div> <?php endif; ?> </div> home/wuectly/www/templates/t3_blank/html/message.php 0000604 00000003206 15245606675 0016625 0 ustar 00 <?php /** * @version $Id: pagination.php 10381 2008-06-01 03:35:53Z pasamio $ * @package Joomla * @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved. * @license GNU/GPL, see LICENSE.php * Joomla! 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. */ // no direct access defined('_JEXEC') or die; /** * Render the system message if no message template file found * * @param array $msgList An array contains system message * * @return string System message markup * * @since 12.2 */ function renderMessage($msgList) { // Build the return string $buffer = ''; $buffer .= "\n<div id=\"system-message-container\">"; // If messages exist render them if (is_array($msgList)) { $buffer .= "\n<div id=\"system-message\">"; foreach ($msgList as $type => $msgs) { $buffer .= "\n<div class=\"alert alert-" . $type . "\">"; // This requires JS so we should add it trough JS. Progressive enhancement and stuff. $buffer .= "<a class=\"close\" data-dismiss=\"alert\" href=\"#\">×</a>"; if (count($msgs)) { $buffer .= "\n<h4 class=\"alert-heading\">" . JText::_($type) . "</h4>"; $buffer .= "\n<div>"; foreach ($msgs as $msg) { $buffer .= "\n\t\t<p>" . $msg . "</p>"; } $buffer .= "\n</div>"; } $buffer .= "\n</div>"; } $buffer .= "\n</div>"; } $buffer .= "\n</div>"; return $buffer; } home/wuectly/www/plugins/privacy/message/message.php 0000604 00000003045 15245657430 0016744 0 ustar 00 <?php /** * @package Joomla.Plugin * @subpackage Privacy.message * * @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; JLoader::register('PrivacyPlugin', JPATH_ADMINISTRATOR . '/components/com_privacy/helpers/plugin.php'); /** * Privacy plugin managing Joomla user messages * * @since 3.9.0 */ class PlgPrivacyMessage extends PrivacyPlugin { /** * Processes an export request for Joomla core user message * * This event will collect data for the message table * * @param PrivacyTableRequest $request The request record being processed * @param JUser $user The user account associated with this request if available * * @return PrivacyExportDomain[] * * @since 3.9.0 */ public function onPrivacyExportRequest(PrivacyTableRequest $request, JUser $user = null) { if (!$user) { return array(); } $domain = $this->createDomain('user_messages', 'joomla_user_messages_data'); $query = $this->db->getQuery(true) ->select('*') ->from($this->db->quoteName('#__messages')) ->where($this->db->quoteName('user_id_from') . ' = ' . (int) $user->id) ->orWhere($this->db->quoteName('user_id_to') . ' = ' . (int) $user->id) ->order($this->db->quoteName('date_time') . ' ASC'); $items = $this->db->setQuery($query)->loadAssocList(); foreach ($items as $item) { $domain->addItem($this->createItemFromArray($item)); } return array($domain); } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка