File manager - Edit - /home/jardides/www/Jardi-design/administrator/components/com_templateck/views/templateinfos/tmpl/edit.php
Back
<?php /** * @name Template Creator CK 3 * @package com_templateck * @copyright Copyright (C) 2013. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @author Cedric Keiflin - http://www.template-creator.com - http://www.joomlack.fr */ // no direct access defined('_JEXEC') or die; //JHtml::_('behavior.tooltip'); JHtml::_('behavior.formvalidation'); // Import CSS $document = JFactory::getDocument(); $document->addStyleSheet('components/com_templateck/assets/css/templateck.css'); ?> <script type="text/javascript"> Joomla.submitbutton = function(task) { if (task == 'templateinfos.cancel' || document.formvalidator.isValid(document.id('template-form'))) { document.id('jform_name').value = document.id('jform_name').value.toLowerCase().replace(/\s/g, ""); // document.id('jform_name').value = document.id('jform_name').value.toLowerCase(); Joomla.submitform(task, document.getElementById('template-form')); } else { alert('<?php echo $this->escape(JText::_('JGLOBAL_VALIDATION_FORM_FAILED')); ?>'); } } </script> <form action="<?php echo JRoute::_('index.php?option=com_templateck&layout=edit&id=' . (int) $this->item->id); ?>" method="post" name="adminForm" id="template-form" class="form-validate"> <div class="width-60 fltlft"> <fieldset class="adminform"> <legend><?php echo JText::_('COM_TEMPLATECK_LEGEND_TEMPLATE'); ?></legend> <ul class="adminformlist"> <?php echo $this->form->getInput('id'); ?> <li><?php echo $this->form->getLabel('joomlaversion'); ?> <div class="clr"></div><?php echo $this->form->getInput('joomlaversion','',($this->item->joomlaversion ? $this->item->joomlaversion : $this->state->get('params')->get('joomlaversion')) ); ?></li> <li><?php echo $this->form->getLabel('name'); ?> <div class="clr"></div><?php echo $this->form->getInput('name', '', ($this->item->name ? $this->item->name : $this->state->get('params')->get('name'))); ?></li> <li><?php echo $this->form->getLabel('creationdate'); ?> <?php echo $this->form->getInput('creationdate','',($this->item->creationdate ? $this->item->creationdate : $this->state->get('params')->get('creationdate'))); ?></li> <li><?php echo $this->form->getLabel('author'); ?> <?php echo $this->form->getInput('author','',($this->item->author ? $this->item->author : $this->state->get('params')->get('author'))); ?></li> <li><?php echo $this->form->getLabel('authoremail'); ?> <?php echo $this->form->getInput('authoremail','',($this->item->authoremail ? $this->item->authoremail : $this->state->get('params')->get('authoremail'))); ?></li> <li><?php echo $this->form->getLabel('authorurl'); ?> <?php echo $this->form->getInput('authorurl','',($this->item->authorurl ? $this->item->authorurl : $this->state->get('params')->get('authorurl'))); ?></li> <li><?php echo $this->form->getLabel('copyright'); ?> <?php echo $this->form->getInput('copyright','',($this->item->copyright ? $this->item->copyright : $this->state->get('params')->get('copyright'))); ?></li> <li><?php echo $this->form->getLabel('license'); ?> <?php echo $this->form->getInput('license','',($this->item->license ? $this->item->license : $this->state->get('params')->get('license'))); ?></li> <li><?php echo $this->form->getLabel('version'); ?> <?php echo $this->form->getInput('version','',($this->item->version ? $this->item->version : $this->state->get('params')->get('version'))); ?></li> <li><?php echo $this->form->getLabel('description'); ?> <?php echo $this->form->getInput('description','',($this->item->description ? $this->item->description : $this->state->get('params')->get('description'))); ?></li> </ul> </fieldset> </div> <input type="hidden" name="task" value="" /> <?php echo JHtml::_('form.token'); ?> <div class="clr"></div> <style type="text/css"> /* Temporary fix for drifting editor fields */ .adminformlist li { clear: both; } </style> </form>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings