X-Git-Url: http://git.pippins.net/embedvideo/.git/static/gitweb.js?a=blobdiff_plain;f=inc%2Fclass.tc.inc.php;h=59aa4c0c4c516e34c72af18d42ff829f9a1c82d0;hb=b5c74cd3f678ed412df81cda7f8f77344d374d7a;hp=031d19fcfc19fa6f0df09b675b14ce72a35d041c;hpb=a7dc2d93b41c38fb9d80f7547a06706e3904e8ab;p=eq%2F.git diff --git a/inc/class.tc.inc.php b/inc/class.tc.inc.php index 031d19f..59aa4c0 100644 --- a/inc/class.tc.inc.php +++ b/inc/class.tc.inc.php @@ -15,6 +15,7 @@ class tc { var $db; var $db2; + var $db3; var $t; var $nextmatchs; var $grants; @@ -33,7 +34,8 @@ class tc var $upload_target_path; var $script_path; var $max_appointments; - var $max_presidency_members; + var $max_leader_members; + var $ppi_frequency_label; var $public_functions = array ( @@ -66,6 +68,7 @@ class tc 'assign_view' => True, 'assign_update' => True, 'get_time_selection_form' => True, + 'ht_sandbox' => True, ); function tc() @@ -76,8 +79,11 @@ class tc 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_leader_members = 99; $this->max_appointments = 32768; $this->db = $GLOBALS['phpgw']->db; @@ -89,6 +95,11 @@ class tc $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