Файловый менеджер - Редактировать - /var/www/html/administrator/components/com_osmembership/view/country/tmpl/default.php
Ðазад
<?php /** * @package Joomla * @subpackage Membership Pro * @author Tuan Pham Ngoc * @copyright Copyright (C) 2012 - 2025 Ossolution Team * @license GNU/GPL, see LICENSE.php */ defined('_JEXEC') or die; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Multilanguage; use Joomla\CMS\Language\Text; use Joomla\CMS\Uri\Uri; $useTabs = Multilanguage::isEnabled() && count($this->languages); ?> <form action="<?php echo $this->getFormAction(); ?>" method="post" name="adminForm" id="adminForm" class="form form-horizontal"> <?php if ($useTabs) { echo HTMLHelper::_( 'uitab.startTabSet', 'country', ['active' => 'general-page', 'recall' => true]); echo HTMLHelper::_( 'uitab.addTab', 'country', 'general-page', Text::_('OSM_GENERAL')); } ?> <div class="control-group"> <div class="control-label"> <?php echo Text::_('OSM_COUNTRY_NAME'); ?> </div> <div class="controls"> <input class="form-control" type="text" name="name" id="name" size="40" maxlength="250" value="<?php echo $this->item->name;?>" /> </div> </div> <div class="control-group"> <div class="control-label"> <?php echo Text::_('OSM_COUNTRY_CODE_3'); ?> </div> <div class="controls"> <input class="form-control" type="text" name="country_3_code" id="country_3_code" maxlength="250" value="<?php echo $this->item->country_3_code;?>" /> </div> </div> <div class="control-group"> <div class="control-label"> <?php echo Text::_('OSM_COUNTRY_CODE_2'); ?> </div> <div class="controls"> <input class="form-control" type="text" name="country_2_code" id="country_2_code" maxlength="250" value="<?php echo $this->item->country_2_code;?>" /> </div> </div> <div class="control-group"> <div class="control-label"> <?php echo Text::_('OSM_PUBLISHED'); ?> </div> <div class="controls"> <?php echo $this->lists['published']; ?> </div> </div> <?php if ($useTabs) { echo HTMLHelper::_( 'uitab.endTab'); echo HTMLHelper::_( 'uitab.addTab', 'country', 'translation-page', Text::_('OSM_TRANSLATION')); echo HTMLHelper::_( 'uitab.startTabSet', 'country-translation', ['active' => 'translation-page-' . $this->languages[0]->sef, 'recall' => true]); $rootUri = Uri::root(true); foreach ($this->languages as $language) { $sef = $language->sef; echo HTMLHelper::_( 'uitab.addTab', 'country-translation', 'translation-page-' . $sef, $language->title . ' <img src="' . $rootUri . '/media/mod_languages/images/' . $language->image . '.gif" />'); ?> <div class="control-group"> <div class="control-label"> <?php echo Text::_('OSM_NAME'); ?> </div> <div class="controls"> <input class="form-control" type="text" name="name_<?php echo $sef; ?>" id="name_<?php echo $sef; ?>" size="" maxlength="250" value="<?php echo $this->item->{'name_' . $sef}; ?>" /> </div> </div> <?php echo HTMLHelper::_( 'uitab.endTab'); } echo HTMLHelper::_( 'uitab.endTabSet'); echo HTMLHelper::_( 'uitab.endTab'); echo HTMLHelper::_( 'uitab.endTabSet'); } ?> <?php echo HTMLHelper::_('form.token'); ?> <input type="hidden" name="id" value="<?php echo (int) $this->item->id; ?>"/> <input type="hidden" name="task" value="" /> </form>
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка