From 7ebc479fa16e9aa16f17cbc3eb20fe823a9c3b0d Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Mon, 6 Mar 2006 13:19:57 +0000 Subject: [PATCH] bug #1443337, homepage link --- ChangeLog | 3 +++ main.php | 15 +++++++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index be7c1c3b7..df40dd495 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ phpMyAdmin - Changelog $Id$ $Source$ +2006-03-06 Marc Delisle + * main.php: bug #1443337, homepage link + 2006-03-06 Sebastian Mendel * libraries/Config.class.php, libraries/select_lang.lib.php, libraries/footer.inc.php, libraries/ip_allow_deny.lib.php, diff --git a/main.php b/main.php index 040dac294..fbb6f603e 100644 --- a/main.php +++ b/main.php @@ -278,7 +278,8 @@ if ( $cfg['ShowPhpInfo'] ) { PMA_printListItem( $strShowPHPInfo, 'li_phpinfo', './phpinfo.php?' . $common_url_query ); } -PMA_printListItem( $strHomepageOfficial, 'li_pma_homepage', 'http://www.phpMyAdmin.net/' ); +// does not work if no target specified, don't know why +PMA_printListItem( $strHomepageOfficial, 'li_pma_homepage', 'http://www.phpMyAdmin.net/', null, '_blank' ); ?>
  • [ChangeLog] @@ -369,15 +370,21 @@ if (defined('PMA_MYSQL_INT_VERSION') && PMA_MYSQL_INT_VERSION < 32332) { /** * prints list item for main page * - * @param string $name dsiplayed text + * @param string $name displayed text * @param string $id id, used for css styles * @param string $url make item as link with $url as target + * @param string $mysql_help_page display a link to MySQL's manual + * @param string $target special target for $url */ -function PMA_printListItem($name, $id = null, $url = null, $mysql_help_page = null) +function PMA_printListItem($name, $id = null, $url = null, $mysql_help_page = null, $target = null) { echo '
  • '; if (null !== $url) { - echo ''; + echo ''; } echo $name;