Returns the string representation of the given completion status.
public static formatCompletion ( integer $completed ) : string | ||
$completed | integer | The completion value. |
리턴 | string | The HTML representation of $completed. |
echo Horde::img('unchecked.png', $label, array('title' => $label)); } else { $label = sprintf(_("Complete \"%s\""), $task->name); echo Horde::link($task->complete_link, $label) . Horde::img('unchecked.png', $label) . '</a>'; } } else { if ($task->parent && $task->parent->completed) { $label = _("Completed parent task, mark it as incomplete first"); echo Horde::img('checked.png', $label, array('title' => $label)); } else { $label = sprintf(_("Mark \"%s\" as incomplete"), $task->name); echo Horde::link($task->complete_link, $label) . Horde::img('checked.png', $label) . '</a>'; } } } else { echo Nag::formatCompletion($task->completed); } ?> </td> <?php if (in_array('tasklist', $columns)) { ?> <td><?php echo htmlspecialchars($owner); ?> </td> <?php } if (in_array('priority', $columns)) { ?>