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]
14 Aug 2002 00:16:53postnuke_modules/articlespnuser.php,1.47,1.48Mike
 one for the road :)

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

Modified Files:
	pnuser.php 
Log Message:
one for the road :)


Index: pnuser.php
===================================================================
RCS file: /home/cvsroot/postnuke_modules/articles/pnuser.php,v
retrieving revision 1.47
retrieving revision 1.48
diff -C2 -d -r1.47 -r1.48
*** pnuser.php	13 Aug 2002 22:58:46 -0000	1.47
--- pnuser.php	14 Aug 2002 00:16:51 -0000	1.48
***************
*** 912,916 ****
                                         'reverse' => 1));
      $dump = 'TODO: show matrix/pivottable for categories (under construction)<br />';
!     list($two,$one) = $publinks[0]['rootcats'];
      $typeone = array_shift($cattree[$one]);
      $typetwo = array_shift($cattree[$two]);
--- 912,921 ----
                                         'reverse' => 1));
      $dump = 'TODO: show matrix/pivottable for categories (under construction)<br />';
!     list($one,$two) = $publinks[0]['rootcats'];
!     if (count($cattree[$one]) < count($cattree[$two])) {
!         $three = $one;
!         $one = $two;
!         $two = $three;
!     }
      $typeone = array_shift($cattree[$one]);
      $typetwo = array_shift($cattree[$two]);
***************
*** 937,941 ****
      foreach ($matrix as $cid1 => $list) {
          foreach ($list as $cid2 => $val) {
!             $dump .= '<td>' . $name[$cid2] . '</td>';
          }
          break;
--- 942,947 ----
      foreach ($matrix as $cid1 => $list) {
          foreach ($list as $cid2 => $val) {
!             $link = pnModURL('articles','user','view',array('cids' => array($cid2)));
!             $dump .= '<td><a href="' . $link . '">' . $name[$cid2] . '</a></td>';
          }
          break;
***************
*** 943,951 ****
      $dump .= '</tr>';
      foreach ($matrix as $cid1 => $list) {
!         $dump .= '<tr><td>' . $name[$cid1] . '</td>';
          foreach ($list as $cid2 => $val) {
              if ($val > 0) {
  // TODO: support andcids as parameter :-)
!                 $link = pnModURL('articles','user','view',array('cids' => array("$cid1+$cid2")));
                  $dump .= '<td align="center"><a href="' . $link . '">&nbsp;' .$val . '&nbsp;</a></td>';
              } else {
--- 949,961 ----
      $dump .= '</tr>';
      foreach ($matrix as $cid1 => $list) {
!         $link = pnModURL('articles','user','view',array('cids' => array($cid1)));
!         $dump .= '<td><a href="' . $link . '">' . $name[$cid1] . '</a></td>';
          foreach ($list as $cid2 => $val) {
              if ($val > 0) {
  // TODO: support andcids as parameter :-)
!                 $cidlist = array($cid1,$cid2);
!                 sort($cidlist,SORT_NUMERIC);
!                 $cids = join('+',$cidlist);
!                 $link = pnModURL('articles','user','view',array('cids' => $cids));
                  $dump .= '<td align="center"><a href="' . $link . '">&nbsp;' .$val . '&nbsp;</a></td>';
              } else {


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