diff --git a/code/web/private_php/ams/plugins/Domain_Management/templates/index.tpl b/code/web/private_php/ams/plugins/Domain_Management/templates/index.tpl
index 0f7e208ac..174ee0639 100644
--- a/code/web/private_php/ams/plugins/Domain_Management/templates/index.tpl
+++ b/code/web/private_php/ams/plugins/Domain_Management/templates/index.tpl
@@ -1,211 +1,213 @@
{block name=content}
-{if isset($smarty.get.edit_domain)}
-
-
-
-
-
-
-
-
-
-
- User ID |
- Username |
- Permissions |
- |
-
-
-
- {foreach from=$hook_info['Domain_Management']['userlist'] item=element}
-
- {$element.id} |
- {$element.username} |
- {$hook_info['Domain_Management']['permissions'][{$element.id}-1]['AccessPrivilege']} |
-
-
- |
-
- {/foreach}
-
-
-
-
-
-
-
-
-
-
-
-
-{else}
-
+
+
+
+
- Domain ID |
- Domain Name |
- Status |
- Patch Version |
- Description |
+ User ID |
+ Username |
+ Permissions |
+ |
-
- {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}
+
+ {foreach from=$hook_info['Domain_Management']['userlist'] item=element}
+
+ {$element.id} |
+ {$element.username} |
+ {$hook_info['Domain_Management']['permissions'][{$element.id}-1]['AccessPrivilege']} |
+
+
+ |
+
+ {/foreach}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-{/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