Файловый менеджер - Редактировать - /var/www/html/components/com_community/templates/jomsocial/layouts/register.profile.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( $fields ) { $required = false; ?> <form action="<?php echo CRoute::getURI(); ?>" method="post" id="jomsForm" name="jomsForm" class="community-form-validate"> <h2>HELOW FELLAS!</h2> <?php foreach( $fields as $group ) { $fieldName = $group->name == 'ungrouped' ? '' : $group->name; ?> <div class="ctitle"> <h2><?php echo Text::_( $fieldName ); ?></h2> </div> <ul class="cFormList cFormHorizontal cResetList"> <?php foreach($group->fields as $field ) { if( !$required && $field->required == 1 ) $required = true; // Override the "readonly setting" to avoid registration fields being uneditable $params = json_decode($field->params, true); $params['readonly'] = 0; $field->params = json_encode($params); $html = CProfileLibrary::getFieldHTML($field); ?> <li> <label id="lblfield<?php echo $field->id;?>" for="field<?php echo $field->id;?>" class="form-label"><?php echo Text::_($field->name); ?><?php if($field->required == 1) echo '<span class="required-sign"> *</span>'; ?></label> <div class="form-field"> <?php echo $html; ?> <div class="form-privacy"> <?php echo CPrivacy::getHTML( 'privacy' . $field->id ); ?> </div> </div> </li> <?php } ?> <?php } ?> <?php if( $required ) { ?> <li></li> <li class="has-seperator"> <div class="form-field"> <span class="form-helper"><?php echo Text::_( 'COM_COMMUNITY_REGISTER_REQUIRED_FIELDS' ); ?></span> </div> </li> <?php } ?> <li> <div class="form-field"> <div id="cwin-wait" style="display:none;"></div> <input class="btn btn-primary validateSubmit" type="submit" id="btnSubmit" value="<?php echo Text::_('COM_COMMUNITY_REGISTER'); ?>" name="submit"> </div> </li> </ul> <input type="hidden" name="profileType" value="<?php echo $profileType;?>" /> <input type="hidden" name="task" value="registerUpdateProfile" /> <input type="hidden" id="authenticate" name="authenticate" value="0" /> <input type="hidden" id="authkey" name="authkey" value="" /> </form> <script type="text/javascript"> cvalidate.init(); cvalidate.setSystemText('REM','<?php echo addslashes(Text::_("COM_COMMUNITY_ENTRY_MISSING")); ?>'); joms.jQuery( '#jomsForm' ).submit( function() { joms.jQuery('#btnSubmit').hide(); joms.jQuery('#cwin-wait').show(); if(joms.jQuery('#authenticate').val() != '1') { joms.registrations.authenticateAssign(); return false; } }); joms.jQuery( document ).ready( function(){ joms.privacy.init(); }); </script> <?php } else { ?> <div class="cAlert"><?php echo Text::_('COM_COMMUNITY_NO_CUSTOM_PROFILE_CREATED_YET');?></div> <?php } ?>
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка