server/apps/tasks/templates/part.property.php

23 lines
399 B
PHP
Raw Normal View History

2011-09-12 19:28:28 +00:00
<tr>
<th>
<?php echo $_['label'] ?>
</th>
<td>
2011-09-13 20:44:15 +00:00
<?php
switch (get_class($_['property']))
{
case 'Sabre_VObject_Element_DateTime':
echo $l->l('datetime', $_['property']->getDateTime());
break;
default:
$value = $_['property']->value;
if (isset($_['options']))
{
$value = $_['options'][$value];
}
echo nl2br($value);
}
?>
2011-09-12 19:28:28 +00:00
</td>
</tr>