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]
11 Aug 2002 00:44:10postnuke_modules/articlespnuser.php,1.44,1.45Mike
 icon support v0.001

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

Modified Files:
	pnuser.php 
Log Message:
icon support v0.001


Index: pnuser.php
===================================================================
RCS file: /home/cvsroot/postnuke_modules/articles/pnuser.php,v
retrieving revision 1.44
retrieving revision 1.45
diff -C2 -d -r1.44 -r1.45
*** pnuser.php	11 Aug 2002 00:00:23 -0000	1.44
--- pnuser.php	11 Aug 2002 00:44:08 -0000	1.45
***************
*** 184,187 ****
--- 184,188 ----
          // display one (or more) bread-crumb trails of categories
          $data['trails'] = array();
+         $data['icons'] = array();
          foreach ($cids as $cid) {
              $trailitem = array();
***************
*** 212,215 ****
--- 213,220 ----
                      $item['pjoin'] = '';
                      $item['plink'] = '';
+                     if (!empty($info['image'])) {
+                         $data['icons'][] = array('image' => $info['image'],
+                                                  'text' => $item['ptitle']);
+                     }
                  }
                  $trailitem['parentlinks'][] = $item;
***************
*** 464,467 ****
--- 469,478 ----
  // TODO: make sure permissions are taken into account here !
          $trailitem['parentlinks'] = array();
+         $item = array();
+         $item['plink'] = pnModURL('articles','user','view',
+                                   array('ptid' => $ptid));
+         $item['ptitle'] = pnML('All');
+         $item['pjoin'] = ' > ';
+         $trailitem['parentlinks'][] = $item;
          foreach ($trail as $info) {
              $item['plink'] = pnModURL('articles',


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