[geeklog-cvs] geeklog-1.3/plugins/staticpages functions.inc,1.39,1.40

dhaun at iowaoutdoors.org dhaun at iowaoutdoors.org
Wed Aug 11 05:24:37 EDT 2004


Update of /var/cvs/geeklog-1.3/plugins/staticpages
In directory www:/tmp/cvs-serv19863

Modified Files:
	functions.inc 
Log Message:
Fixed warning


Index: functions.inc
===================================================================
RCS file: /var/cvs/geeklog-1.3/plugins/staticpages/functions.inc,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -d -r1.39 -r1.40
*** functions.inc	8 Aug 2004 10:14:49 -0000	1.39
--- functions.inc	11 Aug 2004 09:24:35 -0000	1.40
***************
*** 114,122 ****
  function plugin_showstats_staticpages($showsitestats) 
  {
!     global $LANG_STATIC, $_CONF, $_TABLES;
  
      $stat_templates = new Template ($_CONF['path_layout'] . 'stats');
!     $stat_templates->set_file (array ('itemstats'=>'itemstatistics.thtml',
!                                       'statrow'=>'singlestat.thtml'));
      if ($showsitestats == 1) {
          $perms = SP_getPerms ();
--- 114,124 ----
  function plugin_showstats_staticpages($showsitestats) 
  {
!     global $_CONF, $_TABLES, $LANG_STATIC;
! 
!     $retval = '';
  
      $stat_templates = new Template ($_CONF['path_layout'] . 'stats');
!     $stat_templates->set_file (array ('itemstats' => 'itemstatistics.thtml',
!                                       'statrow'   => 'singlestat.thtml'));
      if ($showsitestats == 1) {
          $perms = SP_getPerms ();




More information about the geeklog-cvs mailing list