X-Git-Url: http://git.pippins.net/embedvideo/.git/static/git-logo.png?a=blobdiff_plain;f=inc%2Fclass.tc.inc.php;h=b1995ed9202c5c266d0251ed472a416c08b6114f;hb=1d7d0afcd39dbd2c4c4ebe13ac110cb984270761;hp=a6ad7c1da201b869fbd715ec397a181dca3fd07d;hpb=1c4666ece3b5d77a53d893e31ed06535d978e511;p=eq%2F.git diff --git a/inc/class.tc.inc.php b/inc/class.tc.inc.php index a6ad7c1..b1995ed 100644 --- a/inc/class.tc.inc.php +++ b/inc/class.tc.inc.php @@ -34,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 ( @@ -67,6 +68,7 @@ class tc 'assign_view' => True, 'assign_update' => True, 'get_time_selection_form' => True, + 'ht_sandbox' => True, ); function tc() @@ -77,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; @@ -90,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