Pman.Dialog.AdminWatch.bjs
[Pman.Admin] / old / Pman.Tab.AdminPermMembers.js
index 35b7f46..07e4b7f 100644 (file)
@@ -21,7 +21,7 @@ Pman.Tab.AdminPermMembers = new Roo.XComponent({
     dataSource : {
      proxy : {
       '|xns' : 'Roo.data',
-      url : baseURL + '/Roo/Person.php',
+      url : baseURL + '/Roo/core_person',
       xtype : 'HttpProxy',
       method : 'GET',
       xns : Roo.data
@@ -354,7 +354,7 @@ Pman.Tab.AdminPermMembers = new Roo.XComponent({
            // only used to change active status.
            
            new Pman.Request({
-               url : baseURL + '/Roo/Person.php',
+               url : baseURL + '/Roo/core_person',
                method :'POST',
                params : {
                    id : record.data.id,
@@ -643,7 +643,12 @@ Pman.Tab.AdminPermMembers = new Roo.XComponent({
        sortable : true,
        header : 'Name',
        width : 200,
-       renderer : function(v) { return String.format('{0}', v); },
+       renderer : function(v,p,r) { 
+           if(r.data.active != 1){
+               return String.format('<div style="text-decoration:line-through">{0}</div>', v); 
+           }
+           return String.format('{0}', v); 
+       },
        xns : Roo.grid,
        dataIndex : 'name'
       },