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 / common [ 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]
04 Aug 2002 08:42:23postnuke_official/html/modules/comments/commonCommonFunctions.php,1.20,1.21Carl P. Corliss
 boom shakalaka!!! :)

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

Modified Files:
	CommonFunctions.php 
Log Message:
boom shakalaka!!! :)
so um.. yeah.. bet you can't guess what this is ... More bugfixes!!!! woohooooooo!!!


Index: CommonFunctions.php
===================================================================
RCS file: /home/cvsroot/postnuke_official/html/modules/comments/common/CommonFunctions.php,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** CommonFunctions.php	4 Aug 2002 03:44:20 -0000	1.20
--- CommonFunctions.php	4 Aug 2002 08:42:21 -0000	1.21
***************
*** 223,226 ****
--- 223,227 ----
                      // flag being set true
                      $related = false;
+                     
                      for ($i = 0; $PreSortList[$i]; $i++) {
                          $key_current = explode(':',$PreSortList[$i]['lineage']);
***************
*** 257,265 ****
                      // on all comments to false and the depth on all comments
                      // to 1.
!                     for ($i = 0; $PreSortList[$i]; $i++) {
!                         $PreSortList[$i]['depth'] = 1;
!                         $PreSortList[$i]['HasChildren'] = false;
                      }
!                     return $PreSortList;
                      break;
              default:
--- 258,274 ----
                      // on all comments to false and the depth on all comments
                      // to 1.
!                     $i = 0;
!                     foreach($PreSortList as $comment) {
!                         $sorted[$i] = $comment;
!                         $sorted[$i]['depth'] = 1;
!                         // first one gets to be the parent :)
!                         if (!$i) {
!                             $sorted[$i]['HasChildren'] = true;
!                         } else {
!                             $sorted[$i]['HasChildren'] = false;
!                         }
!                         $i += 1;
                      }
!                     return $sorted;
                      break;
              default:
***************
*** 413,428 ****
      // @return The current sort value
      //
!     function pnComments_SortValue($value='') {
          static $sort;
  
!         if (!empty($value)) {
!             if (_COM_SORT_DESC == strtoupper($value)) {
!                 $sort = _COM_SORT_DESC;
!             } else {
!                 $sort = _COM_SORT_ASC;
!             }
!         } else {
!             if (empty($sort)) {
!                 $sort = _COM_SORT_ASC;
              }
          }
--- 422,436 ----
      // @return The current sort value
      //
!     function pnComments_SortValue($value=NULL) {
          static $sort;
  
!         if ($value != NULL) {
!             switch ($value) {
!                 case _COM_SORT_DESC:
!                     $sort = _COM_SORT_DESC;
!                     break;
!                 case _COM_SORT_ASC:
!                 default: 
!                     $sort = _COM_SORT_ASC;
              }
          }


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