/[drupal]/contributions/modules/uts/uts.module
ViewVC logotype

Diff of /contributions/modules/uts/uts.module

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

revision 1.54, Thu Jun 4 00:55:25 2009 UTC revision 1.55, Thu Jun 4 01:01:28 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: uts.module,v 1.53 2009/05/26 15:58:24 boombatower Exp $  // $Id: uts.module,v 1.54 2009/06/04 00:55:25 boombatower Exp $
3  /**  /**
4   * @file   * @file
5   * Provide general Usability Testing Suite functionality and module implementation.   * Provide general Usability Testing Suite functionality and module implementation.
# Line 643  function uts_studies() { Line 643  function uts_studies() {
643    $studies = uts_studies_load();    $studies = uts_studies_load();
644    foreach ($studies as $study) {    foreach ($studies as $study) {
645      $row = array();      $row = array();
646      $row[] = $study->title;      $row[] = l($study->title, 'node/' . $study->nid);
647      $row[] = uts_get_study_status($study->study_status);      $row[] = uts_get_study_status($study->study_status);
648      $row[] = count(uts_tasks_load($study->nid));      $row[] = count(uts_tasks_load($study->nid));
649      $row[] = $study->complete_session_count = count(uts_session_load_all($study->nid, TRUE));      $row[] = $study->complete_session_count = count(uts_session_load_all($study->nid, TRUE));
# Line 734  function uts_tasks(&$form_state, $study_ Line 734  function uts_tasks(&$form_state, $study_
734      $row['title'] = array(      $row['title'] = array(
735        '#type' => 'item',        '#type' => 'item',
736        '#title' => t('Title'),        '#title' => t('Title'),
737        '#value' => $task->title        '#value' => l($task->title, 'node/' . $task->nid),
738      );      );
739      $row['description'] = array(      $row['description'] = array(
740        '#type' => 'item',        '#type' => 'item',

Legend:
Removed from v.1.54  
changed lines
  Added in v.1.55

  ViewVC Help
Powered by ViewVC 1.1.2