#169 Show link to other tools pages
This commit is contained in:
parent
61fed97bfe
commit
0fce992568
@ -89,6 +89,15 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
|||||||
<a title="' . $hesklang['sm_title'] . '" href="service_messages.php">' . $hesklang['sm_title'] . '</a>
|
<a title="' . $hesklang['sm_title'] . '" href="service_messages.php">' . $hesklang['sm_title'] . '</a>
|
||||||
</li>';
|
</li>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Show a link to email tpl management if user has permission to do so
|
||||||
|
if (hesk_checkPermission('can_man_email_tpl', 0)) {
|
||||||
|
echo '
|
||||||
|
<li role="presentation">
|
||||||
|
<a title="'.$hesklang['email_templates'].'" href="manage_email_templates.php">'.$hesklang['email_templates'].'</a>
|
||||||
|
</li>
|
||||||
|
';
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="tab-content summaryList tabPadding">
|
<div class="tab-content summaryList tabPadding">
|
||||||
|
@ -92,6 +92,15 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
|||||||
<a title="' . $hesklang['sm_title'] . '" href="service_messages.php">' . $hesklang['sm_title'] . '</a>
|
<a title="' . $hesklang['sm_title'] . '" href="service_messages.php">' . $hesklang['sm_title'] . '</a>
|
||||||
</li>';
|
</li>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Show a link to email tpl management if user has permission to do so
|
||||||
|
if (hesk_checkPermission('can_man_email_tpl', 0)) {
|
||||||
|
echo '
|
||||||
|
<li role="presentation">
|
||||||
|
<a title="'.$hesklang['email_templates'].'" href="manage_email_templates.php">'.$hesklang['email_templates'].'</a>
|
||||||
|
</li>
|
||||||
|
';
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="tab-content summaryList tabPadding">
|
<div class="tab-content summaryList tabPadding">
|
||||||
|
@ -77,6 +77,7 @@ $hesk_settings['features'] = array(
|
|||||||
'can_ban_ips', /* User can ban IP addresses */
|
'can_ban_ips', /* User can ban IP addresses */
|
||||||
'can_unban_ips', /* User can delete IP bans. Also enables "can_ban_ips" */
|
'can_unban_ips', /* User can delete IP bans. Also enables "can_ban_ips" */
|
||||||
'can_service_msg', /* User can manage service messages shown in customer interface */
|
'can_service_msg', /* User can manage service messages shown in customer interface */
|
||||||
|
'can_man_email_tpl', /* User can manage email templates */
|
||||||
);
|
);
|
||||||
|
|
||||||
/* Set default values */
|
/* Set default values */
|
||||||
|
@ -92,6 +92,16 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
|||||||
<li role="presentation" class="active">
|
<li role="presentation" class="active">
|
||||||
<a href="#"><?php echo $hesklang['sm_title']; ?> <i class="fa fa-question-circle settingsquestionmark" onclick="javascript:alert('<?php echo hesk_makeJsString($hesklang['sm_intro']); ?>')"></i></a>
|
<a href="#"><?php echo $hesklang['sm_title']; ?> <i class="fa fa-question-circle settingsquestionmark" onclick="javascript:alert('<?php echo hesk_makeJsString($hesklang['sm_intro']); ?>')"></i></a>
|
||||||
</li>
|
</li>
|
||||||
|
<?php
|
||||||
|
// Show a link to email tpl management if user has permission to do so
|
||||||
|
if (hesk_checkPermission('can_man_email_tpl', 0)) {
|
||||||
|
echo '
|
||||||
|
<li role="presentation">
|
||||||
|
<a title="'.$hesklang['email_templates'].'" href="manage_email_templates.php">'.$hesklang['email_templates'].'</a>
|
||||||
|
</li>
|
||||||
|
';
|
||||||
|
}
|
||||||
|
?>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="tab-content summaryList tabPadding">
|
<div class="tab-content summaryList tabPadding">
|
||||||
<script language="javascript" type="text/javascript"><!--
|
<script language="javascript" type="text/javascript"><!--
|
||||||
|
@ -45,6 +45,7 @@ $hesklang['ticket_priority'] = 'Ticket priority';
|
|||||||
$hesklang['custom_field_x'] = 'Custom field %s'; // %s: Custom field #1-20
|
$hesklang['custom_field_x'] = 'Custom field %s'; // %s: Custom field #1-20
|
||||||
$hesklang['email_template_saved'] = 'The email template <b>%s</b> has been saved.'; // %s: Template file name
|
$hesklang['email_template_saved'] = 'The email template <b>%s</b> has been saved.'; // %s: Template file name
|
||||||
$hesklang['error_saving_template'] = 'An error occurred when trying to save the email template!';
|
$hesklang['error_saving_template'] = 'An error occurred when trying to save the email template!';
|
||||||
|
$hesklang['can_man_email_tpl'] = 'Edit email templates';
|
||||||
$hesklang['email_template_directory_not_writable'] = 'The email template <b>%s</b> is not writable by HESK. Please CHMOD it to 0666.'; // %s: template file name
|
$hesklang['email_template_directory_not_writable'] = 'The email template <b>%s</b> is not writable by HESK. Please CHMOD it to 0666.'; // %s: template file name
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user