> <?php echo $this->escape($item->title); ?> </a> </h4> <?php if ($this->params->get('display_meta_info', 1) == 1) { ?> <div class="muted"> <small> <?php $category_name = JHtml::link(JRoute::_('index.php?option=' . S_APP_NAME . '&view=survey&id=' . $item->catid . ':' . $item->category_alias . $itemid), $this->escape($item->category_title)); $user_name = $item->created_by > 0 ? CJFunctions::get_user_profile_link($this->params->get('user_avatar'), $item->created_by, $this->escape($item->username)) : $this->escape($item->username); $formatted_date = CJFunctions::get_formatted_date($item->created); echo JText::sprintf('TXT_LIST_ITEM_META', $user_name, $category_name, $formatted_date); ?> </small> </div> <?php } ?> <div class="muted admin-controls"> <small> <?php if ($user->id == $item->created_by && $user->authorise('core.edit.own', S_APP_NAME) || $user->authorise('survey.manage', S_APP_NAME)) { ?> <a href="<?php echo JRoute::_('index.php?option=' . S_APP_NAME . '&view=form&task=form&id=' . $item->id . ':' . $item->alias . $itemid);