echo $message->countComments(); ?> </a> <?php } else { ?> <span><?php echo lang('comments'); ?> :</span> <?php echo $message->countComments(); } // if ?> </div> <?php echo render_object_tags($message); ?> </div><!-- content --> <?php $extra_options = array(); if ($message->canDelete(logged_user())) { $extra_options[] = '<a href="' . $message->getMoveUrl() . '">' . lang('move') . '</a>'; } // if echo render_object_options($message, $extra_options); ?> </div> <!-- Comments --> <?php echo render_object_comments($message, $message->getViewUrl());
?> </div><?php if ($link->getCreatedBy() instanceof User) { ?> <span><?php echo lang('created by'); ?> :</span> <a href="<?php echo $link->getCreatedBy()->getCardUrl(); ?> "><?php echo clean($link->getCreatedBy()->getDisplayName()); ?> </a> <?php } echo render_object_tags($link); ?> </div> <?php $options = array(); if ($link->canEdit(logged_user(), active_project())) { $options[] = '<a href="' . $link->getEditUrl() . '">' . lang('edit') . '</a>'; $options[] = '<a href="' . $link->getEditLogoUrl() . '">' . lang('edit logo') . '</a>'; } if ($link->canDelete(logged_user(), active_project())) { $options[] = '<a href="' . $link->getDeleteUrl() . '">' . lang('delete') . '</a>'; } if (count($options)) { ?> <div class="options"><?php echo implode(' | ', $options);