root/ip/tags/release_1_3_0_53/includes/mini_cal/calendarSuite.php
| 111 | 163 | ||
|---|---|---|---|
70 | * @const language | 70 | * @const language |
71 | * default 0 / english | 71 | * default 0 / english |
72 | **/ | 72 | **/ |
73 | define("language", "0"); | 73 | define('language', '0'); |
74 | 74 | ||
75 | 75 | ||
76 | /** | 76 | /** |
... | ... | ||
78 | * @const dateFormat | 78 | * @const dateFormat |
79 | * default | 79 | * default |
80 | **/ | 80 | **/ |
81 | define("dateFormat" , "0"); | 81 | define('dateFormat' , '0'); |
82 | 82 | ||
83 | 83 | ||
84 | class calendarSuite | 84 | class calendarSuite |
... | ... | ||
171 | **/ | 171 | **/ |
172 | function makeTimestamp($date) | 172 | function makeTimestamp($date) |
173 | { | 173 | { |
174 | $this->stamp = strtotime($date); | 174 | $this->stamp = @strtotime($date); |
175 | return ($this->stamp); | 175 | return ($this->stamp); |
176 | // end of function makeTimestamp | 176 | // end of function makeTimestamp |
177 | } | 177 | } |
... | ... | ||
200 | $this->monthStart = date("w", $tadj); | 200 | $this->monthStart = date("w", $tadj); |
201 | */ | 201 | */ |
202 | 202 | ||
203 | for($i=1; $i < $this->daysMonth+1; $i++) { | 203 | for($i=1; $i < $this->daysMonth + 1; $i++) |
204 | { | ||
204 | $this->makeTimestamp("$i $this->ext_dateMM $this->dateYYYY"); | 205 | $this->makeTimestamp("$i $this->ext_dateMM $this->dateYYYY"); |
205 | $this->day[] = array( | 206 | $this->day[] = array( |
206 | "0" => "$i", | 207 | "0" => "$i", |
Download diff