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

23 lines
399 B
PHP
Raw Normal View History

2011-09-12 23:28:28 +04:00
<tr>
<th>
<?php echo $_['label'] ?>
</th>
<td>
2011-09-14 00:44:15 +04: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 23:28:28 +04:00
</td>
</tr>