Pman.Tab.AdminContactsManager.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 14 Jan 2011 06:12:59 +0000 (14:12 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 14 Jan 2011 06:12:59 +0000 (14:12 +0800)
Pman.Tab.AdminContactsManager.js [new file with mode: 0644]

diff --git a/Pman.Tab.AdminContactsManager.js b/Pman.Tab.AdminContactsManager.js
new file mode 100644 (file)
index 0000000..9784fc4
--- /dev/null
@@ -0,0 +1,58 @@
+//<script type="text/javascript">
+
+// Auto generated file - created by app.Builder.js- do not edit directly (at present!)
+
+
+
+// register the module first
+Pman.on('beforeload', function()
+{
+    Pman.register({
+        modKey : '001-Pman.Tab.AdminContactsManager',
+        module : Pman.Tab.AdminContactsManager,
+        region : 'center',
+        parent : Pman.Tab.Admin,
+        name : "Pman.Tab.AdminContactsManager",
+        disabled : false, 
+        permname: 'Core.Person' 
+    });
+});
+
+Pman.Tab.AdminContactsManager = new Roo.util.Observable({
+
+    panel : false,
+    disabled : false,
+    parentLayout:  false,
+
+    add : function(parentLayout, region)
+    {
+
+        var _this = this;
+        this.parentLayout = parentLayout;
+
+        this.panel = parentLayout.addxtype({
+            xtype: 'NestedLayoutPanel',
+            xns: Roo,
+            background : true,
+            region : 'center',
+            title : "Contacts Manager",
+            layout : {
+                xtype: 'BorderLayout',
+                xns: Roo,
+                west : {
+                    xtype: 'LayoutRegion',
+                    xns: Roo,
+                    split : true,
+                    width : 250
+                },
+                center : {
+                    xtype: 'LayoutRegion',
+                    xns: Roo,
+                    tabPosition : 'top'
+                }
+            }
+        });
+        this.layout = this.panel.layout;
+
+    }
+});