Author: david
Date: Thu Sep 24 11:10:00 2009
New Revision: 3496

Log:
Add user and group submenus to admin > users menu.

Modified:
   trunk/lib/task/migrate/QubitMigrate107to108.class.php

Modified: trunk/lib/task/migrate/QubitMigrate107to108.class.php
==============================================================================
--- trunk/lib/task/migrate/QubitMigrate107to108.class.php       Thu Sep 24 
10:33:43 2009        (r3495)
+++ trunk/lib/task/migrate/QubitMigrate107to108.class.php       Thu Sep 24 
11:10:00 2009        (r3496)
@@ -566,6 +566,25 @@
         'label' => array('en' => 'digital objects')
     );
 
+    // Add user and group sub-menus
+    if ($userMenuKey = ($this->getRowKey('QubitMenu', 'name', 'users')))
+    {
+      $this->data['QubitMenu']['QubitMenu_mainmenu_admin_users_users'] = array(
+        'parent_id' => $userMenuKey,
+        'source_culture' => 'en',
+        'name' => 'users',
+        'path' => 'user/list',
+        'label' => array('en' => 'users')
+      );
+      $this->data['QubitMenu']['QubitMenu_mainmenu_admin_users_groups'] = 
array(
+        'parent_id' => $userMenuKey,
+        'source_culture' => 'en',
+        'name' => 'groups',
+        'path' => 'aclGroup/list',
+        'label' => array('en' => 'groups')
+      );
+    }
+
     // Pluralize English 'Add/Edit' menu options for Qubit
     $menuOption = $this->getRowKey('QubitMenu', 'label', array('en' => 
'Information object'));
     if ($menuOption)

--~--~---------~--~----~------------~-------~--~----~
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