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]
31 Jul 2002 02:14:23postnuke_modules/articlespnadmin.php,1.24,1.25 pnuserapi.php,1.27,1.28Mike
 work with expanded leftjoin from categories

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

Modified Files:
	pnadmin.php pnuserapi.php 
Log Message:
work with expanded leftjoin from categories


Index: pnadmin.php
===================================================================
RCS file: /home/cvsroot/postnuke_modules/articles/pnadmin.php,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** pnadmin.php	30 Jul 2002 23:47:59 -0000	1.24
--- pnadmin.php	31 Jul 2002 02:14:21 -0000	1.25
***************
*** 462,465 ****
--- 462,466 ----
                               'getlinks',
                               array('iids' => Array($aid),
+                                    'modid' => pnModGetIDFromName('articles'),
                                     'reverse' => 0
                                    )

Index: pnuserapi.php
===================================================================
RCS file: /home/cvsroot/postnuke_modules/articles/pnuserapi.php,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** pnuserapi.php	31 Jul 2002 00:20:06 -0000	1.27
--- pnuserapi.php	31 Jul 2002 02:14:21 -0000	1.28
***************
*** 138,142 ****
          // Get the LEFT JOIN ... ON ...  and WHERE (!) parts from categories
          $categoriesdef = pnModAPIFunc('categories','user','leftjoin',
!                                       array('cids' => $cids));
      }
  
--- 138,144 ----
          // Get the LEFT JOIN ... ON ...  and WHERE (!) parts from categories
          $categoriesdef = pnModAPIFunc('categories','user','leftjoin',
!                                       array('cids' => $cids,
!                                             'modid' =>
!                                               pnModGetIDFromName('articles')));
      }
  
***************
*** 184,190 ****
          // we rely on leftjoin() to create the necessary categories clauses
          $where[] = $categoriesdef['where'];
-         // but this is required for categories too !
-         $where[] = $categoriesdef['modid'] . ' = ' .
-                    pnModGetIDFromName('articles');
      }
      if (count($where) > 0) {
--- 186,189 ----
***************
*** 512,516 ****
          // Get the LEFT JOIN ... ON ...  and WHERE (!) parts from categories
          $categoriesdef = pnModAPIFunc('categories','user','leftjoin',
!                                       array('cids' => $args['cids']));
  
          $sql .= ' LEFT JOIN ' . $categoriesdef['table'];
--- 511,517 ----
          // Get the LEFT JOIN ... ON ...  and WHERE (!) parts from categories
          $categoriesdef = pnModAPIFunc('categories','user','leftjoin',
!                                       array('cids' => $args['cids'],
!                                             'modid' =>
!                                                pnModGetIDFromName('articles')));
  
          $sql .= ' LEFT JOIN ' . $categoriesdef['table'];
***************
*** 528,534 ****
          // we rely on leftjoin() to create the necessary categories clauses
          $where[] = $categoriesdef['where'];
-         // but this is required for categories too !
-         $where[] = $categoriesdef['modid'] . ' = ' .
-                    pnModGetIDFromName('articles');
      }
      if (count($where) > 0) {
--- 529,532 ----


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