diff --git a/README.md b/README.md index ea4cdd5d..a53bd5d5 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ Mods for HESK is a set of modifications for [HESK](https://www.hesk.com) v2.7.x,
' . $hesklang['owner'] . '
'; - if (hesk_checkPermission('can_assign_others', 0)) { + if (hesk_checkPermission('can_assign_others', 0) || $isManager) { echo '
-
-
-
-
-
-
-
-
-
-
- ">
+
-
+
@@ -172,12 +137,10 @@ function createEditModal($template, $features, $categories)
{
global $hesklang;
- $showNotice = true;
$disabled = 'checked="checked" disabled';
$enabledFeatures = array();
$enabledCategories = array();
if ($template['heskprivileges'] != 'ALL') {
- $showNotice = false;
$disabled = '';
$enabledFeatures = explode(',', $template['heskprivileges']);
$enabledCategories = explode(',', $template['categories']);
@@ -187,30 +150,23 @@ function createEditModal($template, $features, $categories)
aria-labelledby="myLargeModalLabel" aria-hidden="true">
|