[geeklog-cvs] geeklog-1.3/public_html calendar.php,1.31,1.32

dhaun at geeklog.net dhaun at geeklog.net
Sun Jan 4 17:13:52 EST 2004


Update of /usr/cvs/geeklog/geeklog-1.3/public_html
In directory geeklog_prod:/tmp/cvs-serv4145

Modified Files:
	calendar.php 
Log Message:
Since calendar_event.php calls us with a 'msg' parameter, we'd better display the message ...


Index: calendar.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/calendar.php,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** calendar.php	2 Aug 2003 17:04:50 -0000	1.31
--- calendar.php	4 Jan 2004 22:13:50 -0000	1.32
***************
*** 304,307 ****
--- 304,316 ----
  }
  
+ if (isset ($HTTP_POST_VARS['msg'])) {
+     $msg = COM_applyFilter ($HTTP_POST_VARS['msg'], true);
+ } else {
+     $msg = COM_applyFilter ($HTTP_GET_VARS['msg'], true);
+ }
+ if ($msg > 0) {
+     $display .= COM_showMessage ($msg);
+ }
+ 
  // Create new calendar object
  $cal = new Calendar();





More information about the geeklog-cvs mailing list