diff options
author | robocoder <anthon.pang@gmail.com> | 2009-12-04 05:44:39 +0300 |
---|---|---|
committer | robocoder <anthon.pang@gmail.com> | 2009-12-04 05:44:39 +0300 |
commit | e7ba7d04a3e03ede2065d3fa4f8ca59b4f8385f0 (patch) | |
tree | 6f1512750b36f668c987c6ce978ef37849ef2060 /plugins | |
parent | aace1ddc49908dc755975b47604f9564de45c3e2 (diff) |
fixes #1053 - don't display "add site" link if not the superuser
git-svn-id: http://dev.piwik.org/svn/trunk@1623 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/SitesManager/templates/SitesManager.tpl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/SitesManager/templates/SitesManager.tpl b/plugins/SitesManager/templates/SitesManager.tpl index 39d7f9261a..4633791845 100644 --- a/plugins/SitesManager/templates/SitesManager.tpl +++ b/plugins/SitesManager/templates/SitesManager.tpl @@ -58,7 +58,9 @@ </tbody> </table> - <div class="addRowSite"><a href="#"><img src='plugins/UsersManager/images/add.png' alt="" /> {'SitesManager_AddSite'|translate}</a></div> + {if $isSuperUser} + <div class="addRowSite"><a href="#"><img src='plugins/UsersManager/images/add.png' alt="" /> {'SitesManager_AddSite'|translate}</a></div> + {/if} {/if} {include file="CoreAdminHome/templates/footer.tpl"} |