| Server IP : 54.36.91.62 / Your IP : 216.73.217.112 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/amisdesseniors-fr/administrator/components/com_djcatalog2/views/vatrate/tmpl/ |
Upload File : |
<?php
/**
* @package DJ-Catalog2
* @copyright Copyright (C) DJ-Extensions.com, All rights reserved.
* @license http://www.gnu.org/licenses GNU/GPL
* @author url: http://dj-extensions.com
* @author email contact@dj-extensions.com
*/
// no direct access
defined('_JEXEC') or die;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Router\Route;
//Joomla\CMS\HTML\HTMLHelper::_('bootstrap.tooltip');
Joomla\CMS\Factory::getDocument()->getWebAssetManager()->useScript('form.validate');
//Joomla\CMS\HTML\HTMLHelper::_('formbehavior.chosen', 'select');
?>
<script type="text/javascript">
Joomla.submitbutton = function(task)
{
if (task == 'vatrate.cancel' || document.formvalidator.isValid(document.getElementById('rate-form'))) {
Joomla.submitform(task, document.getElementById('rate-form'));
}
else {
alert('<?php echo $this->escape(Text::_('JGLOBAL_VALIDATION_FORM_FAILED'));?>');
}
}
</script>
<form action="<?php echo Route::_('index.php?option=com_djcatalog2&view=vatrate&layout=edit&id='.(int) $this->item->id); ?>" method="post" name="adminForm" id="rate-form" class="form-validate" enctype="multipart/form-data">
<div class="row row-fluid">
<div class="col-md-12 form-horizontal">
<fieldset>
<legend><?php echo empty($this->item->id) ? Text::_('COM_DJCATALOG2_NEW') : Text::_('COM_DJCATALOG2_EDIT'); ?></legend>
<?php echo $this->form->renderField('name'); ?>
<?php echo $this->form->renderField('value'); ?>
<?php echo $this->form->renderField('country_id'); ?>
<?php echo $this->form->renderField('state_id'); ?>
<?php echo $this->form->renderField('client_type_note'); ?>
<?php echo $this->form->renderField('client_type'); ?>
<?php echo $this->form->renderField('id'); ?>
</fieldset>
<input type="hidden" name="task" value="" />
<?php echo Joomla\CMS\HTML\HTMLHelper::_('form.token'); ?>
</div>
<div class="clr"></div>
</div>
</form>