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_official / html / modules / template [ 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]
28 Jul 2002 12:29:05postnuke_official/html/modules/templatepninit.php,1.9,1.10Mike
 check if categories module is available first

Update of /home/cvsroot/postnuke_official/html/modules/template
In directory ns7.hostnuke.net:/tmp/cvs-serv522

Modified Files:
	pninit.php 
Log Message:
check if categories module is available first


Index: pninit.php
===================================================================
RCS file: /home/cvsroot/postnuke_official/html/modules/template/pninit.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** pninit.php	28 Jul 2002 01:19:20 -0000	1.9
--- pninit.php	28 Jul 2002 12:29:03 -0000	1.10
***************
*** 117,121 ****
      // If Categories API loaded and available, generate proprietary
      // module master category cid and child subcids
!     if(pnModAPILoad('categories', 'admin'))
  	{
              $templatecid = pnModAPIFunc('categories',
--- 117,121 ----
      // If Categories API loaded and available, generate proprietary
      // module master category cid and child subcids
!     if(pnModAvailable('categories') && pnModAPILoad('categories', 'admin'))
  	{
              $templatecid = pnModAPIFunc('categories',
***************
*** 125,129 ****
                                                'description' => 'Postnuke Core Categories',
                                                'parent_id' => 0));
!             pnModSetVar('Template', 'mastercid', $templatecid);
              $templatecategories = array();
              $templatecategories[] = array('name' => "one",
--- 125,129 ----
                                                'description' => 'Postnuke Core Categories',
                                                'parent_id' => 0));
!             pnModSetVar('template', 'mastercid', $templatecid);
              $templatecategories = array();
              $templatecategories[] = array('name' => "one",
***************
*** 258,261 ****
--- 258,262 ----
      pnModDelVar('template', 'itemsperpage');
      pnModDelVar('template', 'bold');
+     pnModDelVar('template', 'mastercid');
  
      // Deletion successful


Directory filter : [ all ] / postnuke_official / html / modules / template [ 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