Remove possible bad system admin typos (#2827153).
[squirrelmail.git] / plugins / calendar / calendar.php
index dae2a87df7b8a3ca9c60d5d01ec5166135262dce..03516bdaf0ec5fba2d1a0bfea7076a8aa6468ea7 100644 (file)
@@ -3,7 +3,7 @@
 /**
  * Displays the main calendar page (month view).
  *
- * @copyright © 2002-2007 The SquirrelMail Project Team
+ * @copyright © 2002-2009 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
@@ -138,7 +138,7 @@ function drawmonthview() {
  * @access private
  */
 function endcalendar() {
-    global $year, $month, $day, $color;
+    global $year, $month;
 
     echo html_tag( 'tr' ) ."\n" .
            html_tag( 'td', '', 'left', '', 'colspan="7"' ) ."\n" .
@@ -169,7 +169,7 @@ if( !isset($day) || $day <= 0){
 $todayis = date( 'mdY' );
 $calself=basename($PHP_SELF);
 
-displayPageHeader($color, 'None');
+displayPageHeader($color);
 calendar_header();
 readcalendardata();
 startcalendar();
@@ -177,4 +177,4 @@ drawmonthview();
 endcalendar();
 
 ?>
-</body></html>
\ No newline at end of file
+</body></html>