gestione categorie interne & fix
This commit is contained in:
32
administrator/tmpl/categoria/default.php
Normal file
32
administrator/tmpl/categoria/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>
|
||||
|
||||
42
administrator/tmpl/categoria/edit.php
Normal file
42
administrator/tmpl/categoria/edit.php
Normal file
@ -0,0 +1,42 @@
|
||||
<?php
|
||||
/**
|
||||
* @version 1.1.4
|
||||
* @package Com_Circolari
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\HTML\HTMLHelper;
|
||||
use Joomla\CMS\Router\Route;
|
||||
|
||||
HTMLHelper::_('behavior.keepalive');
|
||||
HTMLHelper::_('behavior.core');
|
||||
?>
|
||||
<form action="<?php echo Route::_('index.php?option=com_circolari&view=categoria&layout=edit&id=' . (int) ($this->item->id ?? 0)); ?>"
|
||||
method="post"
|
||||
name="adminForm"
|
||||
id="adminForm"
|
||||
class="form-validate">
|
||||
|
||||
<?php echo HTMLHelper::_('uitab.startTabSet', 'categoriaTab', ['active' => 'details']); ?>
|
||||
<?php echo HTMLHelper::_('uitab.addTab', 'categoriaTab', 'details', JText::_('COM_CIRCOLARI_TITLE_CATEGORIA')); ?>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-9 col-md-8">
|
||||
<?php echo $this->form->renderField('title'); ?>
|
||||
<?php echo $this->form->renderField('alias'); ?>
|
||||
<?php echo $this->form->renderField('description'); ?>
|
||||
</div>
|
||||
<div class="col-lg-3 col-md-4">
|
||||
<?php echo $this->form->renderField('state'); ?>
|
||||
<?php echo $this->form->renderField('ordering'); ?>
|
||||
<?php echo $this->form->renderField('id'); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php echo HTMLHelper::_('uitab.endTab'); ?>
|
||||
<?php echo HTMLHelper::_('uitab.endTabSet'); ?>
|
||||
|
||||
<input type="hidden" name="task" value=""/>
|
||||
<?php echo HTMLHelper::_('form.token'); ?>
|
||||
</form>
|
||||
Reference in New Issue
Block a user