added phpdoc blocks.
[squirrelmail.git] / plugins / calendar / functions.php
index 6b646832e69f0d85a27f03dc385cf584c6c084c8..6dba751f467e5213c55b21318a741e11ca685d29 100644 (file)
@@ -3,7 +3,7 @@
 /**
  * functions.php
  *
- * Copyright (c) 2002-2003 The SquirrelMail Project Team
+ * Copyright (c) 2002-2004 The SquirrelMail Project Team
  * Licensed under the GNU GPL. For full terms see the file COPYING.
  *
  * Originally contrubuted by Michal Szczotka <michal@tuxy.org>
  * miscelenous functions.
  *
  * $Id$
+ * @package plugins
+ * @subpackage calendar
  */
 
-
+/**
+ * @return void
+ */
 function calendar_header() {
     //Add Second layer ofCalendar links to upper menu
     global $color,$year,$day,$month;
@@ -37,7 +41,7 @@ function select_option_length($selected) {
     $eventlength = array(
         '0' => _("0 min."),
         '15' => _("15 min."),
-        '30' => _("35 min."),
+        '30' => _("30 min."),
         '45' => _("45 min."),
         '60' => _("1 hr."),
         '90' => _("1.5 hr."),
@@ -126,7 +130,7 @@ function select_option_month($selected) {
 
     for ($i=1;$i<13;$i++){
         $im=date('m',mktime(0,0,0,$i,1,1));
-        $is = substr( _( date('F',mktime(0,0,0,$i,1,1)) ), 0, 3 );
+        $is = getMonthAbrv( date('m',mktime(0,0,0,$i,1,1)) );
         if ($im==$selected){
             echo "            <OPTION VALUE=\"$im\" SELECTED>$is</OPTION>\n";
         } else {