Spade

Mini Shell

Directory:~$ /home/lmsyaran/www/administrator/components/com_helpdeskpro/View/Status/tmpl/
Upload File

[Home] [System Details] [Kill Me]
Current File:~$ /home/lmsyaran/www/administrator/components/com_helpdeskpro/View/Status/tmpl/default.php

<?php
/**
 * @version        4.3.0
 * @package        Joomla
 * @subpackage     Helpdesk Pro
 * @author         Tuan Pham Ngoc
 * @copyright      Copyright (C) 2013 - 2021 Ossolution Team
 * @license        GNU/GPL, see LICENSE.php
 */

defined('_JEXEC') or die;

use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Multilanguage;
use Joomla\CMS\Language\Text;

if (!HelpdeskproHelper::isJoomla4())
{
	HTMLHelper::_('formbehavior.chosen', 'select');
}

if (HelpdeskproHelper::isJoomla4())
{
	$tabApiPrefix = 'uitab.';
}
else
{
	$tabApiPrefix = 'bootstrap.';
}

$translatable = Multilanguage::isEnabled() &&
count($this->languages);
?>
<form
action="index.php?option=com_helpdeskpro&view=status"
method="post" name="adminForm" id="adminForm"
class="form form-horizontal">
    <?php
        if ($translatable)
        {
            echo HTMLHelper::_($tabApiPrefix . 'startTabSet',
'status', array('active' =>
'general-page'));
            echo HTMLHelper::_($tabApiPrefix . 'addTab',
'status', 'general-page',
Text::_('HDP_GENERAL', true));
        }
    ?>
        <div class="control-group">
            <div class="control-label">
                <?php echo Text::_('HDP_TITLE'); ?>
            </div>
            <div class="controls">
                <input class="form-control"
type="text" name="title" id="title"
size="40" maxlength="250"
                       value="<?php echo $this->item->title;
?>"/>
            </div>
        </div>
        <div class="control-group">
            <div class="control-label">
                <?php echo Text::_('HDP_PUBLISHED'); ?>
            </div>
            <div class="controls">
                <?php echo $this->lists['published'];
?>
            </div>
        </div>
		<?php
		if ($translatable)
		{
			echo HTMLHelper::_($tabApiPrefix . 'endTab');
			echo $this->loadTemplate('translation');
			echo HTMLHelper::_($tabApiPrefix . 'endTabSet');
		}
		?>
		<?php echo HTMLHelper::_('form.token'); ?>
		<input type="hidden" name="id"
value="<?php echo $this->item->id; ?>"/>
		<input type="hidden" name="task"
value=""/>
</form>