True,
'ht_update' => True,
'act_list' => True,
'act_view' => True,
'act_update' => True,
'par_view' => True,
'ppi_view' => True,
'ppi_update' => True,
'ppi_sched' => True,
'int_view' => True,
'int_update' => True,
'int_sched' => True,
'vis_sched' => True,
'vis_view' => True,
'vis_update' => True,
'att_view' => True,
'att_update' => True,
'dir_view' => True,
'org_view' => True,
'schedule' => True,
'admin' => True,
'email' => True,
'email_appt' => True,
'willing_view' => True,
'willing_update' => True,
'send_ical_appt' => True,
'assign_view' => True,
'assign_update' => True,
'get_time_selection_form' => True,
'ht_sandbox' => True,
);
function tc()
{
if(file_exists("setup/tc_config.local")) {
include("setup/tc_config.local");
} else {
include("setup/tc_config");
}
$this->jquery_url = $GLOBALS['phpgw']->link('inc/jquery/jquery.js');
$this->jquery_tablesorter_url = $GLOBALS['phpgw']->link('inc/jquery/jquery.tablesorter.js');
$this->script_path = "$this->application_path"."/bin";
$this->max_presidency_members = 99;
$this->max_appointments = 32768;
$this->db = $GLOBALS['phpgw']->db;
$this->db2 = $this->db;
$this->db3 = $this->db;
$this->nextmatchs = CreateObject('phpgwapi.nextmatchs');
$this->t = $GLOBALS['phpgw']->template;
$this->account = $GLOBALS['phpgw_info']['user']['account_id'];
$this->grants = $GLOBALS['phpgw']->acl->get_grants('tc');
$this->grants[$this->account] = PHPGW_ACL_READ + PHPGW_ACL_ADD + PHPGW_ACL_EDIT + PHPGW_ACL_DELETE;
$GLOBALS['phpgw_info']['flags']['css'] .= "-->\n\n"
. ''
. "\n