File manager - Edit - /home/jardides/www/Jardi-design/administrator/components/com_templateck/views/font/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 == 'font.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&view=font&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 $this->item->fontfamilies; ?></legend> <ul class="adminformlist"> <?php echo $this->form->getInput('id'); ?> <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('published'); ?> <?php echo $this->form->getInput('published','',$this->item->published); ?></li> <li><?php echo $this->form->getLabel('subset'); ?> <?php echo $this->form->getInput('subset','',$this->item->subset); ?></li> <li><?php echo $this->form->getLabel('alternatives'); ?> <?php echo $this->form->getInput('alternatives','',$this->item->alternatives ); ?></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.01 |
proxy
|
phpinfo
|
Settings