[vhffs-dev] [1830] Reenable access to admin part for moderators

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 1830
Author:   beuss
Date:     2011-05-31 22:04:00 +0200 (Tue, 31 May 2011)
Log Message:
-----------
Reenable access to admin part for moderators

Modified Paths:
--------------
    trunk/vhffs-panel/templates/misc/header.tt

Modified: trunk/vhffs-panel/templates/misc/header.tt
===================================================================
--- trunk/vhffs-panel/templates/misc/header.tt	2011-05-28 20:30:43 UTC (rev 1829)
+++ trunk/vhffs-panel/templates/misc/header.tt	2011-05-31 20:04:00 UTC (rev 1830)
@@ -15,7 +15,7 @@
             <a href="/group/index.pl" title="[% 'My Projects' | i18n | html %]">
                 <img src="/themes/[% theme %]/images/projects.png" title="[% 'My Projects' | i18n | html %]" alt="[% 'My Projects' | i18n | html %]" />
             </a>
-            [% IF current_user.is_admin() %]
+            [% IF current_user.is_admin() OR current_user.is_moderator() %]
             <a href="/admin/index.pl" title="[% 'Administration' | i18n | html %]">
                 <img src="/themes/[% theme %]/images/admin.png" title="[% 'Administration' | i18n | html %]" alt="[% 'Administration' | i18n | html %]" />
             </a>


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/