Файловый менеджер - Редактировать - /var/www/html/components/com_community/templates/jomsocial/layouts/privacy/show.php
Ðазад
<?php /** * @copyright (C) 2014 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\Uri\Uri; defined('_JEXEC') or die('Restricted access'); if (CFactory::getConfig()->get('overrideactivityprivacy')) { // override all activities item as Public $access = 10; } else { if (isset($act->access)) { $access = $act->access; } else { $access = (isset($stream->access)) ? $stream->access : (isset($activity->access) ? $activity->access : $act->access); } } $icon = "earth"; $show = "public"; switch($access){ case '20' : $icon = "users"; $show = "members"; break; case '30' : $icon = "user"; $show = "friends"; break; case '40' : $icon = "lock"; $show = "meonly"; break; default: break; } ?> <svg viewBox="0 0 16 16" class="joms-icon joms-show-<?php echo $icon; ?>"> <use xlink:href="<?php echo Uri::getInstance(); ?>#joms-icon-<?php echo $icon; ?>"></use> </svg>
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка