// this needs to be generated by the modules..
- switch(v) {
-
-
-
- case 'Core.Person': return "Person";
- case 'Core.Offices': return "Offices";
- case 'Core.Companies': return "Companies";
-
- case 'Core.Staff': return "Staff";
- case 'Core.Groups': return "Groups";
-
- case 'Core.Events': return "Events";
- default :
- if (typeof(Pman.rightNames[v]) == 'string' && Pman.rightNames[v].length) {
- return String.format('{0}',Pman.rightNames[v]);
- }
-
- return '???' + v;
-
+
+ if (typeof(Pman.rightNames[v]) == 'string' && Pman.rightNames[v].length) {
+ return String.format('{0}',Pman.rightNames[v]);
}
+ return '???' + v;
+
+
}
},