Don't display More for views and information_schema tables

This commit is contained in:
Piotr Przybylski
2011-05-03 14:14:57 +02:00
parent 65d869023e
commit 2c3fa8aa7c

View File

@@ -466,7 +466,6 @@ while ($row = PMA_DBI_fetch_assoc($fields_rs)) {
<?php <?php
} // end if... else... } // end if... else...
echo "\n"; echo "\n";
} // end if (! $tbl_is_view && ! $db_is_information_schema)
?> ?>
<td class="more_opts" id="more_opts<?php echo $rownum; ?>"> <td class="more_opts" id="more_opts<?php echo $rownum; ?>">
<?php echo __('More'); ?> <img src="<?php echo $pmaThemeImage . 'more.png'; ?>" alt="<?php echo __('Show more actions'); ?>" /> <?php echo __('More'); ?> <img src="<?php echo $pmaThemeImage . 'more.png'; ?>" alt="<?php echo __('Show more actions'); ?>" />
@@ -531,6 +530,9 @@ while ($row = PMA_DBI_fetch_assoc($fields_rs)) {
</div> </div>
</div> </div>
</td> </td>
<?php
} // end if (! $tbl_is_view && ! $db_is_information_schema)
?>
</tr> </tr>
<?php <?php
unset($field_charset); unset($field_charset);