[geeklog-cvs] Geeklog-1.x/public_html/calendar index.php, 1.20, 1.21

Dirk Haun dhaun at qs1489.pair.com
Sun Jun 17 03:36:53 EDT 2007


Update of /cvsroot/geeklog/Geeklog-1.x/public_html/calendar
In directory qs1489.pair.com:/tmp/cvs-serv63274

Modified Files:
	index.php 
Log Message:
Removed extra slashes from the template paths (reported by Joe Mucchiello)


Index: index.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/calendar/index.php,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** index.php	8 Feb 2007 05:39:11 -0000	1.20
--- index.php	17 Jun 2007 07:36:51 -0000	1.21
***************
*** 9,13 ****
  // | Geeklog calendar plugin                                                   |
  // +---------------------------------------------------------------------------+
! // | Copyright (C) 2000-2006 by the following authors:                         |
  // |                                                                           |
  // | Authors: Tony Bibbs        - tony AT tonybibbs DOT com                    |
--- 9,13 ----
  // | Geeklog calendar plugin                                                   |
  // +---------------------------------------------------------------------------+
! // | Copyright (C) 2000-2007 by the following authors:                         |
  // |                                                                           |
  // | Authors: Tony Bibbs        - tony AT tonybibbs DOT com                    |
***************
*** 479,483 ****
  switch ($view) {
  case 'day':
!     $cal_templates = new Template($_CONF['path'] . '/plugins/calendar/templates/dayview');
      $cal_templates->set_file(array('column'=>'column.thtml',
                                     'event'=>'singleevent.thtml',
--- 479,483 ----
  switch ($view) {
  case 'day':
!     $cal_templates = new Template($_CONF['path'] . 'plugins/calendar/templates/dayview');
      $cal_templates->set_file(array('column'=>'column.thtml',
                                     'event'=>'singleevent.thtml',
***************
*** 614,618 ****
  
  case 'week':
!     $cal_templates = new Template($_CONF['path'] . '/plugins/calendar/templates');
      $cal_templates->set_file(array('week'=>'weekview/weekview.thtml',
                                     'events'=>'weekview/events.thtml',
--- 614,618 ----
  
  case 'week':
!     $cal_templates = new Template($_CONF['path'] . 'plugins/calendar/templates');
      $cal_templates->set_file(array('week'=>'weekview/weekview.thtml',
                                     'events'=>'weekview/events.thtml',
***************
*** 789,793 ****
  // Load templates
  
! $cal_templates = new Template($_CONF['path'] . '/plugins/calendar/templates');
  $cal_templates->set_file (array (
          'calendar'    => 'calendar.thtml',
--- 789,793 ----
  // Load templates
  
! $cal_templates = new Template($_CONF['path'] . 'plugins/calendar/templates');
  $cal_templates->set_file (array (
          'calendar'    => 'calendar.thtml',




More information about the geeklog-cvs mailing list