[ Index ]

Source Code Reference for V1.00

title

Body

[close]

/modules/tasks/ -> todo_gantt_sub.php (source)

   1  <?php /* $Id: todo_gantt_sub.php 40 2008-02-11 12:11:44Z pedroix $ $URL: https://web2project.svn.sourceforge.net/svnroot/web2project/trunk/modules/tasks/todo_gantt_sub.php $ */
   2  if (!defined('W2P_BASE_DIR')) {
   3      die('You should not access this file directly.');
   4  }
   5  
   6  global $showEditCheckbox, $tasks, $priorities;
   7  global $m, $a, $date, $min_view, $other_users, $showPinned, $showArcProjs, $showHoldProjs, $showDynTasks, $showLowTasks, $showEmptyDate, $user_id;
   8  $perms = &$AppUI->acl();
   9  $canDelete = $perms->checkModuleItem($m, 'delete');
  10  ?>
  11  <table width="100%" border="0" cellpadding="1" cellspacing="0">
  12  <form name="form_buttons" method="post" action="index.php?<?php echo 'm=' . $m . '&a=' . $a . '&date=' . $date; ?>">
  13  <input type="hidden" name="show_form" value="1" />
  14  <tr>
  15      <td width="50%">
  16      <?php
  17  if ($other_users) {
  18      echo $AppUI->_('Show Todo for:') . '<select name="show_user_todo" class="text" onchange="document.form_buttons.submit()">';
  19      if (($rows = w2PgetUsersList())) {
  20          foreach ($rows as $row) {
  21              if ($user_id == $row['user_id']) {
  22                  echo '<option value="' . $row['user_id'] . '" selected="selected">' . $row['contact_first_name'] . ' ' . $row['contact_last_name'];
  23              } else {
  24                  echo '<option value="' . $row['user_id'] . '">' . $row['contact_first_name'] . ' ' . $row['contact_last_name'];
  25              }
  26          }
  27      }
  28  }
  29  ?>
  30          </select>
  31      </td>
  32  </tr>
  33  </form>
  34  </table>
  35  <?php
  36  $min_view = true;
  37  include  W2P_BASE_DIR . '/modules/tasks/viewgantt.php';
  38  ?>


Generated: Thu Jan 8 03:00:03 2009 Cross-referenced by PHPXref 0.7