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 / base [ 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]
30 Jul 2002 02:27:40postnuke_official/html/modules/basepnuserapi.php,1.14,1.15Paul Rosania
 added optional prefix attr to pn:loop tag

Update of /home/cvsroot/postnuke_official/html/modules/base
In directory ns7.hostnuke.net:/tmp/cvs-serv13918/modules/base

Modified Files:
	pnuserapi.php 
Log Message:
added optional prefix attr to pn:loop tag


Index: pnuserapi.php
===================================================================
RCS file: /home/cvsroot/postnuke_official/html/modules/base/pnuserapi.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** pnuserapi.php	29 Jul 2002 04:33:35 -0000	1.14
--- pnuserapi.php	30 Jul 2002 02:27:38 -0000	1.15
***************
*** 101,109 ****
      $name = convert_array_style($name);
      
      if (isset($key)) {
!         return "<?php \$_pass = 0; foreach ($$name as \$_item) { extract(\$_item, EXTR_OVERWRITE); \$_pass++; $$key = \$_pass; ?>";
      }
  
!     return "<?php foreach ($$name as \$_item) { extract(\$_item, EXTR_OVERWRITE); ?>\n$content\n<?php } ?>\n";
  }
  
--- 101,125 ----
      $name = convert_array_style($name);
      
+     $output = '<?php ';
+ 
      if (isset($key)) {
!         $output .= '$_pass = 0; ';
!     }
!     
!     $output .= "foreach ($$name as \$_item) { extract(\$_item, EXTR_";
!     
!     if (isset($prefix)) {
!         $output .= "PREFIX_ALL, '$prefix'";
!     } else {
!         $output .= 'OVERWRITE';
!     }
!     
!     $output .= '); ';
!     
!     if (isset($key)) {
!         $output .= "\$_pass++; $$key = \$_pass;";
      }
  
!     return $output . " ?>\n$content\n<?php } ?>\n";
  }
  
***************
*** 290,299 ****
      $bid = md5(pnUserGetTheme().$id);
  
!     return "<?php echo pnBlockShow('$module',
!                         '$name',
!                         array('bid' => '$bid',
!                               'title' => '".addslashes($title)."',
!                               'content' => '$content',
!                               'template' => '$template')); ?>";
  }
  //<?
--- 306,315 ----
      $bid = md5(pnUserGetTheme().$id);
  
!     return "<?php echo pnBlockShow(array('module' => $module,
!                                          'type' => $name,
!                                          'bid' => '$bid',
!                                          'title' => '".addslashes($title)."',
!                                          'content' => '$content',
!                                          'template' => '$template')); ?>";
  }
  //<?


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