[geeklog-cvs] Geeklog-1.x/public_html/calendar event.php, 1.25, 1.26

Dirk Haun dhaun at qs1489.pair.com
Sun Jan 27 10:23:35 EST 2008


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

Modified Files:
	event.php 
Log Message:
Got rid of the $_STATES array and turned the states dropdown into a simple text entry field


Index: event.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/calendar/event.php,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** event.php	25 Nov 2007 06:58:56 -0000	1.25
--- event.php	27 Jan 2008 15:23:33 -0000	1.26
***************
*** 9,13 ****
  // | Shows details of an event or events                                       |
  // +---------------------------------------------------------------------------+
! // | Copyright (C) 2000-2007 by the following authors:                         |
  // |                                                                           |
  // | Authors: Tony Bibbs        - tony AT tonybibbs DOT com                    |
--- 9,13 ----
  // | Shows details of an event or events                                       |
  // +---------------------------------------------------------------------------+
! // | Copyright (C) 2000-2008 by the following authors:                         |
  // |                                                                           |
  // | Authors: Tony Bibbs        - tony AT tonybibbs DOT com                    |
***************
*** 35,40 ****
  // $Id$
  
! require_once ('../lib-common.php');
! require_once ($_CONF['path_system'] . 'classes/calendar.class.php');
  
  /**
--- 35,40 ----
  // $Id$
  
! require_once '../lib-common.php';
! require_once $_CONF['path_system'] . 'classes/calendar.class.php';
  
  /**
***************
*** 96,100 ****
                    . stripslashes ($A['address2']) . '<br' . XHTML . '>'
                    . stripslashes ($A['city'])
!                   . ', ' . $A['state'] . ' ' . $A['zipcode'];
          $cal_template->set_var('event_location', $location);
          $cal_template->set_var('lang_description', $LANG_CAL_1[5]);
--- 96,100 ----
                    . stripslashes ($A['address2']) . '<br' . XHTML . '>'
                    . stripslashes ($A['city'])
!                   . ', ' . stripslashes($A['state']) . ' ' . $A['zipcode'];
          $cal_template->set_var('event_location', $location);
          $cal_template->set_var('lang_description', $LANG_CAL_1[5]);
***************
*** 282,286 ****
  
      $cal_templates->set_var('lang_state', $LANG_CAL_1[35]);
!     $cal_templates->set_var('state_options', CALENDAR_stateList ($A['state']));
  
      $cal_templates->set_var('lang_zipcode', $LANG_CAL_1[36]);
--- 282,287 ----
  
      $cal_templates->set_var('lang_state', $LANG_CAL_1[35]);
!     $cal_templates->set_var('state_options', '');
!     $cal_templates->set_var('event_state', stripslashes ($A['state']));
  
      $cal_templates->set_var('lang_zipcode', $LANG_CAL_1[36]);
***************
*** 613,620 ****
                  } else {
                      $cal_templates->set_var ('event_state', ', ' . $A['state']);
!                     $cal_templates->set_var ('event_state_name',
!                             ', ' . $_STATES[$A['state']]);
                      $cal_templates->set_var ('event_state_name_only',
!                             $_STATES[$A['state']]);
                  }
  
--- 614,620 ----
                  } else {
                      $cal_templates->set_var ('event_state', ', ' . $A['state']);
!                     $cal_templates->set_var ('event_state_name', $A['state']);
                      $cal_templates->set_var ('event_state_name_only',
!                                              $A['state']);
                  }
  




More information about the geeklog-cvs mailing list