Файловый менеджер - Редактировать - /var/www/html/components/com_community/templates/jomsocial/layouts/comment/thirdparty.php
Ðазад
<?php /** * @copyright (C) 2016 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\CMS\Uri\Uri; defined('_JEXEC') or die('Restricted access'); ?> <style> .joms-foo, .joms-foo * { box-sizing: border-box; } .joms-comment { display: block !important; } </style> <div class="joms-foo joms-touch"> <div style="display:none"><?php echo $wallViewAll; ?></div> <?php //if the wall content is empty if(!$currentWallCount){ ?> <div class="joms-alert--info"> <?php echo Text::_('COM_COMMUNITY_START_A_COMMENT'); ?> </div> <?php } ?> <?php echo $wallContent; ?> <?php if ($isLoggedIn) { ?> <?php if ($postCommentACL) { ?> <div class="joms-comment__reply joms-js--newcomment joms-js--newcomment-<?php echo $id; ?>" data-id="<?php echo $id; ?>"> <div class="joms-textarea__wrapper"> <div class="joms-textarea joms-textarea__beautifier"></div> <textarea class="joms-textarea" name="comment" data-type="<?php echo $type; ?>" data-id="<?php echo $id; ?>" data-func="system,ajaxSaveWall" placeholder="<?php echo Text::_('COM_COMMUNITY_WRITE_A_COMMENT'); ?>"></textarea> <div class="joms-textarea__loading"><img src="<?php echo Uri::root(true); ?>/components/com_community/assets/ajax-loader.gif" alt="loader" ></div> <div class="joms-textarea joms-textarea__attachment"> <button onclick="joms.view.comment.removeAttachment(this);">×</button> <div class="joms-textarea__attachment--loading"><img src="<?php echo Uri::root(true); ?>/components/com_community/assets/ajax-loader.gif" alt="loader" ></div> <div class="joms-textarea__attachment--thumbnail"><img alt="attachment"></div> </div> </div> <div class="joms-icon joms-icon--emoticon" > <div style="position:relative"> <svg viewBox="0 0 16 16" onclick="joms.view.comment.showEmoticonBoard(this);"> <use xlink:href="<?php echo Uri::getInstance(); ?>#joms-icon-smiley"></use> </svg> </div> </div> <svg viewBox="0 0 16 16" class="joms-icon joms-icon--add" onclick="joms.view.comment.addAttachment(this);"> <use xlink:href="<?php echo Uri::getInstance(); ?>#joms-icon-camera"></use> </svg> <span> <button class="joms-button--comment joms-js--btn-send">Send</button> </span> </div> <?php } ?> <?php } else { ?> <a class="joms-button--neutral" href="javascript:" onclick="joms.api.login()"><?php echo Text::_('COM_COMMUNITY_LOGIN_TO_COMMENT') ?></a> <?php } ?> <script> (function( w ) { w.joms_prev_comment_load = '<?php echo $totalPreviousComments; ?>'; w.joms_wall_remove_func = 'system,ajaxStreamRemoveComment'; w.joms_queue || (w.joms_queue = []); w.joms_queue.push(function( $ ) { $('.joms-js--comments').prepend( $('.joms-js--more-comments').parent().html() ); }); })( window ); </script> </div>
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка