[geeklog-cvs] geeklog-1.3/public_html calendar_event.php,1.29,1.30

dhaun at iowaoutdoors.org dhaun at iowaoutdoors.org
Wed Jun 9 03:53:58 EDT 2004


Update of /var/cvs/geeklog-1.3/public_html
In directory www:/tmp/cvs-serv18637/public_html

Modified Files:
	calendar_event.php 
Log Message:
Threw in some nl2br() calls to allow minimal formatting of an event's description.


Index: calendar_event.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/calendar_event.php,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** calendar_event.php	17 May 2004 17:50:47 -0000	1.29
--- calendar_event.php	9 Jun 2004 07:53:55 -0000	1.30
***************
*** 94,98 ****
          $cal_template->set_var('event_location', $location);
          $cal_template->set_var('lang_description', $LANG02[5]);
!         $cal_template->set_var('event_description', stripslashes ($A['description']));
          $cal_template->set_var('event_id', $eid);
          $cal_template->set_var('lang_addtomycalendar', $LANG02[9]);
--- 94,99 ----
          $cal_template->set_var('event_location', $location);
          $cal_template->set_var('lang_description', $LANG02[5]);
!         $cal_template->set_var('event_description',
!                                nl2br (stripslashes ($A['description'])));
          $cal_template->set_var('event_id', $eid);
          $cal_template->set_var('lang_addtomycalendar', $LANG02[9]);
***************
*** 335,339 ****
  
      $cal_templates->set_var('lang_description', $LANG12[15]);
!     $cal_templates->set_var('event_description', stripslashes ($A['description']));
  
      $cal_templates->set_var('lang_htmlnotallowed', $LANG12[35]);
--- 336,341 ----
  
      $cal_templates->set_var('lang_description', $LANG12[15]);
!     $cal_templates->set_var('event_description',
!                             nl2br (stripslashes ($A['description'])));
  
      $cal_templates->set_var('lang_htmlnotallowed', $LANG12[35]);
***************
*** 585,589 ****
                  $cal_templates->set_var('event_location', stripslashes ($A['location']));
                  $cal_templates->set_var('lang_description', $LANG02[5]);
!                 $cal_templates->set_var('event_description', stripslashes ($A['description']));
                  $cal_templates->set_var('lang_event_type', $LANG12[49]);
                  $cal_templates->set_var('event_type', $A['event_type']);
--- 587,592 ----
                  $cal_templates->set_var('event_location', stripslashes ($A['location']));
                  $cal_templates->set_var('lang_description', $LANG02[5]);
!                 $cal_templates->set_var('event_description',
!                         nl2br (stripslashes ($A['description'])));
                  $cal_templates->set_var('lang_event_type', $LANG12[49]);
                  $cal_templates->set_var('event_type', $A['event_type']);




More information about the geeklog-cvs mailing list