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]
05 Aug 2002 10:42:30postnuke_modules/New_pnadmin/html/modules/adminpntables.php,1.1.1.1,1.2John Robeson
 just a few todos and misc changes

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

Modified Files:
	pntables.php 
Log Message:
just a few todos and misc changes


Index: pntables.php
===================================================================
RCS file: /home/cvsroot/postnuke_modules/New_pnadmin/html/modules/admin/pntables.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** pntables.php	3 Aug 2002 10:01:14 -0000	1.1.1.1
--- pntables.php	5 Aug 2002 10:42:28 -0000	1.2
***************
*** 1,13 ****
! <?
  // File: $Id$ $Name$
  // ----------------------------------------------------------------------
! // POST-NUKE Content Management System
  // Copyright (C) 2001 by the PostNuke Development Team.
  // http://www.postnuke.com/
  // ----------------------------------------------------------------------
- // Based on:
- // PHP-NUKE Web Portal System - http://phpnuke.org/
- // Thatware - http://thatware.org/
- // ----------------------------------------------------------------------
  // LICENSE
  //
--- 1,9 ----
! <?php
  // File: $Id$ $Name$
  // ----------------------------------------------------------------------
! // PostNuke Content Management System
  // Copyright (C) 2001 by the PostNuke Development Team.
  // http://www.postnuke.com/
  // ----------------------------------------------------------------------
  // LICENSE
  //
***************
*** 28,54 ****
  // ----------------------------------------------------------------------
  
! if(basename($PHP_SELF) == basename(__FILE__)){
! echo "You have no access to this file!!!";
! exit;
! }
! 
! function admin_pntables(){
! 
! 	// :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
      $pntable = array();
! 	// :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  	// ============================== NEXT TABLE ===============================
  	//                            admin_lite_group
  	// :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
!     // Get the name for the template item table.  This is not necessary
!     // but helps in the following statements and keeps them readable
!     $departments			= pnConfigGetVar('prefix') . '_admin_lite_group';
!     $pntable['group_table']	= $departments;
!     $pntable['group'] 		= array(
!     'id'    => $departments . '.groupID',
! 	'name'   => $departments . '.groupName',
! 	'lock'   => $departments . '.groupLock',
! 	'all'   => $departments . '.groupShowAllModules',
! 	'default'   => $departments . '.groupDefault',
  	'order'   => $departments . '.sortOrder'
  	);
--- 24,48 ----
  // ----------------------------------------------------------------------
  
! function admin_pntables()
! {
      $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'
  	);
***************
*** 58,65 ****
  	//                        admin_lite_group_members
  	// :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
!     // Get the name for the template item table.  This is not necessary
!     // but helps in the following statements and keeps them readable
!     $departments_members 					= pnConfigGetVar('prefix') . '_admin_lite_group_members';
!     $pntable['member_table']	= $departments_members;
      $pntable['members'] 			= array(
      'gid'    => $departments_members . '.groupID',
--- 52,58 ----
  	//                        admin_lite_group_members
  	// :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
!  
!     
!     
      $pntable['members'] 			= array(
      'gid'    => $departments_members . '.groupID',
***************
*** 68,72 ****
  	);
  
! 	return $pntable;
  }
! ?>
--- 61,65 ----
  	);
  
!     return $pntable;
  }
! ?>
\ No newline at end of file


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