if ($first) { if (isset($item['_title'])) { $title = $item['_title']; } else { $title = PerchLang::get('Item') . ' ' . $i; } } else { $title = '-'; } } } if ($col['Tag']) { $FieldType = PerchFieldTypes::get($col['Tag']->type(), false, $col['Tag']); $title = $FieldType->render_admin_listing($title); if ($col['Tag']->format()) { $title = $Template->format_value($col['Tag'], $title); } } if ($first && trim($title) == '') { $title = '#' . $item['_id']; } echo $title; if ($first) { echo '</a>'; } echo '</td>'; $first = false; } echo '<td>'; echo '<a href="' . PerchUtil::html(PERCH_LOGINPATH) . '/core/apps/content/delete/item/?id=' . PerchUtil::html($Region->id()) . '&itm=' . PerchUtil::html($item['itemID']) . '" class="delete inline-delete">' . PerchLang::get('Delete') . '</a>'; echo '</td>';