uncomment code I commented for test purpose...
authorioguix <ioguix>
Thu, 3 May 2007 17:10:00 +0000 (17:10 +0000)
committerioguix <ioguix>
Thu, 3 May 2007 17:10:00 +0000 (17:10 +0000)
classes/Misc.php

index df7cd6cd4c5526c423e81fb168f4a60bfeb78078..0afe5acfdeec2ad895bd028fc6cfa121fbd378bb 100644 (file)
@@ -2,7 +2,7 @@
        /**
         * Class to hold various commonly used functions
         *
-        * $Id: Misc.php,v 1.149 2007/05/03 17:01:04 ioguix Exp $
+        * $Id: Misc.php,v 1.150 2007/05/03 17:10:00 ioguix Exp $
         */
         
        class Misc {
                                                        'icon'  => 'Databases',
                                                )
                                        );
-                                       /*if ($data->hasRoles()) {
+                                       if ($data->hasRoles()) {
                                                $tmp = array_merge($tmp, array(
                                                        'roles' => array (
                                                                'title' => $lang['strroles'],
                                                        )
                                                ));
                                        }
-                                       else {*/
+                                       else {
                                                $tmp = array_merge($tmp, array(
                                                        'users' => array (
                                                                'title' => $lang['strusers'],
                                                                'icon'  => 'UserGroups',
                                                        )
                                                ));
-                                       //}
+                                       }
                                        
                                        $tmp = array_merge($tmp, array(                                                 
                                                'account' => array (