first commit
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
/**
|
||||
* @version CVS: 1.0.0
|
||||
* @package Com_Dvtr_employees
|
||||
* @author Pawel Potoniec <pawel@devatri.pl>
|
||||
* @copyright 2025 Pawel Potoniec
|
||||
|
||||
*/
|
||||
|
||||
// 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_dvtr_employees&layout=edit&id=' . (int) $this->item->id); ?>"
|
||||
method="post" enctype="multipart/form-data" name="adminForm" id="employee-form" class="form-validate form-horizontal">
|
||||
|
||||
|
||||
<?php echo HTMLHelper::_('uitab.startTabSet', 'myTab', array('active' => 'employee')); ?>
|
||||
<?php echo HTMLHelper::_('uitab.addTab', 'myTab', 'employee', Text::_('COM_DVTR_EMPLOYEES_TAB_EMPLOYEE', true)); ?>
|
||||
<div class="row-fluid">
|
||||
<div class="col-md-12 form-horizontal">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo Text::_('COM_DVTR_EMPLOYEES_FIELDSET_EMPLOYEE'); ?></legend>
|
||||
<?php echo $this->form->renderField('name'); ?>
|
||||
<?php echo $this->form->renderField('contact_data'); ?>
|
||||
<?php echo $this->form->renderField('position'); ?>
|
||||
<?php echo $this->form->renderField('description'); ?>
|
||||
<?php echo $this->form->renderField('avatar'); ?>
|
||||
<?php echo $this->form->renderField('achievements'); ?>
|
||||
<?php echo $this->form->renderField('achievements_label'); ?>
|
||||
<?php echo $this->form->renderField('publications'); ?>
|
||||
<?php echo $this->form->renderField('social_linkedin'); ?>
|
||||
<?php echo $this->form->renderField('social_facebook'); ?>
|
||||
<?php echo $this->form->renderField('social_instagram'); ?>
|
||||
<?php echo $this->form->renderField('social_twitter'); ?>
|
||||
<?php echo $this->form->renderField('alias'); ?>
|
||||
<?php echo $this->form->renderField('language'); ?>
|
||||
<?php echo $this->form->renderField('url'); ?>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
<?php echo HTMLHelper::_('uitab.endTab'); ?>
|
||||
<input type="hidden" name="jform[id]" value="<?php echo isset($this->item->id) ? $this->item->id : ''; ?>" />
|
||||
|
||||
<?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