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 / articles [ view in CVS ]

Date Directory [filter] File(s) [view] Author [filter]
07 Aug 2002 00:39:37postnuke_modules/articlespnadmin.php,1.27,1.28 pninit.php,1.20,1.21Mike
 add pnBlockTypeRegister (see template comment) + warning fixes

Update of /home/cvsroot/postnuke_modules/articles
In directory ns7.hostnuke.net:/tmp/cvs-serv21369

Modified Files:
	pnadmin.php pninit.php 
Log Message:
add pnBlockTypeRegister (see template comment) + warning fixes


Index: pnadmin.php
===================================================================
RCS file: /home/cvsroot/postnuke_modules/articles/pnadmin.php,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** pnadmin.php	5 Aug 2002 01:46:02 -0000	1.27
--- pnadmin.php	7 Aug 2002 00:39:35 -0000	1.28
***************
*** 469,483 ****
                                                       'status' => array(0))));
      $statusfilters[] = array('stitle' => pnML('Rejected'),
!                              'slink' => $status[0] == 1 ? '' :
                                              pnModURL('articles','admin','view',
                                                       array('ptid' => $ptid,
                                                       'status' => array(1))));
      $statusfilters[] = array('stitle' => pnML('Approved'),
!                              'slink' => $status[0] == 2 ? '' :
                                              pnModURL('articles','admin','view',
                                                       array('ptid' => $ptid,
                                                       'status' => array(2))));
      $statusfilters[] = array('stitle' => pnML('Frontpage'),
!                              'slink' => $status[0] == 3 ? '' :
                                              pnModURL('articles','admin','view',
                                                       array('ptid' => $ptid,
--- 469,483 ----
                                                       'status' => array(0))));
      $statusfilters[] = array('stitle' => pnML('Rejected'),
!                              'slink' => (is_array($status) && $status[0] == 1) ? '' :
                                              pnModURL('articles','admin','view',
                                                       array('ptid' => $ptid,
                                                       'status' => array(1))));
      $statusfilters[] = array('stitle' => pnML('Approved'),
!                              'slink' => (is_array($status) && $status[0] == 2) ? '' :
                                              pnModURL('articles','admin','view',
                                                       array('ptid' => $ptid,
                                                       'status' => array(2))));
      $statusfilters[] = array('stitle' => pnML('Frontpage'),
!                              'slink' => (is_array($status) && $status[0] == 3) ? '' :
                                              pnModURL('articles','admin','view',
                                                       array('ptid' => $ptid,

Index: pninit.php
===================================================================
RCS file: /home/cvsroot/postnuke_modules/articles/pninit.php,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** pninit.php	5 Aug 2002 01:46:02 -0000	1.20
--- pninit.php	7 Aug 2002 00:39:35 -0000	1.21
***************
*** 286,289 ****
--- 286,292 ----
      pnModSetVar('articles','cids.4',$cid['FAQ'] . ';' . $cid['Generic1']);
  
+     // Register Block types (this *should* happen at activation/deactivation)
+     pnBlockTypeRegister('articles', 'related');
+ 
      // Initialisation successful
      return true;


Directory filter : [ all ] / postnuke_modules / articles [ 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