Remove "phpMyAdmin" section on home page
This commit is contained in:
23
main.php
23
main.php
@@ -191,30 +191,7 @@ if ($GLOBALS['cfg']['ShowServerInfo'] || $GLOBALS['cfg']['ShowPhpInfo']) {
|
|||||||
echo ' </ul>';
|
echo ' </ul>';
|
||||||
echo ' </div>';
|
echo ' </div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
echo '<div class="group pmagroup">';
|
|
||||||
echo '<h2>phpMyAdmin</h2>';
|
|
||||||
echo '<ul>';
|
|
||||||
$class = null;
|
|
||||||
// workaround for bug 3302733; some browsers don't like the situation
|
|
||||||
// where phpMyAdmin is called on a secure page but a part of the page
|
|
||||||
// (the version check) refers to a non-secure page
|
|
||||||
if ($GLOBALS['cfg']['VersionCheck'] && ! $GLOBALS['PMA_Config']->get('is_https')) {
|
|
||||||
$class = 'jsversioncheck';
|
|
||||||
}
|
|
||||||
PMA_printListItem(__('Version information') . ': ' . PMA_VERSION, 'li_pma_version', null, null, null, null, $class);
|
|
||||||
PMA_printListItem(__('Documentation'), 'li_pma_docs', 'Documentation.html', null, '_blank');
|
|
||||||
PMA_printListItem(__('Wiki'), 'li_pma_wiki', PMA_linkURL('http://wiki.phpmyadmin.net/'), null, '_blank');
|
|
||||||
|
|
||||||
// does not work if no target specified, don't know why
|
|
||||||
PMA_printListItem(__('Official Homepage'), 'li_pma_homepage', PMA_linkURL('http://www.phpMyAdmin.net/'), null, '_blank');
|
|
||||||
PMA_printListItem(__('Contribute'), 'li_pma_contribute', PMA_linkURL('http://www.phpmyadmin.net/home_page/improve.php'), null, '_blank');
|
|
||||||
PMA_printListItem(__('Get support'), 'li_pma_support', PMA_linkURL('http://www.phpmyadmin.net/home_page/support.php'), null, '_blank');
|
|
||||||
PMA_printListItem(__('List of changes'), 'li_pma_changes', PMA_linkURL('changelog.php'), null, '_blank');
|
|
||||||
?>
|
?>
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
Reference in New Issue
Block a user