/[drupal]/contributions/modules/casetracker_services/casetracker_client.module
ViewVC logotype

Diff of /contributions/modules/casetracker_services/casetracker_client.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.2.2.6, Fri Apr 4 03:36:24 2008 UTC revision 1.2.2.7, Fri Apr 4 05:28:49 2008 UTC
# Line 282  function theme_casetracker_client_projec Line 282  function theme_casetracker_client_projec
282   */   */
283  function theme_casetracker_client_cases($overview, $title = 'Cases overview') {  function theme_casetracker_client_cases($overview, $title = 'Cases overview') {
284    if (!is_array($overview['data']) || !count($overview['data'])) {    if (!is_array($overview['data']) || !count($overview['data'])) {
285      drupal_set_message('There are no cases available for your projects.');      return 'There are no cases available for your projects.';
     return;  
286    }    }
287    foreach ($overview['data'] as $case) {    foreach ($overview['data'] as $case) {
288      $row = array();      $row = array();
# Line 436  function casetracker_client_update_submi Line 435  function casetracker_client_update_submi
435  // where the stylesheet is.  // where the stylesheet is.
436  function casetracker_client_get_css($reset = false) {  function casetracker_client_get_css($reset = false) {
437    $path = file_directory_path() .'/casetracker_cache';    $path = file_directory_path() .'/casetracker_cache';
438      file_check_directory($path, FILE_CREATE_DIRECTORY);
439    $path .= '/casetracker_client.css';    $path .= '/casetracker_client.css';
440    if ($reset || !file_exists($path)) {    if ($reset || !file_exists($path)) {
441      $style = casetracker_remote_call('casetracker.css');      $style = casetracker_remote_call('casetracker.css');

Legend:
Removed from v.1.2.2.6  
changed lines
  Added in v.1.2.2.7

  ViewVC Help
Powered by ViewVC 1.1.2