} if ($field['description']) { echo '<div class="smallDescription">' . $field['description'] . '</div>'; } break; } echo '</td>'; echo '</tr>'; } } if ($timeTrackingFlag) { if (in_array($timeTrackingFieldId, $fieldsPlacedOnScreen)) { // deal with the time tracking fields for ($i = 0; $i < count($fieldData); $i++) { if ($fieldData[$i]['field_code'] == Field::FIELD_ISSUE_TIME_TRACKING_CODE) { $arrayData = Util::checkKeyAndValueInArray('field_id', $fieldData[$i]['field_id'], $fieldData); $mandatoryStarHTML = ''; if ($arrayData && $arrayData['visible_flag']) { if ($arrayData['required_flag']) { $mandatoryStarHTML = '<span class="mandatory">*</span>'; } $requiredHTML = $arrayData['required_flag'] ? 'required="1"' : 'required="0"'; echo '<tr>'; echo '<td valign="top">Original Estimate ' . $mandatoryStarHTML . '</td>'; echo '<td>'; echo '<input class="inputText" style="width: 100px" ' . $requiredHTML . ' id="field_type_time_tracking_original_estimate" type="text" name="field_type_time_tracking_original_estimate" value="' . $issueData['original_estimate'] . '" /> '; echo '<span>(eg. 3w 4d 12h)</span>'; echo '<div class="smallDescription">The original estimate of how much work is involved in resolving this issue.</div>'; echo '</td>'; echo '</tr>'; echo '<tr>';
$allUsers->data_seek(0); break; } if ($field['description']) { echo '<div class="smallDescription">' . $field['description'] . '</div>'; } break; } echo '</td>'; echo '</tr>'; } } // deal with the time tracking fields if ($timeTrackingFlag) { if (in_array($timeTrackingFieldId, $fieldsPlacedOnScreen)) { $arrayData = Util::checkKeyAndValueInArray('field_id', $timeTrackingFieldId, $fieldData); if ($arrayData && $arrayData['visible_flag']) { $requiredHTML = $arrayData['required_flag'] ? 'required="1"' : 'required="0"'; echo '<tr>'; echo '<td valign="top">Original Estimate</td>'; echo '<td>'; echo '<input class="inputText" style="width: 100px" ' . $requiredHTML . ' id="field_type_time_tracking_original_estimate" type="text" name="field_type_time_tracking_original_estimate" value="" /> '; echo '<span>(eg. 3w 4d 12h)</span>'; echo '<div class="smallDescription">The original estimate of how much work is involved in resolving this issue.</div>'; echo '</td>'; echo '</tr>'; echo '<tr>'; echo '<td valign="top">Remaining Estimate</td>'; echo '<td>'; echo '<input class="inputText" style="width: 100px" ' . $requiredHTML . ' id="field_type_time_tracking_remaining_estimate" type="text" name="field_type_time_tracking_remaining_estimate" value="" /> '; echo '<span>(eg. 3w 4d 12h)</span>';
</tr> <tr> <td width="20"> <input class="app_client" type="checkbox" value="1" name="documentador" <?php if (Util::checkKeyAndValueInArray('sys_product_id', SystemProduct::SYS_PRODUCT_DOCUMENTADOR, $productsArray)) { echo 'checked="checked"'; } ?> /> </td> <td>Documentador</td> </tr> <tr> <td width="20"> <input class="app_client" type="checkbox" value="1" name="events" <?php if (Util::checkKeyAndValueInArray('sys_product_id', SystemProduct::SYS_PRODUCT_CALENDAR, $productsArray)) { echo 'checked="checked"'; } ?> /> </td> <td>Events</td> </tr> <?php } ?> </table> </div> <?php require_once __DIR__ . '/_footer.php'; ?>
?> <?php $session->get('selected_product_id') == SystemProduct::SYS_PRODUCT_CALENDAR ? $style = 'background-color: #6A8EB2;' : ($style = ''); ?> <td style="<?php echo $style; ?> border-right: 1px #9c9c9c solid;" width="110px" class="product-menu" align="center"> <div><a href="/calendar/calendars">Events</a></div> </td> <?php } ?> <?php if (Util::checkKeyAndValueInArray('sys_product_id', SystemProduct::SYS_PRODUCT_QUICK_NOTES, $productsArray)) { ?> <?php $session->get('selected_product_id') == SystemProduct::SYS_PRODUCT_QUICK_NOTES ? $style = 'background-color: #6A8EB2;' : ($style = ''); ?> <td style="<?php echo $style; ?> border-right: 1px #9c9c9c solid;" width="130px" class="product-menu" align="center"> <div><a href="/quick-notes/note/snippets/all">Quick Notes</a></div> </td> <?php } ?> </tr> </table>
<span>Agile</span> <span class="<?php if ($menuSelectedCategory == 'agile') { echo 'arrowSelected'; } else { echo 'arrow'; } ?> "></span> </td> <?php } ?> <?php if (Util::checkKeyAndValueInArray('sys_product_id', SystemProduct::SYS_PRODUCT_HELP_DESK, $clientProducts)) { ?> <td width="8px"></td> <td align="center" class="menuItemBasic <?php if ($menuSelectedCategory == 'help_desk') { echo 'menuItemSelected'; } else { echo 'menuItem'; } ?> " id="menuHelpDesk"> <span>Help Desk</span> <span class="<?php if ($menuSelectedCategory == 'help_desk') { echo 'arrowSelected'; } else {