Add custom field header to tools pages

merge-requests/28/head
Mike Koch 8 years ago
parent 47d32be2b8
commit f2774badf1

@ -113,7 +113,7 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
<a title="<?php echo $hesklang['tab_4']; ?>" href="custom_fields.php">
<?php echo $hesklang['tab_4']; ?>
<i class="fa fa-question-circle settingsquestionmark"
onclick="javascript:alert('<?php echo hesk_makeJsString($hesklang['cf_intro']); ?>')"></i>
onclick="alert('<?php echo hesk_makeJsString($hesklang['cf_intro']); ?>')"></i>
</a>
</li>
</ul>

@ -103,6 +103,16 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
</li>
';
}
if (hesk_checkPermission('can_man_settings', 0)) {
echo '
<li role="presentation">
<a title="' . $hesklang['tab_4'] . '" href="custom_fields.php">' .
$hesklang['tab_4']
. '</a>
</li>
';
}
?>
</ul>
<div class="tab-content summaryList tabPadding">

@ -87,6 +87,17 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
title="<?php echo $hesklang['statuses']; ?>"
data-content="<?php echo $hesklang['statuses_intro']; ?>"></i></a>
</li>
<?php
if (hesk_checkPermission('can_man_settings', 0)) {
echo '
<li role="presentation">
<a title="' . $hesklang['tab_4'] . '" href="custom_fields.php">' .
$hesklang['tab_4']
. '</a>
</li>
';
}
?>
</ul>
<div class="tab-content summaryList tabPadding">
<div class="row">

Loading…
Cancel
Save