Файловый менеджер - Редактировать - /var/www/html/components/com_community/templates/jomsocial/layouts/activities.app.install.php
Ðазад
<?php /** * @copyright (C) 2013 iJoomla, Inc. - All rights reserved. * @license GNU General Public License, version 2 (http://www.gnu.org/licenses/gpl-2.0.html) * @author iJoomla.com <webmaster@ijoomla.com> * @url https://www.jomsocial.com/license-agreement * The PHP code portions are distributed under the GPL license. If not otherwise stated, all images, manuals, cascading style sheets, and included JavaScript *are NOT GPL, and are released under the IJOOMLA Proprietary Use License v1.0 * More info at https://www.jomsocial.com/license-agreement */ use Joomla\CMS\Language\Text; use Joomla\Registry\Registry; defined('_JEXEC') or die(); $appLib = CAppPlugins::getInstance(); $user = CFactory::getUser($this->act->actor); $users = json_decode($this->act->actors); $users = $users->userid; // Get the plugin name $param = new Registry($this->act->params); $appName = $param->get('app'); $applicationName = ''; $plugin = $appLib->getPlugin($appName); if(!is_null($plugin)) { $applicationName = $plugin->name; } $actorsHTML = array(); ?> <div class=""> <i class="cStream-Icon com-icon-groups"></i> <?php foreach($users as $actor) { $user = CFactory::getUser($actor->id); $actorsHTML[] = '<a class="cStream-Author" href="'. CUrlHelper::userLink($user->id).'">'. $user->getDisplayName(false, true).'</a>'; } echo implode(', ', $actorsHTML); ?> - <?php echo Text::sprintf('COM_COMMUNITY_ACTIVITIES_APPLICATIONS_ADDED' , $applicationName); ?> </div>
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка