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 / postcalendar [ 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]
03 Oct 2002 04:54:47postnuke_modules/postcalendarsmarty_plugins.php,1.11,1.12Roger Raymond
 fixes to date value in smarty tpl_view plugin

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

Modified Files:
	smarty_plugins.php 
Log Message:
fixes to date value in smarty tpl_view plugin


Index: smarty_plugins.php
===================================================================
RCS file: /home/cvsroot/postnuke_modules/postcalendar/smarty_plugins.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** smarty_plugins.php	3 Oct 2002 04:41:22 -0000	1.11
--- smarty_plugins.php	3 Oct 2002 04:54:45 -0000	1.12
***************
*** 177,183 ****
          $Date = postcalendar_getDate();
      }
!     $y = substr($Date,0,4);
!     $m = substr($Date,4,2);
!     $d = substr($Date,6,2);
      
      if(!isset($args['day']) || strtolower($args['day']) == 'on') {
--- 177,183 ----
          $Date = postcalendar_getDate();
      }
!     if(!isset($y)) $y = substr($Date,0,4);
!     if(!isset($m)) $m = substr($Date,4,2);
!     if(!isset($d)) $d = substr($Date,6,2);
      
      if(!isset($args['day']) || strtolower($args['day']) == 'on') {
***************
*** 269,278 ****
      
      list($Date,$d,$m,$y) = pnVarCleanFromInput('Date','jumpday','jumpmonth','jumpyear');
      if(!isset($Date)) {
          $Date = postcalendar_getDate();
      }
!     $y = substr($Date,0,4);
!     $m = substr($Date,4,2);
!     $d = substr($Date,6,2);
      
      $tplview = pnVarCleanFromInput('tplview');
--- 269,280 ----
      
      list($Date,$d,$m,$y) = pnVarCleanFromInput('Date','jumpday','jumpmonth','jumpyear');
+     //echo $y,$m,$d;
      if(!isset($Date)) {
          $Date = postcalendar_getDate();
      }
!     if(!isset($y)) $y = substr($Date,0,4);
!     if(!isset($m)) $m = substr($Date,4,2);
!     if(!isset($d)) $d = substr($Date,6,2);
!     $Date = "$y$m$d";
      
      $tplview = pnVarCleanFromInput('tplview');


Directory filter : [ all ] / postnuke_modules / postcalendar [ 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