first commit
This commit is contained in:
32
administrator/tmpl/firmatipo/default.php
Normal file
32
administrator/tmpl/firmatipo/default.php
Normal file
@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/**
|
||||
* @version CVS: 1.0.0
|
||||
* @package Com_Anand
|
||||
* @author Super User <dev@component-creator.com>
|
||||
* @copyright 2023 Super User
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
// No direct access
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use \Joomla\CMS\HTML\HTMLHelper;
|
||||
use \Joomla\CMS\Factory;
|
||||
use \Joomla\CMS\Uri\Uri;
|
||||
use \Joomla\CMS\Router\Route;
|
||||
use \Joomla\CMS\Language\Text;
|
||||
use \Joomla\CMS\Session\Session;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
|
||||
?>
|
||||
|
||||
<div class="item_fields">
|
||||
|
||||
<table class="table">
|
||||
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
55
administrator/tmpl/firmatipo/edit.php
Normal file
55
administrator/tmpl/firmatipo/edit.php
Normal file
@ -0,0 +1,55 @@
|
||||
<?php
|
||||
/**
|
||||
* @version CVS: 1.0.0
|
||||
* @package Com_Highlights
|
||||
* @author Eddy Prosperi <eddy.prosperi@protocollicreativi.it>
|
||||
* @copyright 2024 Eddy Prosperi
|
||||
* @license GNU General Public License versione 2 o successiva; vedi LICENSE.txt
|
||||
*/
|
||||
|
||||
// No direct access
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use \Joomla\CMS\HTML\HTMLHelper;
|
||||
use \Joomla\CMS\Factory;
|
||||
use \Joomla\CMS\Uri\Uri;
|
||||
use \Joomla\CMS\Router\Route;
|
||||
use \Joomla\CMS\Language\Text;
|
||||
|
||||
$wa = $this->document->getWebAssetManager();
|
||||
$wa->useScript('keepalive')
|
||||
->useScript('form.validate');
|
||||
HTMLHelper::_('bootstrap.tooltip');
|
||||
?>
|
||||
|
||||
<form
|
||||
action="<?php echo Route::_('index.php?option=com_circolari&layout=edit&id=' . (int) $this->item->id); ?>"
|
||||
method="post" enctype="multipart/form-data" name="adminForm" id="etichetta-form" class="form-validate form-horizontal">
|
||||
|
||||
|
||||
<?php echo HTMLHelper::_('uitab.startTabSet', 'myTab', array('active' => 'etichetta')); ?>
|
||||
<?php echo HTMLHelper::_('uitab.addTab', 'myTab', 'etichetta', Text::_('COM_CIRCOLARI_TAB_ETICHETTA', true)); ?>
|
||||
<div class="row-fluid">
|
||||
<div class="col-md-12 form-horizontal">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo Text::_('COM_CIRCOLARI_FIELDSET_ETICHETTA'); ?></legend>
|
||||
<?php echo $this->form->renderField('nome'); ?>
|
||||
<?php echo $this->form->renderField('lingua'); ?>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
<?php echo HTMLHelper::_('uitab.endTab'); ?>
|
||||
<input type="hidden" name="jform[id]" value="<?php echo isset($this->item->id) ? $this->item->id : ''; ?>" />
|
||||
|
||||
<input type="hidden" name="jform[state]" value="<?php echo isset($this->item->state) ? $this->item->state : ''; ?>" />
|
||||
|
||||
<?php echo $this->form->renderField('created_by'); ?>
|
||||
<?php echo $this->form->renderField('modified_by'); ?>
|
||||
|
||||
|
||||
<?php echo HTMLHelper::_('uitab.endTabSet'); ?>
|
||||
|
||||
<input type="hidden" name="task" value=""/>
|
||||
<?php echo HTMLHelper::_('form.token'); ?>
|
||||
|
||||
</form>
|
||||
Reference in New Issue
Block a user