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 ]


Deprecated: Function gmstrftime() is deprecated in /home/mikespub/www/list.php on line 509
Date Directory [filter] File(s) [view] Author [filter]
29 Jul 2002 17:20:53postnuke_modules/articlespnuser.php,1.33,1.34Mike
 fix for empty site

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

Modified Files:
	pnuser.php 
Log Message:
fix for empty site


Index: pnuser.php
===================================================================
RCS file: /home/cvsroot/postnuke_modules/articles/pnuser.php,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -d -r1.33 -r1.34
*** pnuser.php	29 Jul 2002 14:33:51 -0000	1.33
--- pnuser.php	29 Jul 2002 17:20:50 -0000	1.34
***************
*** 433,456 ****
  function articles_user_viewmap()
  {
!     // Use standard categories function for this
      //pnModLoad('categories', 'user');
      //return pnModFunc('categories', 'user', 'viewmap');
  
!     // And in the meantime... :-)
! 
      if (!pnModAPILoad('categories', 'user')) {
!         $output->Text(_LOADFAILED);
!         return $output->GetOutput();
      }
      if (!pnModAPILoad('categories', 'visual')) {
!         $output->Text(_LOADFAILED);
!         return $output->GetOutput();
!     }
! /*
!     if (!pnModAPILoad('articles', 'user')) {
!         $output->Text(_LOADFAILED);
!         return $output->GetOutput();
      }
- */
  
      // get the links and counts for all publication types
--- 433,449 ----
  function articles_user_viewmap()
  {
!     // Don't use standard categories function for this
      //pnModLoad('categories', 'user');
      //return pnModFunc('categories', 'user', 'viewmap');
  
!     if (!pnModAPILoad('articles', 'user')) {
!         return _LOADFAILED;
!     }
      if (!pnModAPILoad('categories', 'user')) {
!         return _LOADFAILED;
      }
      if (!pnModAPILoad('categories', 'visual')) {
!         return _LOADFAILED;
      }
  
      // get the links and counts for all publication types
***************
*** 518,524 ****
      }
  
!     return array('publinks' => $publinks,
!                  'cattree' => $cattree,
!                  'list' => $list);
  }
  
--- 511,515 ----
      }
  
!     return array('publinks' => $publinks);
  }
  


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