Author: david
Date: Fri Sep 18 18:16:25 2009
New Revision: 3421

Log:
Test for 'authenticated' credential to show admin menu. Fixes issue #953.

Modified:
   trunk/apps/qubit/templates/layout.php

Modified: trunk/apps/qubit/templates/layout.php
==============================================================================
--- trunk/apps/qubit/templates/layout.php       Fri Sep 18 18:07:58 2009        
(r3420)
+++ trunk/apps/qubit/templates/layout.php       Fri Sep 18 18:16:25 2009        
(r3421)
@@ -48,7 +48,7 @@
     </div> <!-- close header-middle -->
 
     <div id="header-bottom">
-    <?php if ($sf_user->hasCredential('administrator' or 'editor' or 
'contributor' or 'translator')): ?>
+    <?php if ($sf_user->hasCredential('authenticated')): ?>
     <?php include_component_slot('MainMenu') ?>
     <?php endif; ?>
     </div> <!-- close header-bottom -->

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to