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 / comments [ view in CVS ]

Date Directory [filter] File(s) [view] Author [filter]
26 Jul 2002 02:52:58postnuke_official/html/modules/commentspnuser.php,1.8,1.9 pnuserapi.php,1.14,1.15Carl P. Corliss
 various bugfixes

Update of /home/cvsroot/postnuke_official/html/modules/comments
In directory ns7.hostnuke.net:/tmp/cvs-serv8302/html/modules/Comments

Modified Files:
	pnuser.php pnuserapi.php 
Log Message:
various bugfixes


Index: pnuser.php
===================================================================
RCS file: /home/cvsroot/postnuke_official/html/modules/comments/pnuser.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** pnuser.php	1 Jul 2002 06:16:00 -0000	1.8
--- pnuser.php	26 Jul 2002 02:52:56 -0000	1.9
***************
*** 32,36 ****
--- 32,56 ----
  
  include_once('modules/comments/rendering/factory.php');
+ function comments_user_main($args) {
+ 
+     $args['type'] = 'user';
+     $args['modid'] = 14;
+     $args['itemid'] = 0;
+     $args['returnurl'] = pnModURL('comments','user','main');
+     $args['sortby'] = _COM_SORTBY_DATE;    
+     // load the display settings
+     pnModAPILoad('comments');
+     $settings = pnModAPIFunc('comments','user','GetOptions');
+     $comments = pnModAPIFunc('comments','user','get',$args);
+ 
+     $show = pnComments_RenderFactory($args, $settings['rendertype']);
+ 
+     $output = "\n\n\n\n\n\n\n\n\n\n";
+     $output .= $show->DrawTree($comments); 
+     $output .= "\n\n\n\n\n\n\n\n\n\n";
  
+     return $output;
+ 
+ }
  function comments_user_display($args) {
  

Index: pnuserapi.php
===================================================================
RCS file: /home/cvsroot/postnuke_official/html/modules/comments/pnuserapi.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** pnuserapi.php	1 Jul 2002 04:09:17 -0000	1.14
--- pnuserapi.php	26 Jul 2002 02:52:56 -0000	1.15
***************
*** 34,41 ****
      // session_defined->[user_defined->]admin_defined
  
!     if (pnVarCleanFromInput('depth')) {
!         return array('depth' => pnVarCleanFromInput('depth'),
!                      'order' => pnVarCleanFromInput('order'),
!                      'rendertype' => pnVarCleanFromInput('rendertype'));
      } elseif (pnSessionGetVar('depth')) { // existing session settings
          return array('depth' => pnSessionGetVar('comments_depth'),
--- 34,42 ----
      // session_defined->[user_defined->]admin_defined
  
!     if (pnVarCleanFromInput('depth') || pnVarCleanFromInput('rendertype') || pnVarCleanFromInput('order')) {
!         list($depth, $order, $rendertype) = pnVarCleanFromInput('depth','order','rendertype');
!         $settings = compact('depth','order','rendertype');
!         return $settings;
! 
      } elseif (pnSessionGetVar('depth')) { // existing session settings
          return array('depth' => pnSessionGetVar('comments_depth'),


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