Exemplo n.º 1
0
?>
:</td>
			<td class="hilite">
		<?php 
$task_priotities = dPgetSysVal('TaskPriority');
echo $AppUI->_($task_priotities[$obj->task_priority]);
?>
			</td>
		</tr>
		<tr>
			<td align="right" nowrap="nowrap"><?php 
echo $AppUI->_('Web Address');
?>
:</td>
			<td class="hilite" width="300"><a href="<?php 
echo fullurl_urlencode(@$obj->task_related_url);
?>
" target="task<?php 
echo $task_id;
?>
"><?php 
echo htmlspecialchars(@$obj->task_related_url);
?>
</a></td>
		</tr>
		<tr>
			<td align="right" nowrap="nowrap"><?php 
echo $AppUI->_('Milestone');
?>
:</td>
			<td class="hilite" width="300"><?php 
Exemplo n.º 2
0
                                                    16, 16, 'Problem', 'Problem') : '')) 
        . '</td>');
 */
 $reference_image = '-';
 if ($row['task_log_reference'] > 0) {
     if (isset($taskLogReferenceImage[$row['task_log_reference']])) {
         $reference_image = dPshowImage($taskLogReferenceImage[$row['task_log_reference']], 16, 16, $taskLogReference[$row['task_log_reference']], $taskLogReference[$row['task_log_reference']]);
     } else {
         if (isset($taskLogReference[$row['task_log_reference']])) {
             $reference_image = $taskLogReference[$row['task_log_reference']];
         }
     }
 }
 $s .= '<td align="center" valign="middle">' . $reference_image . '</td>';
 $s .= '<td width="30%" style="' . $style . '">' . htmlspecialchars(@$row['task_log_name']) . '</td>';
 $s .= !empty($row['task_log_related_url']) ? '<td><a href="' . fullurl_urlencode(@$row['task_log_related_url']) . '" title="' . htmlspecialchars(@$row['task_log_related_url']) . '">' . $AppUI->_('URL') . '</a></td>' : '<td></td>';
 $s .= '<td width="100">' . $row['user_username'] . '</td>';
 $s .= '<td width="100" align="right">' . sprintf('%.2f', $row['task_log_hours']) . '<br />(';
 $minutes = (int) (($row['task_log_hours'] - (int) $row['task_log_hours']) * 60);
 $minutes = mb_strlen($minutes) == 1 ? '0' . $minutes : $minutes;
 $s .= (int) $row['task_log_hours'] . ':' . $minutes . ')</td>';
 $s .= '<td width="100">' . $row['task_log_costcode'] . '</td>';
 $s .= '<td><a name="tasklog' . @$row['task_log_id'] . '"></a>';
 // dylan_cuthbert: auto-transation system in-progress, leave these lines
 $transbrk = "\n[translation]\n";
 $descrip = str_replace("\n", '<br />', htmlspecialchars($row['task_log_description']));
 $tranpos = mb_strpos($descrip, str_replace("\n", '<br />', $transbrk));
 if ($tranpos === false) {
     $s .= $descrip;
 } else {
     $descrip = mb_substr($descrip, 0, $tranpos);
Exemplo n.º 3
0
:</td>
			<td class="hilite"><a href="<?php 
echo fullurl_urlencode(@$obj->project_url);
?>
" target="_new"><?php 
echo htmlspecialchars(@$obj->project_url);
?>
</A></td>
		</tr>
		<tr>
			<td align="right" nowrap="nowrap"><?php 
echo $AppUI->_('Staging URL');
?>
:</td>
			<td class="hilite"><a href="<?php 
echo fullurl_urlencode(@$obj->project_demo_url);
?>
" target="_new"><?php 
echo htmlspecialchars(@$obj->project_demo_url);
?>
</a></td>
		</tr>
		<tr>
			<td colspan="2">
			<?php 
require_once $AppUI->getSystemClass('CustomFields');
$custom_fields = new CustomFields($m, $a, $obj->project_id, "view");
$custom_fields->printHTML();
?>
			</td>
		</tr>