Esempio n. 1
0
<p class="activity-title">
    <?php 
echo e('%s updated a comment on the task <a href="?controller=task&amp;action=show&amp;task_id=%d">#%d</a>', Helper\escape($author), $task_id, $task_id);
?>
</p>
<p class="activity-description">
    <em><?php 
echo Helper\escape($task_title);
?>
</em><br/>
    <div class="markdown"><?php 
echo Helper\parse($comment);
?>
</div>
</p>
    <?php 
if ($task['category_name']) {
    ?>
    <li>
        <?php 
    echo t('Category:');
    ?>
 <strong><?php 
    echo Helper\escape($task['category_name']);
    ?>
</strong>
    </li>
    <?php 
}
?>
</ul>

<?php 
if (!empty($task['description'])) {
    ?>
    <h2><?php 
    echo t('Description');
    ?>
</h2>
    <?php 
    echo Helper\parse($task['description']);
}
?>

<?php 
echo Helper\template('notification_footer', array('task' => $task));
    <?php 
if ($task['category_name']) {
    ?>
    <li>
        <?php 
    echo t('Category:');
    ?>
 <strong><?php 
    echo Helper\escape($task['category_name']);
    ?>
</strong>
    </li>
    <?php 
}
?>
</ul>

<?php 
if (!empty($task['description'])) {
    ?>
    <h2><?php 
    echo t('Description');
    ?>
</h2>
    <?php 
    echo Helper\parse($task['description']) ?: t('There is no description.');
}
?>

<?php 
echo Helper\template('notification_footer', array('task' => $task));
<h2><?php 
echo Helper\escape($task['title']);
?>
 (#<?php 
echo $task['id'];
?>
)</h2>

<h3><?php 
echo t('Comment updated');
?>
</h3>

<?php 
echo Helper\parse($comment['comment']);
?>

<?php 
echo Helper\template('notification_footer', array('task' => $task));