LeftLogoLinkWindow; main.php links target

This commit is contained in:
Marc Delisle
2007-02-12 00:35:16 +00:00
parent 38b0199cb4
commit 2473c40186
155 changed files with 890 additions and 6626 deletions

View File

@@ -416,7 +416,11 @@ elseif (!defined('PMA_IDX_INCLUDED')
$edit_link_text = '';
$drop_link_text = '';
if ($cfg['PropertiesIconic'] === true || $cfg['PropertiesIconic'] === 'both') {
// We need to copy the value or else the == 'both' check will always
// return true
$propicon = (string) $cfg['PropertiesIconic'];
if ($cfg['PropertiesIconic'] === true || $propicon == 'both') {
$edit_link_text = '<img class="icon" src="' . $pmaThemeImage
. 'b_edit.png" width="16" height="16" title="' . $strEdit
. '" alt="' . $strEdit . '" />';
@@ -424,11 +428,11 @@ elseif (!defined('PMA_IDX_INCLUDED')
. 'b_drop.png" width="16" height="16" title="' . $strDrop
. '" alt="' . $strDrop . '" />';
}
if ($cfg['PropertiesIconic'] === false || $cfg['PropertiesIconic'] === 'both') {
if ($cfg['PropertiesIconic'] === false || $propicon == 'both') {
$edit_link_text .= $strEdit;
$drop_link_text .= $strDrop;
}
if ($cfg['PropertiesIconic'] === 'both') {
if ($propicon == 'both') {
$edit_link_text = '<nobr>' . $edit_link_text . '</nobr>';
$drop_link_text = '<nobr>' . $drop_link_text . '</nobr>';
}