Файловый менеджер - Редактировать - /var/www/html/components/com_community/templates/jomsocial/layouts/custom.activity.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 if( $isCommunityAdmin && $config->get('custom_activity') ) { ?> <div class="activity-admin-echo"> <form id="activities-custom-message" name="activities-custom-message" method="post" action=""> <h3><?php echo Text::_('COM_COMMUNITY_ACTIVITES_CUSTOM_MESSAGES' );?></h3> <div class="joms-form-row"> <div class="joms-form-row-left"> <input type="radio" class="input radio" name="custom-message" id="custom-predefined-message" value="predefined" onclick="joms.activities.selectCustom('predefined');" checked="checked"/> </div> <div class="joms-form-row-right"> <label for="custom-predefined-message"><?php echo Text::_('COM_COMMUNITY_SELECT_PREDEFINED_MESSAGES');?></label> <select name="custom-predefined" id="custom-predefined"> <?php foreach( $customActivities as $key => $message ) { ?> <option value="<?php echo $key;?>"><?php echo $message; ?></option> <?php } ?> </select> </div> </div> <div class="joms-form-row"> <div class="joms-form-row-left"> <input type="radio" class="input radio" name="custom-message" id="custom-text-message" value="text" onclick="joms.activities.selectCustom('text');" /> </div> <div class="joms-form-row-right"> <label for="custom-text-message"><?php echo Text::_('COM_COMMUNITY_WRITE_A_CUSTOM_MESSAGE');?></label> <textarea name="custom-text" id="custom-text" cols="45" rows="5" style="display: none;"></textarea> </div> </div> <div class="joms-form-row"> <div class="joms-form-row-left"></div> <div class="joms-form-row-right"> <label> <input type="button" class="btn" name="button" id="button" value="<?php echo Text::_('COM_COMMUNITY_POST_IT');?>" onclick="joms.activities.addCustom()" /> </label> </div> </div> </form> </div> <?php } ?>
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка