do not print selflink

This commit is contained in:
Sebastian Mendel
2006-02-17 11:05:26 +00:00
parent 1721a77656
commit 2cecb832e6
2 changed files with 4 additions and 3 deletions

View File

@@ -18,6 +18,7 @@ $Source$
* css/print.css: fixed bug #1419696 'print css results in blank table output'
* tbl_printview.php, css/print.css, themes/*/css/theme_print.css.php:
fixed/cleaned printer output
* libraries/footer.inc.php: do not print selflink
2006-02-16 Marc Delisle <lem9@users.sourceforge.net>
* lang/italian: update, thanks to Luca Rebellato

View File

@@ -5,9 +5,9 @@
/**
* WARNING: This script has to be included at the very end of your code because
* it will stop the script execution!
*
*
* always use $GLOBALS, as this script is also included by functions
*
*
*/
require_once './libraries/relation.lib.php'; // for PMA_setHistory()
@@ -74,7 +74,7 @@ if (!isset($GLOBALS['checked_special'])) {
}
if (isset($_SERVER['SCRIPT_NAME']) && empty($_POST) && !$GLOBALS['checked_special']) {
echo '<div id="selflink">' . "\n";
echo '<div id="selflink" class="print_ignore">' . "\n";
echo '<a href="index.php?target=' . basename($_SERVER['SCRIPT_NAME']);
$url = PMA_generate_common_url(isset($GLOBALS['db']) ? $GLOBALS['db'] : '', isset($GLOBALS['table']) ? $GLOBALS['table'] : '');
if (!empty($url)) {