| 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/a/w/e/awebpaca/blog/administrator/templates/hathor/html/com_menus/menu/ |
Upload File : |
<?php
/**
* @package Joomla.Administrator
* @subpackage Template.hathor
*
* @copyright Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
// Include the component HTML helpers.
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
JHtml::_('behavior.formvalidator');
JText::script('ERROR');
JFactory::getDocument()->addScriptDeclaration("
Joomla.submitbutton = function(task)
{
var form = document.getElementById('item-form');
if (task == 'menu.cancel' || document.formvalidator.isValid(form))
{
Joomla.submitform(task, form);
}
};
");
?>
<div class="menu-edit">
<form action="<?php echo JRoute::_('index.php?option=com_menus&layout=edit&id='.(int) $this->item->id); ?>" method="post" name="adminForm" id="item-form">
<div class="col main-section">
<fieldset class="adminform">
<legend><?php echo JText::_('COM_MENUS_MENU_DETAILS');?></legend>
<ul class="adminformlist">
<li><?php echo $this->form->getLabel('title'); ?>
<?php echo $this->form->getInput('title'); ?></li>
<li><?php echo $this->form->getLabel('menutype'); ?>
<?php echo $this->form->getInput('menutype'); ?></li>
<li><?php echo $this->form->getLabel('description'); ?>
<?php echo $this->form->getInput('description'); ?></li>
<li><?php echo $this->form->getLabel('client_id'); ?>
<?php echo $this->form->getInput('client_id'); ?></li>
</ul>
</fieldset>
</div>
<div class="clr"></div>
<?php if ($this->canDo->get('core.admin')) : ?>
<div class="col rules-section">
<?php echo JHtml::_('sliders.start', 'permissions-sliders-' . $this->item->id, array('useCookie' => 1)); ?>
<?php echo JHtml::_('sliders.panel', JText::_('COM_MENUS_FIELDSET_RULES'), 'access-rules'); ?>
<fieldset class="panelform">
<legend class="element-invisible"><?php echo JText::_('COM_CONTENT_FIELDSET_RULES'); ?></legend>
<?php echo $this->form->getLabel('rules'); ?>
<?php echo $this->form->getInput('rules'); ?>
</fieldset>
<?php echo JHtml::_('sliders.end'); ?>
</div>
<?php endif; ?>
<input type="hidden" name="task" value="" />
<?php echo JHtml::_('form.token'); ?>
</form>
<div class="clr"></div>
</div>