old/Pman.Tab.Groups.js
authorAlan Knowles <alan@akbkhome.com>
Tue, 8 Mar 2011 00:09:47 +0000 (08:09 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 8 Mar 2011 00:09:47 +0000 (08:09 +0800)
old/Pman.Tab.Groups.js [new file with mode: 0644]

diff --git a/old/Pman.Tab.Groups.js b/old/Pman.Tab.Groups.js
new file mode 100644 (file)
index 0000000..96a1ebb
--- /dev/null
@@ -0,0 +1,27 @@
+//<script type="text/javascript">
+
+
+// fixme - needs a delayed create..
+
+
+Pman.on('beforeload', function()
+{ 
+    
+    Pman.Tab.Groups.title = "Groups";
+    
+    Pman.register({
+        modKey : '00-pman-tab-groups',
+        module : Pman.Tab.Groups,
+        region : 'west',
+        parent : Pman.Tab.GroupMgr,
+        name : "Permission Groups"
+    });
+});   
+
+Pman.Tab.Groups = new Pman.Tab.GroupsList({
+    id : 'groups',
+    title:  "Groups", // fixme change to method!!!
+    type : 0,
+    getDialog : function () { return Pman.Dialog.Groups; }
+});
\ No newline at end of file