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

Date Directory [filter] File(s) [view] Author [filter]
25 Jul 2002 16:55:55postnuke_official/html/modules/comments/docspncomments.php,1.1,1.1.2.1Chris Dudley
 lowercase the module names

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

Modified Files:
      Tag: PostNuke_71
	pncomments.php 
Log Message:
lowercase the module names


Index: pncomments.php
===================================================================
RCS file: /home/cvsroot/postnuke_official/html/modules/comments/docs/Attic/pncomments.php,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -C2 -d -r1.1 -r1.1.2.1
*** pncomments.php	30 Jan 2002 06:02:32 -0000	1.1
--- pncomments.php	25 Jul 2002 16:55:53 -0000	1.1.2.1
***************
*** 23,30 ****
          
          pnModAPIFunc('Comments','user','add', 
!             array('module'=>'News', 'hook'=>$hook, 
                    'ParentId'=>$ParentId, 'comment'=>$comment, 'title'=>$title));
      
!         pnRedirect(pnModURL('News','user','view',
              array($hookname=>$hook, 'file'=>'article')));
      
--- 23,30 ----
          
          pnModAPIFunc('Comments','user','add', 
!             array('module'=>'news', 'hook'=>$hook, 
                    'ParentId'=>$ParentId, 'comment'=>$comment, 'title'=>$title));
      
!         pnRedirect(pnModURL('news','user','view',
              array($hookname=>$hook, 'file'=>'article')));
      
***************
*** 36,40 ****
          
          pnModFunc('Comments','user','replyform', 
!             array('ParentId'=>$ParentId, 'module'=>'News', 'hook'=>$hook));
       
          include('footer.php');
--- 36,40 ----
          
          pnModFunc('Comments','user','replyform', 
!             array('ParentId'=>$ParentId, 'module'=>'news', 'hook'=>$hook));
       
          include('footer.php');
***************
*** 83,87 ****
              // return the HTML. 
              return pnModFunc('Comments','users','DisplayForm',
!                 array('module'=>'News', 
                        'hook'=>$hook, 
                        'formtype'=>'modify',
--- 83,87 ----
              // return the HTML. 
              return pnModFunc('Comments','users','DisplayForm',
!                 array('module'=>'news', 
                        'hook'=>$hook, 
                        'formtype'=>'modify',
***************
*** 93,100 ****
          } else {    
              pnModAPIFunc('Comments','user','modify', 
!                 array('module'=>'News', 'hook'=>$hook, 
                        'ParentId'=>$ParentId, 'comment'=>$comment, 'title'=>$title));
      
!             pnRedirect(pnModURL('News','user','view',
                  array($hookname=>$hook, 'file'=>'article')));
          } // end of submitted == 'preview', if-else statement
--- 93,100 ----
          } else {    
              pnModAPIFunc('Comments','user','modify', 
!                 array('module'=>'news', 'hook'=>$hook, 
                        'ParentId'=>$ParentId, 'comment'=>$comment, 'title'=>$title));
      
!             pnRedirect(pnModURL('news','user','view',
                  array($hookname=>$hook, 'file'=>'article')));
          } // end of submitted == 'preview', if-else statement
***************
*** 108,117 ****
          
          $parent = pnModAPIFunc('Comments','user','Get',
!                                array('module'=>'News',
                                       'hook'=>$hook,
                                       'CommentId'=>$ParentId
          
          pnModFunc('Comments','users','DisplayForm',
!             array('module'=>'News', 
                    'hook'=>$hook, 
                    'formtype'=>'modify',
--- 108,117 ----
          
          $parent = pnModAPIFunc('Comments','user','Get',
!                                array('module'=>'news',
                                       'hook'=>$hook,
                                       'CommentId'=>$ParentId
          
          pnModFunc('Comments','users','DisplayForm',
!             array('module'=>'news', 
                    'hook'=>$hook, 
                    'formtype'=>'modify',
***************
*** 144,148 ****
          pnModAPILoad('Comments','user');
  
!         $funcargs['module']     = 'News';
          $funcargs['hook']       = $hook;
          $funcargs['CommentId']  = $CommentId;
--- 144,148 ----
          pnModAPILoad('Comments','user');
  
!         $funcargs['module']     = 'news';
          $funcargs['hook']       = $hook;
          $funcargs['CommentId']  = $CommentId;
***************
*** 154,158 ****
          $urlargs['file']    = 'article';
  
!         pnRedirect(pnModURL('News','user','view', $urlargs));
          
      } else {  // display delete confirmation form
--- 154,158 ----
          $urlargs['file']    = 'article';
  
!         pnRedirect(pnModURL('news','user','view', $urlargs));
          
      } else {  // display delete confirmation form
***************
*** 176,180 ****
              // the delete
              $urlargs['hook']         = $hook;
!             $urlargs['module']       = 'News';
              $urlargs['CommentId']    = $CommentId;
              $urlargs['depth']        = 0;
--- 176,180 ----
              // the delete
              $urlargs['hook']         = $hook;
!             $urlargs['module']       = 'news';
              $urlargs['CommentId']    = $CommentId;
              $urlargs['depth']        = 0;
***************
*** 186,190 ****
              $funcargs['CommentId']   = $CommentId;
              $funcargs['cancel_text'] = _CANCEL;
!             $funcargs['cancel_url']  = pnModURL('News','comments','modify',$urlargs); 
              
              // show the confirm delete page - this also creates a cancel
--- 186,190 ----
              $funcargs['CommentId']   = $CommentId;
              $funcargs['cancel_text'] = _CANCEL;
!             $funcargs['cancel_url']  = pnModURL('news','comments','modify',$urlargs); 
              
              // show the confirm delete page - this also creates a cancel
***************
*** 197,199 ****
  }
  
! ?>
\ No newline at end of file
--- 197,199 ----
  }
  
! ?>


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