<li class="<?php echo $class; ?>">
<?php if ($type == 'text'
        || $type == 'blob'
        || 'ARCHIVE' == $tbl_storage_engine
        || $hasField
    ): ?>
    <?php echo $titles['No' . $action]; ?>
<?php else: ?>
    <a rel="samepage" class="ajax add_key print_ignore
        <?php if ($hasLinkClass): ?>
             add_primary_key_anchor"
        <?php elseif ($action=='Index'): ?>
             add_index_anchor"
        <?php elseif ($action=='Unique'): ?>
             add_unique_anchor"
        <?php elseif ($action=='Spatial'): ?>
             add_spatial_anchor"
        <?php else: ?>
            "
        <?php endif; ?> href="tbl_structure.php<?php echo $url_query; ?>&amp;add_key=1&amp;sql_query=<?php echo urlencode(
                'ALTER TABLE ' . PMA_Util::backquote($GLOBALS['table'])
                . ($isPrimary ? ($primary ? ' DROP PRIMARY KEY,' : '') : '')
                . ' ' . $syntax . '('
                . PMA_Util::backquote($row['Field']) . ');'); ?>&amp;message_to_show=<?php echo urlencode(sprintf($message, htmlspecialchars($row['Field']))); ?>" >
            <?php echo $titles[$action]; ?>
    </a>
<?php endif; ?>
</li>
