X-Git-Url: http://git.pippins.net/embedvideo/.git/static/gitweb.js?a=blobdiff_plain;ds=sidebyside;f=inc%2Fclass.tc.inc.php;h=b1995ed9202c5c266d0251ed472a416c08b6114f;hb=1d7d0afcd39dbd2c4c4ebe13ac110cb984270761;hp=49d9a49e615b8f2e5aea3f42dc423b54efe7f188;hpb=428f6a4f9c29acce79cd2a94081185bd3fd262d9;p=eq%2F.git
diff --git a/inc/class.tc.inc.php b/inc/class.tc.inc.php
index 49d9a49..b1995ed 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