| Server IP : 213.186.33.4 / Your IP : 216.73.216.193 Web Server : Apache System : Linux webm006.cluster103.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 : awebpaca ( 35430) PHP Version : 8.5.0 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/awebpaca/visitevirtuelle/administrator/templates/hathor/html/com_templates/style/ |
Upload File : |
<?php
/**
* @package Joomla.Administrator
* @subpackage com_templates
*
* @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
JHtml::_('behavior.formvalidation');
JHtml::_('behavior.keepalive');
$user = JFactory::getUser();
?>
<script type="text/javascript">
Joomla.submitbutton = function(task)
{
if (task == 'style.cancel' || document.formvalidator.isValid(document.id('style-form')))
{
Joomla.submitform(task, document.getElementById('style-form'));
}
}
</script>
<form action="<?php echo JRoute::_('index.php?option=com_templates&layout=edit&id='.(int) $this->item->id); ?>" method="post" name="adminForm" id="style-form" class="form-validate">
<div class="width-60 fltlft">
<fieldset class="adminform">
<legend><?php echo JText::_('JDETAILS');?></legend>
<ul class="adminformlist">
<li><?php echo $this->form->getLabel('title'); ?>
<?php echo $this->form->getInput('title'); ?></li>
<li><?php echo $this->form->getLabel('template'); ?>
<?php echo $this->form->getInput('template'); ?>
<?php echo $this->form->getLabel('client_id'); ?>
<?php echo $this->form->getInput('client_id'); ?>
<input type="text" size="35" value="<?php echo $this->item->client_id == 0 ? JText::_('JSITE') : JText::_('JADMINISTRATOR'); ?> " class="readonly" readonly="readonly" /></li>
<li><?php echo $this->form->getLabel('home'); ?>
<?php echo $this->form->getInput('home'); ?></li>
<?php if ($this->item->id) : ?>
<li><?php echo $this->form->getLabel('id'); ?>
<span class="readonly"><?php echo $this->item->id; ?></span></li>
<?php endif; ?>
</ul>
<div class="clr"></div>
<?php if ($this->item->xml) : ?>
<?php if ($text = trim($this->item->xml->description)) : ?>
<label>
<?php echo JText::_('COM_TEMPLATES_TEMPLATE_DESCRIPTION'); ?>
</label>
<span class="readonly mod-desc"><?php echo JText::_($text); ?></span>
<?php endif; ?>
<?php else : ?>
<p class="error"><?php echo JText::_('COM_TEMPLATES_ERR_XML'); ?></p>
<?php endif; ?>
<div class="clr"></div>
</fieldset>
<input type="hidden" name="task" value="" />
<?php echo JHtml::_('form.token'); ?>
</div>
<div class="width-40 fltrt">
<?php echo JHtml::_('sliders.start', 'template-sliders-'.$this->item->id); ?>
<?php //get the menu parameters that are automatically set but may be modified.
echo $this->loadTemplate('options'); ?>
<div class="clr"></div>
<?php echo JHtml::_('sliders.end'); ?>
</div>
<?php if ($user->authorise('core.edit', 'com_menu') && $this->item->client_id == 0):?>
<?php if ($this->canDo->get('core.edit.state')) : ?>
<div class="width-60 fltlft">
<?php echo $this->loadTemplate('assignment'); ?>
</div>
<?php endif; ?>
<?php endif;?>
<div class="clr"></div>
</form>