Some renaming.
[timetracker.git] / WEB-INF / lib / form / Calendar.class.php
index e9d5097..01bd354 100644 (file)
@@ -45,7 +45,7 @@ class Calendar extends FormElement {
     var $controlName = "";
     var $highlight = "time"; // Determines what type of active days to highlight ("time" or "expenses"). 
     // var $mAllDays       = true;
-    var $cClassName    = "Calendar";
+    var $class = "Calendar";
 
     function __construct($name) {
         $this->controlName = $name;
@@ -93,8 +93,6 @@ class Calendar extends FormElement {
       $indate = $this->value;
       if (!$indate) $indate = strftime(DB_DATEFORMAT);
 
-      if (!$this->isRenderable()) return "";
-
       //current year and month
       if ( strlen ( $indate ) > 0 ) {
         $indateObj = new DateAndTime(DB_DATEFORMAT, $indate);