Added in class member variables, removed newline at end of file which can cause problems if you try to send headers after this file is included.
This commit is contained in:
parent
11db21cc45
commit
8374bea772
1 changed files with 10 additions and 2 deletions
|
@ -1,6 +1,12 @@
|
|||
<?php
|
||||
class uiCalendar
|
||||
{
|
||||
var $Decade;
|
||||
var $Year;
|
||||
var $Month;
|
||||
var $Week;
|
||||
var $Day;
|
||||
var $Hour;
|
||||
|
||||
function uiCalendar()
|
||||
{
|
||||
|
@ -102,7 +108,9 @@ class uiCalendar
|
|||
|
||||
function buildDay()
|
||||
{
|
||||
if (is_array($this->Day)) return;
|
||||
if (is_array($this->Day)) {
|
||||
return;
|
||||
}
|
||||
|
||||
require_once 'Calendar/Day.php';
|
||||
|
||||
|
@ -172,4 +180,4 @@ class uiCalendar
|
|||
'full' => strftime("%A", $timestamp));
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue