added icon for new window
This commit is contained in:
@@ -12,6 +12,8 @@ $Source$
|
||||
2006-02-22 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
||||
* libraries/footer.inc.php:
|
||||
bug #1436279 Left frame links open in new windows in Safari
|
||||
* libraries/footer.inc.php, themes/*/img/window-new.png *NEW*:
|
||||
added icon for new window
|
||||
|
||||
2006-02-21 Michal Čihař <michal@cihar.com>
|
||||
* scripts/setup.php:
|
||||
|
@@ -82,12 +82,25 @@ if (!isset($GLOBALS['checked_special'])) {
|
||||
|
||||
if (isset($_SERVER['SCRIPT_NAME']) && empty($_POST) && !$GLOBALS['checked_special']) {
|
||||
echo '<div id="selflink" class="print_ignore">' . "\n";
|
||||
$url_params['target'] = basename($_SERVER['SCRIPT_NAME']);
|
||||
echo '<a href="index.php' . PMA_generate_common_url($url_params) . '"'
|
||||
. ' title="' . $GLOBALS['strOpenNewWindow'] . '" target="_blank">';
|
||||
/*
|
||||
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)) {
|
||||
echo '&' . $url;
|
||||
}
|
||||
echo '" target="_blank">' . $GLOBALS['strOpenNewWindow'] . '</a>' . "\n";
|
||||
echo '" target="_blank">';
|
||||
*/
|
||||
if ($GLOBALS['cfg']['NavigationBarIconic']) {
|
||||
echo '<img class="icon" src="'. $GLOBALS['pmaThemeImage'] . 'window-new.png"'
|
||||
. ' alt="' . $GLOBALS['strOpenNewWindow'] . '" />';
|
||||
}
|
||||
if ($GLOBALS['cfg']['NavigationBarIconic'] !== true) {
|
||||
echo $GLOBALS['strOpenNewWindow'];
|
||||
}
|
||||
echo '</a>' . "\n";
|
||||
echo '</div>' . "\n";
|
||||
}
|
||||
|
||||
|
BIN
themes/darkblue_orange/img/window-new.png
Normal file
BIN
themes/darkblue_orange/img/window-new.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 583 B |
BIN
themes/original/img/window-new.png
Normal file
BIN
themes/original/img/window-new.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 583 B |
Reference in New Issue
Block a user