diff --git a/www/templates/nntmux/views/frontend/forumpost.tpl b/www/templates/nntmux/views/frontend/forumpost.tpl
index 8382fc526..8da10ba0f 100644
--- a/www/templates/nntmux/views/frontend/forumpost.tpl
+++ b/www/templates/nntmux/views/frontend/forumpost.tpl
@@ -23,7 +23,7 @@
{$result.username}
{/if}
on {$result.createddate|date_format} ({$result.createddate|timeago})
- {if $userdata.role==2}
+ {if $isadmin}
diff --git a/www/templates/nntmux/views/frontend/profile.tpl b/www/templates/nntmux/views/frontend/profile.tpl
index dbe2fd0c0..f77f1f2e0 100644
--- a/www/templates/nntmux/views/frontend/profile.tpl
+++ b/www/templates/nntmux/views/frontend/profile.tpl
@@ -8,15 +8,15 @@
| Last Login: | {$user.lastlogin|date_format} ({$user.lastlogin|timeago} ago) |
| Role: | {$user.rolename} |
| Theme: | {$user.style} |
- {if $userdata.role==2}| Notes: | {$user.notes|escape:htmlall}{if $user.notes|count_characters > 0} {/if}Add/Edit |
{/if}
+ {if $isadmin}| Notes: | {$user.notes|escape:htmlall}{if $user.notes|count_characters > 0} {/if}Add/Edit |
{/if}
{if $isadmin || !$publicview}| Site Api/Rss Key: | {$user.rsstoken} |
{/if}
{if $isadmin || !$publicview}
- | API Hits Today: | {$apirequests.num} {if $userdata.role==2 && $apirequests.num > 0}Reset{/if} |
- | Grabs Today: | {$grabstoday.num} {if $grabstoday.num >= $user.downloadrequests} (Next DL in {($grabstoday.nextdl/3600)|intval}h {($grabstoday.nextdl/60) % 60}m){/if}{if $userdata.role==2 && $grabstoday.num > 0}Reset{/if} |
+ | API Hits Today: | {$apirequests.num} {if $isadmin && $apirequests.num > 0}Reset{/if} |
+ | Grabs Today: | {$user.grabs} {if $user.grabs >= $user.downloadrequests} (Next DL in {($grabstoday.nextdl/3600)|intval}h {($grabstoday.nextdl/60) % 60}m){/if}{if $isadmin && $user.grabs > 0}Reset{/if} |
{/if}
| Grabs Total: | {$user.grabs} |
- {if ($user.id==$userdata.id || $userdata.role==2) && $site->registerstatus==1}
+ {if ($user.id==$userdata.id || $isadmin) && $site->registerstatus==1}
| Invites: |
{$user.invites}
@@ -91,7 +91,7 @@
-{if $userdata.role==2 && $downloadlist|@count > 0}
+{if $isadmin && $downloadlist|@count > 0}
Downloads for User
diff --git a/www/templates/omicron/views/frontend/profile.tpl b/www/templates/omicron/views/frontend/profile.tpl
index f60696ab0..055b709e1 100644
--- a/www/templates/omicron/views/frontend/profile.tpl
+++ b/www/templates/omicron/views/frontend/profile.tpl
@@ -83,7 +83,7 @@
| API Hits Today |
- {$apirequests.num} {if $userdata.role==2 && $apirequests.num > 0}
+ {$apirequests.num} {if $isadmin && $apirequests.num > 0}
@@ -91,12 +91,12 @@
|
| Downloads Today |
- {$grabstoday.num} /
- Unlimited {if $grabstoday.num >= $user.downloadrequests}
+ | {$user.grabs} /
+ Unlimited {if $user.grabs >= $user.downloadrequests}
(Next DL
in {($grabstoday.nextdl/3600)|intval}
h {($grabstoday.nextdl/60) % 60}
- m){/if}{if $userdata.role==2 && $grabstoday.num > 0}
+ m){/if}{if $isadmin && $user.grabs > 0}
| |