-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
- {if isset($RESULT_OF_MODIFYING) and $RESULT_OF_MODIFYING eq "SUCCESS"}
-
- {$modify_mail_of_group_success}
-
- {/if}
+ {if isset($RESULT_OF_MODIFYING) and $RESULT_OF_MODIFYING eq "SUCCESS"}
+
+ {$modify_mail_of_group_success}
+
+ {/if}
-
-
-
-
-
+
+
+
+
+
-
-{else}
-
-
-
- Domain ID |
- Domain Name |
- Status |
- Patch Version |
- Description |
-
-
-
- {if isset($hook_info['Domain_Management']['domains'][0])}
- {foreach from=$hook_info['Domain_Management']['domains'] item=array}
-
- {$array['domain_id']} |
- {$array['domain_name']} |
- {$array['status']} |
- {$array['patch_version']} |
- {$array['description']|truncate} |
-
- {/foreach}
- {/if}
-
-
-{/if}
+
+ {else}
+
+
+
+ Domain ID |
+ Domain Name |
+ Status |
+ Patch Version |
+ Description |
+
+
+
+ {if isset($hook_info['Domain_Management']['domains'][0])}
+ {foreach from=$hook_info['Domain_Management']['domains'] item=array}
+
+ {$array['domain_id']} |
+ {$array['domain_name']} |
+ {$array['status']} |
+ {$array['patch_version']} |
+ {$array['description']|truncate} |
+
+ {/foreach}
+ {/if}
+
+
+ {/if}
+{/if}
{/block}
diff --git a/code/web/public_php/ams/templates/layout_admin.tpl b/code/web/public_php/ams/templates/layout_admin.tpl
index be6bd0765..d1d0901c5 100644
--- a/code/web/public_php/ams/templates/layout_admin.tpl
+++ b/code/web/public_php/ams/templates/layout_admin.tpl
@@ -1,5 +1,6 @@
{extends file="layout.tpl"}
{block name=menu}
+{if $permission eq 3}
Dashboard
Profile
@@ -14,5 +15,6 @@
Plugins
Syncing
Logout
+{/if}
{/block}
diff --git a/code/web/public_php/ams/templates/layout_mod.tpl b/code/web/public_php/ams/templates/layout_mod.tpl
index 63b992d3f..f5cc950b1 100644
--- a/code/web/public_php/ams/templates/layout_mod.tpl
+++ b/code/web/public_php/ams/templates/layout_mod.tpl
@@ -1,5 +1,6 @@
{extends file="layout.tpl"}
{block name=menu}
+{if $permission > 1}
Dashboard
Profile
@@ -10,6 +11,7 @@
Queues
Support Groups
-
Logout
+
+{/if}
Logout
{/block}
diff --git a/code/web/public_php/ams/templates/layout_user.tpl b/code/web/public_php/ams/templates/layout_user.tpl
index 800058bfa..845436e94 100644
--- a/code/web/public_php/ams/templates/layout_user.tpl
+++ b/code/web/public_php/ams/templates/layout_user.tpl
@@ -3,7 +3,7 @@
Profile
Settings
- {if isset($hook_info)} {foreach from=$hook_info key=arrkey item=element}
{$element.menu_display}{/foreach}{/if}
+ {if isset($hook_info)} {foreach from=$hook_info key=arrkey item=element}{if isset($element.user_display)}
{$element.user_display}{/if}{/foreach}{/if}
Create New Ticket
Logout