Spade

Mini Shell

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

[Home] [System Details] [Kill Me]
Current File:~$ /home/lmsyaran/www/administrator/components/com_helpdeskpro/View/Email/tmpl/default_translation.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
 */

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

$rootUri = Uri::root();

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

echo HTMLHelper::_($tabApiPrefix . 'addTab', 'email',
'translation-page', Text::_('HDP_TRANSLATION', true));
echo HTMLHelper::_($tabApiPrefix . 'startTabSet',
'email-translation', array('active' =>
'translation-page-'.$this->languages[0]->sef));

foreach ($this->languages as $language)
{
	$sef = $language->sef;
	echo HTMLHelper::_($tabApiPrefix . 'addTab',
'email-translation', 'translation-page-' . $sef,
$language->title . ' <img src="' . $rootUri .
'media/com_helpdeskpro/assets/flags/' . $sef . '.png"
/>');
	?>
    <div class="control-group">
        <div class="control-label">
			<?php echo Text::_('HDP_NEW_TICKET_ADMIN_EMAIL_SUBJECT');
?>
        </div>
        <div class="controls">
			<?php
			$fieldName = 'new_ticket_admin_email_subject_' . $sef;
			?>
            <input type="text" name="<?php echo
$fieldName; ?>" class="input-xxlarge form-control"
                   value="<?php echo
$this->item->{$fieldName}; ?>" size="50"/>
        </div>
    </div>
    <div class="control-group">
        <div class="control-label">
			<?php echo Text::_('HDP_NEW_TICKET_ADMIN_EMAIL_BODY');
?>
        </div>
        <div class="controls">
			<?php $fieldName = 'new_ticket_admin_email_body_' . $sef;
?>
			<?php echo $editor->display($fieldName,
$this->item->{$fieldName}, '100%', '250',
'75', '8'); ?>
        </div>
    </div>
    <div class="control-group">
        <div class="control-label">
			<?php echo Text::_('HDP_NEW_TICKET_USER_EMAIL_SUBJECT');
?>
        </div>
        <div class="controls">
			<?php $fieldName = 'new_ticket_user_email_subject_' . $sef;
?>
            <input type="text" name="<?php echo
$fieldName; ?>" class="input-xxlarge form-control"
                   value="<?php echo
$this->item->{$fieldName}; ?>" size="50"/>
        </div>
    </div>
    <div class="control-group">
        <div class="control-label">
			<?php echo Text::_('HDP_NEW_TICKET_USER_EMAIL_BODY');
?>
        </div>
        <div class="controls">
			<?php $fieldName = 'new_ticket_user_email_body_' . $sef;
?>
			<?php echo $editor->display($fieldName,
$this->item->{$fieldName}, '100%', '250',
'75', '8'); ?>
        </div>
    </div>
    <div class="control-group">
        <div class="control-label">
			<?php echo
Text::_('HDP_TICKET_UPDATED_ADMIN_EMAIL_SUBJECT'); ?>
        </div>
        <div class="controls">
			<?php $fieldName = 'ticket_updated_admin_email_subject_' .
$sef; ?>
            <input type="text" name="<?php echo
$fieldName; ?>" class="input-xxlarge form-control"
                   value="<?php echo
$this->item->{$fieldName}; ?>" size="50"/>
        </div>
    </div>
    <div class="control-group">
        <div class="control-label">
			<?php echo Text::_('HDP_TICKET_UPDATED_ADMIN_EMAIL_BODY');
?>
        </div>
        <div class="controls">
			<?php $fieldName = 'ticket_updated_admin_email_body_' .
$sef; ?>
			<?php echo $editor->display($fieldName,
$this->item->{$fieldName}, '100%', '250',
'75', '8'); ?>
        </div>
    </div>
    <div class="control-group">
        <div class="control-label">
			<?php echo
Text::_('HDP_TICKET_UPDATED_USER_EMAIL_SUBJECT'); ?>
        </div>
        <div class="controls">
			<?php $fieldName = 'ticket_updated_user_email_subject_' .
$sef; ?>
            <input type="text" name="<?php echo
$fieldName; ?>" class="input-xxlarge form-control"
                   value="<?php echo
$this->item->{$fieldName}; ?>" size="50"/>
        </div>
    </div>
    <div class="control-group">
        <div class="control-label">
			<?php echo Text::_('HDP_TICKET_UPDATED_USER_EMAIL_BODY');
?>
        </div>
        <div class="controls">
			<?php $fieldName = 'ticket_updated_user_email_body_' .
$sef; ?>
			<?php echo $editor->display($fieldName,
$this->item->{$fieldName}, '100%', '250',
'75', '8'); ?>
        </div>
    </div>
    <div class="control-group">
        <div class="control-label">
			<?php echo Text::_('HDP_TICKET_ASSIGN_EMAIL_SUBJECT');
?>
        </div>
        <div class="controls">
			<?php $fieldName = 'ticket_assiged_email_subject_' . $sef;
?>
            <input type="text" name="<?php echo
$fieldName; ?>" class="input-xxlarge form-control"
                   value="<?php echo
$this->item->{$fieldName}; ?>" size="50"/>
        </div>
    </div>
    <div class="control-group">
        <div class="control-label">
			<?php echo Text::_('HDP_TICKET_ASSIGN_EMAIL_BODY'); ?>
        </div>
        <div class="controls">
			<?php $fieldName = 'ticket_assiged_email_body_' . $sef;
?>
			<?php echo $editor->display($fieldName,
$this->item->{$fieldName}, '100%', '250',
'75', '8'); ?>
        </div>
    </div>
    <div class="control-group">
        <div class="control-label">
			<?php echo Text::_('HDP_TICKET_ASSIGN_EMAIL_SUBJECT');
?>
        </div>
        <div class="controls">
			<?php $fieldName =
'customer_ticket_assigned_email_subject_' . $sef; ?>
            <input type="text" name="<?php echo
$fieldName; ?>" class="input-xxlarge form-control"
                   value="<?php echo
$this->item->{$fieldName}; ?>" size="50"/>
        </div>
    </div>
    <div class="control-group">
        <div class="control-label">
			<?php echo Text::_('HDP_TICKET_ASSIGN_EMAIL_BODY'); ?>
        </div>
        <div class="controls">
			<?php $fieldName = 'customer_ticket_assigned_email_body_' .
$sef; ?>
			<?php echo $editor->display($fieldName,
$this->item->{$fieldName}, '100%', '250',
'75', '8'); ?>
        </div>
    </div>
    <div class="control-group">
        <div class="control-label">
			<?php echo
Text::_('HDP_CUSTOMER_TICKET_ASSIGN_EMAIL_SUBJECT'); ?>
        </div>
        <div class="controls">
			<?php $fieldName =
'customer_ticket_assigned_email_subject_' . $sef; ?>
            <input type="text" name="<?php echo
$fieldName; ?>" class="input-xxlarge form-control"
                   value="<?php echo
$this->item->{$fieldName}; ?>" size="50"/>
        </div>
    </div>
    <div class="control-group">
        <div class="control-label">
			<?php echo
Text::_('HDP_CUSTOMER_TICKET_ASSIGN_EMAIL_BODY'); ?>
        </div>
        <div class="controls">
			<?php $fieldName = 'customer_ticket_assigned_email_body_' .
$sef; ?>
			<?php echo $editor->display($fieldName,
$this->item->{$fieldName}, '100%', '250',
'75', '8'); ?>
        </div>
    </div>
    <div class="control-group">
        <div class="control-label">
			<?php echo
Text::_('HDP_CUSTOMER_TICKET_CLOSED_EMAIL_SUBJECT'); ?>
        </div>
        <div class="controls">
			<?php $fieldName = 'customer_ticket_closed_email_subject_'
. $sef; ?>
            <input type="text" name="<?php echo
$fieldName; ?>" class="input-xxlarge form-control"
                   value="<?php echo
$this->item->{$fieldName}; ?>" size="50"/>
        </div>
    </div>
    <div class="control-group">
        <div class="control-label">
			<?php echo
Text::_('HDP_CUSTOMER_TICKET_CLOSED_EMAIL_BODY'); ?>
        </div>
        <div class="controls">
			<?php $fieldName = 'customer_ticket_closed_email_body_' .
$sef; ?>
			<?php echo $editor->display($fieldName,
$this->item->{$fieldName}, '100%', '250',
'75', '8'); ?>
        </div>
    </div>
    <div class="control-group">
        <div class="control-label">
			<?php echo
Text::_('HDP_MANAGER_TICKET_CLOSED_EMAIL_SUBJECT'); ?>
        </div>
        <div class="controls">
			<?php $fieldName = 'manager_ticket_closed_email_subject_' .
$sef; ?>
            <input type="text" name="<?php echo
$fieldName; ?>" class="input-xxlarge form-control"
                   value="<?php echo
$this->item->{$fieldName}; ?>" size="50"/>
        </div>
    </div>
    <div class="control-group">
        <div class="control-label">
			<?php echo Text::_('HDP_MANAGER_TICKET_CLOSED_EMAIL_BODY');
?>
        </div>
        <div class="controls">
			<?php $fieldName = 'manager_ticket_closed_email_body_' .
$sef; ?>
			<?php echo $editor->display($fieldName,
$this->item->{$fieldName}, '100%', '250',
'75', '8'); ?>
        </div>
    </div>
    <div class="control-group">
        <div class="control-label">
			<?php echo
Text::_('HDP_CUSTOMER_TICKET_STATUS_CHANGED_EMAIL_SUBJECT');
?>
        </div>
        <div class="controls">
			<?php $fieldName =
'customer_ticket_status_changed_email_subject_' . $sef; ?>
            <input type="text" name="<?php echo
$fieldName; ?>" class="input-xxlarge form-control"
                   value="<?php echo
$this->item->{$fieldName}; ?>" size="50"/>
        </div>
    </div>
    <div class="control-group">
        <div class="control-label">
			<?php echo
Text::_('HDP_CUSTOMER_TICKET_STATUS_CHANGED_EMAIL_BODY'); ?>
        </div>
        <div class="controls">
			<?php $fieldName =
'customer_ticket_status_changed_email_body_' . $sef; ?>
			<?php echo $editor->display($fieldName,
$this->item->{$fieldName}, '100%', '250',
'75', '8'); ?>
        </div>
    </div>
    <div class="control-group">
        <div class="control-label">
			<?php echo
Text::_('HDP_MANAGER_TICKET_STATUS_CHANGED_EMAIL_SUBJECT');
?>
        </div>
        <div class="controls">
			<?php $fieldName =
'manager_ticket_status_changed_email_subject_' . $sef; ?>
            <input type="text" name="<?php echo
$fieldName; ?>" class="input-xxlarge form-control"
                   value="<?php echo
$this->item->{$fieldName}; ?>" size="50"/>
        </div>
    </div>
    <div class="control-group">
        <div class="control-label">
			<?php echo
Text::_('HDP_MANAGER_TICKET_STATUS_CHANGED_EMAIL_BODY'); ?>
        </div>
        <div class="controls">
			<?php $fieldName =
'manager_ticket_status_changed_email_body_' . $sef; ?>
			<?php echo $editor->display($fieldName,
$this->item->{$fieldName}, '100%', '250',
'75', '8'); ?>
        </div>
    </div>
	<?php
	echo HTMLHelper::_($tabApiPrefix . 'endTab');
}

echo HTMLHelper::_($tabApiPrefix . 'endTabSet');
echo HTMLHelper::_($tabApiPrefix . 'endTab');