Beispiel #1
0
 /**
  * Get the standard record view for context records
  *
  * @param Tx_Contexts_Context_Abstract $context
  * @param int                          $thisUid
  *
  * @return array First value is click icon, second is title
  */
 protected function getRecordPreview($context, $thisUid)
 {
     $row = array('uid' => $context->getUid(), 'pid' => 0, 'type' => $context->getType(), 'alias' => $context->getAlias());
     return array($this->getClickMenu(t3lib_iconWorks::getSpriteIconForRecord('tx_contexts_contexts', $row, array('style' => 'vertical-align:top', 'title' => htmlspecialchars($context->getTitle() . ' [UID: ' . $row['uid'] . ']'))), 'tx_contexts_contexts', $row['uid']), htmlspecialchars($context->getTitle()) . ' <span class="typo3-dimmed"><em>[' . $row['uid'] . ']</em></span>');
 }