<tr> <td style="vertical-align: top; font-family: Arial; font-size: 13px; color: black; padding: 2px; border-bottom:1px dashed LightGray"> <?php echo replaceTextToLinks($c->getDescription()); ?> <div><?php include_component('attachments', 'attachmentsList', array('bind_type' => 'discussionsComments', 'bind_id' => $c->getId())); ?> </div> <div><?php include_component('discussionsComments', 'info', array('c' => $c)); ?> </div> </td> <td style="width:25%; vertical-align: top; font-family: Arial; font-size: 13px; color: black; padding: 2px; border-bottom:1px dashed LightGray"><?php echo app::dateTimeFormat($c->getCreatedAt()) . '<br>' . $c->getUsers()->getName() . '<br>' . renderUserPhoto($c->getUsers()->getPhoto()); ?> </td> </tr> <?php } ?> </table> </td> <td width="30%" valign="top"> <?php echo app::setCssForEmailContent('<div>' . get_component('discussions', 'details', array('discussions' => $discussions, 'is_email' => true)) . '</div>'); ?> </td> </tr>
</td> <td style="white-space:normal"> <?php echo replaceTextToLinks($c['description']); ?> <div><?php include_component('attachments', 'attachmentsList', array('bind_type' => 'ticketsComments', 'bind_id' => $c['id'])); ?> </div> <div><?php include_component('ticketsComments', 'info', array('c' => $c)); ?> </div> </td> <td><?php echo app::dateTimeFormat($c['created_at']) . '<br>' . $c['Users']['name'] . '<br>' . renderUserPhoto($c['Users']['photo']); ?> </td> </tr> <?php } ?> <?php if (count($tickets_comments) == 0) { echo '<tr><td colspan="3">' . __('No Records Found') . '</td></tr>'; } ?> </tbody> </table> <?php if ($comments_access['insert']) {
<tr><th><br></th></tr> <tr> <th><?php echo $form['photo']->renderLabel(); ?> </th> <td> <?php echo $form['photo']->renderError(); ?> <?php echo $form['photo']; ?> <div><?php if (strlen($form['photo']->getValue()) > 0) { echo renderUserPhoto($form['photo']->getValue()) . '<br>' . $form['remove_photo'] . ' ' . $form['remove_photo']->renderLabel(); } ?> </div> </td> </tr> <tr> <th><?php echo $form['culture']->renderLabel(); ?> </th> <td> <?php echo $form['culture']->renderError(); ?> <?php
<br> <h2><?php echo __('Assigned To'); ?> </h2> <table class="contentTable" style="margin-bottom: 7px;"> <?php foreach (explode(',', $tasks->getAssignedTo()) as $users_id) { if ($user = Doctrine_Core::getTable('Users')->find($users_id)) { echo '<tr><th><div style="float:left;">' . renderUserPhoto($user->getPhoto()) . '</div> ' . $user->getName() . '<br>' . '</td></tr>'; } } if (strlen($tasks->getAssignedTo()) == 0) { echo __('No Assigned Users'); } ?> </table> <h2><?php echo __('Created By'); ?> </h2> <table class="contentTable"> <?php if ($tasks->getCreatedBy() > 0) { echo '<tr><th><div style="float:left;">' . renderUserPhoto($tasks->getUsers()->getPhoto()) . '</div> ' . $tasks->getUsers()->getName() . '<br>' . '</td></tr>'; } ?> </table>
?> " class="multiple_selected"</td> <td><?php echo ($sf_user->getAttribute('id') != $users->getId() ? $lc->delete_button($users->getId()) : '') . $lc->edit_button($users->getId()); ?> </td> <td><?php echo $users->getId(); ?> </td> <td><?php echo app::getObjectName($users->getUsersGroups()); ?> </td> <td><?php echo renderUserPhoto($users->getPhoto()); ?> </td> <td><?php echo link_to_modalbox($users->getName(), 'users/info?id=' . $users->getId()); ?> </td> <td><?php echo $users->getEmail(); ?> </td> <?php $v = ExtraFieldsList::getValuesList($extra_fields, $users->getId()); echo ExtraFieldsList::renderListingTbody($extra_fields, $v); ?>