Файловый менеджер - Редактировать - /var/www/html/components/com_kunena/template/aurelia/layouts/user/edit/profile/default.php
Ðазад
<?php /** * Kunena Component * * @package Kunena.Template.Aurelia * @subpackage Layout.User * * @copyright Copyright (C) 2008 - 2026 Kunena Team. All rights reserved. * @license https://www.gnu.org/copyleft/gpl.html GNU/GPL * @link https://www.kunena.org **/ namespace Kunena\Forum\Site; \defined('_JEXEC') or die(); use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; use Kunena\Forum\Libraries\Template\KunenaTemplate; echo $this->subLayout('Widget/Datepicker'); $this->addScript('assets/js/profile.js'); $template = KunenaTemplate::getInstance(); ?> <h3> <?php echo $this->headerText; ?> </h3> <table class="table table-bordered table-striped table-hover"> <tbody> <?php if ($this->config->personal) : ?> <tr> <td class="col-md-3"> <label for="personalText"> <?php echo Text::_('COM_KUNENA_MYPROFILE_PERSONALTEXT'); ?> </label> </td> <td> <input class="form-control hasTooltip" id="personalText" type="text" maxlength="<?php echo (int) $template->params->get('maxPersonalText', '50'); ?>" name="personalText" value="<?php echo $this->escape($this->profile->personalText); ?>" data-bs-toggle="tooltip" title="<?php echo Text::_('COM_KUNENA_MYPROFILE_PERSONALTEXT_DESC') ?>" /> </td> </tr> <?php endif; ?> <tr> <td> <label for="birthdate"> <?php echo Text::_('COM_KUNENA_MYPROFILE_BIRTHDATE'); ?> </label> </td> <td> <div id="birthdate"> <div class="input-group date"> <input class="form-control hasTooltip" type="text" name="birthdate" data-date-format="<?php $this->config->datePickerFormat; ?>" value="<?php echo $this->profile->birthdate == '1000-01-01' ? '' : $this->profile->birthdate; ?>" data-bs-toggle="tooltip" title="<?php echo Text::_('COM_KUNENA_MYPROFILE_BIRTHDATE_DESC') ?>"> <span class="input-group-addon"><i class="glyphicon glyphicon-th"></i></span> </div> </div> </td> </tr> <tr> <td> <label for="location"> <?php echo Text::_('COM_KUNENA_MYPROFILE_LOCATION'); ?> </label> </td> <td> <input id="location" type="text" name="location" class="form-control hasTooltip" value="<?php echo $this->escape($this->profile->location); ?>" data-bs-toggle="tooltip" title="<?php echo Text::_('COM_KUNENA_MYPROFILE_LOCATION_DESC') ?>" /> </td> </tr> <tr> <td> <label for="gender"> <?php echo Text::_('COM_KUNENA_MYPROFILE_GENDER'); ?> </label> </td> <td> <?php // Make the select list for the view type $gender[] = HTMLHelper::_('select.option', 0, Text::_('COM_KUNENA_MYPROFILE_GENDER_UNKNOWN')); $gender[] = HTMLHelper::_('select.option', 1, Text::_('COM_KUNENA_MYPROFILE_GENDER_MALE')); $gender[] = HTMLHelper::_('select.option', 2, Text::_('COM_KUNENA_MYPROFILE_GENDER_FEMALE')); // Build the html select list echo HTMLHelper::_( 'select.genericlist', $gender, 'gender', 'class="inputbox form-select hasTooltip" data-bs-toggle="tooltip" title="' . Text::_('COM_KUNENA_MYPROFILE_GENDER') . '" size="1"', 'value', 'text', $this->escape($this->profile->gender), 'gender' ); ?> </td> </tr> <tr> <td> <label for="social-site"> <?php echo Text::_('COM_KUNENA_MYPROFILE_WEBSITE_NAME'); ?> </label> </td> <td> <span class="hasTooltip" data-bs-toggle="tooltip" title="<?php echo Text::_('COM_KUNENA_MYPROFILE_WEBSITE_NAME') . '::' . Text::_('COM_KUNENA_MYPROFILE_WEBSITE_NAME_DESC'); ?>"> <input id="social-site" type="text" maxlength="25" name="websitename" class="form-control" value="<?php echo $this->escape($this->profile->websitename); ?>" /> </span> </td> </tr> <tr> <td> <label for="social-url"> <?php echo Text::_('COM_KUNENA_MYPROFILE_WEBSITE_URL'); ?> </label> </td> <td> <span class="hasTooltip" data-bs-toggle="tooltip" title="<?php echo Text::_('COM_KUNENA_MYPROFILE_WEBSITE_URL') . '::' . Text::_('COM_KUNENA_MYPROFILE_WEBSITE_URL_DESC'); ?>"> <input id="social-url" type="url" name="websiteurl" class="form-control" value="<?php echo $this->escape($this->profile->getWebsiteURL()); ?>" /> </span> </td> </tr> <?php foreach ($this->socials as $key => $social): ?> <tr> <td class="col-md-3"> <label for="personalText"> <?php echo Text::_('COM_KUNENA_MYPROFILE_' . \strtoupper($key)); ?> </label> </td> <td> <input class="form-control hasTooltip" id="social<?php echo $key; ?>" type="text" maxlength="100" name="social<?php echo $key; ?>" value="<?php echo $this->escape($social->value); ?>" data-bs-toggle="tooltip" title="<?php echo Text::_('COM_KUNENA_MYPROFILE_' . \strtoupper($key) . '_DESC') ?>" /> </td> </tr> <?php endforeach; ?> <?php if ($this->config->signature) : ?> <tr> <td> <label for="signature"> <?php echo Text::_('COM_KUNENA_MYPROFILE_SIGNATURE'); ?> </label> </td> <td> <span class="hasTooltip" data-bs-toggle="tooltip" title="<?php echo Text::_('COM_KUNENA_MYPROFILE_SIGNATURE') . '::' . Text::_('COM_KUNENA_MYPROFILE_SIGNATURE_DESC'); ?>"> <textarea class="input-xxlarge form-control" maxlength="<?php echo (int) $this->config->maxSig; ?>" name="signature" id="signature" rows="10" cols="30"><?php echo $this->escape($this->profile->signature); ?></textarea> </span> </td> </tr> <?php endif; ?> </tbody> </table>
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка