45 lines
914 B
PHP
Executable File
45 lines
914 B
PHP
Executable File
<?php
|
|
class uiScheduler extends uiCalendar
|
|
{
|
|
function uiScheduler(&$uiBase)
|
|
{
|
|
$this->curr =& $_SESSION[UI_CALENDAR_SESSNAME]['current'];
|
|
if (!is_array($this->curr)) {
|
|
$this->curr['view'] = 'month';
|
|
$this->curr['year'] = date("Y");
|
|
$this->curr['month'] = date("m");
|
|
$this->curr['day'] = date('d');
|
|
}
|
|
|
|
$this->Base =& $uiBase;
|
|
$this->reloadUrl = UI_BROWSER.'?popup[]=_reload_parent&popup[]=_close';
|
|
|
|
$this->uiCalendar();
|
|
}
|
|
|
|
|
|
function setReload()
|
|
{
|
|
$this->Base->redirUrl = $this->reloadUrl;
|
|
}
|
|
|
|
function set($arr)
|
|
{
|
|
extract($arr);
|
|
if ($view) $this->curr['view'] = $view;
|
|
if ($day) $this->curr['day'] = $day;
|
|
}
|
|
|
|
|
|
function uploadPL($gunid)
|
|
{
|
|
require_once dirname(__FILE__).'ui_xmlrpcwrapper.class.php';
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
?>
|