Файловый менеджер - Редактировать - /var/www/html/components/com_community/templates/jomsocial/layouts/friends/request-sent.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(); ?> <div class="joms-page"> <div class="joms-list__search"> <div class="joms-list__search-title"> <h3 class="joms-page__title"><?php echo Text::_('COM_COMMUNITY_SENT_FRIENDS_REQUEST'); ?></h3> </div> <div class="joms-list__utilities"> <form method="post" class="joms-inline--desktop" action="<?php echo CRoute::_('index.php?option=com_community&view=friends') ?>"> <span> <input type="text" name="q" class="joms-input--search" value="<?php echo (isset($searchQuery)) ? $searchQuery : ''; ?>" placeholder="<?php echo Text::_('COM_COMMUNITY_SEARCH_FRIENDS'); ?>"> </span> <span> <button class="joms-button--neutral"><?php echo Text::_('COM_COMMUNITY_SEARCH_GO'); ?></button> </span> <input type="hidden" name="search" value="friends"> </form> <button onclick="window.location='<?php echo CRoute::_('index.php?option=com_community&view=friends&task=invite'); ?>';" class="joms-button--add"> <span><?php echo Text::_('COM_COMMUNITY_INVITE_FRIENDS'); ?></span> <svg class="joms-icon" viewBox="0 0 16 16"> <use xlink:href="<?php echo CRoute::getURI(); ?>#joms-icon-plus"></use> </svg> </button> </div> </div> <?php echo $submenu;?> <div class="joms-gap"></div> <div class="joms-tab__content"> <?php if ( $rows ) { ?> <ul class="joms-list--friend"> <?php foreach($rows as $row) : ?> <li class="joms-list__item"> <?php if (in_array($row->user->id, $featuredList)) { ?> <div class="joms-ribbon__wrapper"> <span class="joms-ribbon"><?php echo Text::_('COM_COMMUNITY_FEATURED'); ?></span> </div> <?php } ?> <div class="joms-list__avatar <?php echo CUserHelper::onlineIndicator($row->user); ?>"> <a href="<?php echo $row->user->profileLink; ?>" class="joms-avatar"> <img data-author="<?php echo $row->user->id; ?>" src="<?php echo $row->user->getThumbAvatar(); ?>" alt="<?php echo $row->user->getDisplayName(); ?>" /> </a> </div> <div class="joms-list__body"> <a href="<?php echo $row->user->profileLink; ?>" ><h4 class="joms-text--username"><?php echo $row->user->getDisplayName(false, true); ?></h4></a> <span class="joms-text--title"><?php echo Text::sprintf('COM_COMMUNITY_TOTAL_MUTUAL_FRIENDS', CFriendsHelper::getTotalMutualFriends($row->user->id)); ?></span> </div> <div class="joms-list__actions"> <?php echo CFriendsHelper::getUserCog($row->user->id,null,null,null,true); ?> <?php echo CFriendsHelper::getUserFriendDropdown($row->user->id); ?> </div> </li> <?php endforeach; ?> </ul> <?php } else { ?> <div class="cEmpty cAlert"><?php echo Text::_('COM_COMMUNITY_PENDING_REQUEST_EMPTY'); ?></div> <?php } ?> </div> <?php if ( !empty($pagination) && ($pagination->pagesTotal > 1 || $pagination->total > 1) ) { ?> <div class="joms-pagination"> <?php echo $pagination->getPagesLinks(); ?> </div> <?php } ?> </div>
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка