Remove create table shortcut

This commit is contained in:
2025-04-20 22:07:01 -07:00
parent cc97d82fd1
commit 65b1b6365e
2 changed files with 0 additions and 41 deletions

View File

@@ -303,11 +303,6 @@ if ($GLOBALS['cfg']['LeftFrameLight'] && strlen($GLOBALS['db'])) {
echo __('No tables found in database.');
}
unset($table_list);
if ($db != 'information_schema') {
echo '<ul id="newtable"><li><a target="frame_content" href="tbl_create.php' . PMA_generate_common_url(array('db' => $GLOBALS['db'])) . '">'
.'<img class="icon" src="' . $GLOBALS['pmaThemeImage'] . 'b_snewtbl.png" id="icon_newtable" alt="' . _pgettext('short form', 'Create table') . '" />'
. _pgettext('short form', 'Create table') . '</a></li></ul>';
}
} elseif ($GLOBALS['cfg']['LeftFrameLight']) {
/* No need to tell user to select database if we're showing complete list */
if (!$list) {

View File

@@ -206,42 +206,6 @@ div#left_tableList li {
white-space: nowrap;
}
#newtable {
margin-top: 15px !important;
}
#newtable a {
display: block;
padding: 1px;
background-image: url(./themes/svg_gradient.php?from=ffffff&to=cccccc);
background-size: 100% 100%;
background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#cccccc));
background: -moz-linear-gradient(top, #ffffff, #cccccc);
background: -o-linear-gradient(top, #ffffff, #cccccc);
<?php echo PMA_ieFilter('#ffffff', '#cccccc'); ?>
border: 1px solid #aaa;
-moz-border-radius: 20px;
-webkit-border-radius: 20px;
border-radius: 20px;
}
#newtable li:hover {
background: transparent !important;
}
#newtable a:hover {
background-image: url(./themes/svg_gradient.php?from=cccccc&to=dddddd);
background-size: 100% 100%;
background: -webkit-gradient(linear, left top, left bottom, from(#cccccc), to(#dddddd)) !important;
background: -moz-linear-gradient(top, #cccccc, #dddddd) !important;
background: -o-linear-gradient(top, #cccccc, #dddddd) !important;
<?php echo PMA_ieFilter('#cccccc', '#dddddd'); ?>
}
#newtable li a:hover {
text-decoration: none;
}
select{
-moz-border-radius:2px 2px 2px 2px;
-moz-box-shadow:0 1px 2px #DDDDDD;