Файловый менеджер - Редактировать - /var/www/html/components/com_community/templates/jomsocial/layouts/activities/groups/base.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\Table\Table; use Joomla\Registry\Registry; // Check to ensure this file is included in Joomla! defined('_JEXEC') or die(); $user = CFactory::getUser($this->act->actor); // Setup event table $group = Table::getInstance('Group', 'CTable'); $group->load($act->groupid); $this->set('group', $group); if(!empty($this->act->params)){ if (!is_object($this->act->params)) { $act->params = new Registry($this->act->params); } // Load params $action = $this->act->params->get('action'); $actors = $this->act->params->get('actors'); } else { $action=''; $actors=''; } $this->set('actors', $actors); $my = CFactory::getUser(); $this->load('activities.stream.options'); ?> <?php if( $this->act->app == 'groups.wall') { ?> <?php $this->load('activities.profile'); ?> <?php } else if( $this->act->app == 'groups.featured') { ?> <?php $this->load('activities/groups/featured'); ?> <?php } else if( $action == 'group.create') { ?> <?php $this->load('activities/groups/create'); ?> <?php } else if( $action == 'group.update') { ?> <?php $this->load('activities.groups.update'); ?> <?php } else if( $action == 'group.join') { ?> <?php $this->load('activities.groups.join'); ?> <?php } else if( $action == 'group.discussion.create') { ?> <?php $this->load('activities.groups.discussion.create'); ?> <?php } else if( $action == 'group.discussion.reply') { ?> <?php $this->load('activities.groups.discussion.reply'); ?> <?php } else if( $this->act->app == 'discussion.like') { ?> <?php $this->load('activities.groups.discussion.like'); ?> <?php } else if( $this->act->app == 'groups.bulletin') { ?> <?php $this->load('activities.groups.bulletin'); ?> <?php } else { ?> <?php $table = Table::getInstance('Activity','CTable'); $table->load($this->act->id); if(!$table->delete()){ ?> <div class="joms-stream__header"> <div class= "joms-avatar--stream <?php echo CUserHelper::onlineIndicator($user); ?>"> <a href="<?php echo CUrlHelper::userLink($user->id); ?>"> <img src="<?php echo $user->getThumbAvatar(); ?>" data-author="<?php echo $user->id; ?>" alt="<?php echo $user->getDisplayName(); ?>" ></a> </div> <div class="joms-stream__meta"> <?php $html = CGroups::getActivityContentHTML($act); echo $html; ?> </div> </div> <?php $this->load('stream/footer'); ?> <?php }} ?>
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка