Xaraya / Postnuke CVS Notices - Message

Note: this list is kept only as a demonstration for CVSNotice. For the latest CVS notices, see the Xaraya and Postnuke sites

View Statistics - Next Notice - Previous Notice

Directory filter : [ all ] / postnuke_modules / New_pnadmin / html / modules / admin [ view in CVS ]

Date Directory [filter] File(s) [view] Author [filter]
09 Aug 2002 23:17:01postnuke_modules/New_pnadmin/html/modules/adminpntables.php,1.2,1.3Richard Cave
 Cleaned up code...

Update of /home/cvsroot/postnuke_modules/New_pnadmin/html/modules/admin
In directory ns7.hostnuke.net:/tmp/cvs-serv26104/New_pnadmin/html/modules/admin

Modified Files:
	pntables.php 
Log Message:
Cleaned up code...


Index: pntables.php
===================================================================
RCS file: /home/cvsroot/postnuke_modules/New_pnadmin/html/modules/admin/pntables.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** pntables.php	5 Aug 2002 10:42:28 -0000	1.2
--- pntables.php	9 Aug 2002 23:16:59 -0000	1.3
***************
*** 28,63 ****
      $pntable = array();
      // Get Table names
!     $departments	 = pnConfigGetVar('prefix') . '_admin_lite_group';
      $departments_members = pnConfigGetVar('prefix') . '_admin_lite_group_members';
      //FIXME <johnny> - remove dependence on pntables column mapping
      // We only use tablenames in pntables now... due to queries being too long when using tablename.fieldname
!     $pntable['group_table']	= $departments;
!     $pntable['member_table']	= $departments_members;
! 	// ============================== NEXT TABLE ===============================
! 	//                            admin_lite_group
! 	// :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  
!     
!     
!     $pntable['group'] 		= array('id'    => $departments . '.groupID',
! 	                                'name'   => $departments . '.groupName',
! 	                                'lock'   => $departments . '.groupLock',
! 	                                'all'   => $departments . '.groupShowAllModules',
!                                         'default'   => $departments . '.groupDefault',
! 	'order'   => $departments . '.sortOrder'
! 	);
  
! 	// :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
! 	// ============================== NEXT TABLE ===============================
! 	//                        admin_lite_group_members
! 	// :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   
      
      
!     $pntable['members'] 			= array(
!     'gid'    => $departments_members . '.groupID',
!     'order'    => $departments_members . '.sortOrder',
! 	'mid'   => $departments_members . '.moduleID'
! 	);
  
      return $pntable;
--- 28,63 ----
      $pntable = array();
      // Get Table names
!     $departments     = pnConfigGetVar('prefix') . '_admin_lite_group';
      $departments_members = pnConfigGetVar('prefix') . '_admin_lite_group_members';
+ 
      //FIXME <johnny> - remove dependence on pntables column mapping
      // We only use tablenames in pntables now... due to queries being too long when using tablename.fieldname
!     $pntable['group_table'] = $departments;
!     $pntable['member_table']    = $departments_members;
  
!     // ============================== NEXT TABLE ===============================
!     //                            admin_lite_group
!     // :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
!     $pntable['group']       = array(
!         'id'        => $departments . '.groupID',
!         'name'      => $departments . '.groupName',
!         'lock'      => $departments . '.groupLock',
!         'all'       => $departments . '.groupShowAllModules',
!         'default'   => $departments . '.groupDefault',
!         'order'     => $departments . '.sortOrder'
!     );
  
!     // :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
!     // ============================== NEXT TABLE ===============================
!     //                        admin_lite_group_members
!     // :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   
      
      
!     $pntable['members']             = array(
!         'gid'       => $departments_members . '.groupID',
!         'order'     => $departments_members . '.sortOrder',
!         'mid'       => $departments_members . '.moduleID'
!     );
  
      return $pntable;


Directory filter : [ all ] / postnuke_modules / New_pnadmin / html / modules / admin [ view in CVS ]

View Statistics - Next Notice - Previous Notice


Visit Developer Site - Browse CVS Repository Syndicate via backend.rss
(max. once per hour please)
Powered by CVSNotice 0.1.3