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]
11 Aug 2002 00:02:53postnuke_modules/articlespnuserapi.php,1.36,1.37Mike
 some template changes

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

Modified Files:
	pnuserapi.php 
Log Message:
some template changes


Index: pnuserapi.php
===================================================================
RCS file: /home/cvsroot/postnuke_modules/articles/pnuserapi.php,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -d -r1.36 -r1.37
*** pnuserapi.php	10 Aug 2002 11:42:19 -0000	1.36
--- pnuserapi.php	11 Aug 2002 00:02:51 -0000	1.37
***************
*** 594,597 ****
--- 594,598 ----
  
      $publinks = array();
+     $isfirst = 1;
      foreach ($pubtypes as $id => $pubtype) {
          if ((isset($pubcount[$id]) && $pubcount[$id] > 0) || $all) {
***************
*** 607,610 ****
--- 608,617 ----
               } else {
                   $item['pubcount'] = 0;
+              }
+              if ($isfirst) {
+                  $isfirst = 0;
+                  $item['pubjoin'] = '';
+              } else {
+                  $item['pubjoin'] = ' - ';
               }
               $publinks[] = $item;


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