From 313ff5eba49eb7284ad6d8d6e0439c776af9d670 Mon Sep 17 00:00:00 2001 From: Alan Pippin Date: Wed, 27 Oct 2010 20:40:53 -0600 Subject: [PATCH] Changes to support a jquery based tablesorter for the Ward Callings page --- .../asc.gif => images/tablesorter_asc.gif | Bin .../blue/bg.gif => images/tablesorter_bg.gif | Bin .../desc.gif => images/tablesorter_desc.gif | Bin inc/class.tc.inc.php | 40 ++++---------- .../{tablesorter => }/jquery.metadata.js | 0 inc/jquery/jquery.tablesorter.css | 19 +++++++ .../{tablesorter => }/jquery.tablesorter.js | 0 inc/jquery/tablesorter/themes/blue/blue.zip | Bin 885 -> 0 bytes inc/jquery/tablesorter/themes/blue/style.css | 39 -------------- inc/jquery/tablesorter/themes/green/asc.png | Bin 2665 -> 0 bytes inc/jquery/tablesorter/themes/green/bg.png | Bin 2655 -> 0 bytes inc/jquery/tablesorter/themes/green/desc.png | Bin 2662 -> 0 bytes inc/jquery/tablesorter/themes/green/green.zip | Bin 8464 -> 0 bytes inc/jquery/tablesorter/themes/green/style.css | 39 -------------- templates/default/org_view.tpl | 49 +++++++++--------- 15 files changed, 54 insertions(+), 132 deletions(-) rename inc/jquery/tablesorter/themes/blue/asc.gif => images/tablesorter_asc.gif (100%) rename inc/jquery/tablesorter/themes/blue/bg.gif => images/tablesorter_bg.gif (100%) rename inc/jquery/tablesorter/themes/blue/desc.gif => images/tablesorter_desc.gif (100%) rename inc/jquery/{tablesorter => }/jquery.metadata.js (100%) create mode 100644 inc/jquery/jquery.tablesorter.css rename inc/jquery/{tablesorter => }/jquery.tablesorter.js (100%) delete mode 100644 inc/jquery/tablesorter/themes/blue/blue.zip delete mode 100644 inc/jquery/tablesorter/themes/blue/style.css delete mode 100644 inc/jquery/tablesorter/themes/green/asc.png delete mode 100644 inc/jquery/tablesorter/themes/green/bg.png delete mode 100644 inc/jquery/tablesorter/themes/green/desc.png delete mode 100644 inc/jquery/tablesorter/themes/green/green.zip delete mode 100644 inc/jquery/tablesorter/themes/green/style.css diff --git a/inc/jquery/tablesorter/themes/blue/asc.gif b/images/tablesorter_asc.gif similarity index 100% rename from inc/jquery/tablesorter/themes/blue/asc.gif rename to images/tablesorter_asc.gif diff --git a/inc/jquery/tablesorter/themes/blue/bg.gif b/images/tablesorter_bg.gif similarity index 100% rename from inc/jquery/tablesorter/themes/blue/bg.gif rename to images/tablesorter_bg.gif diff --git a/inc/jquery/tablesorter/themes/blue/desc.gif b/images/tablesorter_desc.gif similarity index 100% rename from inc/jquery/tablesorter/themes/blue/desc.gif rename to images/tablesorter_desc.gif diff --git a/inc/class.tc.inc.php b/inc/class.tc.inc.php index 0346ade..35357da 100644 --- a/inc/class.tc.inc.php +++ b/inc/class.tc.inc.php @@ -92,6 +92,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