Файловый менеджер - Редактировать - /var/www/html/components/com_community/templates/jomsocial/layouts/notification.event.invitations.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; defined('_JEXEC') or die(); ?> <?php foreach ($rows as $row) { ?> <li class="joms-js__event-invite-<?php echo $row->eventid; ?>"> <div class="joms-popover__avatar"> <div class="joms-avatar"> <img src="<?php echo $row->invitor->getThumbAvatar(); ?>" alt="<?php echo $row->invitor->getDisplayName(); ?><" > </div> </div> <div class="joms-popover__content joms-js--invitation-notice-event-<?php echo $row->eventid; ?>"> <?php if($row->isGroupEvent){ echo Text::sprintf( 'COM_COMMUNITY_EVENTS_GROUP_INVITED_NOTIFICATION', '<a href="' . CUrlHelper::userLink($row->invitor->id) . '">' . $row->invitor->getDisplayName(false, true) . '</a>', '<a href="' . $row->url . '">' . $row->title . '</a>', '<a href="' . $row->grouplink . '">' . $row->groupname . '</a>'); }else if($row->isPageEvent){ echo Text::sprintf( 'COM_COMMUNITY_EVENTS_GROUP_INVITED_NOTIFICATION', '<a href="' . CUrlHelper::userLink($row->invitor->id) . '">' . $row->invitor->getDisplayName(false, true) . '</a>', '<a href="' . $row->url . '">' . $row->title . '</a>', '<a href="' . $row->pagelink . '">' . $row->pagename . '</a>'); }else{ echo Text::sprintf( 'COM_COMMUNITY_EVENTS_INVITED_NOTIFICATION', '<a href="' . CUrlHelper::userLink($row->invitor->id) . '">' . $row->invitor->getDisplayName(false, true) . '</a>', '<a href="' . $row->url . '">' . $row->title . '</a>'); } ?> <div class="joms-popover__actions joms-js--invitation-buttons-event-<?php echo $row->eventid; ?>" style="white-space:nowrap"> <button class="joms-button__reject" onclick="joms.api.invitationReject('event', '<?php echo $row->eventid; ?>');"><?php echo Text::_('COM_COMMUNITY_EVENTS_REJECT'); ?></button> <button class="joms-button__approve" onclick="joms.api.invitationAccept('event', '<?php echo $row->eventid; ?>');"><?php echo Text::_('COM_COMMUNITY_EVENTS_ACCEPT'); ?></button> </div> </div> </li> <?php } ?>
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка